From b7927241b1c27ef1fe7f560d2a9130c9f8fc207b Mon Sep 17 00:00:00 2001 From: Walter Medvedeo Date: Mon, 26 Jun 2023 13:39:04 +0200 Subject: [PATCH] KOGITO-9412: Create the serverless-workflow-timeouts-showcase for the Operator Dev Mode - rename from devmode to devprofile --- serverless-workflow-examples/pom.xml | 4 ++-- .../README.md | 10 +++++----- .../docs/CallbackStateTimeoutsTab.png | Bin .../docs/DevUIDataIndex.png | Bin .../docs/DevUIGeneral.png | Bin .../docs/DevUIWorkflows.png | Bin .../docs/EventStateTimeoutsTab.png | Bin .../docs/GraphqlUI.png | Bin .../docs/ReadingProcessInErrorStatus.png | Bin .../docs/SwitchStateTimeoutsTab.png | Bin .../pom.xml | 4 ++-- .../set-urls.sh | 0 .../src/main/docker/Dockerfile.jvm | 6 +++--- .../src/main/docker/Dockerfile.legacy-jar | 6 +++--- .../src/main/docker/Dockerfile.native | 4 ++-- .../src/main/docker/Dockerfile.native-micro | 4 ++-- .../examples/CallbackStateTimeoutsClient.java | 0 .../kie/kogito/examples/CloudEventsCustomizer.java | 0 .../kogito/examples/EventStateTimeoutsClient.java | 0 .../kie/kogito/examples/EventsProducerResource.java | 0 .../kogito/examples/SwitchStateTimeoutsClient.java | 0 .../java/org/kie/kogito/examples/VertxRouter.java | 0 .../org/kie/kogito/examples/WorkflowClient.java | 0 .../kie/kogito/examples/WorkflowsProxyResource.java | 0 .../src/main/resources/META-INF/resources/app.js | 0 .../main/resources/META-INF/resources/index.html | 0 .../resources/application-kubernetes.properties | 2 +- .../src/main/resources/application.properties | 2 +- .../callback_state_timeouts_devprofile.yaml} | 0 .../workflows/event_state_timeouts_devprofile.yaml} | 0 .../switch_state_timeouts_devprofile.yaml} | 0 31 files changed, 21 insertions(+), 21 deletions(-) rename serverless-workflow-examples/{serverless-workflow-timeouts-showcase-operator-devmode => serverless-workflow-timeouts-showcase-operator-devprofile}/README.md (96%) rename serverless-workflow-examples/{serverless-workflow-timeouts-showcase-operator-devmode => serverless-workflow-timeouts-showcase-operator-devprofile}/docs/CallbackStateTimeoutsTab.png (100%) rename serverless-workflow-examples/{serverless-workflow-timeouts-showcase-operator-devmode => serverless-workflow-timeouts-showcase-operator-devprofile}/docs/DevUIDataIndex.png (100%) rename serverless-workflow-examples/{serverless-workflow-timeouts-showcase-operator-devmode => serverless-workflow-timeouts-showcase-operator-devprofile}/docs/DevUIGeneral.png (100%) rename serverless-workflow-examples/{serverless-workflow-timeouts-showcase-operator-devmode => serverless-workflow-timeouts-showcase-operator-devprofile}/docs/DevUIWorkflows.png (100%) rename serverless-workflow-examples/{serverless-workflow-timeouts-showcase-operator-devmode => serverless-workflow-timeouts-showcase-operator-devprofile}/docs/EventStateTimeoutsTab.png (100%) rename serverless-workflow-examples/{serverless-workflow-timeouts-showcase-operator-devmode => serverless-workflow-timeouts-showcase-operator-devprofile}/docs/GraphqlUI.png (100%) rename serverless-workflow-examples/{serverless-workflow-timeouts-showcase-operator-devmode => serverless-workflow-timeouts-showcase-operator-devprofile}/docs/ReadingProcessInErrorStatus.png (100%) rename serverless-workflow-examples/{serverless-workflow-timeouts-showcase-operator-devmode => serverless-workflow-timeouts-showcase-operator-devprofile}/docs/SwitchStateTimeoutsTab.png (100%) rename serverless-workflow-examples/{serverless-workflow-timeouts-showcase-operator-devmode => serverless-workflow-timeouts-showcase-operator-devprofile}/pom.xml (99%) rename serverless-workflow-examples/{serverless-workflow-timeouts-showcase-operator-devmode => serverless-workflow-timeouts-showcase-operator-devprofile}/set-urls.sh (100%) rename serverless-workflow-examples/{serverless-workflow-timeouts-showcase-operator-devmode => serverless-workflow-timeouts-showcase-operator-devprofile}/src/main/docker/Dockerfile.jvm (97%) rename serverless-workflow-examples/{serverless-workflow-timeouts-showcase-operator-devmode => serverless-workflow-timeouts-showcase-operator-devprofile}/src/main/docker/Dockerfile.legacy-jar (96%) rename serverless-workflow-examples/{serverless-workflow-timeouts-showcase-operator-devmode => serverless-workflow-timeouts-showcase-operator-devprofile}/src/main/docker/Dockerfile.native (87%) rename serverless-workflow-examples/{serverless-workflow-timeouts-showcase-operator-devmode => serverless-workflow-timeouts-showcase-operator-devprofile}/src/main/docker/Dockerfile.native-micro (89%) rename serverless-workflow-examples/{serverless-workflow-timeouts-showcase-operator-devmode => serverless-workflow-timeouts-showcase-operator-devprofile}/src/main/java/org/kie/kogito/examples/CallbackStateTimeoutsClient.java (100%) rename serverless-workflow-examples/{serverless-workflow-timeouts-showcase-operator-devmode => serverless-workflow-timeouts-showcase-operator-devprofile}/src/main/java/org/kie/kogito/examples/CloudEventsCustomizer.java (100%) rename serverless-workflow-examples/{serverless-workflow-timeouts-showcase-operator-devmode => serverless-workflow-timeouts-showcase-operator-devprofile}/src/main/java/org/kie/kogito/examples/EventStateTimeoutsClient.java (100%) rename serverless-workflow-examples/{serverless-workflow-timeouts-showcase-operator-devmode => serverless-workflow-timeouts-showcase-operator-devprofile}/src/main/java/org/kie/kogito/examples/EventsProducerResource.java (100%) rename serverless-workflow-examples/{serverless-workflow-timeouts-showcase-operator-devmode => serverless-workflow-timeouts-showcase-operator-devprofile}/src/main/java/org/kie/kogito/examples/SwitchStateTimeoutsClient.java (100%) rename serverless-workflow-examples/{serverless-workflow-timeouts-showcase-operator-devmode => serverless-workflow-timeouts-showcase-operator-devprofile}/src/main/java/org/kie/kogito/examples/VertxRouter.java (100%) rename serverless-workflow-examples/{serverless-workflow-timeouts-showcase-operator-devmode => serverless-workflow-timeouts-showcase-operator-devprofile}/src/main/java/org/kie/kogito/examples/WorkflowClient.java (100%) rename serverless-workflow-examples/{serverless-workflow-timeouts-showcase-operator-devmode => serverless-workflow-timeouts-showcase-operator-devprofile}/src/main/java/org/kie/kogito/examples/WorkflowsProxyResource.java (100%) rename serverless-workflow-examples/{serverless-workflow-timeouts-showcase-operator-devmode => serverless-workflow-timeouts-showcase-operator-devprofile}/src/main/resources/META-INF/resources/app.js (100%) rename serverless-workflow-examples/{serverless-workflow-timeouts-showcase-operator-devmode => serverless-workflow-timeouts-showcase-operator-devprofile}/src/main/resources/META-INF/resources/index.html (100%) rename serverless-workflow-examples/{serverless-workflow-timeouts-showcase-operator-devmode => serverless-workflow-timeouts-showcase-operator-devprofile}/src/main/resources/application-kubernetes.properties (93%) rename serverless-workflow-examples/{serverless-workflow-timeouts-showcase-operator-devmode => serverless-workflow-timeouts-showcase-operator-devprofile}/src/main/resources/application.properties (98%) rename serverless-workflow-examples/{serverless-workflow-timeouts-showcase-operator-devmode/workflows/callback_state_timeouts_devmode.yaml => serverless-workflow-timeouts-showcase-operator-devprofile/workflows/callback_state_timeouts_devprofile.yaml} (100%) rename serverless-workflow-examples/{serverless-workflow-timeouts-showcase-operator-devmode/workflows/event_state_timeouts_devmode.yaml => serverless-workflow-timeouts-showcase-operator-devprofile/workflows/event_state_timeouts_devprofile.yaml} (100%) rename serverless-workflow-examples/{serverless-workflow-timeouts-showcase-operator-devmode/workflows/switch_state_timeouts_devmode.yaml => serverless-workflow-timeouts-showcase-operator-devprofile/workflows/switch_state_timeouts_devprofile.yaml} (100%) diff --git a/serverless-workflow-examples/pom.xml b/serverless-workflow-examples/pom.xml index 168f0d454e..cada98436a 100644 --- a/serverless-workflow-examples/pom.xml +++ b/serverless-workflow-examples/pom.xml @@ -54,7 +54,7 @@ serverless-workflow-testing-with-rest-assured serverless-workflow-timeouts-showcase-embedded serverless-workflow-timeouts-showcase-extended - serverless-workflow-timeouts-showcase-operator-devmode + serverless-workflow-timeouts-showcase-operator-devprofile @@ -134,7 +134,7 @@ serverless-workflow-testing-with-rest-assured serverless-workflow-timeouts-showcase-embedded serverless-workflow-timeouts-showcase-extended - serverless-workflow-timeouts-showcase-operator-devmode + serverless-workflow-timeouts-showcase-operator-devprofile diff --git a/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devmode/README.md b/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/README.md similarity index 96% rename from serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devmode/README.md rename to serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/README.md index 0b84b3fc34..3de91cb993 100644 --- a/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devmode/README.md +++ b/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/README.md @@ -17,7 +17,7 @@ For more information about the installation procedure see [Install the SonataFlo ### Deploying the workflows -Once the minikube environment is running, open a terminal window, go to the `serverless-workflow-timeouts-showcase-operator-devmode` directory, and execute these commands: +Once the minikube environment is running, open a terminal window, go to the `serverless-workflow-timeouts-showcase-operator-devprofile` directory, and execute these commands: ```shell # The namespace name is very important to ensure all the services that compose the showcase can interact. @@ -31,7 +31,7 @@ kubectl create namespace timeouts-showcase To deploy the workflows you must execute these commands: ```shell -kubectl apply -f workflows/callback_state_timeouts_devmode.yaml -n timeouts-showcase +kubectl apply -f workflows/callback_state_timeouts_devprofile.yaml -n timeouts-showcase ``` @@ -52,11 +52,11 @@ kubectl apply -f workflows/callback_state_timeouts_devmode.yaml -n timeouts-show ```shell -kubectl apply -f workflows/event_state_timeouts_devmode.yaml -n timeouts-showcase +kubectl apply -f workflows/event_state_timeouts_devprofile.yaml -n timeouts-showcase ``` ```shell -kubectl apply -f workflows/switch_state_timeouts_devmode.yaml -n timeouts-showcase +kubectl apply -f workflows/switch_state_timeouts_devprofile.yaml -n timeouts-showcase ``` After executing the commands you should have seen the following outputs: @@ -259,7 +259,7 @@ kubectl apply -f target/kubernetes/kubernetes.yml -n timeouts-showcase ``` ```shell -minikube service timeouts-showcase-operator-devmode-ui --url -n timeouts-showcase +minikube service timeouts-showcase-operator-devprofile-ui --url -n timeouts-showcase # the command will produce an output like this http://192.168.49.2:31021 ``` diff --git a/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devmode/docs/CallbackStateTimeoutsTab.png b/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/docs/CallbackStateTimeoutsTab.png similarity index 100% rename from serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devmode/docs/CallbackStateTimeoutsTab.png rename to serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/docs/CallbackStateTimeoutsTab.png diff --git a/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devmode/docs/DevUIDataIndex.png b/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/docs/DevUIDataIndex.png similarity index 100% rename from serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devmode/docs/DevUIDataIndex.png rename to serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/docs/DevUIDataIndex.png diff --git a/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devmode/docs/DevUIGeneral.png b/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/docs/DevUIGeneral.png similarity index 100% rename from serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devmode/docs/DevUIGeneral.png rename to serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/docs/DevUIGeneral.png diff --git a/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devmode/docs/DevUIWorkflows.png b/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/docs/DevUIWorkflows.png similarity index 100% rename from serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devmode/docs/DevUIWorkflows.png rename to serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/docs/DevUIWorkflows.png diff --git a/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devmode/docs/EventStateTimeoutsTab.png b/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/docs/EventStateTimeoutsTab.png similarity index 100% rename from serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devmode/docs/EventStateTimeoutsTab.png rename to serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/docs/EventStateTimeoutsTab.png diff --git a/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devmode/docs/GraphqlUI.png b/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/docs/GraphqlUI.png similarity index 100% rename from serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devmode/docs/GraphqlUI.png rename to serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/docs/GraphqlUI.png diff --git a/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devmode/docs/ReadingProcessInErrorStatus.png b/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/docs/ReadingProcessInErrorStatus.png similarity index 100% rename from serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devmode/docs/ReadingProcessInErrorStatus.png rename to serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/docs/ReadingProcessInErrorStatus.png diff --git a/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devmode/docs/SwitchStateTimeoutsTab.png b/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/docs/SwitchStateTimeoutsTab.png similarity index 100% rename from serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devmode/docs/SwitchStateTimeoutsTab.png rename to serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/docs/SwitchStateTimeoutsTab.png diff --git a/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devmode/pom.xml b/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/pom.xml similarity index 99% rename from serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devmode/pom.xml rename to serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/pom.xml index 82c777ab64..4b0eee0111 100644 --- a/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devmode/pom.xml +++ b/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/pom.xml @@ -4,9 +4,9 @@ 4.0.0 org.kie.kogito.examples - serverless-workflow-timeouts-showcase-operator-devmode + serverless-workflow-timeouts-showcase-operator-devprofile 1.0-SNAPSHOT - Kogito Example :: Serverless Workflow Timeouts Showcase Operator Dev Mode + Kogito Example :: Serverless Workflow Timeouts Showcase Operator Dev Profile UTF-8 diff --git a/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devmode/set-urls.sh b/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/set-urls.sh similarity index 100% rename from serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devmode/set-urls.sh rename to serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/set-urls.sh diff --git a/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devmode/src/main/docker/Dockerfile.jvm b/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/src/main/docker/Dockerfile.jvm similarity index 97% rename from serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devmode/src/main/docker/Dockerfile.jvm rename to serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/src/main/docker/Dockerfile.jvm index 6b93296be6..11f0918ef3 100644 --- a/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devmode/src/main/docker/Dockerfile.jvm +++ b/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/src/main/docker/Dockerfile.jvm @@ -7,18 +7,18 @@ # # Then, build the image with: # -# docker build -f src/main/docker/Dockerfile.jvm -t quarkus/serverless-workflow-timeouts-showcase-embedded-jvm . +# docker build -f src/main/docker/Dockerfile.jvm -t quarkus/serverless-workflow-timeouts-showcase-operator-devprofile-jvm . # # Then run the container using: # -# docker run -i --rm -p 8080:8080 quarkus/serverless-workflow-timeouts-showcase-embedded-jvm +# docker run -i --rm -p 8080:8080 quarkus/serverless-workflow-timeouts-showcase-operator-devprofile-jvm # # If you want to include the debug port into your docker image # you will have to expose the debug port (default 5005) like this : EXPOSE 8080 5005 # # Then run the container using : # -# docker run -i --rm -p 8080:8080 quarkus/serverless-workflow-timeouts-showcase-embedded-jvm +# docker run -i --rm -p 8080:8080 quarkus/serverless-workflow-timeouts-showcase-operator-devprofile-jvm # # This image uses the `run-java.sh` script to run the application. # This scripts computes the command line to execute your Java application, and diff --git a/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devmode/src/main/docker/Dockerfile.legacy-jar b/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/src/main/docker/Dockerfile.legacy-jar similarity index 96% rename from serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devmode/src/main/docker/Dockerfile.legacy-jar rename to serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/src/main/docker/Dockerfile.legacy-jar index a217de4a04..ca97968c69 100644 --- a/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devmode/src/main/docker/Dockerfile.legacy-jar +++ b/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/src/main/docker/Dockerfile.legacy-jar @@ -7,18 +7,18 @@ # # Then, build the image with: # -# docker build -f src/main/docker/Dockerfile.legacy-jar -t quarkus/serverless-workflow-timeouts-showcase-embedded-legacy-jar . +# docker build -f src/main/docker/Dockerfile.legacy-jar -t quarkus/serverless-workflow-timeouts-showcase-operator-devprofile-legacy-jar . # # Then run the container using: # -# docker run -i --rm -p 8080:8080 quarkus/serverless-workflow-timeouts-showcase-embedded-legacy-jar +# docker run -i --rm -p 8080:8080 quarkus/serverless-workflow-timeouts-showcase-operator-devprofile-legacy-jar # # If you want to include the debug port into your docker image # you will have to expose the debug port (default 5005) like this : EXPOSE 8080 5005 # # Then run the container using : # -# docker run -i --rm -p 8080:8080 quarkus/serverless-workflow-timeouts-showcase-embedded-legacy-jar +# docker run -i --rm -p 8080:8080 quarkus/serverless-workflow-timeouts-showcase-operator-devprofile-legacy-jar # # This image uses the `run-java.sh` script to run the application. # This scripts computes the command line to execute your Java application, and diff --git a/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devmode/src/main/docker/Dockerfile.native b/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/src/main/docker/Dockerfile.native similarity index 87% rename from serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devmode/src/main/docker/Dockerfile.native rename to serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/src/main/docker/Dockerfile.native index d8bd842f81..784dffbc23 100644 --- a/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devmode/src/main/docker/Dockerfile.native +++ b/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/src/main/docker/Dockerfile.native @@ -7,11 +7,11 @@ # # Then, build the image with: # -# docker build -f src/main/docker/Dockerfile.native -t quarkus/serverless-workflow-timeouts-showcase-embedded . +# docker build -f src/main/docker/Dockerfile.native -t quarkus/serverless-workflow-timeouts-showcase-operator-devprofile . # # Then run the container using: # -# docker run -i --rm -p 8080:8080 quarkus/serverless-workflow-timeouts-showcase-embedded +# docker run -i --rm -p 8080:8080 quarkus/serverless-workflow-timeouts-showcase-operator-devprofile # ### FROM registry.access.redhat.com/ubi8/ubi-minimal:8.5 diff --git a/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devmode/src/main/docker/Dockerfile.native-micro b/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/src/main/docker/Dockerfile.native-micro similarity index 89% rename from serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devmode/src/main/docker/Dockerfile.native-micro rename to serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/src/main/docker/Dockerfile.native-micro index d163e9b333..9f35c6bebd 100644 --- a/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devmode/src/main/docker/Dockerfile.native-micro +++ b/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/src/main/docker/Dockerfile.native-micro @@ -10,11 +10,11 @@ # # Then, build the image with: # -# docker build -f src/main/docker/Dockerfile.native-micro -t quarkus/serverless-workflow-timeouts-showcase-embedded . +# docker build -f src/main/docker/Dockerfile.native-micro -t quarkus/serverless-workflow-timeouts-showcase-operator-devprofile . # # Then run the container using: # -# docker run -i --rm -p 8080:8080 quarkus/serverless-workflow-timeouts-showcase-embedded +# docker run -i --rm -p 8080:8080 quarkus/serverless-workflow-timeouts-showcase-operator-devprofile # ### FROM quay.io/quarkus/quarkus-micro-image:1.0 diff --git a/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devmode/src/main/java/org/kie/kogito/examples/CallbackStateTimeoutsClient.java b/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/src/main/java/org/kie/kogito/examples/CallbackStateTimeoutsClient.java similarity index 100% rename from serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devmode/src/main/java/org/kie/kogito/examples/CallbackStateTimeoutsClient.java rename to serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/src/main/java/org/kie/kogito/examples/CallbackStateTimeoutsClient.java diff --git a/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devmode/src/main/java/org/kie/kogito/examples/CloudEventsCustomizer.java b/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/src/main/java/org/kie/kogito/examples/CloudEventsCustomizer.java similarity index 100% rename from serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devmode/src/main/java/org/kie/kogito/examples/CloudEventsCustomizer.java rename to serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/src/main/java/org/kie/kogito/examples/CloudEventsCustomizer.java diff --git a/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devmode/src/main/java/org/kie/kogito/examples/EventStateTimeoutsClient.java b/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/src/main/java/org/kie/kogito/examples/EventStateTimeoutsClient.java similarity index 100% rename from serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devmode/src/main/java/org/kie/kogito/examples/EventStateTimeoutsClient.java rename to serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/src/main/java/org/kie/kogito/examples/EventStateTimeoutsClient.java diff --git a/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devmode/src/main/java/org/kie/kogito/examples/EventsProducerResource.java b/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/src/main/java/org/kie/kogito/examples/EventsProducerResource.java similarity index 100% rename from serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devmode/src/main/java/org/kie/kogito/examples/EventsProducerResource.java rename to serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/src/main/java/org/kie/kogito/examples/EventsProducerResource.java diff --git a/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devmode/src/main/java/org/kie/kogito/examples/SwitchStateTimeoutsClient.java b/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/src/main/java/org/kie/kogito/examples/SwitchStateTimeoutsClient.java similarity index 100% rename from serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devmode/src/main/java/org/kie/kogito/examples/SwitchStateTimeoutsClient.java rename to serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/src/main/java/org/kie/kogito/examples/SwitchStateTimeoutsClient.java diff --git a/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devmode/src/main/java/org/kie/kogito/examples/VertxRouter.java b/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/src/main/java/org/kie/kogito/examples/VertxRouter.java similarity index 100% rename from serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devmode/src/main/java/org/kie/kogito/examples/VertxRouter.java rename to serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/src/main/java/org/kie/kogito/examples/VertxRouter.java diff --git a/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devmode/src/main/java/org/kie/kogito/examples/WorkflowClient.java b/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/src/main/java/org/kie/kogito/examples/WorkflowClient.java similarity index 100% rename from serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devmode/src/main/java/org/kie/kogito/examples/WorkflowClient.java rename to serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/src/main/java/org/kie/kogito/examples/WorkflowClient.java diff --git a/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devmode/src/main/java/org/kie/kogito/examples/WorkflowsProxyResource.java b/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/src/main/java/org/kie/kogito/examples/WorkflowsProxyResource.java similarity index 100% rename from serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devmode/src/main/java/org/kie/kogito/examples/WorkflowsProxyResource.java rename to serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/src/main/java/org/kie/kogito/examples/WorkflowsProxyResource.java diff --git a/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devmode/src/main/resources/META-INF/resources/app.js b/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/src/main/resources/META-INF/resources/app.js similarity index 100% rename from serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devmode/src/main/resources/META-INF/resources/app.js rename to serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/src/main/resources/META-INF/resources/app.js diff --git a/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devmode/src/main/resources/META-INF/resources/index.html b/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/src/main/resources/META-INF/resources/index.html similarity index 100% rename from serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devmode/src/main/resources/META-INF/resources/index.html rename to serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/src/main/resources/META-INF/resources/index.html diff --git a/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devmode/src/main/resources/application-kubernetes.properties b/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/src/main/resources/application-kubernetes.properties similarity index 93% rename from serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devmode/src/main/resources/application-kubernetes.properties rename to serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/src/main/resources/application-kubernetes.properties index fe9d1747d4..a759e4437b 100644 --- a/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devmode/src/main/resources/application-kubernetes.properties +++ b/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/src/main/resources/application-kubernetes.properties @@ -10,7 +10,7 @@ quarkus.rest-client.event_state_timeouts.url=http://eventstatetimeouts.timeouts- quarkus.container-image.build=true quarkus.container-image.group=${USER} quarkus.container-image.registry=dev.local -quarkus.container-image.name=timeouts-showcase-operator-devmode-ui +quarkus.container-image.name=timeouts-showcase-operator-devprofile-ui quarkus.container-image.tag=1.0-SNAPSHOT quarkus.kubernetes.service-type=node-port quarkus.kubernetes.image-pull-policy=if-not-present diff --git a/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devmode/src/main/resources/application.properties b/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/src/main/resources/application.properties similarity index 98% rename from serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devmode/src/main/resources/application.properties rename to serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/src/main/resources/application.properties index 9049cdecd7..f3175de135 100644 --- a/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devmode/src/main/resources/application.properties +++ b/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/src/main/resources/application.properties @@ -15,7 +15,7 @@ quarkus.rest-client.event_state_timeouts.url=http://localhost:9090 %container.quarkus.container-image.push=false %container.quarkus.container-image.group=${USER} %container.quarkus.container-image.registry=dev.local -%container.quarkus.container-image.name=timeouts-showcase-operator-devmode-ui +%container.quarkus.container-image.name=timeouts-showcase-operator-devprofile-ui %container.quarkus.container-image.tag=1.0-SNAPSHOT %container.quarkus.jib.jvm-entrypoint=/home/kogito/kogito-app-launch.sh %container.quarkus.jib.base-jvm-image=quay.io/kiegroup/kogito-runtime-jvm:latest diff --git a/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devmode/workflows/callback_state_timeouts_devmode.yaml b/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/workflows/callback_state_timeouts_devprofile.yaml similarity index 100% rename from serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devmode/workflows/callback_state_timeouts_devmode.yaml rename to serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/workflows/callback_state_timeouts_devprofile.yaml diff --git a/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devmode/workflows/event_state_timeouts_devmode.yaml b/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/workflows/event_state_timeouts_devprofile.yaml similarity index 100% rename from serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devmode/workflows/event_state_timeouts_devmode.yaml rename to serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/workflows/event_state_timeouts_devprofile.yaml diff --git a/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devmode/workflows/switch_state_timeouts_devmode.yaml b/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/workflows/switch_state_timeouts_devprofile.yaml similarity index 100% rename from serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devmode/workflows/switch_state_timeouts_devmode.yaml rename to serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/workflows/switch_state_timeouts_devprofile.yaml