onboarding

A workflow for onboarding applications to OCP cluster

Prerequisites

References

Running onboarding in Quarkus dev mode

You can run your application in dev mode that enables live coding using:

mvn compile quarkus:dev

Testing with curl

First, validate the workflows exposed by the application:

curl -v -H "Content-Type: application/json" http://localhost:8080/management/processes

(onboarding should be included in the returned array)

Then, assuming that you stored in input.json the input parameters (if any) following the input schema specifications at onboarding-schema.json, run the following to create an instance of the onboarding workflow:

curl -v -X POST -H "Content-Type: application/json" http://localhost:8080/onboarding -d@input.json

Dev UI Tools

Use the Serverless Workflow Tools to manage and monitor the published workflows:

http://localhost:8080/q/dev-v1/org.kie.kogito.kogito-quarkus-serverless-workflow-devui/workflowInstances

Use the Data Index GraphQL UI to query the state of the Data Index service:

http://localhost:8080/q/dev-v1/org.kie.kogito.kogito-addons-quarkus-data-index-inmemory/dataindex

Next steps

Building, deploying and running in cluster environment

Developing tests

🚧

Developer's guide

Using subflows

🚧

Externalizing the configuration

🚧

Preparing a CI pipeline

🚧