Tabnine Logo
DeciderService.updateWorkflowOutput
Code IndexAdd Tabnine to your IDE (free)

How to use
updateWorkflowOutput
method
in
com.netflix.conductor.core.execution.DeciderService

Best Java code snippets using com.netflix.conductor.core.execution.DeciderService.updateWorkflowOutput (Showing top 7 results out of 315)

origin: Netflix/conductor

@SuppressWarnings("unchecked")
@Test
public void testUpdateWorkflowOutput() {
  Workflow workflow = new Workflow();
  workflow.setWorkflowDefinition(new WorkflowDef());
  deciderService.updateWorkflowOutput(workflow, null);
  assertNotNull(workflow.getOutput());
  assertTrue(workflow.getOutput().isEmpty());
  Task task = new Task();
  Map<String, Object> taskOutput = new HashMap<>();
  taskOutput.put("taskKey", "taskValue");
  task.setOutputData(taskOutput);
  workflow.getTasks().add(task);
  WorkflowDef workflowDef = new WorkflowDef();
  when(metadataDAO.get(anyString(), anyInt())).thenReturn(Optional.of(workflowDef));
  deciderService.updateWorkflowOutput(workflow, null);
  assertNotNull(workflow.getOutput());
  assertEquals("taskValue", workflow.getOutput().get("taskKey"));
}
origin: Netflix/conductor

  workflow = metadataMapperService.populateWorkflowWithDefinitions(workflow);
deciderService.updateWorkflowOutput(workflow, null);
origin: Netflix/conductor

  workflow = metadataMapperService.populateWorkflowWithDefinitions(workflow);
deciderService.updateWorkflowOutput(wf, null);
origin: Netflix/conductor

updateWorkflowOutput(workflow, task);
throw new TerminateWorkflowException(task.getReasonForIncompletion(), status, task);
origin: com.netflix.conductor/conductor-core

  workflow = metadataMapperService.populateWorkflowWithDefinitions(workflow);
deciderService.updateWorkflowOutput(workflow, null);
origin: com.netflix.conductor/conductor-core

  workflow = metadataMapperService.populateWorkflowWithDefinitions(workflow);
deciderService.updateWorkflowOutput(wf, null);
origin: com.netflix.conductor/conductor-core

updateWorkflowOutput(workflow, task);
throw new TerminateWorkflowException(task.getReasonForIncompletion(), status, task);
com.netflix.conductor.core.executionDeciderServiceupdateWorkflowOutput

Javadoc

Updates the workflow output.

Popular methods of DeciderService

  • decide
  • getTasksToBeScheduled
  • isResponseTimedOut
  • populateWorkflowAndTaskData
    Populates the workflow input data and the tasks input/output data if stored in external payload stor
  • retry
  • <init>
  • checkForTimeout
  • checkForWorkflowCompletion
  • getNextTask
  • getNextTasksToBeScheduled
  • isTaskSkipped
  • startWorkflow
  • isTaskSkipped,
  • startWorkflow,
  • timeoutTask

Popular in Java

  • Making http requests using okhttp
  • getContentResolver (Context)
  • addToBackStack (FragmentTransaction)
  • notifyDataSetChanged (ArrayAdapter)
  • BufferedWriter (java.io)
    Wraps an existing Writer and buffers the output. Expensive interaction with the underlying reader is
  • FileWriter (java.io)
    A specialized Writer that writes to a file in the file system. All write requests made by calling me
  • TreeSet (java.util)
    TreeSet is an implementation of SortedSet. All optional operations (adding and removing) are support
  • ConcurrentHashMap (java.util.concurrent)
    A plug-in replacement for JDK1.5 java.util.concurrent.ConcurrentHashMap. This version is based on or
  • Table (org.hibernate.mapping)
    A relational table
  • Location (org.springframework.beans.factory.parsing)
    Class that models an arbitrary location in a Resource.Typically used to track the location of proble
  • Top 17 Free Sublime Text Plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now