private void setupPipelineTrace(RuntimeListItem item) { PipelineExecutionTrace trace = item.getPipelineTrace(); String itemLabel = item.getItemLabel(); String pipelineName = trace.getPipeline().getKey().getId(); String createdDate = ""; view.setup(itemLabel, createdDate, pipelineName); setupPipeline(trace); processPipelineStatus(trace.getPipelineStatus()); }
private void setupPipelineTrace(RuntimeListItem item) { PipelineExecutionTrace trace = item.getPipelineTrace(); String itemLabel = item.getItemLabel(); String pipelineName = trace.getPipeline().getKey().getId(); String createdDate = ""; view.setup(itemLabel, createdDate, pipelineName); setupPipeline(trace); processPipelineStatus(trace.getPipelineStatus()); }
@Test public void testBuildItemLabelForRuntime() { queryResultItem.setRuntimeName(RUNTIME_NAME); RuntimeListItem result = RuntimeListItemBuilder.newInstance().withItem(queryResultItem).build(); assertEquals(RUNTIME_NAME, result.getItemLabel()); }
@Test public void testBuildItemLabelForRuntimeName() { queryResultItem.setRuntimeName(RUNTIME_ID); RuntimeListItem result = RuntimeListItemBuilder.newInstance().withItem(queryResultItem).build(); assertEquals(RUNTIME_ID, result.getItemLabel()); }
@Test public void testBuildItemLabelForRuntime() { queryResultItem.setRuntimeName(RUNTIME_NAME); RuntimeListItem result = RuntimeListItemBuilder.newInstance().withItem(queryResultItem).build(); assertEquals(RUNTIME_NAME, result.getItemLabel()); }
@Test public void testBuildItemLabelForRuntimeName() { queryResultItem.setRuntimeName(RUNTIME_ID); RuntimeListItem result = RuntimeListItemBuilder.newInstance().withItem(queryResultItem).build(); assertEquals(RUNTIME_ID, result.getItemLabel()); }
private void setupRuntime(RuntimeListItem item) { String itemLabel = item.getItemLabel(); String pipelineName = SYSTEM_PIPELINE_NAME; String createdDate = item.getRuntime().getCreatedDate(); String endpoint = ""; Runtime runtime = item.getRuntime(); PipelineExecutionTrace trace = runtime.getPipelineTrace(); if (trace != null) { pipelineName = trace.getPipeline().getKey().getId(); setupPipeline(trace); } view.setup(itemLabel, createdDate, pipelineName); if (runtime.getEndpoint() != null) { endpoint = runtime.getEndpoint(); } view.setEndpoint(endpoint); processRuntimeStatus(runtime); }
private void setupRuntime(RuntimeListItem item) { String itemLabel = item.getItemLabel(); String pipelineName = SYSTEM_PIPELINE_NAME; String createdDate = item.getRuntime().getCreatedDate(); String endpoint = ""; Runtime runtime = item.getRuntime(); PipelineExecutionTrace trace = runtime.getPipelineTrace(); if (trace != null) { pipelineName = trace.getPipeline().getKey().getId(); setupPipeline(trace); } view.setup(itemLabel, createdDate, pipelineName); if (runtime.getEndpoint() != null) { endpoint = runtime.getEndpoint(); } view.setEndpoint(endpoint); processRuntimeStatus(runtime); }