From 7a2302992a108da6b51edb857beede6c1598fe95 Mon Sep 17 00:00:00 2001 From: gabriel-farache Date: Wed, 23 Oct 2024 09:51:59 +0000 Subject: [PATCH] Automated PR from https://github.com/parodos-dev/serverless-workflows/pull/471 --- charts/greeting/Chart.yaml | 2 +- .../greeting/templates/03-sonataflow_greeting.yaml | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/charts/greeting/Chart.yaml b/charts/greeting/Chart.yaml index 29cc2fff..0586fdc5 100644 --- a/charts/greeting/Chart.yaml +++ b/charts/greeting/Chart.yaml @@ -6,7 +6,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 1.3.0-rc4 +version: 1.3.0-rc5 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to diff --git a/charts/greeting/templates/03-sonataflow_greeting.yaml b/charts/greeting/templates/03-sonataflow_greeting.yaml index 0185eda7..86a8794c 100755 --- a/charts/greeting/templates/03-sonataflow_greeting.yaml +++ b/charts/greeting/templates/03-sonataflow_greeting.yaml @@ -26,10 +26,10 @@ spec: stateName: ChooseOnLanguage states: - dataConditions: - - condition: ${$.[?(@.language == 'English')]} + - condition: .language == "English" transition: nextState: GreetInEnglish - - condition: ${$.[?(@.language == 'Spanish')]} + - condition: .language == "Spanish" transition: nextState: GreetInSpanish defaultCondition: @@ -38,13 +38,13 @@ spec: name: ChooseOnLanguage type: switch - data: - greeting: 'Hello from YAML Workflow, ' + greeting: Hello from YAML Workflow name: GreetInEnglish transition: nextState: GreetPerson type: inject - data: - greeting: 'Saludos desde YAML Workflow, ' + greeting: Saludos desde YAML Workflow name: GreetInSpanish transition: nextState: GreetPerson @@ -55,7 +55,7 @@ spec: useResults: true functionRef: arguments: - message: $.greeting $.name + message: .greeting invoke: sync refName: greetFunction name: greetAction @@ -66,7 +66,7 @@ spec: podTemplate: container: resources: {} - image: quay.io/orchestrator/serverless-workflow-greeting:6765367bcc62b9f71c7bc8ea34ca073669edc229 + image: quay.io/orchestrator/serverless-workflow-greeting:c3b7031d91ae42fa423d1d25060e50dc6267031c resources: configMaps: - configMap: