From 21b3a7cd57289220f472bd25fbc71660e57277a6 Mon Sep 17 00:00:00 2001 From: Jonathan Lukas Date: Fri, 3 Nov 2023 14:11:57 +0100 Subject: [PATCH] Changed header name from scriptFormat to language (#514) * changed from scriptFormat to language * Adjusted failing test --- .../core/src/main/resources/converter-properties.properties | 2 +- .../community/migration/converter/BpmnConverterTest.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 7200c74c..3c2415f7 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 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 63dc6d28..540b5286 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.");