From 95ad93091d5fa6e377e76f312d495151bddc9da8 Mon Sep 17 00:00:00 2001 From: "andre.schmid" Date: Wed, 14 Oct 2020 20:56:11 +0100 Subject: Support interface input during import VFC Change-Id: I097ce258a7dadbedf1aff6ce53dd1286da074552 Issue-ID: SDC-3372 Signed-off-by: andre.schmid --- .../interfaceDefinition-legacy.yaml | 24 +++++++++++++++++++++ .../interfaceDefinition-tosca1.3.yaml | 25 ++++++++++++++++++++++ 2 files changed, 49 insertions(+) create mode 100644 catalog-be/src/test/resources/interfaceDefinition/interfaceDefinition-legacy.yaml create mode 100644 catalog-be/src/test/resources/interfaceDefinition/interfaceDefinition-tosca1.3.yaml (limited to 'catalog-be/src/test/resources/interfaceDefinition') diff --git a/catalog-be/src/test/resources/interfaceDefinition/interfaceDefinition-legacy.yaml b/catalog-be/src/test/resources/interfaceDefinition/interfaceDefinition-legacy.yaml new file mode 100644 index 0000000000..d12664be9d --- /dev/null +++ b/catalog-be/src/test/resources/interfaceDefinition/interfaceDefinition-legacy.yaml @@ -0,0 +1,24 @@ +inputs: + stringInput: + type: string + description: stringInput description + required: true + default: defaultValue + status: aStatus + actionInput: + type: org.openecomp.resource.datatypes.Action +type: tosca.interfaces.node.lifecycle.Standard +create: + implementation: "camunda/serviceSelect" +start: + implementation: "camunda/executeAction" + inputs: + action: + type: org.openecomp.resource.datatypes.Action +stop: + implementation: "camunda/executeAction" + inputs: + action: + type: org.openecomp.resource.datatypes.Action +delete: + implementation: "camunda/serviceDeselect" \ No newline at end of file diff --git a/catalog-be/src/test/resources/interfaceDefinition/interfaceDefinition-tosca1.3.yaml b/catalog-be/src/test/resources/interfaceDefinition/interfaceDefinition-tosca1.3.yaml new file mode 100644 index 0000000000..13dfb9a1fb --- /dev/null +++ b/catalog-be/src/test/resources/interfaceDefinition/interfaceDefinition-tosca1.3.yaml @@ -0,0 +1,25 @@ +inputs: + stringInput: + type: string + description: stringInput description + required: true + default: defaultValue + status: aStatus + actionInput: + type: org.openecomp.resource.datatypes.Action +type: tosca.interfaces.node.lifecycle.Standard +operations: + create: + implementation: "camunda/serviceSelect" + start: + implementation: "camunda/executeAction" + inputs: + action: + type: org.openecomp.resource.datatypes.Action + stop: + implementation: "camunda/executeAction" + inputs: + action: + type: org.openecomp.resource.datatypes.Action + delete: + implementation: "camunda/serviceDeselect" \ No newline at end of file -- cgit 1.2.3-korg