Uploaded image for project: 'Kogito'
  1. Kogito
  2. KOGITO-5217

Add Data Index connection with runtimes endpoints to perform operations

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major Major
    • 1.11.1.Final
    • None
    • Data Index
    • None
    • False
    • False
    • Undefined
    • 2021 Week 22-24 (from May 31), 2021 Week 25-27 (from Jun 21), 2021 Week 28-30 (from Jul 12), 2021 Week 31-33 (from Aug 2), 2021 Week 34-36 (from Aug 23)

      Add Mutations to graphql to manage connections with runtime endpoints:

      As part of this Jira the following operations will be added:

      • handleAbortProcessInstance(String pInstanceId)
      • handleSkipProcessInstance(String pInstanceId)
      • handleRetryProcessInstance(String pInstanceId)
      • getProcessDiagram(String pInstanceId)
      • getProcessNodes(String processId):<NodeDefinition[]>

       

      Calls to cover for consoles needs:

      Process Instances

      • bulkActionOnProcessInstances(String operation, String[] pInstancesIds):<void>
      • bulkAbortOnProcessInstances(String[] pInstancesIds)
      • bulkSkipOnProcessInstances( String[] pInstancesIds)
      • bulkRetryOnProcessInstances(String[] pInstancesIds)
      • handleActionProcessInstance(String operation, String pInstanceId):<void>
      • handleAbortProcessInstance(String pInstanceId)
      • handleSkipProcessInstance(String pInstanceId)
      • handleRetryProcessInstance(String pInstanceId)

      Process Instance Details

      • getProcessDiagram(String pInstanceId):<String>
      • handleSaveProcessInstanceVariables(String piId, String newVariablesJSON):<void>
      • getProcessNodes(String processId):<NodeInstance[]>
      • handleTriggerNodeInstance(String pInstanceId, String nodeDefId):<void>
      • handleRetriggerNodeInstance(String pInstanceId, String nodeDefId):<void>
      • handleCancelNodeInstance( String pInstanceId, String nodeInstanceId):<void>
      • handleSkipNodeInstance(String pInstanceId, String nodeInstanceId):<void>
      • handleJobReschedule( Job Job)
      • handleJobCancel( String jobId)

      JobsListApi

      • bulkCancelOnJobs(String[] jobsIds):<void>

      Task Form:

      • getTaskFormSchema(String processId, String taskName, String userId, String groups)
      • submitForm(String processId, Sting payload, String phase, String userId, String groups)

       

      Note: The scope of the development includes to do single calls to runtime avoiding the implementation of bulk operations inside the data-index. That could be added when the runtime itself provides the endpoint with that implementation

            nmirasch@redhat.com Neus Miras Chueca
            nmirasch@redhat.com Neus Miras Chueca
            Tristan Radisson Tristan Radisson
            Tristan Radisson Tristan Radisson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: