From a0ed92deebaaa9f6f29e411f5ae06e9473c8a610 Mon Sep 17 00:00:00 2001 From: Jonathan Lukas Date: Fri, 3 Nov 2023 13:57:05 +0100 Subject: [PATCH 1/2] changed from scriptFormat to language --- .../core/src/main/resources/converter-properties.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend-diagram-converter/core/src/main/resources/converter-properties.properties b/backend-diagram-converter/core/src/main/resources/converter-properties.properties index 7200c74c1..3c2415f71 100644 --- a/backend-diagram-converter/core/src/main/resources/converter-properties.properties +++ b/backend-diagram-converter/core/src/main/resources/converter-properties.properties @@ -11,7 +11,7 @@ zeebe-header.result-variable=resultVariable ## Resource zeebe-header.resource=resource ## Script format -zeebe-header.script-format=scriptFormat +zeebe-header.script-format=language # Zeebe Meta Information zeebe-platform.version=8.3 # Flags From bc7f1f9f922af8108397cbc8a59e26724a344321 Mon Sep 17 00:00:00 2001 From: Jonathan Lukas Date: Fri, 3 Nov 2023 14:01:45 +0100 Subject: [PATCH 2/2] Adjusted failing test --- .../community/migration/converter/BpmnConverterTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend-diagram-converter/core/src/test/java/org/camunda/community/migration/converter/BpmnConverterTest.java b/backend-diagram-converter/core/src/test/java/org/camunda/community/migration/converter/BpmnConverterTest.java index 63dc6d288..540b5286c 100644 --- a/backend-diagram-converter/core/src/test/java/org/camunda/community/migration/converter/BpmnConverterTest.java +++ b/backend-diagram-converter/core/src/test/java/org/camunda/community/migration/converter/BpmnConverterTest.java @@ -277,7 +277,7 @@ void testInternalScript_8_1() { .asList() .hasSize(4); assertThat(result.getResult("FeelScriptTask").getMessages().get(0).getMessage()) - .isEqualTo("Script format 'feel' was set to header 'scriptFormat'. Please review."); + .isEqualTo("Script format 'feel' was set to header 'language'. Please review."); assertThat(result.getResult("FeelScriptTask").getMessages().get(1).getMessage()) .isEqualTo( "Element 'scriptTask' was transformed. Currently, script tasks are implemented like service tasks with job type 'script'. Please review your implementation.");