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

Add support for publishing workflow definition in the Operator

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Won't Do
    • Major
    • None
    • None
    • Data Index, Operator
    • None

    Description

      The operator should publish an event to the data-index when a workflow is deployed, containing the workflow definition with the URI, source, id... following the schema defined in the ProcessDefinitionDataEvent.

       

      Event schema (in Java)

      https://github.com/apache/incubator-kie-kogito-runtimes/blob/a5d8e8a69f5e6e413d7061363face460df9bf662/api/kogito-events-core/src/main/java/org/kie/kogito/event/process/ProcessDefinitionDataEvent.java

       

      Body of the event:

      https://github.com/apache/incubator-kie-kogito-runtimes/blob/b8f5c3bc16f5cd5a47ed5137cf6f841f4d929342/api/kogito-events-api/src/main/java/org/kie/kogito/event/process/ProcessDefinitionEventBody.java#L25 

       

      Events would be published by the Operator with partial information and Runtime with the remaining part of the information and Data-Index do a reconciliation aggregating on the information for a Workflow Definition.

       

      Example of ProcessDefinitionDataEvent in json format

      https://gist.github.com/tiagodolphine/e5a37e67b59d2f0a6b24ebc6c38044c0 

       

      Attachments

        Issue Links

          Activity

            People

              wmedvede@redhat.com Walter Medvedeo
              tdolphin-1 Tiago Dolphine
              Jakub Schwan Jakub Schwan
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: