From 72dbb19dd424ef559422bd0243d6a3179e01c382 Mon Sep 17 00:00:00 2001 From: "George, Lina (lg941u)" Date: Fri, 6 Jul 2018 12:25:32 -0400 Subject: Added seq generator changes for vnf level actions Issue-ID: APPC-921 Change-Id: I43c2cb044783ce4cd74f9685a333b52e4c7ad1fe Signed-off-by: George, Lina (lg941u) --- .../src/main/resources/payload.json | 27 ++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 appc-sequence-generator/appc-sequence-generator-bundle/src/main/resources/payload.json (limited to 'appc-sequence-generator/appc-sequence-generator-bundle/src/main/resources') diff --git a/appc-sequence-generator/appc-sequence-generator-bundle/src/main/resources/payload.json b/appc-sequence-generator/appc-sequence-generator-bundle/src/main/resources/payload.json new file mode 100644 index 000000000..58eb605e2 --- /dev/null +++ b/appc-sequence-generator/appc-sequence-generator-bundle/src/main/resources/payload.json @@ -0,0 +1,27 @@ +{ +"output_payload-model": { + "sequence-generator": "multistep-sequence-generator", + "action-list": [{ + "action": "start", + "payload-fields": { + "identity-url": "$identity-url", + "vm-id": "$vm-id" + } + }, + { + "action": "stop", + "payload-fields": { + "identity-url": "$identity-url", + "vm-id": "$vm-id" + } + }, + { + "action": "restart", + "payload-fields": { + "identity-url": "$identity-url", + "vm-id": "$vm-id" + } + } + ] + } +} -- cgit 1.2.3-korg