Uploaded image for project: 'jBPM'
  1. jBPM
  2. JBPM-8195

GraphQL as a modern access to jBPM process engine

XMLWordPrintable

    • Icon: Epic Epic
    • Resolution: Unresolved
    • Icon: Critical Critical
    • None
    • None
    • Remote Services
    • JBPM GraphQL Transport Layer
    • NEW
    • In Progress
    • NEW
    • 25% To Do, 0% In Progress, 75% Done

      Summary
      Design and implement GraphQL transport layer for jBPM services.

      Initially GraphQL transport layer is going to offer following capabilities:

      • subset of current capabilities of jBPM services
      • additional relevant queries that can enhance capabilities of jBPM service layer
      • support easy way of consuming data from engine via GraphQL in UI for building reactive business apps

      Goals
      Implement a GrahpQL support for KIE Server similar to what there is for REST.
      Implement basic set of queries and mutations, do not copy everything from REST API and leverage it weaknesses in GraphQL.

      Queries:

      • processInstance( id, containerId)
      • processInstances ( batchSize )
      • processDefinition( definitionId, containerId )
      • allProcessDefinitions( batchSize )
      • variables( id, containerId )
      • allTasks( batchSize )
      • getTaskInstance( taskId )

      Mutations:

      • startProcesses( definitionId, containerId, correlationKey, variables, batchSize )
      • abortProcessInstances( instanceIdList, containerId )
      • signalProcessInstances( instanceIdList, signalName, event, containerId)

      Acceptance criteria
      User is able to use above queries and mutation using new GraphQL API availalable at `/.../graphql` endpoint
      GrahpQl should use same authentication as KIE Server.

              dhanak@redhat.com Dominik Hanak
              dhanak@redhat.com Dominik Hanak
              Marian Macik Marian Macik
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: