diff --git a/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/loanbroker-flow/src/main/resources/application.properties b/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/loanbroker-flow/src/main/resources/application.properties index 1b6399022f..191df5ed61 100644 --- a/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/loanbroker-flow/src/main/resources/application.properties +++ b/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/loanbroker-flow/src/main/resources/application.properties @@ -21,9 +21,9 @@ quarkus.kubernetes.deployment-target=knative quarkus.knative.image-pull-policy=IfNotPresent # Use the Kogito service discovery mechanism to get the services url. # For more information see: https://kiegroup.github.io/kogito-docs/serverlessworkflow/latest/cloud/kubernetes-service-discovery.html -quarkus.knative.env.vars.kogito_service_cluster_url=knative:services.v1.serving.knative.dev/loanbroker-example/loanbroker-flow -quarkus.knative.env.vars.credit_bureau_url=knative:services.v1.serving.knative.dev/loanbroker-example/loanbroker-credit-bureau -quarkus.knative.env.vars.aggregator_url=kubernetes:services.v1/loanbroker-example/loanbroker-aggregator +quarkus.knative.env.vars.kogito_service_cluster_url=${knative:services.v1.serving.knative.dev/loanbroker-example/loanbroker-flow} +quarkus.knative.env.vars.credit_bureau_url=${knative:services.v1.serving.knative.dev/loanbroker-example/loanbroker-credit-bureau} +quarkus.knative.env.vars.aggregator_url=${kubernetes:services.v1/loanbroker-example/loanbroker-aggregator} # Kogito persistence configurations for enabling the serverless workflow persistence %persistence.quarkus.container-image.group=dev.local diff --git a/serverless-workflow-examples/serverless-workflow-newsletter-subscription/subscription-flow/src/main/resources/application-knative.properties b/serverless-workflow-examples/serverless-workflow-newsletter-subscription/subscription-flow/src/main/resources/application-knative.properties index db3cf3984b..fc69e8868f 100644 --- a/serverless-workflow-examples/serverless-workflow-newsletter-subscription/subscription-flow/src/main/resources/application-knative.properties +++ b/serverless-workflow-examples/serverless-workflow-newsletter-subscription/subscription-flow/src/main/resources/application-knative.properties @@ -1,6 +1,6 @@ # Use the Kogito service discovery mechanism to get the current service url. # For more information see: https://kiegroup.github.io/kogito-docs/serverlessworkflow/latest/cloud/kubernetes-service-discovery.html -kogito.service.url=knative:services.v1.serving.knative.dev/newsletter-showcase/subscription-flow +kogito.service.url=${knative:services.v1.serving.knative.dev/newsletter-showcase/subscription-flow} # When the application is generated with the knative profile, it'll require a PostgreSQL database. # Kogito persistence configurations for enabling the serverless workflow persistence @@ -44,7 +44,7 @@ mp.messaging.outgoing.kogito-variables-events.method=POST # For more information see: # https://kiegroup.github.io/kogito-docs/serverlessworkflow/latest/cloud/kubernetes-service-discovery.html # https://quarkus.io/guides/deploying-to-kubernetes#environment-variables-from-keyvalue-pairs -quarkus.knative.env.vars.subscription_service_url=knative:services.v1.serving.knative.dev/newsletter-showcase/subscription-service +quarkus.knative.env.vars.subscription_service_url=${knative:services.v1.serving.knative.dev/newsletter-showcase/subscription-service} # Configure current deployment to set an env var with name POSTGRES_HOST # For more information see: https://quarkus.io/guides/deploying-to-kubernetes#environment-variables-from-keyvalue-pairs diff --git a/serverless-workflow-examples/serverless-workflow-timeouts-showcase-embedded/src/main/resources/application-knative.properties b/serverless-workflow-examples/serverless-workflow-timeouts-showcase-embedded/src/main/resources/application-knative.properties index 09f04afbfb..264df265a2 100644 --- a/serverless-workflow-examples/serverless-workflow-timeouts-showcase-embedded/src/main/resources/application-knative.properties +++ b/serverless-workflow-examples/serverless-workflow-timeouts-showcase-embedded/src/main/resources/application-knative.properties @@ -1,6 +1,6 @@ # Use the Kogito service discovery mechanism to get the current service url. # For more information see: https://kiegroup.github.io/kogito-docs/serverlessworkflow/latest/cloud/kubernetes-service-discovery.html -kogito.service.url=knative:services.v1.serving.knative.dev/default/timeouts-showcase-embedded +kogito.service.url=${knative:services.v1.serving.knative.dev/default/timeouts-showcase-embedded} # This enables Knative to fetch the image information on Minikube. # You can change this property with -Pknative -Dquarkus.container-image.group from the command line. diff --git a/serverless-workflow-examples/serverless-workflow-timeouts-showcase-extended/src/main/resources/application-knative.properties b/serverless-workflow-examples/serverless-workflow-timeouts-showcase-extended/src/main/resources/application-knative.properties index 20f28f97d3..67e700c269 100644 --- a/serverless-workflow-examples/serverless-workflow-timeouts-showcase-extended/src/main/resources/application-knative.properties +++ b/serverless-workflow-examples/serverless-workflow-timeouts-showcase-extended/src/main/resources/application-knative.properties @@ -12,7 +12,7 @@ quarkus.datasource.password=pass # Use the Kogito service discovery mechanism to get the current service url. # For more information see: https://kiegroup.github.io/kogito-docs/serverlessworkflow/latest/cloud/kubernetes-service-discovery.html -kogito.service.url=knative:services.v1.serving.knative.dev/timeouts-showcase/timeouts-showcase-extended +kogito.service.url=${knative:services.v1.serving.knative.dev/timeouts-showcase/timeouts-showcase-extended} # Skip user tasks and variables events sending. kogito.events.usertasks.enabled=false