From 4f058c098678ea01f8a01250dbf9bac4b77b6744 Mon Sep 17 00:00:00 2001 From: JvD_Ericsson Date: Fri, 6 Oct 2023 09:12:37 +0100 Subject: Milestone import support Issue-ID: SDC-4646 Signed-off-by: JvD_Ericsson Change-Id: I90da530a84c757a07c3ef903201f89869d223b8c --- .../interfaceDefinition-legacy.yaml | 50 +++++++++------------- .../interfaceDefinition-tosca1.3.yaml | 24 +++++------ 2 files changed, 32 insertions(+), 42 deletions(-) (limited to 'catalog-be/src/test/resources') diff --git a/catalog-be/src/test/resources/interfaceDefinition/interfaceDefinition-legacy.yaml b/catalog-be/src/test/resources/interfaceDefinition/interfaceDefinition-legacy.yaml index b94b5ab11b..108c43f547 100644 --- a/catalog-be/src/test/resources/interfaceDefinition/interfaceDefinition-legacy.yaml +++ b/catalog-be/src/test/resources/interfaceDefinition/interfaceDefinition-legacy.yaml @@ -49,34 +49,24 @@ start: milestones: on_failure: activities: - - type: delegate - workflow: workflow1 - - type: delegate - workflow: workflow2 + - delegate: + workflow: workflow1 + - delegate: + workflow: workflow2 on_success: activities: - - type: delegate - workflow: workflow1 - - type: delegate - workflow: workflow2 - inputs: - string: - type: string - value: testString - complex: - type: tosca.datatypes.nfv.VirtualCpu - value: - virtual_cpu_oversubscription_policy: pol - cpu_architecture: cpu - virtual_cpu_clock: 27Hz - vdu_cpu_requirements: - 'k1': 'v1' - 'k2': 'v2' - virtual_cpu_pinning: - virtual_cpu_pinning_policy: pol - virtual_cpu_pinning_rule: - - 1 - - 2 + - delegate: + workflow: workflow1 + - delegate: + workflow: workflow2 + inputs: + string: + testString + complex: + jeopardyType: test + name: name + eventType: type + message: message filters: - my_attribute: equal: @@ -100,10 +90,10 @@ start: minLength: 4 on_timeout: activities: - - type: delegate - workflow: workflow1 - - type: delegate - workflow: workflow2 + - delegate: + workflow: workflow1 + - delegate: + workflow: workflow2 stop: implementation: "camunda/executeAction" inputs: diff --git a/catalog-be/src/test/resources/interfaceDefinition/interfaceDefinition-tosca1.3.yaml b/catalog-be/src/test/resources/interfaceDefinition/interfaceDefinition-tosca1.3.yaml index 8adcdcf4cf..0eb1db33a9 100644 --- a/catalog-be/src/test/resources/interfaceDefinition/interfaceDefinition-tosca1.3.yaml +++ b/catalog-be/src/test/resources/interfaceDefinition/interfaceDefinition-tosca1.3.yaml @@ -44,22 +44,22 @@ operations: milestones: on_failure: activities: - - type: delegate - workflow: workflow1 - - type: delegate - workflow: workflow2 + - delegate: + workflow: workflow1 + - delegate: + workflow: workflow2 on_success: activities: - - type: delegate - workflow: workflow1 - - type: delegate - workflow: workflow2 + - delegate: + workflow: workflow1 + - delegate: + workflow: workflow2 on_timeout: activities: - - type: delegate - workflow: workflow1 - - type: delegate - workflow: workflow2 + - delegate: + workflow: workflow1 + - delegate: + workflow: workflow2 stop: implementation: "camunda/executeAction" inputs: -- cgit 1.2.3-korg