A workflow for onboarding applications to OCP cluster
- Java 11+ is installed.
- Apache Maven 3.8.6 or later is installed.
- Quarkus CLI or Knative Workflow CLI 0.21.3 or later is installed.
- (Optional) Docker is installed.
- (Optional) Podman is installed.
- (Optional) Kubernetes CLI is installed.
- Visual Studio Code with Red Hat Java Extension and Red Hat Serverless Workflow Editor are installed to edit your workflows.
You can run your application in dev mode that enables live coding using:
mvn compile quarkus:dev
First, validate the workflows exposed by the application:
curl -v -H "Content-Type: application/json" http://localhost:8080/management/processes
(playground 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 playground-schema.json, run the following to create an instance of the playground workflow:
curl -v -X POST -H "Content-Type: application/json" http://localhost:8080/playground -d@input.json
Use the Serverless Workflow Tools
to manage and monitor the published workflows:
open -t http://localhost:8080/q/dev/org.kie.kogito.kogito-quarkus-serverless-workflow-devui/workflowInstances
Use the Data Index GraphQL UI
to query the state of the Data Index service:
open -t http://localhost:8080/q/dev/org.kie.kogito.kogito-addons-quarkus-data-index-inmemory/dataindex
🚧
🚧
🚧
🚧