Platform Hardening for DG Json files - Part 1 17/26817/1
authorTaka <tc012c@att.com>
Fri, 22 Dec 2017 16:32:09 +0000 (11:32 -0500)
committerTaka <tc012c@att.com>
Fri, 22 Dec 2017 16:33:09 +0000 (11:33 -0500)
Change-Id: I0bf2ee8883889e1edeb46ef3bcd96d1002746cf6
Issue-ID: APPC-305
Signed-off-by: Taka <tc012c@att.com>
16 files changed:
appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_AttachVolumeVM.json [new file with mode: 0644]
appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_DetachVolumeVM.json [new file with mode: 0644]
appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/Appc-API_2.0.0.0_VNF_UpgradePreconditionCheck.json
appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/Appc-API_2.0.0.0_VNF_UploadNewVersion.json
appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/Appc-API_2.0.0.0_method_VSCP_HealthCheck.json
appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/Appc-API_2.0.0.0_method_VSCP_LiveUpgrade.json
appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/Appc-API_2.0.0.0_method_VSCP_SoftwareUpload.json
appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/Appc-API_2.0.0.0_method_acquire_and_return.json
appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/Appc-API_2.0.0.0_method_acquire_license.json
appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/Appc-API_2.0.0.0_method_legacy_operation.json
appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/Appc-API_2.0.0.0_method_return_license.json
appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/Appc-API_2.0.0.0_method_test_acquire_license.json
appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/Appc-API_2.0.0.0_method_test_return_license.json
appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/Appc-API_method_VSBG_ConfigModify_2.0.0.0.json
appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/Appc-API_method_VSBG_ConfigModify_2.0.0.1.json
appc-directed-graph/appc-dgraph/provider/src/main/resources/json/dg_activate.txt

diff --git a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_AttachVolumeVM.json b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_AttachVolumeVM.json
new file mode 100644 (file)
index 0000000..8684afa
--- /dev/null
@@ -0,0 +1,262 @@
+[\r
+    {\r
+        "id": "8c8d638b.d864e8",\r
+        "type": "dgstart",\r
+        "name": "DGSTART",\r
+        "outputs": 1,\r
+        "x": 84,\r
+        "y": 84,\r
+        "z": "1eca43d0.41972c",\r
+        "wires": [\r
+            [\r
+                "67bc77ec.cfab9"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "67bc77ec.cfab9",\r
+        "type": "service-logic",\r
+        "name": "APPC 4.0.0",\r
+        "module": "APPC",\r
+        "version": "4.0.0",\r
+        "comments": "",\r
+        "xml": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='APPC' version='4.0.0'>",\r
+        "outputs": 1,\r
+        "x": 241,\r
+        "y": 84,\r
+        "z": "1eca43d0.41972c",\r
+        "wires": [\r
+            [\r
+                "9ab2a765.c334e"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9ab2a765.c334e",\r
+        "type": "method",\r
+        "name": "AttachVolume",\r
+        "xml": "<method rpc='AttachVolumeVM' mode='sync'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 439,\r
+        "y": 86,\r
+        "z": "1eca43d0.41972c",\r
+        "wires": [\r
+            [\r
+                "af60ef65.5a714"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9d95111e.b625",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 806.9999694824219,\r
+        "y": 295.9999694824219,\r
+        "z": "1eca43d0.41972c",\r
+        "wires": [\r
+            [\r
+                "3f10a3d4.fa8644"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "98f61d5c.9857e8",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 815.9999694824219,\r
+        "y": 174.99996948242188,\r
+        "z": "1eca43d0.41972c",\r
+        "wires": [\r
+            [\r
+                "b2efb443.b631a"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "6be48d2c.b63d8c",\r
+        "type": "returnSuccess",\r
+        "name": "return success",\r
+        "xml": "<return status='success'>",\r
+        "comments": "",\r
+        "x": 1362.9999694824219,\r
+        "y": 267.9999694824219,\r
+        "z": "1eca43d0.41972c",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "3ebaa10e.c55e6e",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value='RPC attachVolume not found' />",\r
+        "comments": "",\r
+        "x": 1123.9999694824219,\r
+        "y": 174.99996948242188,\r
+        "z": "1eca43d0.41972c",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "3f10a3d4.fa8644",\r
+        "type": "switchNode",\r
+        "name": "switch error-code",\r
+        "xml": "<switch test='`$error_code`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 999.9999694824219,\r
+        "y": 296.9999694824219,\r
+        "z": "1eca43d0.41972c",\r
+        "wires": [\r
+            [\r
+                "78e00fc2.178ca8",\r
+                "5cb2873d.ba509"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "78e00fc2.178ca8",\r
+        "type": "success",\r
+        "name": "SUCCESS 200",\r
+        "xml": "<outcome value='200'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1181.9999694824219,\r
+        "y": 266.9999694824219,\r
+        "z": "1eca43d0.41972c",\r
+        "wires": [\r
+            [\r
+                "6be48d2c.b63d8c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "5cb2873d.ba509",\r
+        "type": "outcome",\r
+        "name": "ERROR",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1173.9999694824219,\r
+        "y": 425.9999694824219,\r
+        "z": "1eca43d0.41972c",\r
+        "wires": [\r
+            [\r
+                "c45d6cad.1266a8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c45d6cad.1266a8",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1306.9999694824219,\r
+        "y": 426.9999694824219,\r
+        "z": "1eca43d0.41972c",\r
+        "wires": [\r
+            [\r
+                "4593642b.a03a34",\r
+                "7bdd8ae4.5a04e4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "4593642b.a03a34",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value='`$error-message`' />\n",\r
+        "comments": "",\r
+        "x": 1441.9999694824219,\r
+        "y": 468,\r
+        "z": "1eca43d0.41972c",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "b2efb443.b631a",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 971.9999694824219,\r
+        "y": 174.99996948242188,\r
+        "z": "1eca43d0.41972c",\r
+        "wires": [\r
+            [\r
+                "3ebaa10e.c55e6e"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "80ee82a0.8401c8",\r
+        "type": "record",\r
+        "name": "record",\r
+        "xml": "<record plugin=\"onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"info\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"`'input.payload = ' + $input.payload`\" />\n<parameter name=\"field3\" value=\"`'vm-id in context=' + $vm-id`\" />\n<parameter name=\"field4\" value=\"`'volumeId in context=' + $volumeId`\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 806.11669921875,\r
+        "y": 116,\r
+        "z": "1eca43d0.41972c",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "af60ef65.5a714",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 627.8666687011719,\r
+        "y": 144.86666870117188,\r
+        "z": "1eca43d0.41972c",\r
+        "wires": [\r
+            [\r
+                "80ee82a0.8401c8",\r
+                "1ecc7492.a889b3"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "7bdd8ae4.5a04e4",\r
+        "type": "record",\r
+        "name": "record",\r
+        "xml": "<record plugin=\"onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"info\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field3\" value=\"`'error-message = ' + $error-message`\" />\n<parameter name=\"field4\" value=\"`'error-code = ' + $error_code`\" />",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1431.8666687011719,\r
+        "y": 398.8666687011719,\r
+        "z": "1eca43d0.41972c",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "1ecc7492.a889b3",\r
+        "type": "execute",\r
+        "name": "attachVolume",\r
+        "xml": "<execute plugin='org.onap.appc.adapter.iaas.ProviderAdapter' method='attachVolume'>\n<parameter name=\"org.onap.appc.provider.name\" value=\"OpenStack\" />\n<parameter name=\"org.onap.appc.instance.url\" value=\"`$vm-id`\" />\n<parameter name=\"org.onap.appc.identity.url\" value=\"`$identity-url`\" />\n<parameter name=\"org.onap.appc.volumeid\" value=\"`$volumeAttachment.volumeId`\" />\n<parameter name=\"org.onap.appc.device\" value=\"`$volumeAttachment.device`\" />\n<parameter name=\"org.onap.appc.tag\" value=\"`$volumeAttachment.tag`\" />",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 643.9999694824219,\r
+        "y": 230,\r
+        "z": "1eca43d0.41972c",\r
+        "wires": [\r
+            [\r
+                "98f61d5c.9857e8",\r
+                "9d95111e.b625"\r
+            ]\r
+        ]\r
+    }\r
+]\r
diff --git a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_DetachVolumeVM.json b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_DetachVolumeVM.json
new file mode 100644 (file)
index 0000000..0e65047
--- /dev/null
@@ -0,0 +1,262 @@
+[\r
+    {\r
+        "id": "eeae9def.4d566",\r
+        "type": "dgstart",\r
+        "name": "DGSTART",\r
+        "outputs": 1,\r
+        "x": 93,\r
+        "y": 92,\r
+        "z": "65f0ae97.bfd7e8",\r
+        "wires": [\r
+            [\r
+                "f51d1b93.7d168"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f51d1b93.7d168",\r
+        "type": "service-logic",\r
+        "name": "APPC 4.0.0",\r
+        "module": "APPC",\r
+        "version": "4.0.0",\r
+        "comments": "",\r
+        "xml": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='APPC' version='4.0.0'>",\r
+        "outputs": 1,\r
+        "x": 250,\r
+        "y": 92,\r
+        "z": "65f0ae97.bfd7e8",\r
+        "wires": [\r
+            [\r
+                "10439b1c.b0fbc5"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "10439b1c.b0fbc5",\r
+        "type": "method",\r
+        "name": "DetachVolume",\r
+        "xml": "<method rpc='DetachVolumeVM' mode='sync'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 448,\r
+        "y": 94,\r
+        "z": "65f0ae97.bfd7e8",\r
+        "wires": [\r
+            [\r
+                "cf4fac38.3b932"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "6f1b4f51.cab76",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 815.9999694824219,\r
+        "y": 303.9999694824219,\r
+        "z": "65f0ae97.bfd7e8",\r
+        "wires": [\r
+            [\r
+                "f6364905.533518"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "eda3e619.a190e",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 824.9999694824219,\r
+        "y": 182.99996948242188,\r
+        "z": "65f0ae97.bfd7e8",\r
+        "wires": [\r
+            [\r
+                "b81aef23.ced6e8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "361abfaa.ca34b8",\r
+        "type": "returnSuccess",\r
+        "name": "return success",\r
+        "xml": "<return status='success'>",\r
+        "comments": "",\r
+        "x": 1371.9999694824219,\r
+        "y": 275.9999694824219,\r
+        "z": "65f0ae97.bfd7e8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "5b028b69.7d6af4",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value='RPC dettachVolume not found' />",\r
+        "comments": "",\r
+        "x": 1132.9999694824219,\r
+        "y": 182.99996948242188,\r
+        "z": "65f0ae97.bfd7e8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "f6364905.533518",\r
+        "type": "switchNode",\r
+        "name": "switch error-code",\r
+        "xml": "<switch test='`$error_code`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1008.9999694824219,\r
+        "y": 304.9999694824219,\r
+        "z": "65f0ae97.bfd7e8",\r
+        "wires": [\r
+            [\r
+                "567026e7.afed6",\r
+                "ee60ee08.fb232"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "567026e7.afed6",\r
+        "type": "success",\r
+        "name": "SUCCESS 200",\r
+        "xml": "<outcome value='200'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1190.9999694824219,\r
+        "y": 274.9999694824219,\r
+        "z": "65f0ae97.bfd7e8",\r
+        "wires": [\r
+            [\r
+                "361abfaa.ca34b8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ee60ee08.fb232",\r
+        "type": "outcome",\r
+        "name": "ERROR",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1182.9999694824219,\r
+        "y": 433.9999694824219,\r
+        "z": "65f0ae97.bfd7e8",\r
+        "wires": [\r
+            [\r
+                "285baaf0.7d06de"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "285baaf0.7d06de",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1315.9999694824219,\r
+        "y": 434.9999694824219,\r
+        "z": "65f0ae97.bfd7e8",\r
+        "wires": [\r
+            [\r
+                "44fe2b94.9c5d94",\r
+                "961f42bf.beb62"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "44fe2b94.9c5d94",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value='`$error-message`' />\n",\r
+        "comments": "",\r
+        "x": 1450.9999694824219,\r
+        "y": 476,\r
+        "z": "65f0ae97.bfd7e8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "b81aef23.ced6e8",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 980.9999694824219,\r
+        "y": 182.99996948242188,\r
+        "z": "65f0ae97.bfd7e8",\r
+        "wires": [\r
+            [\r
+                "5b028b69.7d6af4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "34472fd1.b14ab",\r
+        "type": "record",\r
+        "name": "record",\r
+        "xml": "<record plugin=\"onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"info\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"`'input.payload = ' + $input.payload`\" />\n<parameter name=\"field3\" value=\"`'vm-id in context=' + $vm-id`\" />\n<parameter name=\"field4\" value=\"`'volumeId in context=' + $volumeId`\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 815.11669921875,\r
+        "y": 124,\r
+        "z": "65f0ae97.bfd7e8",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "cf4fac38.3b932",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 636.8666687011719,\r
+        "y": 152.86666870117188,\r
+        "z": "65f0ae97.bfd7e8",\r
+        "wires": [\r
+            [\r
+                "34472fd1.b14ab",\r
+                "e021eba0.2f5b7"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "961f42bf.beb62",\r
+        "type": "record",\r
+        "name": "record",\r
+        "xml": "<record plugin=\"onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"info\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field3\" value=\"`'error-message = ' + $error-message`\" />\n<parameter name=\"field4\" value=\"`'error-code = ' + $error_code`\" />",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1440.8666687011719,\r
+        "y": 406.8666687011719,\r
+        "z": "65f0ae97.bfd7e8",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "e021eba0.2f5b7",\r
+        "type": "execute",\r
+        "name": "DetachVolume",\r
+        "xml": "<execute plugin='org.onap.appc.adapter.iaas.ProviderAdapter' method='attachVolume'>\n<parameter name=\"org.onap.appc.provider.name\" value=\"OpenStack\" />\n<parameter name=\"org.onap.appc.instance.url\" value=\"`$vm-id`\" />\n<parameter name=\"org.onap.appc.identity.url\" value=\"`$identity-url`\" />\n<parameter name=\"org.onap.appc.volumeid\" value=\"`$volumeAttachment.volumeId`\" />\n<parameter name=\"org.onap.appc.device\" value=\"`$volumeAttachment.device`\" />\n<parameter name=\"org.onap.appc.tag\" value=\"`$volumeAttachment.tag`\"/>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 652.9999694824219,\r
+        "y": 238,\r
+        "z": "65f0ae97.bfd7e8",\r
+        "wires": [\r
+            [\r
+                "eda3e619.a190e",\r
+                "6f1b4f51.cab76"\r
+            ]\r
+        ]\r
+    }\r
+]\r
index 9ca2fff..a46b0e6 100644 (file)
-[{
-    "id": "7d1b4b8f.e55c64",
-    "type": "dgstart",
-    "name": "DGSTART",
-    "outputs": 1,
-    "x": 307.5182189941406,
-    "y": 217.5229034423828,
-    "z": "6453d20e.8e95fc",
-    "wires": [["df0b70e0.0c6d3"]]
-},
-    {
-        "id": "df0b70e0.0c6d3",
-        "type": "service-logic",
-        "name": "Appc-API 2.0.0.0",
-        "module": "Appc-API",
-        "version": "2.0.0.0",
-        "comments": "",
-        "xml": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='Appc-API' version='2.0.0.0'>",
-        "outputs": 1,
-        "x": 430.5182189941406,
-        "y": 275.5229034423828,
-        "z": "6453d20e.8e95fc",
-        "wires": [["80234fd5.24a4f"]]
-    },
-    {
-        "id": "80234fd5.24a4f",
-        "type": "method",
-        "name": "VNF_PreUpgradeHealthCheck",
-        "xml": "<method rpc='VNF_UpgradePreconditionCheck' mode='sync'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 521.5182189941406,
-        "y": 337.5229034423828,
-        "z": "6453d20e.8e95fc",
-        "wires": [["a3be2603.6810f8"]]
-    },
-    {
-        "id": "a3be2603.6810f8",
-        "type": "execute",
-        "name": "execute: handleUpgradeStub",
-        "xml": "<execute plugin='org.onap.appc.dg.util.UpgradeStubNode' method='handleUpgradeStub' >\n<parameter name=\"failureIndicator\" value=\"`$failureIndicator`\" />\n\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 637.5182189941406,
-        "y": 397.5229034423828,
-        "z": "6453d20e.8e95fc",
-        "wires": [["3da04637.67170a",
-            "5eb01780.4fd2f8"]]
-    },
-    {
-        "id": "3da04637.67170a",
-        "type": "success",
-        "name": "success",
-        "xml": "<outcome value='success'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 857.5182189941406,
-        "y": 374.5229034423828,
-        "z": "6453d20e.8e95fc",
-        "wires": [["a000f105.13a86"]]
-    },
-    {
-        "id": "5eb01780.4fd2f8",
-        "type": "other",
-        "name": "other",
-        "xml": "<outcome value='Other'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 855.5182189941406,
-        "y": 421.5229034423828,
-        "z": "6453d20e.8e95fc",
-        "wires": [["fdd8c081.07a7e"]]
-    },
-    {
-        "id": "a000f105.13a86",
-        "type": "returnSuccess",
-        "name": "return success",
-        "xml": "<return status='success'>\n<parameter name='error-code' value='200' />\n<parameter name='error-message' value=\"For testing only... success in PreUpgradeHealthCheck\" />",
-        "comments": "",
-        "x": 1043.5182189941406,
-        "y": 374.5229034423828,
-        "z": "6453d20e.8e95fc",
-        "wires": []
-    },
-    {
-        "id": "fdd8c081.07a7e",
-        "type": "returnFailure",
-        "name": "return failure",
-        "xml": "<return status='failure'>\n<parameter name='error-code' value=\"401\" />\n<parameter name='error-message' value=\"For testing only... failure in PreUpgradeHealthCheck\" />\n<parameter name='output.status.code' value='401'/>\n<parameter name='output.status.message' value=\"For testing only... failure in PreUpgradeHealthCheck\" />\n",
-        "comments": "",
-        "x": 1041.5182189941406,
-        "y": 422.5229034423828,
-        "z": "6453d20e.8e95fc",
-        "wires": []
-    }]
+[\r
+    {\r
+        "id": "7d1b4b8f.e55c64",\r
+        "type": "dgstart",\r
+        "name": "DGSTART",\r
+        "outputs": 1,\r
+        "x": 307.5182189941406,\r
+        "y": 217.5229034423828,\r
+        "z": "6453d20e.8e95fc",\r
+        "wires": [\r
+            [\r
+                "df0b70e0.0c6d3"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "df0b70e0.0c6d3",\r
+        "type": "service-logic",\r
+        "name": "Appc-API 2.0.0.0",\r
+        "module": "Appc-API",\r
+        "version": "2.0.0.0",\r
+        "comments": "",\r
+        "xml": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='Appc-API' version='2.0.0.0'>",\r
+        "outputs": 1,\r
+        "x": 430.5182189941406,\r
+        "y": 275.5229034423828,\r
+        "z": "6453d20e.8e95fc",\r
+        "wires": [\r
+            [\r
+                "80234fd5.24a4f"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "80234fd5.24a4f",\r
+        "type": "method",\r
+        "name": "VNF_PreUpgradeHealthCheck",\r
+        "xml": "<method rpc='VNF_UpgradePreconditionCheck' mode='sync'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 521.5182189941406,\r
+        "y": 337.5229034423828,\r
+        "z": "6453d20e.8e95fc",\r
+        "wires": [\r
+            [\r
+                "a3be2603.6810f8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a3be2603.6810f8",\r
+        "type": "execute",\r
+        "name": "execute: handleUpgradeStub",\r
+        "xml": "<execute plugin='org.onap.appc.dg.util.UpgradeStubNode' method='handleUpgradeStub' >\n<parameter name=\"failureIndicator\" value=\"`$failureIndicator`\" />\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 637.5182189941406,\r
+        "y": 397.5229034423828,\r
+        "z": "6453d20e.8e95fc",\r
+        "wires": [\r
+            [\r
+                "3da04637.67170a",\r
+                "5eb01780.4fd2f8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "3da04637.67170a",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 857.5182189941406,\r
+        "y": 374.5229034423828,\r
+        "z": "6453d20e.8e95fc",\r
+        "wires": [\r
+            [\r
+                "a000f105.13a86"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "5eb01780.4fd2f8",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 855.5182189941406,\r
+        "y": 421.5229034423828,\r
+        "z": "6453d20e.8e95fc",\r
+        "wires": [\r
+            [\r
+                "fdd8c081.07a7e"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a000f105.13a86",\r
+        "type": "returnSuccess",\r
+        "name": "return success",\r
+        "xml": "<return status='success'>\n<parameter name='error-code' value='200' />\n<parameter name='error-message' value=\"For testing only... success in PreUpgradeHealthCheck\" />",\r
+        "comments": "",\r
+        "x": 1043.5182189941406,\r
+        "y": 374.5229034423828,\r
+        "z": "6453d20e.8e95fc",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "fdd8c081.07a7e",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n<parameter name='error-code' value=\"401\" />\n<parameter name='error-message' value=\"For testing only... failure in PreUpgradeHealthCheck\" />\n<parameter name='output.status.code' value='401'/>\n<parameter name='output.status.message' value=\"For testing only... failure in PreUpgradeHealthCheck\" />\n",\r
+        "comments": "",\r
+        "x": 1041.5182189941406,\r
+        "y": 422.5229034423828,\r
+        "z": "6453d20e.8e95fc",\r
+        "wires": []\r
+    }\r
+]\r
index 732a133..a62346d 100644 (file)
-[{
-    "id": "69db81ef.ba444",
-    "type": "dgstart",
-    "name": "DGSTART",
-    "outputs": 1,
-    "x": 268.5182189941406,
-    "y": 169.5229034423828,
-    "z": "f1bd34c4.1f4c58",
-    "wires": [["ef3e4d0d.b0fab"]]
-},
-    {
-        "id": "ef3e4d0d.b0fab",
-        "type": "service-logic",
-        "name": "Appc-API 2.0.0.0",
-        "module": "Appc-API",
-        "version": "2.0.0.0",
-        "comments": "",
-        "xml": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='Appc-API' version='2.0.0.0'>",
-        "outputs": 1,
-        "x": 374.5182189941406,
-        "y": 226.5229034423828,
-        "z": "f1bd34c4.1f4c58",
-        "wires": [["b30be360.1439e"]]
-    },
-    {
-        "id": "b30be360.1439e",
-        "type": "method",
-        "name": "VNF_UploadNewVersion",
-        "xml": "<method rpc='VNF_UploadNewVersion' mode='sync'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 465.5182189941406,
-        "y": 288.5229034423828,
-        "z": "f1bd34c4.1f4c58",
-        "wires": [["dc3e3baf.d4f3d8"]]
-    },
-    {
-        "id": "dc3e3baf.d4f3d8",
-        "type": "execute",
-        "name": "execute: handleUpgradeStub",
-        "xml": "<execute plugin='org.onap.appc.dg.util.UpgradeStubNode' method='handleUpgradeStub' >\n<parameter name=\"failureIndicator\" value=\"`$failureIndicator`\" />\n\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 581.5182189941406,
-        "y": 348.5229034423828,
-        "z": "f1bd34c4.1f4c58",
-        "wires": [["12490bb0.1ac3c4",
-            "75432d77.5dd7c4"]]
-    },
-    {
-        "id": "12490bb0.1ac3c4",
-        "type": "success",
-        "name": "success",
-        "xml": "<outcome value='success'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 801.5182189941406,
-        "y": 325.5229034423828,
-        "z": "f1bd34c4.1f4c58",
-        "wires": [["8632c267.27b45"]]
-    },
-    {
-        "id": "75432d77.5dd7c4",
-        "type": "other",
-        "name": "other",
-        "xml": "<outcome value='Other'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 799.5182189941406,
-        "y": 372.5229034423828,
-        "z": "f1bd34c4.1f4c58",
-        "wires": [["6fdbe1aa.4a1fb"]]
-    },
-    {
-        "id": "8632c267.27b45",
-        "type": "returnSuccess",
-        "name": "return success",
-        "xml": "<return status='success'>\n<parameter name='error-code' value='200' />\n<parameter name='error-message' value=\"For testing only... success in UploadNewVersion\" />\n",
-        "comments": "",
-        "x": 987.5182189941406,
-        "y": 325.5229034423828,
-        "z": "f1bd34c4.1f4c58",
-        "wires": []
-    },
-    {
-        "id": "6fdbe1aa.4a1fb",
-        "type": "returnFailure",
-        "name": "return failure",
-        "xml": "<return status='failure'>\n<parameter name='error-code' value=\"401\" />\n<parameter name='error-message' value=\"For testing only... failure in UploadNewVersion\" />\n<parameter name='output.status.code' value='401'/>\n<parameter name='output.status.message' value=\"For testing only... failure in UploadNewVersion\" />\n",
-        "comments": "",
-        "x": 985.5182189941406,
-        "y": 373.5229034423828,
-        "z": "f1bd34c4.1f4c58",
-        "wires": []
-    }]
+[\r
+    {\r
+        "id": "69db81ef.ba444",\r
+        "type": "dgstart",\r
+        "name": "DGSTART",\r
+        "outputs": 1,\r
+        "x": 268.5182189941406,\r
+        "y": 169.5229034423828,\r
+        "z": "f1bd34c4.1f4c58",\r
+        "wires": [\r
+            [\r
+                "ef3e4d0d.b0fab"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ef3e4d0d.b0fab",\r
+        "type": "service-logic",\r
+        "name": "Appc-API 2.0.0.0",\r
+        "module": "Appc-API",\r
+        "version": "2.0.0.0",\r
+        "comments": "",\r
+        "xml": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='Appc-API' version='2.0.0.0'>",\r
+        "outputs": 1,\r
+        "x": 374.5182189941406,\r
+        "y": 226.5229034423828,\r
+        "z": "f1bd34c4.1f4c58",\r
+        "wires": [\r
+            [\r
+                "b30be360.1439e"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b30be360.1439e",\r
+        "type": "method",\r
+        "name": "VNF_UploadNewVersion",\r
+        "xml": "<method rpc='VNF_UploadNewVersion' mode='sync'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 465.5182189941406,\r
+        "y": 288.5229034423828,\r
+        "z": "f1bd34c4.1f4c58",\r
+        "wires": [\r
+            [\r
+                "dc3e3baf.d4f3d8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "dc3e3baf.d4f3d8",\r
+        "type": "execute",\r
+        "name": "execute: handleUpgradeStub",\r
+        "xml": "<execute plugin='org.onap.appc.dg.util.UpgradeStubNode' method='handleUpgradeStub' >\n<parameter name=\"failureIndicator\" value=\"`$failureIndicator`\" />\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 581.5182189941406,\r
+        "y": 348.5229034423828,\r
+        "z": "f1bd34c4.1f4c58",\r
+        "wires": [\r
+            [\r
+                "12490bb0.1ac3c4",\r
+                "75432d77.5dd7c4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "12490bb0.1ac3c4",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 801.5182189941406,\r
+        "y": 325.5229034423828,\r
+        "z": "f1bd34c4.1f4c58",\r
+        "wires": [\r
+            [\r
+                "8632c267.27b45"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "75432d77.5dd7c4",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 799.5182189941406,\r
+        "y": 372.5229034423828,\r
+        "z": "f1bd34c4.1f4c58",\r
+        "wires": [\r
+            [\r
+                "6fdbe1aa.4a1fb"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "8632c267.27b45",\r
+        "type": "returnSuccess",\r
+        "name": "return success",\r
+        "xml": "<return status='success'>\n<parameter name='error-code' value='200' />\n<parameter name='error-message' value=\"For testing only... success in UploadNewVersion\" />\n",\r
+        "comments": "",\r
+        "x": 987.5182189941406,\r
+        "y": 325.5229034423828,\r
+        "z": "f1bd34c4.1f4c58",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "6fdbe1aa.4a1fb",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n<parameter name='error-code' value=\"401\" />\n<parameter name='error-message' value=\"For testing only... failure in UploadNewVersion\" />\n<parameter name='output.status.code' value='401'/>\n<parameter name='output.status.message' value=\"For testing only... failure in UploadNewVersion\" />\n",\r
+        "comments": "",\r
+        "x": 985.5182189941406,\r
+        "y": 373.5229034423828,\r
+        "z": "f1bd34c4.1f4c58",\r
+        "wires": []\r
+    }\r
+]\r
index 24bc897..19046f5 100644 (file)
-[{
-    "id": "9fdda929.817f18",
-    "type": "execute",
-    "name": "execute: flatAndAddToContext",
-    "xml": "<execute plugin='org.onap.appc.dg.common.JsonDgUtil' method='flatAndAddToContext' >\n<parameter name=\"payload\" value=\"`$input.payload`\" />",
-    "comments": "",
-    "outputs": 1,
-    "x": 335.75,
-    "y": 198,
-    "z": "d59c8e6f.e6d1",
-    "wires": [["d2011202.234fc",
-        "f4646626.6d10f8"]]
-},
-    {
-        "id": "4b5f0d0b.654314",
-        "type": "dgstart",
-        "name": "DGSTART",
-        "outputs": 1,
-        "x": 93.75,
-        "y": 49,
-        "z": "d59c8e6f.e6d1",
-        "wires": [["e8f79554.affab8"]]
-    },
-    {
-        "id": "e8f79554.affab8",
-        "type": "service-logic",
-        "name": "Appc-API 2.0.0.0",
-        "module": "Appc-API",
-        "version": "2.0.0.0",
-        "comments": "",
-        "xml": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='Appc-API' version='2.0.0.0'>",
-        "outputs": 1,
-        "x": 192.75,
-        "y": 98,
-        "z": "d59c8e6f.e6d1",
-        "wires": [["32140628.22792a"]]
-    },
-    {
-        "id": "32140628.22792a",
-        "type": "method",
-        "name": "VSCP_HealthCheck",
-        "xml": "<method rpc='VSCP_HealthCheck' mode='sync'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 269.75,
-        "y": 146,
-        "z": "d59c8e6f.e6d1",
-        "wires": [["9fdda929.817f18"]]
-    },
-    {
-        "id": "581fe014.8acd7",
-        "type": "returnFailure",
-        "name": "return failure",
-        "xml": "<return status='failure'>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value='`$error-message`' />\n<parameter name='output.status.code' value='401'/>\n",
-        "comments": "",
-        "x": 1841.5189590454102,
-        "y": 328.46160793304443,
-        "z": "d59c8e6f.e6d1",
-        "wires": []
-    },
-    {
-        "id": "af383d0c.3970d",
-        "type": "returnSuccess",
-        "name": "return success",
-        "xml": "<return status='success'>\n<parameter name='error-code' value='400' />\n",
-        "comments": "",
-        "x": 1262.7498168945312,
-        "y": 586.0000305175781,
-        "z": "d59c8e6f.e6d1",
-        "wires": []
-    },
-    {
-        "id": "3ccf5e6c.e15652",
-        "type": "execute",
-        "name": "execute: handleErrorToDCAE",
-        "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"org.onap.appc.dg.error\" value=\"`$org.onap.appc.dg.error`\" />\n<parameter name='output.status.message' value=\"`$error-message`\"/>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 1499.2882461547852,
-        "y": 327.61541652679443,
-        "z": "d59c8e6f.e6d1",
-        "wires": [["de153cb7.0f1db"]]
-    },
-    {
-        "id": "fb5b14.140314f",
-        "type": "execute",
-        "name": "execute: retrieveConnectionDetails",
-        "xml": "<execute plugin='org.onap.appc.dg.ssh.SshDBPlugin' method='retrieveConnectionDetails' >\n<parameter name=\"vnf-host-ip-address\" value=\"`$vnf-host-ip-address`\" />\n<parameter name='vnf-type' value=\"`$aai.input.data.vnf-type`\" />\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 857.7498779296875,
-        "y": 427.0000305175781,
-        "z": "d59c8e6f.e6d1",
-        "wires": [["94a1a9e3.305a48",
-            "cb8b27ea.275788"]]
-    },
-    {
-        "id": "cb8b27ea.275788",
-        "type": "other",
-        "name": "other",
-        "xml": "<outcome value='Other'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 1097.7498474121094,
-        "y": 427.0000305175781,
-        "z": "d59c8e6f.e6d1",
-        "wires": [["f82f2d66.fbc2d"]]
-    },
-    {
-        "id": "725be398.327c2c",
-        "type": "set",
-        "name": "set",
-        "xml": "<set>\n<parameter name='error-message' value='Failed to retrieve SSH credentials' />\n",
-        "comments": "",
-        "x": 1427.7497940063477,
-        "y": 242.00006008148193,
-        "z": "d59c8e6f.e6d1",
-        "wires": []
-    },
-    {
-        "id": "94a1a9e3.305a48",
-        "type": "success",
-        "name": "success",
-        "xml": "<outcome value='success'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 1105.7498168945312,
-        "y": 471.0000305175781,
-        "z": "d59c8e6f.e6d1",
-        "wires": [["bcfe699a.fbac68"]]
-    },
-    {
-        "id": "7e68246c.ade0ec",
-        "type": "other",
-        "name": "other",
-        "xml": "<outcome value='Other'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 1100.7498168945312,
-        "y": 542.0000305175781,
-        "z": "d59c8e6f.e6d1",
-        "wires": [["cdb71eae.de0b6"]]
-    },
-    {
-        "id": "1fb23591.978aca",
-        "type": "success",
-        "name": "success",
-        "xml": "<outcome value='success'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 1101.7498168945312,
-        "y": 587.0000305175781,
-        "z": "d59c8e6f.e6d1",
-        "wires": [["af383d0c.3970d"]]
-    },
-    {
-        "id": "93204e17.d82ec",
-        "type": "set",
-        "name": "set",
-        "xml": "<set>\n<parameter name='error-message' value='SSH command execution failure' />\n",
-        "comments": "",
-        "x": 1427.4420547485352,
-        "y": 284.0001211166382,
-        "z": "d59c8e6f.e6d1",
-        "wires": []
-    },
-    {
-        "id": "bcfe699a.fbac68",
-        "type": "execute",
-        "name": "executeTest",
-        "xml": "<execute plugin='com.att.appc.dg.vSCP.v3_5_5.VSCPDGUtils' method='executeTest'>\n<parameter name=\"connection-details\" value=\"`$connection-details`\" />",
-        "comments": "",
-        "outputs": 1,
-        "x": 940.7498474121094,
-        "y": 543.0000305175781,
-        "z": "d59c8e6f.e6d1",
-        "wires": [["7e68246c.ade0ec",
-            "1fb23591.978aca"]]
-    },
-    {
-        "id": "f82f2d66.fbc2d",
-        "type": "block",
-        "name": "block",
-        "xml": "<block>\n",
-        "atomic": "false",
-        "comments": "",
-        "outputs": 1,
-        "x": 1233.9805603027344,
-        "y": 425.8462219238281,
-        "z": "d59c8e6f.e6d1",
-        "wires": [["725be398.327c2c",
-            "3ccf5e6c.e15652"]]
-    },
-    {
-        "id": "cdb71eae.de0b6",
-        "type": "block",
-        "name": "block",
-        "xml": "<block>\n",
-        "atomic": "false",
-        "comments": "",
-        "outputs": 1,
-        "x": 1229.2882080078125,
-        "y": 542.615478515625,
-        "z": "d59c8e6f.e6d1",
-        "wires": [["93204e17.d82ec",
-            "3ccf5e6c.e15652"]]
-    },
-    {
-        "id": "d2011202.234fc",
-        "type": "success",
-        "name": "success",
-        "xml": "<outcome value='success'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 566.7498779296875,
-        "y": 217,
-        "z": "d59c8e6f.e6d1",
-        "wires": [["32c2c94.c91df36"]]
-    },
-    {
-        "id": "f4646626.6d10f8",
-        "type": "other",
-        "name": "other",
-        "xml": "<outcome value='Other'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 561.7498779296875,
-        "y": 171,
-        "z": "d59c8e6f.e6d1",
-        "wires": [["3ccf5e6c.e15652"]]
-    },
-    {
-        "id": "d8b9aa6d.465a98",
-        "type": "success",
-        "name": "success",
-        "xml": "<outcome value='success'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 758.083251953125,
-        "y": 343.66668701171875,
-        "z": "d59c8e6f.e6d1",
-        "wires": [["fb5b14.140314f"]]
-    },
-    {
-        "id": "a3588880.9675d8",
-        "type": "other",
-        "name": "other",
-        "xml": "<outcome value='Other'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 747.083251953125,
-        "y": 298.6667175292969,
-        "z": "d59c8e6f.e6d1",
-        "wires": [["3ccf5e6c.e15652"]]
-    },
-    {
-        "id": "32c2c94.c91df36",
-        "type": "block",
-        "name": "block : atomic",
-        "xml": "<block atomic='true'>",
-        "atomic": "true",
-        "comments": "",
-        "outputs": 1,
-        "x": 313.0832824707031,
-        "y": 264.666748046875,
-        "z": "d59c8e6f.e6d1",
-        "wires": [["643ff002.2addb",
-            "ec1d66f4.142a18"]]
-    },
-    {
-        "id": "643ff002.2addb",
-        "type": "set",
-        "name": "set",
-        "xml": "<set>\n\t<parameter name='aai.vnfID' value='`$input.action-identifiers.vnf-id`' />\n\t<parameter name='aai.prefix' value='aai.input.data' />\t",
-        "comments": "",
-        "x": 495.083251953125,
-        "y": 273.666748046875,
-        "z": "d59c8e6f.e6d1",
-        "wires": []
-    },
-    {
-        "id": "ec1d66f4.142a18",
-        "type": "execute",
-        "name": "execute: getVNFData",
-        "xml": "<execute plugin='org.onap.appc.dg.aai.AAIPlugin' method='getGenericVnfData' >",
-        "comments": "",
-        "outputs": 1,
-        "x": 534.0831298828125,
-        "y": 327.6667785644531,
-        "z": "d59c8e6f.e6d1",
-        "wires": [["a3588880.9675d8",
-            "d8b9aa6d.465a98"]]
-    },
-    {
-        "id": "de153cb7.0f1db",
-        "type": "success",
-        "name": "success",
-        "xml": "<outcome value='success'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 1698.7500381469727,
-        "y": 328.9999990463257,
-        "z": "d59c8e6f.e6d1",
-        "wires": [["581fe014.8acd7"]]
-    }]
+[\r
+    {\r
+        "id": "9fdda929.817f18",\r
+        "type": "execute",\r
+        "name": "execute: flatAndAddToContext",\r
+        "xml": "<execute plugin='org.onap.appc.dg.common.JsonDgUtil' method='flatAndAddToContext' >\n<parameter name=\"payload\" value=\"`$input.payload`\" />",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 335.75,\r
+        "y": 198,\r
+        "z": "d59c8e6f.e6d1",\r
+        "wires": [\r
+            [\r
+                "d2011202.234fc",\r
+                "f4646626.6d10f8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "4b5f0d0b.654314",\r
+        "type": "dgstart",\r
+        "name": "DGSTART",\r
+        "outputs": 1,\r
+        "x": 93.75,\r
+        "y": 49,\r
+        "z": "d59c8e6f.e6d1",\r
+        "wires": [\r
+            [\r
+                "e8f79554.affab8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e8f79554.affab8",\r
+        "type": "service-logic",\r
+        "name": "Appc-API 2.0.0.0",\r
+        "module": "Appc-API",\r
+        "version": "2.0.0.0",\r
+        "comments": "",\r
+        "xml": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='Appc-API' version='2.0.0.0'>",\r
+        "outputs": 1,\r
+        "x": 192.75,\r
+        "y": 98,\r
+        "z": "d59c8e6f.e6d1",\r
+        "wires": [\r
+            [\r
+                "32140628.22792a"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "32140628.22792a",\r
+        "type": "method",\r
+        "name": "VSCP_HealthCheck",\r
+        "xml": "<method rpc='VSCP_HealthCheck' mode='sync'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 269.75,\r
+        "y": 146,\r
+        "z": "d59c8e6f.e6d1",\r
+        "wires": [\r
+            [\r
+                "9fdda929.817f18"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "581fe014.8acd7",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value='`$error-message`' />\n<parameter name='output.status.code' value='401'/>\n",\r
+        "comments": "",\r
+        "x": 1841.5189590454102,\r
+        "y": 328.46160793304443,\r
+        "z": "d59c8e6f.e6d1",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "af383d0c.3970d",\r
+        "type": "returnSuccess",\r
+        "name": "return success",\r
+        "xml": "<return status='success'>\n<parameter name='error-code' value='400' />\n",\r
+        "comments": "",\r
+        "x": 1262.7498168945312,\r
+        "y": 586.0000305175781,\r
+        "z": "d59c8e6f.e6d1",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "3ccf5e6c.e15652",\r
+        "type": "execute",\r
+        "name": "execute: handleErrorToDCAE",\r
+        "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"org.onap.appc.dg.error\" value=\"`$org.onap.appc.dg.error`\" />\n<parameter name='output.status.message' value=\"`$error-message`\"/>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1499.2882461547852,\r
+        "y": 327.61541652679443,\r
+        "z": "d59c8e6f.e6d1",\r
+        "wires": [\r
+            [\r
+                "de153cb7.0f1db"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "fb5b14.140314f",\r
+        "type": "execute",\r
+        "name": "execute: retrieveConnectionDetails",\r
+        "xml": "<execute plugin='org.onap.appc.dg.ssh.SshDBPlugin' method='retrieveConnectionDetails' >\n<parameter name=\"vnf-host-ip-address\" value=\"`$vnf-host-ip-address`\" />\n<parameter name='vnf-type' value=\"`$aai.input.data.vnf-type`\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 857.7498779296875,\r
+        "y": 427.0000305175781,\r
+        "z": "d59c8e6f.e6d1",\r
+        "wires": [\r
+            [\r
+                "94a1a9e3.305a48",\r
+                "cb8b27ea.275788"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "cb8b27ea.275788",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1097.7498474121094,\r
+        "y": 427.0000305175781,\r
+        "z": "d59c8e6f.e6d1",\r
+        "wires": [\r
+            [\r
+                "f82f2d66.fbc2d"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "725be398.327c2c",\r
+        "type": "set",\r
+        "name": "set",\r
+        "xml": "<set>\n<parameter name='error-message' value='Failed to retrieve SSH credentials' />\n",\r
+        "comments": "",\r
+        "x": 1427.7497940063477,\r
+        "y": 242.00006008148193,\r
+        "z": "d59c8e6f.e6d1",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "94a1a9e3.305a48",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1105.7498168945312,\r
+        "y": 471.0000305175781,\r
+        "z": "d59c8e6f.e6d1",\r
+        "wires": [\r
+            [\r
+                "bcfe699a.fbac68"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "7e68246c.ade0ec",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1100.7498168945312,\r
+        "y": 542.0000305175781,\r
+        "z": "d59c8e6f.e6d1",\r
+        "wires": [\r
+            [\r
+                "cdb71eae.de0b6"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "1fb23591.978aca",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1101.7498168945312,\r
+        "y": 587.0000305175781,\r
+        "z": "d59c8e6f.e6d1",\r
+        "wires": [\r
+            [\r
+                "af383d0c.3970d"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "93204e17.d82ec",\r
+        "type": "set",\r
+        "name": "set",\r
+        "xml": "<set>\n<parameter name='error-message' value='SSH command execution failure' />\n",\r
+        "comments": "",\r
+        "x": 1427.4420547485352,\r
+        "y": 284.0001211166382,\r
+        "z": "d59c8e6f.e6d1",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "bcfe699a.fbac68",\r
+        "type": "execute",\r
+        "name": "executeTest",\r
+        "xml": "<execute plugin='com.att.appc.dg.vSCP.v3_5_5.VSCPDGUtils' method='executeTest'>\n<parameter name=\"connection-details\" value=\"`$connection-details`\" />",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 940.7498474121094,\r
+        "y": 543.0000305175781,\r
+        "z": "d59c8e6f.e6d1",\r
+        "wires": [\r
+            [\r
+                "7e68246c.ade0ec",\r
+                "1fb23591.978aca"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f82f2d66.fbc2d",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1233.9805603027344,\r
+        "y": 425.8462219238281,\r
+        "z": "d59c8e6f.e6d1",\r
+        "wires": [\r
+            [\r
+                "725be398.327c2c",\r
+                "3ccf5e6c.e15652"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "cdb71eae.de0b6",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1229.2882080078125,\r
+        "y": 542.615478515625,\r
+        "z": "d59c8e6f.e6d1",\r
+        "wires": [\r
+            [\r
+                "93204e17.d82ec",\r
+                "3ccf5e6c.e15652"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d2011202.234fc",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 566.7498779296875,\r
+        "y": 217,\r
+        "z": "d59c8e6f.e6d1",\r
+        "wires": [\r
+            [\r
+                "32c2c94.c91df36"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f4646626.6d10f8",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 561.7498779296875,\r
+        "y": 171,\r
+        "z": "d59c8e6f.e6d1",\r
+        "wires": [\r
+            [\r
+                "3ccf5e6c.e15652"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d8b9aa6d.465a98",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 758.083251953125,\r
+        "y": 343.66668701171875,\r
+        "z": "d59c8e6f.e6d1",\r
+        "wires": [\r
+            [\r
+                "fb5b14.140314f"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a3588880.9675d8",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 747.083251953125,\r
+        "y": 298.6667175292969,\r
+        "z": "d59c8e6f.e6d1",\r
+        "wires": [\r
+            [\r
+                "3ccf5e6c.e15652"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "32c2c94.c91df36",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 313.0832824707031,\r
+        "y": 264.666748046875,\r
+        "z": "d59c8e6f.e6d1",\r
+        "wires": [\r
+            [\r
+                "643ff002.2addb",\r
+                "ec1d66f4.142a18"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "643ff002.2addb",\r
+        "type": "set",\r
+        "name": "set",\r
+        "xml": "<set>\n\t<parameter name='aai.vnfID' value='`$input.action-identifiers.vnf-id`' />\n\t<parameter name='aai.prefix' value='aai.input.data' />\t",\r
+        "comments": "",\r
+        "x": 495.083251953125,\r
+        "y": 273.666748046875,\r
+        "z": "d59c8e6f.e6d1",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "ec1d66f4.142a18",\r
+        "type": "execute",\r
+        "name": "execute: getVNFData",\r
+        "xml": "<execute plugin='org.onap.appc.dg.aai.AAIPlugin' method='getGenericVnfData' >",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 534.0831298828125,\r
+        "y": 327.6667785644531,\r
+        "z": "d59c8e6f.e6d1",\r
+        "wires": [\r
+            [\r
+                "a3588880.9675d8",\r
+                "d8b9aa6d.465a98"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "de153cb7.0f1db",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1698.7500381469727,\r
+        "y": 328.9999990463257,\r
+        "z": "d59c8e6f.e6d1",\r
+        "wires": [\r
+            [\r
+                "581fe014.8acd7"\r
+            ]\r
+        ]\r
+    }\r
+]\r
index 30dad30..35ec375 100644 (file)
-[{
-    "id": "e30b7047.c8c7b",
-    "type": "execute",
-    "name": "execute: flatAndAddToContext",
-    "xml": "<execute plugin='org.onap.appc.dg.common.JsonDgUtil' method='flatAndAddToContext' >\n<parameter name=\"payload\" value=\"`$input.payload`\" />",
-    "comments": "",
-    "outputs": 1,
-    "x": 473.75,
-    "y": 315,
-    "z": "822325c1.dd7df8",
-    "wires": [["32e6aaee.9b6a36",
-        "e32b0726.3df2c8"]]
-},
-    {
-        "id": "32e6aaee.9b6a36",
-        "type": "success",
-        "name": "success",
-        "xml": "<outcome value='success'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 693.7499694824219,
-        "y": 349,
-        "z": "822325c1.dd7df8",
-        "wires": [["83239337.5a415"]]
-    },
-    {
-        "id": "e32b0726.3df2c8",
-        "type": "other",
-        "name": "other",
-        "xml": "<outcome value='Other'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 682.7499694824219,
-        "y": 301,
-        "z": "822325c1.dd7df8",
-        "wires": [["52e82bf7.a1e6b4"]]
-    },
-    {
-        "id": "eb520291.dd81f",
-        "type": "dgstart",
-        "name": "DGSTART",
-        "outputs": 1,
-        "x": 178.75,
-        "y": 140,
-        "z": "822325c1.dd7df8",
-        "wires": [["7d65d4d5.ab461c"]]
-    },
-    {
-        "id": "7d65d4d5.ab461c",
-        "type": "service-logic",
-        "name": "Appc-API 2.0.0.0",
-        "module": "Appc-API",
-        "version": "2.0.0.0",
-        "comments": "",
-        "xml": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='Appc-API' version='2.0.0.0'>",
-        "outputs": 1,
-        "x": 284.75,
-        "y": 197,
-        "z": "822325c1.dd7df8",
-        "wires": [["37c9d8bc.8d9b88"]]
-    },
-    {
-        "id": "37c9d8bc.8d9b88",
-        "type": "method",
-        "name": "VSCP_LiveUpgrade",
-        "xml": "<method rpc='VSCP_LiveUpgrade' mode='sync'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 375.75,
-        "y": 258.99999237060547,
-        "z": "822325c1.dd7df8",
-        "wires": [["e30b7047.c8c7b"]]
-    },
-    {
-        "id": "804247b9.b06658",
-        "type": "returnSuccess",
-        "name": "return success",
-        "xml": "<return status='success'>\n<parameter name='error-code' value='200' />\n<parameter name='error-message' value=\"success in Upgrade\" />\n",
-        "comments": "",
-        "x": 1280.1944198608398,
-        "y": 766.6666898727417,
-        "z": "822325c1.dd7df8",
-        "wires": []
-    },
-    {
-        "id": "52e82bf7.a1e6b4",
-        "type": "execute",
-        "name": "execute: handleErrorToDCAE",
-        "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"org.onap.appc.dg.error\" value=\"`$org.onap.appc.dg.error`\" />\n<parameter name='output.status.message' value=\"`$org.onap.appc.dg.error`\" />\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 1100.638900756836,
-        "y": 327.9999599456787,
-        "z": "822325c1.dd7df8",
-        "wires": [["83a57cf0.ab1d9"]]
-    },
-    {
-        "id": "d4e3b7fe.4d6b28",
-        "type": "returnFailure",
-        "name": "return failure",
-        "xml": "<return status='failure'>\n<parameter name='error-code' value=\"401\" />\n<parameter name='error-message' value=\"`$org.onap.appc.dg.error`\" />\n<parameter name='output.status.code' value='401'/>\n",
-        "comments": "",
-        "x": 1452.41650390625,
-        "y": 328.44439697265625,
-        "z": "822325c1.dd7df8",
-        "wires": []
-    },
-    {
-        "id": "6711af89.05acc",
-        "type": "execute",
-        "name": "execute: liveUpgrade",
-        "xml": "<execute plugin='com.att.appc.dg.vSCP.v3_5_5.VSCPDGUtils' method='liveUpgrade' >\n<parameter name=\"upgrade-version\" value=\"`$upgrade-version`\" />\n<parameter name=\"connection-details\" value=\"`$connection-details`\" />\n<parameter name=\"Skip-execution-installer-bin-file\" value=\"`$Skip-execution-installer-bin-file`\" />\n<parameter name=\"Skip-deploy\" value=\"`$Skip-deploy`\" />\n<parameter name=\"timeout\" value=\"`$timeout`\" />\n\n\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 919.5277938842773,
-        "y": 716.8888883590698,
-        "z": "822325c1.dd7df8",
-        "wires": [["c3be342b.05c078",
-            "174e8a05.944846"]]
-    },
-    {
-        "id": "174e8a05.944846",
-        "type": "other",
-        "name": "other",
-        "xml": "<outcome value='Other'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 1108.1944198608398,
-        "y": 716.6666593551636,
-        "z": "822325c1.dd7df8",
-        "wires": [["52e82bf7.a1e6b4"]]
-    },
-    {
-        "id": "c3be342b.05c078",
-        "type": "success",
-        "name": "success",
-        "xml": "<outcome value='success'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 1113.1944198608398,
-        "y": 767.6666898727417,
-        "z": "822325c1.dd7df8",
-        "wires": [["804247b9.b06658"]]
-    },
-    {
-        "id": "9e7f2be9.363dc8",
-        "type": "execute",
-        "name": "execute: retrieveConnectionDetails",
-        "xml": "<execute plugin='org.onap.appc.dg.ssh.SshDBPlugin' method='retrieveConnectionDetails' >\n<parameter name=\"vnf-host-ip-address\" value=\"`$vnf-host-ip-address`\" />\n<parameter name='vnf-type' value=\"`$aai.input.data.vnf-type`\" />\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 828.0833129882812,
-        "y": 606.222282409668,
-        "z": "822325c1.dd7df8",
-        "wires": [["beb31231.140ba",
-            "e66ec871.d79678"]]
-    },
-    {
-        "id": "beb31231.140ba",
-        "type": "other",
-        "name": "other",
-        "xml": "<outcome value='Other'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 1043.75,
-        "y": 583.0000228881836,
-        "z": "822325c1.dd7df8",
-        "wires": [["52e82bf7.a1e6b4"]]
-    },
-    {
-        "id": "e66ec871.d79678",
-        "type": "success",
-        "name": "success",
-        "xml": "<outcome value='success'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 1044.9722862243652,
-        "y": 632.2222585678101,
-        "z": "822325c1.dd7df8",
-        "wires": [["6711af89.05acc"]]
-    },
-    {
-        "id": "36c1a02b.a44c5",
-        "type": "success",
-        "name": "success",
-        "xml": "<outcome value='success'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 856.7499694824219,
-        "y": 515,
-        "z": "822325c1.dd7df8",
-        "wires": [["9e7f2be9.363dc8"]]
-    },
-    {
-        "id": "ae425047.deb98",
-        "type": "other",
-        "name": "other",
-        "xml": "<outcome value='Other'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 859.7499694824219,
-        "y": 463.00001525878906,
-        "z": "822325c1.dd7df8",
-        "wires": [["52e82bf7.a1e6b4"]]
-    },
-    {
-        "id": "83239337.5a415",
-        "type": "block",
-        "name": "block : atomic",
-        "xml": "<block atomic='true'>",
-        "atomic": "true",
-        "comments": "",
-        "outputs": 1,
-        "x": 532.7500305175781,
-        "y": 424.00001525878906,
-        "z": "822325c1.dd7df8",
-        "wires": [["130fd187.c9cb5e",
-            "2cd2b34d.4a7c9c"]]
-    },
-    {
-        "id": "130fd187.c9cb5e",
-        "type": "set",
-        "name": "set",
-        "xml": "<set>\n\t<parameter name='aai.vnfID' value='`$input.action-identifiers.vnf-id`' />\n\t<parameter name='aai.prefix' value='aai.input.data' />\t",
-        "comments": "",
-        "x": 698.75,
-        "y": 424.0000228881836,
-        "z": "822325c1.dd7df8",
-        "wires": []
-    },
-    {
-        "id": "2cd2b34d.4a7c9c",
-        "type": "execute",
-        "name": "execute: getVNFData",
-        "xml": "<execute plugin='org.onap.appc.dg.aai.AAIPlugin' method='getGenericVnfData' >",
-        "comments": "",
-        "outputs": 1,
-        "x": 653.7500152587891,
-        "y": 491.0000686645508,
-        "z": "822325c1.dd7df8",
-        "wires": [["ae425047.deb98",
-            "36c1a02b.a44c5"]]
-    },
-    {
-        "id": "83a57cf0.ab1d9",
-        "type": "success",
-        "name": "success",
-        "xml": "<outcome value='success'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 1299.75,
-        "y": 328,
-        "z": "822325c1.dd7df8",
-        "wires": [["d4e3b7fe.4d6b28"]]
-    }]
+[\r
+    {\r
+        "id": "e30b7047.c8c7b",\r
+        "type": "execute",\r
+        "name": "execute: flatAndAddToContext",\r
+        "xml": "<execute plugin='org.onap.appc.dg.common.JsonDgUtil' method='flatAndAddToContext' >\n<parameter name=\"payload\" value=\"`$input.payload`\" />",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 473.75,\r
+        "y": 315,\r
+        "z": "822325c1.dd7df8",\r
+        "wires": [\r
+            [\r
+                "32e6aaee.9b6a36",\r
+                "e32b0726.3df2c8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "32e6aaee.9b6a36",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 693.7499694824219,\r
+        "y": 349,\r
+        "z": "822325c1.dd7df8",\r
+        "wires": [\r
+            [\r
+                "83239337.5a415"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e32b0726.3df2c8",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 682.7499694824219,\r
+        "y": 301,\r
+        "z": "822325c1.dd7df8",\r
+        "wires": [\r
+            [\r
+                "52e82bf7.a1e6b4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "eb520291.dd81f",\r
+        "type": "dgstart",\r
+        "name": "DGSTART",\r
+        "outputs": 1,\r
+        "x": 178.75,\r
+        "y": 140,\r
+        "z": "822325c1.dd7df8",\r
+        "wires": [\r
+            [\r
+                "7d65d4d5.ab461c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "7d65d4d5.ab461c",\r
+        "type": "service-logic",\r
+        "name": "Appc-API 2.0.0.0",\r
+        "module": "Appc-API",\r
+        "version": "2.0.0.0",\r
+        "comments": "",\r
+        "xml": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='Appc-API' version='2.0.0.0'>",\r
+        "outputs": 1,\r
+        "x": 284.75,\r
+        "y": 197,\r
+        "z": "822325c1.dd7df8",\r
+        "wires": [\r
+            [\r
+                "37c9d8bc.8d9b88"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "37c9d8bc.8d9b88",\r
+        "type": "method",\r
+        "name": "VSCP_LiveUpgrade",\r
+        "xml": "<method rpc='VSCP_LiveUpgrade' mode='sync'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 375.75,\r
+        "y": 258.99999237060547,\r
+        "z": "822325c1.dd7df8",\r
+        "wires": [\r
+            [\r
+                "e30b7047.c8c7b"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "804247b9.b06658",\r
+        "type": "returnSuccess",\r
+        "name": "return success",\r
+        "xml": "<return status='success'>\n<parameter name='error-code' value='200' />\n<parameter name='error-message' value=\"success in Upgrade\" />\n",\r
+        "comments": "",\r
+        "x": 1280.1944198608398,\r
+        "y": 766.6666898727417,\r
+        "z": "822325c1.dd7df8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "52e82bf7.a1e6b4",\r
+        "type": "execute",\r
+        "name": "execute: handleErrorToDCAE",\r
+        "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"org.onap.appc.dg.error\" value=\"`$org.onap.appc.dg.error`\" />\n<parameter name='output.status.message' value=\"`$org.onap.appc.dg.error`\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1100.638900756836,\r
+        "y": 327.9999599456787,\r
+        "z": "822325c1.dd7df8",\r
+        "wires": [\r
+            [\r
+                "83a57cf0.ab1d9"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d4e3b7fe.4d6b28",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n<parameter name='error-code' value=\"401\" />\n<parameter name='error-message' value=\"`$org.onap.appc.dg.error`\" />\n<parameter name='output.status.code' value='401'/>\n",\r
+        "comments": "",\r
+        "x": 1452.41650390625,\r
+        "y": 328.44439697265625,\r
+        "z": "822325c1.dd7df8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "6711af89.05acc",\r
+        "type": "execute",\r
+        "name": "execute: liveUpgrade",\r
+        "xml": "<execute plugin='com.att.appc.dg.vSCP.v3_5_5.VSCPDGUtils' method='liveUpgrade' >\n<parameter name=\"upgrade-version\" value=\"`$upgrade-version`\" />\n<parameter name=\"connection-details\" value=\"`$connection-details`\" />\n<parameter name=\"Skip-execution-installer-bin-file\" value=\"`$Skip-execution-installer-bin-file`\" />\n<parameter name=\"Skip-deploy\" value=\"`$Skip-deploy`\" />\n<parameter name=\"timeout\" value=\"`$timeout`\" />\n\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 919.5277938842773,\r
+        "y": 716.8888883590698,\r
+        "z": "822325c1.dd7df8",\r
+        "wires": [\r
+            [\r
+                "c3be342b.05c078",\r
+                "174e8a05.944846"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "174e8a05.944846",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1108.1944198608398,\r
+        "y": 716.6666593551636,\r
+        "z": "822325c1.dd7df8",\r
+        "wires": [\r
+            [\r
+                "52e82bf7.a1e6b4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c3be342b.05c078",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1113.1944198608398,\r
+        "y": 767.6666898727417,\r
+        "z": "822325c1.dd7df8",\r
+        "wires": [\r
+            [\r
+                "804247b9.b06658"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9e7f2be9.363dc8",\r
+        "type": "execute",\r
+        "name": "execute: retrieveConnectionDetails",\r
+        "xml": "<execute plugin='org.onap.appc.dg.ssh.SshDBPlugin' method='retrieveConnectionDetails' >\n<parameter name=\"vnf-host-ip-address\" value=\"`$vnf-host-ip-address`\" />\n<parameter name='vnf-type' value=\"`$aai.input.data.vnf-type`\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 828.0833129882812,\r
+        "y": 606.222282409668,\r
+        "z": "822325c1.dd7df8",\r
+        "wires": [\r
+            [\r
+                "beb31231.140ba",\r
+                "e66ec871.d79678"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "beb31231.140ba",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1043.75,\r
+        "y": 583.0000228881836,\r
+        "z": "822325c1.dd7df8",\r
+        "wires": [\r
+            [\r
+                "52e82bf7.a1e6b4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e66ec871.d79678",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1044.9722862243652,\r
+        "y": 632.2222585678101,\r
+        "z": "822325c1.dd7df8",\r
+        "wires": [\r
+            [\r
+                "6711af89.05acc"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "36c1a02b.a44c5",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 856.7499694824219,\r
+        "y": 515,\r
+        "z": "822325c1.dd7df8",\r
+        "wires": [\r
+            [\r
+                "9e7f2be9.363dc8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ae425047.deb98",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 859.7499694824219,\r
+        "y": 463.00001525878906,\r
+        "z": "822325c1.dd7df8",\r
+        "wires": [\r
+            [\r
+                "52e82bf7.a1e6b4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "83239337.5a415",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 532.7500305175781,\r
+        "y": 424.00001525878906,\r
+        "z": "822325c1.dd7df8",\r
+        "wires": [\r
+            [\r
+                "130fd187.c9cb5e",\r
+                "2cd2b34d.4a7c9c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "130fd187.c9cb5e",\r
+        "type": "set",\r
+        "name": "set",\r
+        "xml": "<set>\n\t<parameter name='aai.vnfID' value='`$input.action-identifiers.vnf-id`' />\n\t<parameter name='aai.prefix' value='aai.input.data' />\t",\r
+        "comments": "",\r
+        "x": 698.75,\r
+        "y": 424.0000228881836,\r
+        "z": "822325c1.dd7df8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "2cd2b34d.4a7c9c",\r
+        "type": "execute",\r
+        "name": "execute: getVNFData",\r
+        "xml": "<execute plugin='org.onap.appc.dg.aai.AAIPlugin' method='getGenericVnfData' >",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 653.7500152587891,\r
+        "y": 491.0000686645508,\r
+        "z": "822325c1.dd7df8",\r
+        "wires": [\r
+            [\r
+                "ae425047.deb98",\r
+                "36c1a02b.a44c5"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "83a57cf0.ab1d9",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1299.75,\r
+        "y": 328,\r
+        "z": "822325c1.dd7df8",\r
+        "wires": [\r
+            [\r
+                "d4e3b7fe.4d6b28"\r
+            ]\r
+        ]\r
+    }\r
+]\r
index d9cfd0d..fe978a0 100644 (file)
-[{
-    "id": "64f09cfb.65f934",
-    "type": "dgstart",
-    "name": "DGSTART",
-    "outputs": 1,
-    "x": 123.75,
-    "y": 96,
-    "z": "c82a79e8.e87b78",
-    "wires": [["89378c24.7257"]]
-},
-    {
-        "id": "89378c24.7257",
-        "type": "service-logic",
-        "name": "Appc-API 2.0.0.0",
-        "module": "Appc-API",
-        "version": "2.0.0.0",
-        "comments": "",
-        "xml": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='Appc-API' version='2.0.0.0'>",
-        "outputs": 1,
-        "x": 289.75000381469727,
-        "y": 97.00000762939453,
-        "z": "c82a79e8.e87b78",
-        "wires": [["ba19fcdd.41804"]]
-    },
-    {
-        "id": "ba19fcdd.41804",
-        "type": "method",
-        "name": "VSCP_SoftwareUpload",
-        "xml": "<method rpc='VSCP_SoftwareUpload' mode='sync'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 340.75000381469727,
-        "y": 151.9999771118164,
-        "z": "c82a79e8.e87b78",
-        "wires": [["5ec41e43.b3427"]]
-    },
-    {
-        "id": "d64712c6.1e102",
-        "type": "returnFailure",
-        "name": "return failure",
-        "xml": "<return status='failure'>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value='`$error-message`' />\n<parameter name='output.status.code' value='401'/>",
-        "comments": "",
-        "x": 2084.75,
-        "y": 330.0001220703125,
-        "z": "c82a79e8.e87b78",
-        "wires": []
-    },
-    {
-        "id": "c7104b30.9f8748",
-        "type": "returnSuccess",
-        "name": "return success",
-        "xml": "<return status='success'>\n<parameter name='error-code' value='400' />\n",
-        "comments": "",
-        "x": 2017.749912261963,
-        "y": 678.000129699707,
-        "z": "c82a79e8.e87b78",
-        "wires": []
-    },
-    {
-        "id": "1d1d05aa.1712aa",
-        "type": "execute",
-        "name": "execute: handleErrorToDCAE",
-        "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"org.onap.appc.dg.error\" value=\"`$org.onap.appc.dg.error`\" />\n<parameter name='output.status.message' value=\"`$error-message`\"/>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 1722.749942779541,
-        "y": 332.00012969970703,
-        "z": "c82a79e8.e87b78",
-        "wires": [["a7d06ef5.ab8e1"]]
-    },
-    {
-        "id": "457ba9cf.7006a8",
-        "type": "execute",
-        "name": "execute: retrieveConnectionDetails",
-        "xml": "<execute plugin='org.onap.appc.dg.ssh.SshDBPlugin' method='retrieveConnectionDetails' >\n<parameter name=\"vnf-host-ip-address\" value=\"`$vnf-host-ip-address`\" />\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 1236.7498512268066,
-        "y": 667.0001831054688,
-        "z": "c82a79e8.e87b78",
-        "wires": [["c5cf7972.aa19a8",
-            "3fd4e7ce.48fc38"]]
-    },
-    {
-        "id": "3fd4e7ce.48fc38",
-        "type": "other",
-        "name": "other",
-        "xml": "<outcome value='Other'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 1524.7498512268066,
-        "y": 655.0001373291016,
-        "z": "c82a79e8.e87b78",
-        "wires": [["1d1d05aa.1712aa"]]
-    },
-    {
-        "id": "c5cf7972.aa19a8",
-        "type": "success",
-        "name": "success",
-        "xml": "<outcome value='success'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 1537.7498512268066,
-        "y": 702.0001373291016,
-        "z": "c82a79e8.e87b78",
-        "wires": [["6a8d06b2.533f18"]]
-    },
-    {
-        "id": "92a57ed9.e2bc2",
-        "type": "other",
-        "name": "other",
-        "xml": "<outcome value='Other'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 1845.749912261963,
-        "y": 636.000129699707,
-        "z": "c82a79e8.e87b78",
-        "wires": [["1d1d05aa.1712aa"]]
-    },
-    {
-        "id": "9c548b9d.bbb638",
-        "type": "success",
-        "name": "success",
-        "xml": "<outcome value='success'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 1852.749912261963,
-        "y": 678.000129699707,
-        "z": "c82a79e8.e87b78",
-        "wires": [["c7104b30.9f8748"]]
-    },
-    {
-        "id": "6a8d06b2.533f18",
-        "type": "execute",
-        "name": "executeUpload",
-        "xml": "<execute plugin='com.att.appc.dg.vSCP.v3_5_5.VSCPDGUtils' method='executeUpload'>\n<parameter name=\"connection-details\" value=\"`$connection-details`\" />\n<parameter name=\"source-file-url\" value=\"`$source-file-url`\" />\n<parameter name=\"timeout\" value=\"`$timeout`\" />",
-        "comments": "",
-        "outputs": 1,
-        "x": 1714.7499732971191,
-        "y": 666.0001373291016,
-        "z": "c82a79e8.e87b78",
-        "wires": [["92a57ed9.e2bc2",
-            "9c548b9d.bbb638"]]
-    },
-    {
-        "id": "4ad2faef.9c5264",
-        "type": "call",
-        "name": "call_VSCP_UpgradePreconditionCheck",
-        "xml": "<call rpc='VSCP_UpgradePreconditionCheck' mode='sync' version='2.0.0.0' >\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 759.749942779541,
-        "y": 423.0000991821289,
-        "z": "c82a79e8.e87b78",
-        "wires": [["5788fb68.1d3114",
-            "5289eab5.3ed8d4"]]
-    },
-    {
-        "id": "5788fb68.1d3114",
-        "type": "other",
-        "name": "other",
-        "xml": "<outcome value='Other'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 983.749942779541,
-        "y": 403.0000991821289,
-        "z": "c82a79e8.e87b78",
-        "wires": [["1d1d05aa.1712aa"]]
-    },
-    {
-        "id": "5289eab5.3ed8d4",
-        "type": "success",
-        "name": "success",
-        "xml": "<outcome value='success'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 989.749942779541,
-        "y": 456.0000991821289,
-        "z": "c82a79e8.e87b78",
-        "wires": [["e9d1e289.2189c"]]
-    },
-    {
-        "id": "5ec41e43.b3427",
-        "type": "execute",
-        "name": "execute: flatAndAddToContext",
-        "xml": "<execute plugin='org.onap.appc.dg.common.JsonDgUtil' method='flatAndAddToContext' >\n<parameter name=\"payload\" value=\"`$input.payload`\" />",
-        "comments": "",
-        "outputs": 1,
-        "x": 418.74997329711914,
-        "y": 201.9999771118164,
-        "z": "c82a79e8.e87b78",
-        "wires": [["ecbcc2c5.a3e3",
-            "315df407.1e37bc"]]
-    },
-    {
-        "id": "315df407.1e37bc",
-        "type": "success",
-        "name": "success",
-        "xml": "<outcome value='success'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 642.7498207092285,
-        "y": 224.00000762939453,
-        "z": "c82a79e8.e87b78",
-        "wires": [["8a0677d8.02aee8"]]
-    },
-    {
-        "id": "ecbcc2c5.a3e3",
-        "type": "other",
-        "name": "other",
-        "xml": "<outcome value='Other'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 635.749942779541,
-        "y": 174.00000762939453,
-        "z": "c82a79e8.e87b78",
-        "wires": [["1d1d05aa.1712aa"]]
-    },
-    {
-        "id": "f6093e6d.21ba",
-        "type": "success",
-        "name": "success",
-        "xml": "<outcome value='success'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 798.7499122619629,
-        "y": 362.0000228881836,
-        "z": "c82a79e8.e87b78",
-        "wires": [["4ad2faef.9c5264"]]
-    },
-    {
-        "id": "5757eca4.d4a414",
-        "type": "other",
-        "name": "other",
-        "xml": "<outcome value='Other'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 801.7499122619629,
-        "y": 310.00003814697266,
-        "z": "c82a79e8.e87b78",
-        "wires": [["1d1d05aa.1712aa"]]
-    },
-    {
-        "id": "8a0677d8.02aee8",
-        "type": "block",
-        "name": "block : atomic",
-        "xml": "<block atomic='true'>",
-        "atomic": "true",
-        "comments": "",
-        "outputs": 1,
-        "x": 474.74997329711914,
-        "y": 271.00003814697266,
-        "z": "c82a79e8.e87b78",
-        "wires": [["54f1eab.e4bcc14",
-            "a7c355e0.0616b8"]]
-    },
-    {
-        "id": "54f1eab.e4bcc14",
-        "type": "set",
-        "name": "set",
-        "xml": "<set>\n\t<parameter name='aai.vnfID' value='`$input.action-identifiers.vnf-id`' />\n\t<parameter name='aai.prefix' value='aai.input.data' />\t",
-        "comments": "",
-        "x": 640.749942779541,
-        "y": 271.0000686645508,
-        "z": "c82a79e8.e87b78",
-        "wires": []
-    },
-    {
-        "id": "a7c355e0.0616b8",
-        "type": "execute",
-        "name": "execute: getVNFData",
-        "xml": "<execute plugin='org.onap.appc.dg.aai.AAIPlugin' method='getGenericVnfData' >",
-        "comments": "",
-        "outputs": 1,
-        "x": 595.7499580383301,
-        "y": 338.0000915527344,
-        "z": "c82a79e8.e87b78",
-        "wires": [["5757eca4.d4a414",
-            "f6093e6d.21ba"]]
-    },
-    {
-        "id": "e9d1e289.2189c",
-        "type": "execute",
-        "name": "execute: retrieveConnectionDetails",
-        "xml": "<execute plugin='org.onap.appc.dg.ssh.SshDBPlugin' method='retrieveConnectionDetails' >\n<parameter name=\"vnf-host-ip-address\" value=\"`$vnf-host-ip-address`\" />\n<parameter name='vnf-type' value=\"`$aai.input.data.vnf-type`\" />\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 1190.0832710266113,
-        "y": 558.0001220703125,
-        "z": "c82a79e8.e87b78",
-        "wires": [["98e434ab.bc9368",
-            "c4bcc02d.c078d"]]
-    },
-    {
-        "id": "98e434ab.bc9368",
-        "type": "other",
-        "name": "other",
-        "xml": "<outcome value='Other'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 1425.749942779541,
-        "y": 519.0000381469727,
-        "z": "c82a79e8.e87b78",
-        "wires": [["1d1d05aa.1712aa"]]
-    },
-    {
-        "id": "c4bcc02d.c078d",
-        "type": "success",
-        "name": "success",
-        "xml": "<outcome value='success'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 1428.7498817443848,
-        "y": 574.0000991821289,
-        "z": "c82a79e8.e87b78",
-        "wires": [["457ba9cf.7006a8"]]
-    },
-    {
-        "id": "a7d06ef5.ab8e1",
-        "type": "success",
-        "name": "success",
-        "xml": "<outcome value='success'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 1932.75,
-        "y": 331,
-        "z": "c82a79e8.e87b78",
-        "wires": [["d64712c6.1e102"]]
-    }]
+[\r
+    {\r
+        "id": "64f09cfb.65f934",\r
+        "type": "dgstart",\r
+        "name": "DGSTART",\r
+        "outputs": 1,\r
+        "x": 123.75,\r
+        "y": 96,\r
+        "z": "c82a79e8.e87b78",\r
+        "wires": [\r
+            [\r
+                "89378c24.7257"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "89378c24.7257",\r
+        "type": "service-logic",\r
+        "name": "Appc-API 2.0.0.0",\r
+        "module": "Appc-API",\r
+        "version": "2.0.0.0",\r
+        "comments": "",\r
+        "xml": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='Appc-API' version='2.0.0.0'>",\r
+        "outputs": 1,\r
+        "x": 289.75000381469727,\r
+        "y": 97.00000762939453,\r
+        "z": "c82a79e8.e87b78",\r
+        "wires": [\r
+            [\r
+                "ba19fcdd.41804"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ba19fcdd.41804",\r
+        "type": "method",\r
+        "name": "VSCP_SoftwareUpload",\r
+        "xml": "<method rpc='VSCP_SoftwareUpload' mode='sync'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 340.75000381469727,\r
+        "y": 151.9999771118164,\r
+        "z": "c82a79e8.e87b78",\r
+        "wires": [\r
+            [\r
+                "5ec41e43.b3427"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d64712c6.1e102",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value='`$error-message`' />\n<parameter name='output.status.code' value='401'/>",\r
+        "comments": "",\r
+        "x": 2084.75,\r
+        "y": 330.0001220703125,\r
+        "z": "c82a79e8.e87b78",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "c7104b30.9f8748",\r
+        "type": "returnSuccess",\r
+        "name": "return success",\r
+        "xml": "<return status='success'>\n<parameter name='error-code' value='400' />\n",\r
+        "comments": "",\r
+        "x": 2017.749912261963,\r
+        "y": 678.000129699707,\r
+        "z": "c82a79e8.e87b78",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "1d1d05aa.1712aa",\r
+        "type": "execute",\r
+        "name": "execute: handleErrorToDCAE",\r
+        "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"org.onap.appc.dg.error\" value=\"`$org.onap.appc.dg.error`\" />\n<parameter name='output.status.message' value=\"`$error-message`\"/>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1722.749942779541,\r
+        "y": 332.00012969970703,\r
+        "z": "c82a79e8.e87b78",\r
+        "wires": [\r
+            [\r
+                "a7d06ef5.ab8e1"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "457ba9cf.7006a8",\r
+        "type": "execute",\r
+        "name": "execute: retrieveConnectionDetails",\r
+        "xml": "<execute plugin='org.onap.appc.dg.ssh.SshDBPlugin' method='retrieveConnectionDetails' >\n<parameter name=\"vnf-host-ip-address\" value=\"`$vnf-host-ip-address`\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1236.7498512268066,\r
+        "y": 667.0001831054688,\r
+        "z": "c82a79e8.e87b78",\r
+        "wires": [\r
+            [\r
+                "c5cf7972.aa19a8",\r
+                "3fd4e7ce.48fc38"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "3fd4e7ce.48fc38",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1524.7498512268066,\r
+        "y": 655.0001373291016,\r
+        "z": "c82a79e8.e87b78",\r
+        "wires": [\r
+            [\r
+                "1d1d05aa.1712aa"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c5cf7972.aa19a8",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1537.7498512268066,\r
+        "y": 702.0001373291016,\r
+        "z": "c82a79e8.e87b78",\r
+        "wires": [\r
+            [\r
+                "6a8d06b2.533f18"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "92a57ed9.e2bc2",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1845.749912261963,\r
+        "y": 636.000129699707,\r
+        "z": "c82a79e8.e87b78",\r
+        "wires": [\r
+            [\r
+                "1d1d05aa.1712aa"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9c548b9d.bbb638",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1852.749912261963,\r
+        "y": 678.000129699707,\r
+        "z": "c82a79e8.e87b78",\r
+        "wires": [\r
+            [\r
+                "c7104b30.9f8748"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "6a8d06b2.533f18",\r
+        "type": "execute",\r
+        "name": "executeUpload",\r
+        "xml": "<execute plugin='com.att.appc.dg.vSCP.v3_5_5.VSCPDGUtils' method='executeUpload'>\n<parameter name=\"connection-details\" value=\"`$connection-details`\" />\n<parameter name=\"source-file-url\" value=\"`$source-file-url`\" />\n<parameter name=\"timeout\" value=\"`$timeout`\" />",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1714.7499732971191,\r
+        "y": 666.0001373291016,\r
+        "z": "c82a79e8.e87b78",\r
+        "wires": [\r
+            [\r
+                "92a57ed9.e2bc2",\r
+                "9c548b9d.bbb638"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "4ad2faef.9c5264",\r
+        "type": "call",\r
+        "name": "call_VSCP_UpgradePreconditionCheck",\r
+        "xml": "<call rpc='VSCP_UpgradePreconditionCheck' mode='sync' version='2.0.0.0' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 759.749942779541,\r
+        "y": 423.0000991821289,\r
+        "z": "c82a79e8.e87b78",\r
+        "wires": [\r
+            [\r
+                "5788fb68.1d3114",\r
+                "5289eab5.3ed8d4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "5788fb68.1d3114",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 983.749942779541,\r
+        "y": 403.0000991821289,\r
+        "z": "c82a79e8.e87b78",\r
+        "wires": [\r
+            [\r
+                "1d1d05aa.1712aa"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "5289eab5.3ed8d4",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 989.749942779541,\r
+        "y": 456.0000991821289,\r
+        "z": "c82a79e8.e87b78",\r
+        "wires": [\r
+            [\r
+                "e9d1e289.2189c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "5ec41e43.b3427",\r
+        "type": "execute",\r
+        "name": "execute: flatAndAddToContext",\r
+        "xml": "<execute plugin='org.onap.appc.dg.common.JsonDgUtil' method='flatAndAddToContext' >\n<parameter name=\"payload\" value=\"`$input.payload`\" />",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 418.74997329711914,\r
+        "y": 201.9999771118164,\r
+        "z": "c82a79e8.e87b78",\r
+        "wires": [\r
+            [\r
+                "ecbcc2c5.a3e3",\r
+                "315df407.1e37bc"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "315df407.1e37bc",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 642.7498207092285,\r
+        "y": 224.00000762939453,\r
+        "z": "c82a79e8.e87b78",\r
+        "wires": [\r
+            [\r
+                "8a0677d8.02aee8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ecbcc2c5.a3e3",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 635.749942779541,\r
+        "y": 174.00000762939453,\r
+        "z": "c82a79e8.e87b78",\r
+        "wires": [\r
+            [\r
+                "1d1d05aa.1712aa"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f6093e6d.21ba",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 798.7499122619629,\r
+        "y": 362.0000228881836,\r
+        "z": "c82a79e8.e87b78",\r
+        "wires": [\r
+            [\r
+                "4ad2faef.9c5264"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "5757eca4.d4a414",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 801.7499122619629,\r
+        "y": 310.00003814697266,\r
+        "z": "c82a79e8.e87b78",\r
+        "wires": [\r
+            [\r
+                "1d1d05aa.1712aa"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "8a0677d8.02aee8",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 474.74997329711914,\r
+        "y": 271.00003814697266,\r
+        "z": "c82a79e8.e87b78",\r
+        "wires": [\r
+            [\r
+                "54f1eab.e4bcc14",\r
+                "a7c355e0.0616b8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "54f1eab.e4bcc14",\r
+        "type": "set",\r
+        "name": "set",\r
+        "xml": "<set>\n\t<parameter name='aai.vnfID' value='`$input.action-identifiers.vnf-id`' />\n\t<parameter name='aai.prefix' value='aai.input.data' />\t",\r
+        "comments": "",\r
+        "x": 640.749942779541,\r
+        "y": 271.0000686645508,\r
+        "z": "c82a79e8.e87b78",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "a7c355e0.0616b8",\r
+        "type": "execute",\r
+        "name": "execute: getVNFData",\r
+        "xml": "<execute plugin='org.onap.appc.dg.aai.AAIPlugin' method='getGenericVnfData' >",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 595.7499580383301,\r
+        "y": 338.0000915527344,\r
+        "z": "c82a79e8.e87b78",\r
+        "wires": [\r
+            [\r
+                "5757eca4.d4a414",\r
+                "f6093e6d.21ba"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e9d1e289.2189c",\r
+        "type": "execute",\r
+        "name": "execute: retrieveConnectionDetails",\r
+        "xml": "<execute plugin='org.onap.appc.dg.ssh.SshDBPlugin' method='retrieveConnectionDetails' >\n<parameter name=\"vnf-host-ip-address\" value=\"`$vnf-host-ip-address`\" />\n<parameter name='vnf-type' value=\"`$aai.input.data.vnf-type`\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1190.0832710266113,\r
+        "y": 558.0001220703125,\r
+        "z": "c82a79e8.e87b78",\r
+        "wires": [\r
+            [\r
+                "98e434ab.bc9368",\r
+                "c4bcc02d.c078d"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "98e434ab.bc9368",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1425.749942779541,\r
+        "y": 519.0000381469727,\r
+        "z": "c82a79e8.e87b78",\r
+        "wires": [\r
+            [\r
+                "1d1d05aa.1712aa"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c4bcc02d.c078d",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1428.7498817443848,\r
+        "y": 574.0000991821289,\r
+        "z": "c82a79e8.e87b78",\r
+        "wires": [\r
+            [\r
+                "457ba9cf.7006a8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a7d06ef5.ab8e1",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1932.75,\r
+        "y": 331,\r
+        "z": "c82a79e8.e87b78",\r
+        "wires": [\r
+            [\r
+                "d64712c6.1e102"\r
+            ]\r
+        ]\r
+    }\r
+]\r
index 70ee059..aed9a93 100644 (file)
@@ -1 +1,290 @@
-[{"id":"5fdd08f1.982a98","type":"switchNode","name":"is acquire require","xml":"<switch test='`$acquire.require`'>\n","comments":"","outputs":1,"x":532,"y":324,"z":"51e00a00.88b9e8","wires":[["1d5eab1d.936385","864c1c72.71594"]]},{"id":"dd2cefe0.be872","type":"execute","name":"execute: release","xml":"<execute plugin='org.openecomp.sdnc.sli.plugin.altsTools.AltsTools' method='`$release.method`' >\n    <parameter name=\"asset-uuid\" value=\"`$aai.asset.tag`\" />\n\t<parameter name=\"assignment-group\" value=\"`$aai.uuid`\" />\n\t<parameter name=\"error-prefix\" value=\"acquire.error\" />\n\t<parameter name=\"prefix\" value=\"release.response\" />\n\t<parameter name=\"hostname\" value=\"`$input.action-identifiers.vnf-id`\" />\n\t<parameter name=\"vnf-id\" value=\"`$input.action-identifiers.vnf-id`\" />\n","comments":"","outputs":1,"x":900,"y":451,"z":"51e00a00.88b9e8","wires":[["d1f89179.86ed"]]},{"id":"d3806cd9.326f1","type":"execute","name":"execute: acquire","xml":"<execute plugin='org.openecomp.sdnc.sli.plugin.altsTools.AltsTools' method='`$acquire.method`' >\n\t<parameter name=\"error-prefix\" value=\"acquire.error\" />\n\t<parameter name=\"prefix\" value=\"acquire.response\" />\n\t<parameter name=\"assignment-group\" value=\"`$model.uuid`\" />\n\t<parameter name=\"vnf-id\" value=\"`$input.action-identifiers.vnf-id`\" />\n\t<parameter name=\"hostname\" value=\"`$input.action-identifiers.vnf-id`\" /> \n","comments":"","outputs":1,"x":907,"y":324,"z":"51e00a00.88b9e8","wires":[["9e04b714.89eea8","ffdbc354.ec818"]]},{"id":"fa71882b.ad0308","type":"dgstart","name":"DGSTART","outputs":1,"x":116,"y":95,"z":"51e00a00.88b9e8","wires":[["72f7a965.7b0338"]]},{"id":"72f7a965.7b0338","type":"service-logic","name":"Appc-API 2.0.0.0","module":"Appc-API","version":"2.0.0.0","comments":"","xml":"<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='Appc-API' version='2.0.0.0'>","outputs":1,"x":302,"y":95,"z":"51e00a00.88b9e8","wires":[["c8121155.0e863"]]},{"id":"c8121155.0e863","type":"method","name":"acquire and return","xml":"<method rpc='acquire_and_return' mode='sync'>\n","comments":"","outputs":1,"x":207,"y":222,"z":"51e00a00.88b9e8","wires":[["2cf4ee46.9e9812"]]},{"id":"ffdbc354.ec818","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1075,"y":372,"z":"51e00a00.88b9e8","wires":[["ba99ecd9.52b1a"]]},{"id":"ba99ecd9.52b1a","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n<parameter name='error-code' value='`$acquire.error.error-code`' />\n<parameter name='error-message' value='`$acquire.error.error-message`' />\n<parameter name='output.status.code' value='401'/>\n<parameter name='output.status.message' value='`$acquire.error.error-message`' />\n","comments":"","x":1231,"y":372,"z":"51e00a00.88b9e8","wires":[]},{"id":"71fdcba3.fa02a4","type":"returnSuccess","name":"return success","xml":"<return status='success'>\n<parameter name=\"license.key\" value=\"`$license.key`\" />\n<parameter name=\"asset-tag\" value=\"`$asset-tag`\" />","comments":"","x":526,"y":552,"z":"51e00a00.88b9e8","wires":[]},{"id":"be30ea04.30ba18","type":"set","name":"set","xml":"<set>\n<parameter name='asset-tag' value='`$acquire.response.software-asset-tag-uuid`' />\n<parameter name='license-key' value='`$acquire.response.license-key`' />","comments":"","x":1227,"y":329,"z":"51e00a00.88b9e8","wires":[[]]},{"id":"2cf4ee46.9e9812","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":229,"y":415,"z":"51e00a00.88b9e8","wires":[["5fdd08f1.982a98","9c2b745a.41c1e8","71fdcba3.fa02a4"]]},{"id":"9c2b745a.41c1e8","type":"switchNode","name":"is release require","xml":"<switch test='`$release.require`'>\n","comments":"","outputs":1,"x":531,"y":451,"z":"51e00a00.88b9e8","wires":[["98ecbe52.b3c3a"]]},{"id":"9e04b714.89eea8","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":1080,"y":324,"z":"51e00a00.88b9e8","wires":[["be30ea04.30ba18"]]},{"id":"1d5eab1d.936385","type":"outcomeTrue","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":709,"y":324,"z":"51e00a00.88b9e8","wires":[["d3806cd9.326f1"]]},{"id":"98ecbe52.b3c3a","type":"outcomeTrue","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":710,"y":451,"z":"51e00a00.88b9e8","wires":[["dd2cefe0.be872"]]},{"id":"d1f89179.86ed","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1072,"y":451,"z":"51e00a00.88b9e8","wires":[["30302a1c.1276c6"]]},{"id":"30302a1c.1276c6","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n<parameter name='error-code' value='`$acquire.error.error-code`' />\n<parameter name='error-message' value='`$acquire.error.error-message`' />\n<parameter name='output.status.code' value='401'/>\n<parameter name='output.status.message' value='`$acquire.error.error-message`' />","comments":"","x":1228,"y":451,"z":"51e00a00.88b9e8","wires":[]},{"id":"864c1c72.71594","type":"outcomeFalse","name":"false","xml":"<outcome value='false'>\n","comments":"","outputs":1,"x":722,"y":264,"z":"51e00a00.88b9e8","wires":[["bbc3ed4a.b47c5"]]},{"id":"bbc3ed4a.b47c5","type":"set","name":"set","xml":"<set>\n<parameter name='asset-tag' value='' />\n<parameter name='license-key' value='' />","comments":"","x":888,"y":264,"z":"51e00a00.88b9e8","wires":[[]]}]
+[\r
+    {\r
+        "id": "5fdd08f1.982a98",\r
+        "type": "switchNode",\r
+        "name": "is acquire require",\r
+        "xml": "<switch test='`$acquire.require`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 532,\r
+        "y": 324,\r
+        "z": "51e00a00.88b9e8",\r
+        "wires": [\r
+            [\r
+                "1d5eab1d.936385",\r
+                "864c1c72.71594"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "dd2cefe0.be872",\r
+        "type": "execute",\r
+        "name": "execute: release",\r
+        "xml": "<execute plugin='org.openecomp.sdnc.sli.plugin.altsTools.AltsTools' method='`$release.method`' >\n    <parameter name=\"asset-uuid\" value=\"`$aai.asset.tag`\" />\n\t<parameter name=\"assignment-group\" value=\"`$aai.uuid`\" />\n\t<parameter name=\"error-prefix\" value=\"acquire.error\" />\n\t<parameter name=\"prefix\" value=\"release.response\" />\n\t<parameter name=\"hostname\" value=\"`$input.action-identifiers.vnf-id`\" />\n\t<parameter name=\"vnf-id\" value=\"`$input.action-identifiers.vnf-id`\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 900,\r
+        "y": 451,\r
+        "z": "51e00a00.88b9e8",\r
+        "wires": [\r
+            [\r
+                "d1f89179.86ed"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d3806cd9.326f1",\r
+        "type": "execute",\r
+        "name": "execute: acquire",\r
+        "xml": "<execute plugin='org.openecomp.sdnc.sli.plugin.altsTools.AltsTools' method='`$acquire.method`' >\n\t<parameter name=\"error-prefix\" value=\"acquire.error\" />\n\t<parameter name=\"prefix\" value=\"acquire.response\" />\n\t<parameter name=\"assignment-group\" value=\"`$model.uuid`\" />\n\t<parameter name=\"vnf-id\" value=\"`$input.action-identifiers.vnf-id`\" />\n\t<parameter name=\"hostname\" value=\"`$input.action-identifiers.vnf-id`\" /> \n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 907,\r
+        "y": 324,\r
+        "z": "51e00a00.88b9e8",\r
+        "wires": [\r
+            [\r
+                "9e04b714.89eea8",\r
+                "ffdbc354.ec818"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "fa71882b.ad0308",\r
+        "type": "dgstart",\r
+        "name": "DGSTART",\r
+        "outputs": 1,\r
+        "x": 116,\r
+        "y": 95,\r
+        "z": "51e00a00.88b9e8",\r
+        "wires": [\r
+            [\r
+                "72f7a965.7b0338"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "72f7a965.7b0338",\r
+        "type": "service-logic",\r
+        "name": "Appc-API 2.0.0.0",\r
+        "module": "Appc-API",\r
+        "version": "2.0.0.0",\r
+        "comments": "",\r
+        "xml": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='Appc-API' version='2.0.0.0'>",\r
+        "outputs": 1,\r
+        "x": 302,\r
+        "y": 95,\r
+        "z": "51e00a00.88b9e8",\r
+        "wires": [\r
+            [\r
+                "c8121155.0e863"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c8121155.0e863",\r
+        "type": "method",\r
+        "name": "acquire and return",\r
+        "xml": "<method rpc='acquire_and_return' mode='sync'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 207,\r
+        "y": 222,\r
+        "z": "51e00a00.88b9e8",\r
+        "wires": [\r
+            [\r
+                "2cf4ee46.9e9812"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ffdbc354.ec818",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1075,\r
+        "y": 372,\r
+        "z": "51e00a00.88b9e8",\r
+        "wires": [\r
+            [\r
+                "ba99ecd9.52b1a"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ba99ecd9.52b1a",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n<parameter name='error-code' value='`$acquire.error.error-code`' />\n<parameter name='error-message' value='`$acquire.error.error-message`' />\n<parameter name='output.status.code' value='401'/>\n<parameter name='output.status.message' value='`$acquire.error.error-message`' />\n",\r
+        "comments": "",\r
+        "x": 1231,\r
+        "y": 372,\r
+        "z": "51e00a00.88b9e8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "71fdcba3.fa02a4",\r
+        "type": "returnSuccess",\r
+        "name": "return success",\r
+        "xml": "<return status='success'>\n<parameter name=\"license.key\" value=\"`$license.key`\" />\n<parameter name=\"asset-tag\" value=\"`$asset-tag`\" />",\r
+        "comments": "",\r
+        "x": 526,\r
+        "y": 552,\r
+        "z": "51e00a00.88b9e8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "be30ea04.30ba18",\r
+        "type": "set",\r
+        "name": "set",\r
+        "xml": "<set>\n<parameter name='asset-tag' value='`$acquire.response.software-asset-tag-uuid`' />\n<parameter name='license-key' value='`$acquire.response.license-key`' />",\r
+        "comments": "",\r
+        "x": 1227,\r
+        "y": 329,\r
+        "z": "51e00a00.88b9e8",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "2cf4ee46.9e9812",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 229,\r
+        "y": 415,\r
+        "z": "51e00a00.88b9e8",\r
+        "wires": [\r
+            [\r
+                "5fdd08f1.982a98",\r
+                "9c2b745a.41c1e8",\r
+                "71fdcba3.fa02a4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9c2b745a.41c1e8",\r
+        "type": "switchNode",\r
+        "name": "is release require",\r
+        "xml": "<switch test='`$release.require`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 531,\r
+        "y": 451,\r
+        "z": "51e00a00.88b9e8",\r
+        "wires": [\r
+            [\r
+                "98ecbe52.b3c3a"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9e04b714.89eea8",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1080,\r
+        "y": 324,\r
+        "z": "51e00a00.88b9e8",\r
+        "wires": [\r
+            [\r
+                "be30ea04.30ba18"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "1d5eab1d.936385",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 709,\r
+        "y": 324,\r
+        "z": "51e00a00.88b9e8",\r
+        "wires": [\r
+            [\r
+                "d3806cd9.326f1"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "98ecbe52.b3c3a",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 710,\r
+        "y": 451,\r
+        "z": "51e00a00.88b9e8",\r
+        "wires": [\r
+            [\r
+                "dd2cefe0.be872"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d1f89179.86ed",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1072,\r
+        "y": 451,\r
+        "z": "51e00a00.88b9e8",\r
+        "wires": [\r
+            [\r
+                "30302a1c.1276c6"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "30302a1c.1276c6",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n<parameter name='error-code' value='`$acquire.error.error-code`' />\n<parameter name='error-message' value='`$acquire.error.error-message`' />\n<parameter name='output.status.code' value='401'/>\n<parameter name='output.status.message' value='`$acquire.error.error-message`' />",\r
+        "comments": "",\r
+        "x": 1228,\r
+        "y": 451,\r
+        "z": "51e00a00.88b9e8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "864c1c72.71594",\r
+        "type": "outcomeFalse",\r
+        "name": "false",\r
+        "xml": "<outcome value='false'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 722,\r
+        "y": 264,\r
+        "z": "51e00a00.88b9e8",\r
+        "wires": [\r
+            [\r
+                "bbc3ed4a.b47c5"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "bbc3ed4a.b47c5",\r
+        "type": "set",\r
+        "name": "set",\r
+        "xml": "<set>\n<parameter name='asset-tag' value='' />\n<parameter name='license-key' value='' />",\r
+        "comments": "",\r
+        "x": 888,\r
+        "y": 264,\r
+        "z": "51e00a00.88b9e8",\r
+        "wires": [\r
+            []\r
+        ]\r
+    }\r
+]\r
index 64c31bd..32fdd5f 100644 (file)
@@ -1 +1,725 @@
-[{"id":"b1ce6dcf.35732","type":"dgstart","name":"DGSTART","outputs":1,"x":188,"y":50,"z":"150446f3.d47aa9","wires":[["174ee6ca.1ed6a9"]]},{"id":"174ee6ca.1ed6a9","type":"service-logic","name":"Appc-API 2.0.0.0","module":"Appc-API","version":"2.0.0.0","comments":"","xml":"<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='Appc-API' version='2.0.0.0'>","outputs":1,"x":350,"y":50,"z":"150446f3.d47aa9","wires":[["f19dcf10.eaeb9"]]},{"id":"f19dcf10.eaeb9","type":"method","name":"Method: Acquire License","xml":"<method rpc='acquire_license' mode='sync'>\n","comments":"","outputs":1,"x":581,"y":50,"z":"150446f3.d47aa9","wires":[["9ce11364.ca14f"]]},{"id":"9d436678.79ec78","type":"execute","name":"execute: retrieveLicenseModel","xml":"<execute plugin='org.onap.appc.dg.licmgr.LicenseManagerPlugin' method='retrieveLicenseModel' >\n<parameter name=\"org.onap.appc.vftype\" value=\"`$aai.input.data.vnf-type`\" />\n<parameter name=\"org.onap.appc.resource-version\" value=\"`$aai.input.data.persona-model-version`\" />\n\n","comments":"","outputs":1,"x":514,"y":350,"z":"150446f3.d47aa9","wires":[["b03a6327.d8941"]]},{"id":"f5ad1877.f5fb08","type":"execute","name":"execute: handleErrorToDCAE","xml":"<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"1.01\"/>\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"org.onap.appc.dg.error\" value=\"`$org.onap.appc.dg.error`\" />\n","comments":"","outputs":1,"x":1239,"y":217,"z":"150446f3.d47aa9","wires":[[]]},{"id":"25ece2ae.1fed4e","type":"block","name":"block: atomic","xml":"<block atomic='true'>\n","atomic":"false","comments":"","outputs":1,"x":959,"y":274,"z":"150446f3.d47aa9","wires":[["f5ad1877.f5fb08","4d4a5b49.2afb94"]]},{"id":"4d4a5b49.2afb94","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n<parameter name='error-message' value='`$org.onap.appc.dg.error`' />\n","comments":"","x":1188,"y":274,"z":"150446f3.d47aa9","wires":[]},{"id":"4a0353c8.2d471c","type":"execute","name":"execute: getVNFData","xml":"<execute plugin='org.onap.appc.dg.aai.AAIPlugin' method='getGenericVnfData'>","comments":"","outputs":1,"x":480,"y":274,"z":"150446f3.d47aa9","wires":[["b03a6327.d8941"]]},{"id":"972dd4cd.52e478","type":"set","name":"set","xml":"<set>\n\t<parameter name='aai.vnfID' value='`$input.action-identifiers.vnf-id`' />\n\t<parameter name='aai.prefix' value='aai.input.data' />\t","comments":"","x":436,"y":210,"z":"150446f3.d47aa9","wires":[]},{"id":"9ce11364.ca14f","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":209,"y":274,"z":"150446f3.d47aa9","wires":[["972dd4cd.52e478","4a0353c8.2d471c","9d436678.79ec78","79795ed2.80425","99224f0e.1687b","d5060181.3d546"]]},{"id":"b03a6327.d8941","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":785,"y":274,"z":"150446f3.d47aa9","wires":[["25ece2ae.1fed4e"]]},{"id":"d8eca0a4.77181","type":"call","name":"acquire entitlement","xml":"<call module='Appc-API' version='2.0.0.0' rpc='acquire_and_return' mode='sync' >\n","comments":"","outputs":1,"x":1048,"y":426,"z":"150446f3.d47aa9","wires":[["5f4740fc.82243","e9c2ecda.2a739"]]},{"id":"bc1e02ed.46d83","type":"set","name":"set for entitlement","xml":"<set>\n\t<parameter name='model.uuid' value='`$model.entitlement.pool.uuid`' />\n\t<parameter name='aai.uuid' value='`$aai.input.data.entitlement-assignment-group-uuid`' />\n\t<parameter name='aai.asset.tag' value='`$aai.input.data.entitlement-resource-uuid`' />\n\t<parameter name='acquire.require' value='`$is.acquire-entitlement.require`' />\n\t<parameter name='release.require' value='`$is.release-entitlement.require`' />\n\t<parameter name='acquire.method' value='acquireEntitlement' />\n\t<parameter name='release.method' value='releaseEntitlement' />","comments":"","x":1061,"y":371,"z":"150446f3.d47aa9","wires":[]},{"id":"79795ed2.80425","type":"returnSuccess","name":"return success","xml":"<return status='success'>\n","comments":"","x":459,"y":601,"z":"150446f3.d47aa9","wires":[]},{"id":"f26c05b5.ce1df8","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":839,"y":426,"z":"150446f3.d47aa9","wires":[["bc1e02ed.46d83","d8eca0a4.77181"]]},{"id":"ed1a5e9a.1ca9d","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":838,"y":519,"z":"150446f3.d47aa9","wires":[["5791d93f.9c9838","4f84efd3.d3e91"]]},{"id":"5791d93f.9c9838","type":"set","name":"set for license","xml":"<set>\n\t<parameter name='model.uuid' value='`$model.license.key.uuid`' />\n\t<parameter name='aai.uuid' value='`$aai.input.data.license-assignment-group-uuid`' />\n\t<parameter name='aai.asset.tag' value='`$aai.input.data.license-key-uuid`' />\n\t<parameter name='acquire.require' value='`$is.acquire-license.require`' />\n\t<parameter name='release.require' value='`$is.release-license.require`' />\n\t<parameter name='acquire.method' value='acquireLicense' />\n\t<parameter name='release.method' value='releaseLicense' />","comments":"","x":1056,"y":519,"z":"150446f3.d47aa9","wires":[]},{"id":"4f84efd3.d3e91","type":"call","name":"acquire license","xml":"<call module='Appc-API' version='2.0.0.0' rpc='acquire_and_return' mode='sync' >\n","comments":"","outputs":1,"x":1054,"y":593,"z":"150446f3.d47aa9","wires":[["1676c3bf.6ae81c","921d09c2.070c98"]]},{"id":"5f4740fc.82243","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":1259,"y":391,"z":"150446f3.d47aa9","wires":[["a4badb8.6948e28"]]},{"id":"e9c2ecda.2a739","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1258,"y":460,"z":"150446f3.d47aa9","wires":[["ef554789.af5fd8"]]},{"id":"9832f22b.c3486","type":"execute","name":"execute: handleErrorToDCAE","xml":"<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"1.01\"/>\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"org.onap.appc.dg.error\" value=\"`$org.onap.appc.dg.error`\" />\n","comments":"","outputs":1,"x":1885,"y":459,"z":"150446f3.d47aa9","wires":[[]]},{"id":"ef554789.af5fd8","type":"block","name":"block: atomic","xml":"<block atomic='true'>\n","atomic":"false","comments":"","outputs":1,"x":1576,"y":459,"z":"150446f3.d47aa9","wires":[["9832f22b.c3486","b3985ada.5fad68","8a8cc770.dfc4c8"]]},{"id":"b3985ada.5fad68","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n<parameter name='error-message' value='`$acquire.error.error-message`' />\n","comments":"","x":1832,"y":500,"z":"150446f3.d47aa9","wires":[]},{"id":"a4badb8.6948e28","type":"execute","name":"execute: postVNFData","xml":"<execute plugin='org.onap.appc.dg.aai.AAIPlugin' method='postGenericVnfData' >\n\t<parameter name='aai.input.data.entitlement-resource-uuid' value='`$asset-tag`' />\n\t<parameter name='aai.input.data.entitlement-assignment-group-uuid' value='`$model.uuid`' />\n\n","comments":"","outputs":1,"x":1438,"y":391,"z":"150446f3.d47aa9","wires":[["5759c209.a4dc6c","48280ad5.075c64"]]},{"id":"5759c209.a4dc6c","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1637,"y":346,"z":"150446f3.d47aa9","wires":[["9fb59e95.cd2ae"]]},{"id":"8a8cc770.dfc4c8","type":"set","name":"set","xml":"<set>\n\t<parameter name='org.onap.appc.dg.error' value='`$acquire.error.error-message`' />\n","comments":"","x":1814,"y":413,"z":"150446f3.d47aa9","wires":[]},{"id":"1676c3bf.6ae81c","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":1259,"y":551,"z":"150446f3.d47aa9","wires":[["e6077b1c.676d68"]]},{"id":"80af8413.c41af8","type":"execute","name":"execute: handleErrorToDCAE","xml":"<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"1.01\"/>\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"org.onap.appc.dg.error\" value=\"`$org.onap.appc.dg.error`\" />\n","comments":"","outputs":1,"x":1752,"y":693,"z":"150446f3.d47aa9","wires":[[]]},{"id":"cf0d6944.da2e48","type":"block","name":"block: atomic","xml":"<block atomic='true'>\n","atomic":"false","comments":"","outputs":1,"x":1443,"y":644,"z":"150446f3.d47aa9","wires":[["80af8413.c41af8","424183e2.2fe76c","a2997968.151ab8"]]},{"id":"424183e2.2fe76c","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n<parameter name='error-message' value='`$acquire.error.error-message`' />\n","comments":"","x":1701,"y":742,"z":"150446f3.d47aa9","wires":[]},{"id":"921d09c2.070c98","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1264,"y":644,"z":"150446f3.d47aa9","wires":[["cf0d6944.da2e48"]]},{"id":"e6077b1c.676d68","type":"execute","name":"execute: postVNFData","xml":"<execute plugin='org.onap.appc.dg.aai.AAIPlugin' method='postGenericVnfData' >\n\t<parameter name='aai.input.data.license-key-uuid' value='`$asset-tag`' />\n\t<parameter name='aai.input.data.license-assignment-group-uuid' value='`$model.uuid`' />\n\t<parameter name='aai.input.data.license-key' value='`$license-key`' />\n","comments":"","outputs":1,"x":1442,"y":551,"z":"150446f3.d47aa9","wires":[["baf4e318.6218b","996a1b70.ae33c8"]]},{"id":"baf4e318.6218b","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1632,"y":551,"z":"150446f3.d47aa9","wires":[["a692c8c6.e23748"]]},{"id":"a2997968.151ab8","type":"set","name":"set","xml":"<set>\n\t<parameter name='org.onap.appc.dg.error' value='`$acquire.error.error-message`' />\n","comments":"","x":1684,"y":644,"z":"150446f3.d47aa9","wires":[]},{"id":"73130c00.837904","type":"execute","name":"execute: release","xml":"<execute plugin='org.openecomp.sdnc.sli.plugin.altsTools.AltsTools' method='releaseEntitlement' >\n    <parameter name=\"asset-uuid\" value=\"`$asset-tag`\" />\n\t<parameter name=\"assignment-group\" value=\"`$model.entitlement.pool.uuid`\" />\n\t<parameter name=\"error-prefix\" value=\"acquire.error\"/>\n\t<parameter name=\"prefix\" value=\"release.response\" />\n\t<parameter name=\"hostname\" value=\"`$input.action-identifiers.vnf-id`\" />\n\t<parameter name=\"vnf-id\" value=\"`$input.action-identifiers.vnf-id`\" />\n","comments":"","outputs":1,"x":2002,"y":300,"z":"150446f3.d47aa9","wires":[[]]},{"id":"9fb59e95.cd2ae","type":"block","name":"block: atomic","xml":"<block atomic='true'>\n","atomic":"false","comments":"","outputs":1,"x":1798,"y":346,"z":"150446f3.d47aa9","wires":[["73130c00.837904","870b44ac.4f4af8","78617f1c.8bb0e"]]},{"id":"870b44ac.4f4af8","type":"execute","name":"execute: handleErrorToDCAE","xml":"<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"1.01\"/>\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"org.onap.appc.dg.error\" value=\"`$org.onap.appc.dg.error`\" />\n","comments":"","outputs":1,"x":2044,"y":346,"z":"150446f3.d47aa9","wires":[[]]},{"id":"78617f1c.8bb0e","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n<parameter name='error-message' value='`$org.onap.appc.dg.error`' />\n","comments":"","x":1992,"y":394,"z":"150446f3.d47aa9","wires":[]},{"id":"48280ad5.075c64","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":1643,"y":391,"z":"150446f3.d47aa9","wires":[[]]},{"id":"a692c8c6.e23748","type":"block","name":"block: atomic","xml":"<block atomic='true'>\n","atomic":"false","comments":"","outputs":1,"x":1789,"y":551,"z":"150446f3.d47aa9","wires":[["791287e7.f44278","e7d0dd25.7a0c6","a8028f31.101f4"]]},{"id":"791287e7.f44278","type":"execute","name":"execute: release","xml":"<execute plugin='org.openecomp.sdnc.sli.plugin.altsTools.AltsTools' method='releaseLicense' >\n    <parameter name=\"asset-uuid\" value=\"`$asset-tag`\" />\n\t<parameter name=\"assignment-group\" value=\"`$model.license.key.uuid`\" />\n\t<parameter name=\"error-prefix\" value=\"acquire.error\" />\n\t<parameter name=\"prefix\" value=\"release.response\" />\n\t<parameter name=\"hostname\" value=\"`$input.action-identifiers.vnf-id`\" />\n\t<parameter name=\"vnf-id\" value=\"`$input.action-identifiers.vnf-id`\" />\n","comments":"","outputs":1,"x":2042,"y":551,"z":"150446f3.d47aa9","wires":[[]]},{"id":"e7d0dd25.7a0c6","type":"execute","name":"execute: handleErrorToDCAE","xml":"<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"1.01\"/>\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"org.onap.appc.dg.error\" value=\"`$org.onap.appc.dg.error`\" />\n","comments":"","outputs":1,"x":2081,"y":600,"z":"150446f3.d47aa9","wires":[[]]},{"id":"a8028f31.101f4","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n<parameter name='error-message' value='`$org.onap.appc.dg.error`' />\n","comments":"","x":2033,"y":655,"z":"150446f3.d47aa9","wires":[]},{"id":"996a1b70.ae33c8","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":1637,"y":591,"z":"150446f3.d47aa9","wires":[[]]},{"id":"99224f0e.1687b","type":"switchNode","name":"entitlement require?","xml":"<switch test='`$is.aai-entitlement-update.require`'>\n","comments":"","outputs":1,"x":483,"y":426,"z":"150446f3.d47aa9","wires":[["9b0d5a39.63ece8"]]},{"id":"d5060181.3d546","type":"switchNode","name":"license require?","xml":"<switch test='`$is.aai-license-update.require`'>\n","comments":"","outputs":1,"x":475,"y":519,"z":"150446f3.d47aa9","wires":[["75b1fcca.18edd4"]]},{"id":"9b0d5a39.63ece8","type":"outcomeTrue","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":665,"y":426,"z":"150446f3.d47aa9","wires":[["f26c05b5.ce1df8"]]},{"id":"75b1fcca.18edd4","type":"outcomeTrue","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":662,"y":519,"z":"150446f3.d47aa9","wires":[["ed1a5e9a.1ca9d"]]}]
+[\r
+    {\r
+        "id": "b1ce6dcf.35732",\r
+        "type": "dgstart",\r
+        "name": "DGSTART",\r
+        "outputs": 1,\r
+        "x": 188,\r
+        "y": 50,\r
+        "z": "150446f3.d47aa9",\r
+        "wires": [\r
+            [\r
+                "174ee6ca.1ed6a9"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "174ee6ca.1ed6a9",\r
+        "type": "service-logic",\r
+        "name": "Appc-API 2.0.0.0",\r
+        "module": "Appc-API",\r
+        "version": "2.0.0.0",\r
+        "comments": "",\r
+        "xml": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='Appc-API' version='2.0.0.0'>",\r
+        "outputs": 1,\r
+        "x": 350,\r
+        "y": 50,\r
+        "z": "150446f3.d47aa9",\r
+        "wires": [\r
+            [\r
+                "f19dcf10.eaeb9"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f19dcf10.eaeb9",\r
+        "type": "method",\r
+        "name": "Method: Acquire License",\r
+        "xml": "<method rpc='acquire_license' mode='sync'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 581,\r
+        "y": 50,\r
+        "z": "150446f3.d47aa9",\r
+        "wires": [\r
+            [\r
+                "9ce11364.ca14f"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9d436678.79ec78",\r
+        "type": "execute",\r
+        "name": "execute: retrieveLicenseModel",\r
+        "xml": "<execute plugin='org.onap.appc.dg.licmgr.LicenseManagerPlugin' method='retrieveLicenseModel' >\n<parameter name=\"org.onap.appc.vftype\" value=\"`$aai.input.data.vnf-type`\" />\n<parameter name=\"org.onap.appc.resource-version\" value=\"`$aai.input.data.persona-model-version`\" />\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 514,\r
+        "y": 350,\r
+        "z": "150446f3.d47aa9",\r
+        "wires": [\r
+            [\r
+                "b03a6327.d8941"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f5ad1877.f5fb08",\r
+        "type": "execute",\r
+        "name": "execute: handleErrorToDCAE",\r
+        "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"1.01\"/>\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"org.onap.appc.dg.error\" value=\"`$org.onap.appc.dg.error`\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1239,\r
+        "y": 217,\r
+        "z": "150446f3.d47aa9",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "25ece2ae.1fed4e",\r
+        "type": "block",\r
+        "name": "block: atomic",\r
+        "xml": "<block atomic='true'>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 959,\r
+        "y": 274,\r
+        "z": "150446f3.d47aa9",\r
+        "wires": [\r
+            [\r
+                "f5ad1877.f5fb08",\r
+                "4d4a5b49.2afb94"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "4d4a5b49.2afb94",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n<parameter name='error-message' value='`$org.onap.appc.dg.error`' />\n",\r
+        "comments": "",\r
+        "x": 1188,\r
+        "y": 274,\r
+        "z": "150446f3.d47aa9",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "4a0353c8.2d471c",\r
+        "type": "execute",\r
+        "name": "execute: getVNFData",\r
+        "xml": "<execute plugin='org.onap.appc.dg.aai.AAIPlugin' method='getGenericVnfData'>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 480,\r
+        "y": 274,\r
+        "z": "150446f3.d47aa9",\r
+        "wires": [\r
+            [\r
+                "b03a6327.d8941"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "972dd4cd.52e478",\r
+        "type": "set",\r
+        "name": "set",\r
+        "xml": "<set>\n\t<parameter name='aai.vnfID' value='`$input.action-identifiers.vnf-id`' />\n\t<parameter name='aai.prefix' value='aai.input.data' />\t",\r
+        "comments": "",\r
+        "x": 436,\r
+        "y": 210,\r
+        "z": "150446f3.d47aa9",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "9ce11364.ca14f",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 209,\r
+        "y": 274,\r
+        "z": "150446f3.d47aa9",\r
+        "wires": [\r
+            [\r
+                "972dd4cd.52e478",\r
+                "4a0353c8.2d471c",\r
+                "9d436678.79ec78",\r
+                "79795ed2.80425",\r
+                "99224f0e.1687b",\r
+                "d5060181.3d546"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b03a6327.d8941",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 785,\r
+        "y": 274,\r
+        "z": "150446f3.d47aa9",\r
+        "wires": [\r
+            [\r
+                "25ece2ae.1fed4e"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d8eca0a4.77181",\r
+        "type": "call",\r
+        "name": "acquire entitlement",\r
+        "xml": "<call module='Appc-API' version='2.0.0.0' rpc='acquire_and_return' mode='sync' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1048,\r
+        "y": 426,\r
+        "z": "150446f3.d47aa9",\r
+        "wires": [\r
+            [\r
+                "5f4740fc.82243",\r
+                "e9c2ecda.2a739"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "bc1e02ed.46d83",\r
+        "type": "set",\r
+        "name": "set for entitlement",\r
+        "xml": "<set>\n\t<parameter name='model.uuid' value='`$model.entitlement.pool.uuid`' />\n\t<parameter name='aai.uuid' value='`$aai.input.data.entitlement-assignment-group-uuid`' />\n\t<parameter name='aai.asset.tag' value='`$aai.input.data.entitlement-resource-uuid`' />\n\t<parameter name='acquire.require' value='`$is.acquire-entitlement.require`' />\n\t<parameter name='release.require' value='`$is.release-entitlement.require`' />\n\t<parameter name='acquire.method' value='acquireEntitlement' />\n\t<parameter name='release.method' value='releaseEntitlement' />",\r
+        "comments": "",\r
+        "x": 1061,\r
+        "y": 371,\r
+        "z": "150446f3.d47aa9",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "79795ed2.80425",\r
+        "type": "returnSuccess",\r
+        "name": "return success",\r
+        "xml": "<return status='success'>\n",\r
+        "comments": "",\r
+        "x": 459,\r
+        "y": 601,\r
+        "z": "150446f3.d47aa9",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "f26c05b5.ce1df8",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 839,\r
+        "y": 426,\r
+        "z": "150446f3.d47aa9",\r
+        "wires": [\r
+            [\r
+                "bc1e02ed.46d83",\r
+                "d8eca0a4.77181"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ed1a5e9a.1ca9d",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 838,\r
+        "y": 519,\r
+        "z": "150446f3.d47aa9",\r
+        "wires": [\r
+            [\r
+                "5791d93f.9c9838",\r
+                "4f84efd3.d3e91"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "5791d93f.9c9838",\r
+        "type": "set",\r
+        "name": "set for license",\r
+        "xml": "<set>\n\t<parameter name='model.uuid' value='`$model.license.key.uuid`' />\n\t<parameter name='aai.uuid' value='`$aai.input.data.license-assignment-group-uuid`' />\n\t<parameter name='aai.asset.tag' value='`$aai.input.data.license-key-uuid`' />\n\t<parameter name='acquire.require' value='`$is.acquire-license.require`' />\n\t<parameter name='release.require' value='`$is.release-license.require`' />\n\t<parameter name='acquire.method' value='acquireLicense' />\n\t<parameter name='release.method' value='releaseLicense' />",\r
+        "comments": "",\r
+        "x": 1056,\r
+        "y": 519,\r
+        "z": "150446f3.d47aa9",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "4f84efd3.d3e91",\r
+        "type": "call",\r
+        "name": "acquire license",\r
+        "xml": "<call module='Appc-API' version='2.0.0.0' rpc='acquire_and_return' mode='sync' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1054,\r
+        "y": 593,\r
+        "z": "150446f3.d47aa9",\r
+        "wires": [\r
+            [\r
+                "1676c3bf.6ae81c",\r
+                "921d09c2.070c98"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "5f4740fc.82243",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1259,\r
+        "y": 391,\r
+        "z": "150446f3.d47aa9",\r
+        "wires": [\r
+            [\r
+                "a4badb8.6948e28"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e9c2ecda.2a739",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1258,\r
+        "y": 460,\r
+        "z": "150446f3.d47aa9",\r
+        "wires": [\r
+            [\r
+                "ef554789.af5fd8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9832f22b.c3486",\r
+        "type": "execute",\r
+        "name": "execute: handleErrorToDCAE",\r
+        "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"1.01\"/>\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"org.onap.appc.dg.error\" value=\"`$org.onap.appc.dg.error`\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1885,\r
+        "y": 459,\r
+        "z": "150446f3.d47aa9",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "ef554789.af5fd8",\r
+        "type": "block",\r
+        "name": "block: atomic",\r
+        "xml": "<block atomic='true'>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1576,\r
+        "y": 459,\r
+        "z": "150446f3.d47aa9",\r
+        "wires": [\r
+            [\r
+                "9832f22b.c3486",\r
+                "b3985ada.5fad68",\r
+                "8a8cc770.dfc4c8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b3985ada.5fad68",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n<parameter name='error-message' value='`$acquire.error.error-message`' />\n",\r
+        "comments": "",\r
+        "x": 1832,\r
+        "y": 500,\r
+        "z": "150446f3.d47aa9",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "a4badb8.6948e28",\r
+        "type": "execute",\r
+        "name": "execute: postVNFData",\r
+        "xml": "<execute plugin='org.onap.appc.dg.aai.AAIPlugin' method='postGenericVnfData' >\n\t<parameter name='aai.input.data.entitlement-resource-uuid' value='`$asset-tag`' />\n\t<parameter name='aai.input.data.entitlement-assignment-group-uuid' value='`$model.uuid`' />\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1438,\r
+        "y": 391,\r
+        "z": "150446f3.d47aa9",\r
+        "wires": [\r
+            [\r
+                "5759c209.a4dc6c",\r
+                "48280ad5.075c64"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "5759c209.a4dc6c",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1637,\r
+        "y": 346,\r
+        "z": "150446f3.d47aa9",\r
+        "wires": [\r
+            [\r
+                "9fb59e95.cd2ae"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "8a8cc770.dfc4c8",\r
+        "type": "set",\r
+        "name": "set",\r
+        "xml": "<set>\n\t<parameter name='org.onap.appc.dg.error' value='`$acquire.error.error-message`' />\n",\r
+        "comments": "",\r
+        "x": 1814,\r
+        "y": 413,\r
+        "z": "150446f3.d47aa9",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "1676c3bf.6ae81c",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1259,\r
+        "y": 551,\r
+        "z": "150446f3.d47aa9",\r
+        "wires": [\r
+            [\r
+                "e6077b1c.676d68"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "80af8413.c41af8",\r
+        "type": "execute",\r
+        "name": "execute: handleErrorToDCAE",\r
+        "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"1.01\"/>\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"org.onap.appc.dg.error\" value=\"`$org.onap.appc.dg.error`\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1752,\r
+        "y": 693,\r
+        "z": "150446f3.d47aa9",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "cf0d6944.da2e48",\r
+        "type": "block",\r
+        "name": "block: atomic",\r
+        "xml": "<block atomic='true'>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1443,\r
+        "y": 644,\r
+        "z": "150446f3.d47aa9",\r
+        "wires": [\r
+            [\r
+                "80af8413.c41af8",\r
+                "424183e2.2fe76c",\r
+                "a2997968.151ab8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "424183e2.2fe76c",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n<parameter name='error-message' value='`$acquire.error.error-message`' />\n",\r
+        "comments": "",\r
+        "x": 1701,\r
+        "y": 742,\r
+        "z": "150446f3.d47aa9",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "921d09c2.070c98",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1264,\r
+        "y": 644,\r
+        "z": "150446f3.d47aa9",\r
+        "wires": [\r
+            [\r
+                "cf0d6944.da2e48"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e6077b1c.676d68",\r
+        "type": "execute",\r
+        "name": "execute: postVNFData",\r
+        "xml": "<execute plugin='org.onap.appc.dg.aai.AAIPlugin' method='postGenericVnfData' >\n\t<parameter name='aai.input.data.license-key-uuid' value='`$asset-tag`' />\n\t<parameter name='aai.input.data.license-assignment-group-uuid' value='`$model.uuid`' />\n\t<parameter name='aai.input.data.license-key' value='`$license-key`' />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1442,\r
+        "y": 551,\r
+        "z": "150446f3.d47aa9",\r
+        "wires": [\r
+            [\r
+                "baf4e318.6218b",\r
+                "996a1b70.ae33c8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "baf4e318.6218b",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1632,\r
+        "y": 551,\r
+        "z": "150446f3.d47aa9",\r
+        "wires": [\r
+            [\r
+                "a692c8c6.e23748"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a2997968.151ab8",\r
+        "type": "set",\r
+        "name": "set",\r
+        "xml": "<set>\n\t<parameter name='org.onap.appc.dg.error' value='`$acquire.error.error-message`' />\n",\r
+        "comments": "",\r
+        "x": 1684,\r
+        "y": 644,\r
+        "z": "150446f3.d47aa9",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "73130c00.837904",\r
+        "type": "execute",\r
+        "name": "execute: release",\r
+        "xml": "<execute plugin='org.openecomp.sdnc.sli.plugin.altsTools.AltsTools' method='releaseEntitlement' >\n    <parameter name=\"asset-uuid\" value=\"`$asset-tag`\" />\n\t<parameter name=\"assignment-group\" value=\"`$model.entitlement.pool.uuid`\" />\n\t<parameter name=\"error-prefix\" value=\"acquire.error\"/>\n\t<parameter name=\"prefix\" value=\"release.response\" />\n\t<parameter name=\"hostname\" value=\"`$input.action-identifiers.vnf-id`\" />\n\t<parameter name=\"vnf-id\" value=\"`$input.action-identifiers.vnf-id`\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2002,\r
+        "y": 300,\r
+        "z": "150446f3.d47aa9",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "9fb59e95.cd2ae",\r
+        "type": "block",\r
+        "name": "block: atomic",\r
+        "xml": "<block atomic='true'>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1798,\r
+        "y": 346,\r
+        "z": "150446f3.d47aa9",\r
+        "wires": [\r
+            [\r
+                "73130c00.837904",\r
+                "870b44ac.4f4af8",\r
+                "78617f1c.8bb0e"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "870b44ac.4f4af8",\r
+        "type": "execute",\r
+        "name": "execute: handleErrorToDCAE",\r
+        "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"1.01\"/>\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"org.onap.appc.dg.error\" value=\"`$org.onap.appc.dg.error`\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2044,\r
+        "y": 346,\r
+        "z": "150446f3.d47aa9",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "78617f1c.8bb0e",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n<parameter name='error-message' value='`$org.onap.appc.dg.error`' />\n",\r
+        "comments": "",\r
+        "x": 1992,\r
+        "y": 394,\r
+        "z": "150446f3.d47aa9",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "48280ad5.075c64",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1643,\r
+        "y": 391,\r
+        "z": "150446f3.d47aa9",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "a692c8c6.e23748",\r
+        "type": "block",\r
+        "name": "block: atomic",\r
+        "xml": "<block atomic='true'>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1789,\r
+        "y": 551,\r
+        "z": "150446f3.d47aa9",\r
+        "wires": [\r
+            [\r
+                "791287e7.f44278",\r
+                "e7d0dd25.7a0c6",\r
+                "a8028f31.101f4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "791287e7.f44278",\r
+        "type": "execute",\r
+        "name": "execute: release",\r
+        "xml": "<execute plugin='org.openecomp.sdnc.sli.plugin.altsTools.AltsTools' method='releaseLicense' >\n    <parameter name=\"asset-uuid\" value=\"`$asset-tag`\" />\n\t<parameter name=\"assignment-group\" value=\"`$model.license.key.uuid`\" />\n\t<parameter name=\"error-prefix\" value=\"acquire.error\" />\n\t<parameter name=\"prefix\" value=\"release.response\" />\n\t<parameter name=\"hostname\" value=\"`$input.action-identifiers.vnf-id`\" />\n\t<parameter name=\"vnf-id\" value=\"`$input.action-identifiers.vnf-id`\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2042,\r
+        "y": 551,\r
+        "z": "150446f3.d47aa9",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "e7d0dd25.7a0c6",\r
+        "type": "execute",\r
+        "name": "execute: handleErrorToDCAE",\r
+        "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"1.01\"/>\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"org.onap.appc.dg.error\" value=\"`$org.onap.appc.dg.error`\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2081,\r
+        "y": 600,\r
+        "z": "150446f3.d47aa9",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "a8028f31.101f4",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n<parameter name='error-message' value='`$org.onap.appc.dg.error`' />\n",\r
+        "comments": "",\r
+        "x": 2033,\r
+        "y": 655,\r
+        "z": "150446f3.d47aa9",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "996a1b70.ae33c8",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1637,\r
+        "y": 591,\r
+        "z": "150446f3.d47aa9",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "99224f0e.1687b",\r
+        "type": "switchNode",\r
+        "name": "entitlement require?",\r
+        "xml": "<switch test='`$is.aai-entitlement-update.require`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 483,\r
+        "y": 426,\r
+        "z": "150446f3.d47aa9",\r
+        "wires": [\r
+            [\r
+                "9b0d5a39.63ece8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d5060181.3d546",\r
+        "type": "switchNode",\r
+        "name": "license require?",\r
+        "xml": "<switch test='`$is.aai-license-update.require`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 475,\r
+        "y": 519,\r
+        "z": "150446f3.d47aa9",\r
+        "wires": [\r
+            [\r
+                "75b1fcca.18edd4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9b0d5a39.63ece8",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 665,\r
+        "y": 426,\r
+        "z": "150446f3.d47aa9",\r
+        "wires": [\r
+            [\r
+                "f26c05b5.ce1df8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "75b1fcca.18edd4",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 662,\r
+        "y": 519,\r
+        "z": "150446f3.d47aa9",\r
+        "wires": [\r
+            [\r
+                "ed1a5e9a.1ca9d"\r
+            ]\r
+        ]\r
+    }\r
+]\r
index 54fceda..5d8facf 100644 (file)
@@ -1 +1,216 @@
-[{"id":"26263816.d709e8","type":"dgstart","name":"DGSTART","outputs":1,"x":158,"y":73,"z":"a2800b0.adcd2f8","wires":[["84a7e8cd.6a93a8"]]},{"id":"84a7e8cd.6a93a8","type":"service-logic","name":"Appc-API 2.0.0.0","module":"Appc-API","version":"2.0.0.0","comments":"","xml":"<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='Appc-API' version='2.0.0.0'>","outputs":1,"x":320,"y":73,"z":"a2800b0.adcd2f8","wires":[["144b76ae.ab2f69"]]},{"id":"144b76ae.ab2f69","type":"method","name":"Method: Legacy Operation","xml":"<method rpc='legacy_operation' mode='sync'>\n","comments":"","outputs":1,"x":551,"y":73,"z":"a2800b0.adcd2f8","wires":[["fc80f6e2.339178"]]},{"id":"fc80f6e2.339178","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":234,"y":257,"z":"a2800b0.adcd2f8","wires":[["9eddb683.5db478","c3ead607.5a1818","a0c31fb9.980eb"]]},{"id":"9eddb683.5db478","type":"call","name":"call: legacy-operation-all","xml":"<call module='APPC' rpc='topology-operation-all' version='2.0.0' mode='sync' >\n","comments":"","outputs":1,"x":512,"y":322,"z":"a2800b0.adcd2f8","wires":[["a6c9fcec.35ea7","f4f22d6f.b464"]]},{"id":"c3ead607.5a1818","type":"returnSuccess","name":"return success","xml":"<return status='success'>\n","comments":"","x":479,"y":444,"z":"a2800b0.adcd2f8","wires":[]},{"id":"f4f22d6f.b464","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":740,"y":370,"z":"a2800b0.adcd2f8","wires":[["da7dbd7.b82e74"]]},{"id":"a6c9fcec.35ea7","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":736,"y":278,"z":"a2800b0.adcd2f8","wires":[["9b5ac116.42a4c"]]},{"id":"da7dbd7.b82e74","type":"execute","name":"Map Positive Response","xml":"<execute plugin='org.onap.appc.dg.common.LegacyUtil' method='convertPositiveResponse' >\n","comments":"","outputs":1,"x":917,"y":370,"z":"a2800b0.adcd2f8","wires":[["5318008f.8818d"]]},{"id":"5318008f.8818d","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":1120,"y":370,"z":"a2800b0.adcd2f8","wires":[[]]},{"id":"1a5b7135.777c5f","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n<parameter name='SvcLogic.status.code' value='`$error-code`' />\n<parameter name='org.onap.appc.dg.error' value='`$error-message`' />\n<parameter name='dg.status.message.param.errorMsg' value='`$error-message`' />\n","comments":"","x":1252,"y":278,"z":"a2800b0.adcd2f8","wires":[]},{"id":"a0c31fb9.980eb","type":"execute","name":"Prepare Request","xml":"<execute plugin='org.onap.appc.dg.common.LegacyUtil' method='prepareRequest' >\n","comments":"","outputs":1,"x":481,"y":215,"z":"a2800b0.adcd2f8","wires":[[]]},{"id":"9b5ac116.42a4c","type":"execute","name":"Map Negative Response","xml":"<execute plugin='org.onap.appc.dg.common.LegacyUtil' method='convertNegativeResponse' >\n","comments":"","outputs":1,"x":913,"y":278,"z":"a2800b0.adcd2f8","wires":[["4b6e2869.5987d8"]]},{"id":"4b6e2869.5987d8","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":1101,"y":278,"z":"a2800b0.adcd2f8","wires":[["1a5b7135.777c5f"]]}]
+[\r
+    {\r
+        "id": "26263816.d709e8",\r
+        "type": "dgstart",\r
+        "name": "DGSTART",\r
+        "outputs": 1,\r
+        "x": 158,\r
+        "y": 73,\r
+        "z": "a2800b0.adcd2f8",\r
+        "wires": [\r
+            [\r
+                "84a7e8cd.6a93a8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "84a7e8cd.6a93a8",\r
+        "type": "service-logic",\r
+        "name": "Appc-API 2.0.0.0",\r
+        "module": "Appc-API",\r
+        "version": "2.0.0.0",\r
+        "comments": "",\r
+        "xml": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='Appc-API' version='2.0.0.0'>",\r
+        "outputs": 1,\r
+        "x": 320,\r
+        "y": 73,\r
+        "z": "a2800b0.adcd2f8",\r
+        "wires": [\r
+            [\r
+                "144b76ae.ab2f69"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "144b76ae.ab2f69",\r
+        "type": "method",\r
+        "name": "Method: Legacy Operation",\r
+        "xml": "<method rpc='legacy_operation' mode='sync'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 551,\r
+        "y": 73,\r
+        "z": "a2800b0.adcd2f8",\r
+        "wires": [\r
+            [\r
+                "fc80f6e2.339178"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "fc80f6e2.339178",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 234,\r
+        "y": 257,\r
+        "z": "a2800b0.adcd2f8",\r
+        "wires": [\r
+            [\r
+                "9eddb683.5db478",\r
+                "c3ead607.5a1818",\r
+                "a0c31fb9.980eb"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9eddb683.5db478",\r
+        "type": "call",\r
+        "name": "call: legacy-operation-all",\r
+        "xml": "<call module='APPC' rpc='topology-operation-all' version='2.0.0' mode='sync' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 512,\r
+        "y": 322,\r
+        "z": "a2800b0.adcd2f8",\r
+        "wires": [\r
+            [\r
+                "a6c9fcec.35ea7",\r
+                "f4f22d6f.b464"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c3ead607.5a1818",\r
+        "type": "returnSuccess",\r
+        "name": "return success",\r
+        "xml": "<return status='success'>\n",\r
+        "comments": "",\r
+        "x": 479,\r
+        "y": 444,\r
+        "z": "a2800b0.adcd2f8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "f4f22d6f.b464",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 740,\r
+        "y": 370,\r
+        "z": "a2800b0.adcd2f8",\r
+        "wires": [\r
+            [\r
+                "da7dbd7.b82e74"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a6c9fcec.35ea7",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 736,\r
+        "y": 278,\r
+        "z": "a2800b0.adcd2f8",\r
+        "wires": [\r
+            [\r
+                "9b5ac116.42a4c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "da7dbd7.b82e74",\r
+        "type": "execute",\r
+        "name": "Map Positive Response",\r
+        "xml": "<execute plugin='org.onap.appc.dg.common.LegacyUtil' method='convertPositiveResponse' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 917,\r
+        "y": 370,\r
+        "z": "a2800b0.adcd2f8",\r
+        "wires": [\r
+            [\r
+                "5318008f.8818d"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "5318008f.8818d",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1120,\r
+        "y": 370,\r
+        "z": "a2800b0.adcd2f8",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "1a5b7135.777c5f",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n<parameter name='SvcLogic.status.code' value='`$error-code`' />\n<parameter name='org.onap.appc.dg.error' value='`$error-message`' />\n<parameter name='dg.status.message.param.errorMsg' value='`$error-message`' />\n",\r
+        "comments": "",\r
+        "x": 1252,\r
+        "y": 278,\r
+        "z": "a2800b0.adcd2f8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "a0c31fb9.980eb",\r
+        "type": "execute",\r
+        "name": "Prepare Request",\r
+        "xml": "<execute plugin='org.onap.appc.dg.common.LegacyUtil' method='prepareRequest' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 481,\r
+        "y": 215,\r
+        "z": "a2800b0.adcd2f8",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "9b5ac116.42a4c",\r
+        "type": "execute",\r
+        "name": "Map Negative Response",\r
+        "xml": "<execute plugin='org.onap.appc.dg.common.LegacyUtil' method='convertNegativeResponse' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 913,\r
+        "y": 278,\r
+        "z": "a2800b0.adcd2f8",\r
+        "wires": [\r
+            [\r
+                "4b6e2869.5987d8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "4b6e2869.5987d8",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1101,\r
+        "y": 278,\r
+        "z": "a2800b0.adcd2f8",\r
+        "wires": [\r
+            [\r
+                "1a5b7135.777c5f"\r
+            ]\r
+        ]\r
+    }\r
+]\r
index a9654d4..6475e23 100644 (file)
@@ -1 +1,718 @@
-[{"id":"a821f6e8.704ae8","type":"dgstart","name":"DGSTART","outputs":1,"x":114,"y":76,"z":"5c9ed2bf.7c802c","wires":[["225e9571.40dc9a"]]},{"id":"225e9571.40dc9a","type":"service-logic","name":"Appc-API 2.0.0.0","module":"Appc-API","version":"2.0.0.0","comments":"","xml":"<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='Appc-API' version='2.0.0.0'>","outputs":1,"x":276,"y":76,"z":"5c9ed2bf.7c802c","wires":[["658f8fd3.71418"]]},{"id":"658f8fd3.71418","type":"method","name":"Method: Return License","xml":"<method rpc='return_license' mode='sync'>\n","comments":"","outputs":1,"x":189,"y":205,"z":"5c9ed2bf.7c802c","wires":[["a1a70803.7a2338"]]},{"id":"757e67b1.7b4918","type":"execute","name":"execute: handleErrorToDCAE","xml":"<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"1.01\"/>\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"org.onap.appc.dg.error\" value=\"`$org.onap.appc.dg.error`\" />\n","comments":"","outputs":1,"x":1157,"y":285,"z":"5c9ed2bf.7c802c","wires":[[]]},{"id":"2a6a83b8.dd656c","type":"block","name":"block: atomic","xml":"<block atomic='true'>\n","atomic":"false","comments":"","outputs":1,"x":850,"y":323,"z":"5c9ed2bf.7c802c","wires":[["757e67b1.7b4918","f7406078.502ba"]]},{"id":"f7406078.502ba","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n<parameter name='error-message' value='`$org.onap.appc.dg.error`' />\n","comments":"","x":1211,"y":330,"z":"5c9ed2bf.7c802c","wires":[]},{"id":"b37c3449.de61c8","type":"execute","name":"execute: getVNFData","xml":"<execute plugin='org.onap.appc.dg.aai.AAIPlugin' method='getGenericVnfData' >","comments":"","outputs":1,"x":403,"y":324,"z":"5c9ed2bf.7c802c","wires":[["7b5ad420.2cdf2c"]]},{"id":"564c423c.4579bc","type":"set","name":"set","xml":"<set>\n\t<parameter name='aai.vnfID' value='`$input.action-identifiers.vnf-id`' />\n\t<parameter name='aai.prefix' value='aai.input.data' />\t","comments":"","x":359,"y":268,"z":"5c9ed2bf.7c802c","wires":[[]]},{"id":"a1a70803.7a2338","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":135,"y":300,"z":"5c9ed2bf.7c802c","wires":[["564c423c.4579bc","b37c3449.de61c8","fa5b213.83780e","fb350ce9.a1d8a","d7e6d28b.9fa3f"]]},{"id":"7b5ad420.2cdf2c","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":591,"y":324,"z":"5c9ed2bf.7c802c","wires":[["2a6a83b8.dd656c"]]},{"id":"88061c98.c83f4","type":"set","name":"set for entitlement","xml":"<set>\n\t<parameter name='model.uuid' value='`$model.entitlement.pool.uuid`' />\n\t<parameter name=\"asset-tag\" value='`$aai.input.data.entitlement-resource-uuid`' />\n\t<parameter name='aai.uuid' value='`$aai.input.data.entitlement-assignment-group-uuid`' />\n\t<parameter name='acquire.method' value='acquireEntitlement' />\n\t<parameter name='release.method' value='releaseEntitlement' />\n","comments":"","x":916,"y":406,"z":"5c9ed2bf.7c802c","wires":[[]]},{"id":"fa5b213.83780e","type":"returnSuccess","name":"return success","xml":"<return status='success'>\n","comments":"","x":328,"y":739,"z":"5c9ed2bf.7c802c","wires":[]},{"id":"7a6a9664.4a3d48","type":"set","name":"set for license","xml":"<set>\n\t<parameter name='model.uuid' value='`$model.license.key.uuid`' />\n\t<parameter name=\"asset-tag\" value=\"`$aai.input.data.license-key-uuid`\" />\n\t<parameter name=\"license-key\" value=\"`$aai.input.data.license-key`\" />\n\t<parameter name='aai.uuid' value='`$aai.input.data.license-assignment-group-uuid`' />\n\t<parameter name='acquire.method' value='acquireLicense' />\n\t<parameter name='release.method' value='releaseLicense' />","comments":"","x":927,"y":557,"z":"5c9ed2bf.7c802c","wires":[[]]},{"id":"1e6af15c.6796df","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":1147,"y":445,"z":"5c9ed2bf.7c802c","wires":[["5d49cf70.976ff"]]},{"id":"6aee4a8f.8f3c54","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1190,"y":529,"z":"5c9ed2bf.7c802c","wires":[["90c41eec.6a507"]]},{"id":"6f553242.ed52ec","type":"execute","name":"execute: handleErrorToDCAE","xml":"<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"1.01\"/>\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"org.onap.appc.dg.error\" value=\"`$org.onap.appc.dg.error`\" />\n","comments":"","outputs":1,"x":1856,"y":489,"z":"5c9ed2bf.7c802c","wires":[[]]},{"id":"90c41eec.6a507","type":"block","name":"block: atomic","xml":"<block atomic='true'>\n","atomic":"false","comments":"","outputs":1,"x":1546,"y":530,"z":"5c9ed2bf.7c802c","wires":[["6f553242.ed52ec","d863be45.ce93a","a2f6bf78.eaf73"]]},{"id":"d863be45.ce93a","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n<parameter name='error-message' value='`$acquire.error.error-message`' />\n","comments":"","x":1805,"y":529,"z":"5c9ed2bf.7c802c","wires":[]},{"id":"db23792b.9aee08","type":"execute","name":"execute: postVNFData","xml":"<execute plugin='org.onap.appc.dg.aai.AAIPlugin' method='postGenericVnfData' >\n\t<parameter name='aai.input.data.entitlement-resource-uuid' value='' />\n\t<parameter name='aai.input.data.entitlement-assignment-group-uuid' value='' />\n\n","comments":"","outputs":1,"x":936,"y":466,"z":"5c9ed2bf.7c802c","wires":[["1e6af15c.6796df","6aee4a8f.8f3c54"]]},{"id":"c5c3ef8a.d28ec","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1537,"y":388,"z":"5c9ed2bf.7c802c","wires":[["3f58fb6b.831104"]]},{"id":"a2f6bf78.eaf73","type":"set","name":"set","xml":"<set>\n\t<parameter name='org.onap.appc.dg.error' value='`$acquire.error.error-message`' />\n","comments":"","x":1788,"y":448,"z":"5c9ed2bf.7c802c","wires":[[]]},{"id":"a75a3561.3c2d78","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":1164,"y":617,"z":"5c9ed2bf.7c802c","wires":[["ff5b8e7e.ddf91"]]},{"id":"475bc485.88a2bc","type":"execute","name":"execute: handleErrorToDCAE","xml":"<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"1.01\"/>\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"org.onap.appc.dg.error\" value=\"`$org.onap.appc.dg.error`\" />\n","comments":"","outputs":1,"x":1857,"y":737,"z":"5c9ed2bf.7c802c","wires":[[]]},{"id":"17f18b32.25fa65","type":"block","name":"block: atomic","xml":"<block atomic='true'>\n","atomic":"false","comments":"","outputs":1,"x":1500,"y":741,"z":"5c9ed2bf.7c802c","wires":[["475bc485.88a2bc","fa1ced45.a923e","ba4f55b0.15deb8"]]},{"id":"fa1ced45.a923e","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n<parameter name='error-message' value='`$acquire.error.error-message`' />\n","comments":"","x":1810,"y":784,"z":"5c9ed2bf.7c802c","wires":[]},{"id":"56ccaad7.0d0aa4","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1247,"y":741,"z":"5c9ed2bf.7c802c","wires":[["17f18b32.25fa65"]]},{"id":"43cbdeae.fd16a","type":"execute","name":"execute: postVNFData","xml":"<execute plugin='org.onap.appc.dg.aai.AAIPlugin' method='postGenericVnfData' >\n\t<parameter name='aai.input.data.license-key-uuid' value='' />\n\t<parameter name='aai.input.data.license-key' value='' />\n\t<parameter name='aai.input.data.license-assignment-group-uuid' value='' />\n","comments":"","outputs":1,"x":950,"y":642,"z":"5c9ed2bf.7c802c","wires":[["a75a3561.3c2d78","56ccaad7.0d0aa4"]]},{"id":"32399c86.40db54","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1546,"y":617,"z":"5c9ed2bf.7c802c","wires":[["ce6a4c39.04928"]]},{"id":"ba4f55b0.15deb8","type":"set","name":"set","xml":"<set>\n\t<parameter name='org.onap.appc.dg.error' value='`$acquire.error.error-message`' />\n","comments":"","x":1785,"y":692,"z":"5c9ed2bf.7c802c","wires":[[]]},{"id":"5d49cf70.976ff","type":"execute","name":"execute: release entitlement","xml":"<execute plugin='org.openecomp.sdnc.sli.plugin.altsTools.AltsTools' method='releaseEntitlement' >\n    <parameter name=\"asset-uuid\" value=\"`$asset-tag`\" />\n\t<parameter name=\"assignment-group\" value=\"`$aai.uuid`\" />\n\t<parameter name=\"error-prefix\" value=\"acquire.error\" />\n\t<parameter name=\"prefix\" value=\"release.response\" />\n\t<parameter name=\"hostname\" value=\"`$input.action-identifiers.vnf-id`\" />\n\t<parameter name=\"vnf-id\" value=\"`$input.action-identifiers.vnf-id`\" />\n","comments":"","outputs":1,"x":1350,"y":445,"z":"5c9ed2bf.7c802c","wires":[["c5c3ef8a.d28ec","37b2a9ad.9b5076"]]},{"id":"9146d0a1.0e3d3","type":"execute","name":"execute: handleErrorToDCAE","xml":"<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"1.01\"/>\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"org.onap.appc.dg.error\" value=\"`$org.onap.appc.dg.error`\" />\n","comments":"","outputs":1,"x":2021,"y":365,"z":"5c9ed2bf.7c802c","wires":[[]]},{"id":"f839a87a.b2dfa8","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n<parameter name='error-message' value='`$org.onap.appc.dg.error`' />\n","comments":"","x":1972,"y":425,"z":"5c9ed2bf.7c802c","wires":[]},{"id":"37b2a9ad.9b5076","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":1551,"y":469,"z":"5c9ed2bf.7c802c","wires":[[]]},{"id":"ff5b8e7e.ddf91","type":"execute","name":"execute: release license","xml":"<execute plugin='org.openecomp.sdnc.sli.plugin.altsTools.AltsTools' method='releaseLicense' >\n    <parameter name=\"asset-uuid\" value=\"`$asset-tag`\" />\n\t<parameter name=\"assignment-group\" value=\"`$aai.uuid`\" />\n\t<parameter name=\"error-prefix\" value=\"acquire.error\" />\n\t<parameter name=\"prefix\" value=\"release.response\" />\n\t<parameter name=\"hostname\" value=\"`$input.action-identifiers.vnf-id`\" />\n\t<parameter name=\"vnf-id\" value=\"`$input.action-identifiers.vnf-id`\" />\n","comments":"","outputs":1,"x":1352,"y":617,"z":"5c9ed2bf.7c802c","wires":[["32399c86.40db54","97e9c364.5a077"]]},{"id":"1ff85d4c.b7dcb3","type":"execute","name":"execute: handleErrorToDCAE","xml":"<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"1.01\"/>\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"org.onap.appc.dg.error\" value=\"`$org.onap.appc.dg.error`\" />\n","comments":"","outputs":1,"x":1978,"y":617,"z":"5c9ed2bf.7c802c","wires":[[]]},{"id":"2221e1ef.b87a1e","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n<parameter name='error-message' value='`$org.onap.appc.dg.error`' />\n","comments":"","x":1966,"y":669,"z":"5c9ed2bf.7c802c","wires":[]},{"id":"97e9c364.5a077","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":1571,"y":671,"z":"5c9ed2bf.7c802c","wires":[[]]},{"id":"57f1d3d6.35cebc","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":715,"y":432,"z":"5c9ed2bf.7c802c","wires":[["88061c98.c83f4","db23792b.9aee08"]]},{"id":"4e053a22.9bacc4","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":724,"y":557,"z":"5c9ed2bf.7c802c","wires":[["7a6a9664.4a3d48","43cbdeae.fd16a"]]},{"id":"3f58fb6b.831104","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1724,"y":365,"z":"5c9ed2bf.7c802c","wires":[["8bea9f7.6b8d26","9146d0a1.0e3d3","f839a87a.b2dfa8"]]},{"id":"ce6a4c39.04928","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1713,"y":617,"z":"5c9ed2bf.7c802c","wires":[["1ff85d4c.b7dcb3","2221e1ef.b87a1e","579d777b.8d2698"]]},{"id":"fb350ce9.a1d8a","type":"switchNode","name":"release entitlement?","xml":"<switch test='`$is.release-entitlement.require`'>\n","comments":"","outputs":1,"x":381,"y":432,"z":"5c9ed2bf.7c802c","wires":[["97efa41.9e60358"]]},{"id":"97efa41.9e60358","type":"outcomeTrue","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":555,"y":432,"z":"5c9ed2bf.7c802c","wires":[["57f1d3d6.35cebc"]]},{"id":"d7e6d28b.9fa3f","type":"switchNode","name":"release license?","xml":"<switch test='`$is.release-license.require`'>\n","comments":"","outputs":1,"x":374,"y":557,"z":"5c9ed2bf.7c802c","wires":[["ea6be629.2eb328"]]},{"id":"ea6be629.2eb328","type":"outcomeTrue","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":548,"y":557,"z":"5c9ed2bf.7c802c","wires":[["4e053a22.9bacc4"]]},{"id":"8bea9f7.6b8d26","type":"execute","name":"execute: postVNFData","xml":"<execute plugin='org.onap.appc.dg.aai.AAIPlugin' method='postGenericVnfData' >\n\t<parameter name='aai.input.data.entitlement-resource-uuid' value='`$asset-tag`' />\n\t<parameter name='aai.input.data.entitlement-assignment-group-uuid' value='`$aai.uuid`' />\n\n","comments":"","outputs":1,"x":1996,"y":307,"z":"5c9ed2bf.7c802c","wires":[[]]},{"id":"579d777b.8d2698","type":"execute","name":"execute: postVNFData","xml":"<execute plugin='org.onap.appc.dg.aai.AAIPlugin' method='postGenericVnfData' >\n\t<parameter name='aai.input.data.license-key-uuid' value='`$asset-tag`' />\n\t<parameter name='aai.input.data.license-key' value='`$license-key`' />\n\t<parameter name='aai.input.data.license-assignment-group-uuid' value='`$aai.uuid`' />\n","comments":"","outputs":1,"x":1964,"y":566,"z":"5c9ed2bf.7c802c","wires":[[]]}]
+[\r
+    {\r
+        "id": "a821f6e8.704ae8",\r
+        "type": "dgstart",\r
+        "name": "DGSTART",\r
+        "outputs": 1,\r
+        "x": 114,\r
+        "y": 76,\r
+        "z": "5c9ed2bf.7c802c",\r
+        "wires": [\r
+            [\r
+                "225e9571.40dc9a"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "225e9571.40dc9a",\r
+        "type": "service-logic",\r
+        "name": "Appc-API 2.0.0.0",\r
+        "module": "Appc-API",\r
+        "version": "2.0.0.0",\r
+        "comments": "",\r
+        "xml": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='Appc-API' version='2.0.0.0'>",\r
+        "outputs": 1,\r
+        "x": 276,\r
+        "y": 76,\r
+        "z": "5c9ed2bf.7c802c",\r
+        "wires": [\r
+            [\r
+                "658f8fd3.71418"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "658f8fd3.71418",\r
+        "type": "method",\r
+        "name": "Method: Return License",\r
+        "xml": "<method rpc='return_license' mode='sync'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 189,\r
+        "y": 205,\r
+        "z": "5c9ed2bf.7c802c",\r
+        "wires": [\r
+            [\r
+                "a1a70803.7a2338"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "757e67b1.7b4918",\r
+        "type": "execute",\r
+        "name": "execute: handleErrorToDCAE",\r
+        "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"1.01\"/>\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"org.onap.appc.dg.error\" value=\"`$org.onap.appc.dg.error`\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1157,\r
+        "y": 285,\r
+        "z": "5c9ed2bf.7c802c",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "2a6a83b8.dd656c",\r
+        "type": "block",\r
+        "name": "block: atomic",\r
+        "xml": "<block atomic='true'>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 850,\r
+        "y": 323,\r
+        "z": "5c9ed2bf.7c802c",\r
+        "wires": [\r
+            [\r
+                "757e67b1.7b4918",\r
+                "f7406078.502ba"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f7406078.502ba",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n<parameter name='error-message' value='`$org.onap.appc.dg.error`' />\n",\r
+        "comments": "",\r
+        "x": 1211,\r
+        "y": 330,\r
+        "z": "5c9ed2bf.7c802c",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "b37c3449.de61c8",\r
+        "type": "execute",\r
+        "name": "execute: getVNFData",\r
+        "xml": "<execute plugin='org.onap.appc.dg.aai.AAIPlugin' method='getGenericVnfData' >",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 403,\r
+        "y": 324,\r
+        "z": "5c9ed2bf.7c802c",\r
+        "wires": [\r
+            [\r
+                "7b5ad420.2cdf2c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "564c423c.4579bc",\r
+        "type": "set",\r
+        "name": "set",\r
+        "xml": "<set>\n\t<parameter name='aai.vnfID' value='`$input.action-identifiers.vnf-id`' />\n\t<parameter name='aai.prefix' value='aai.input.data' />\t",\r
+        "comments": "",\r
+        "x": 359,\r
+        "y": 268,\r
+        "z": "5c9ed2bf.7c802c",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "a1a70803.7a2338",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 135,\r
+        "y": 300,\r
+        "z": "5c9ed2bf.7c802c",\r
+        "wires": [\r
+            [\r
+                "564c423c.4579bc",\r
+                "b37c3449.de61c8",\r
+                "fa5b213.83780e",\r
+                "fb350ce9.a1d8a",\r
+                "d7e6d28b.9fa3f"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "7b5ad420.2cdf2c",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 591,\r
+        "y": 324,\r
+        "z": "5c9ed2bf.7c802c",\r
+        "wires": [\r
+            [\r
+                "2a6a83b8.dd656c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "88061c98.c83f4",\r
+        "type": "set",\r
+        "name": "set for entitlement",\r
+        "xml": "<set>\n\t<parameter name='model.uuid' value='`$model.entitlement.pool.uuid`' />\n\t<parameter name=\"asset-tag\" value='`$aai.input.data.entitlement-resource-uuid`' />\n\t<parameter name='aai.uuid' value='`$aai.input.data.entitlement-assignment-group-uuid`' />\n\t<parameter name='acquire.method' value='acquireEntitlement' />\n\t<parameter name='release.method' value='releaseEntitlement' />\n",\r
+        "comments": "",\r
+        "x": 916,\r
+        "y": 406,\r
+        "z": "5c9ed2bf.7c802c",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "fa5b213.83780e",\r
+        "type": "returnSuccess",\r
+        "name": "return success",\r
+        "xml": "<return status='success'>\n",\r
+        "comments": "",\r
+        "x": 328,\r
+        "y": 739,\r
+        "z": "5c9ed2bf.7c802c",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "7a6a9664.4a3d48",\r
+        "type": "set",\r
+        "name": "set for license",\r
+        "xml": "<set>\n\t<parameter name='model.uuid' value='`$model.license.key.uuid`' />\n\t<parameter name=\"asset-tag\" value=\"`$aai.input.data.license-key-uuid`\" />\n\t<parameter name=\"license-key\" value=\"`$aai.input.data.license-key`\" />\n\t<parameter name='aai.uuid' value='`$aai.input.data.license-assignment-group-uuid`' />\n\t<parameter name='acquire.method' value='acquireLicense' />\n\t<parameter name='release.method' value='releaseLicense' />",\r
+        "comments": "",\r
+        "x": 927,\r
+        "y": 557,\r
+        "z": "5c9ed2bf.7c802c",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "1e6af15c.6796df",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1147,\r
+        "y": 445,\r
+        "z": "5c9ed2bf.7c802c",\r
+        "wires": [\r
+            [\r
+                "5d49cf70.976ff"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "6aee4a8f.8f3c54",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1190,\r
+        "y": 529,\r
+        "z": "5c9ed2bf.7c802c",\r
+        "wires": [\r
+            [\r
+                "90c41eec.6a507"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "6f553242.ed52ec",\r
+        "type": "execute",\r
+        "name": "execute: handleErrorToDCAE",\r
+        "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"1.01\"/>\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"org.onap.appc.dg.error\" value=\"`$org.onap.appc.dg.error`\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1856,\r
+        "y": 489,\r
+        "z": "5c9ed2bf.7c802c",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "90c41eec.6a507",\r
+        "type": "block",\r
+        "name": "block: atomic",\r
+        "xml": "<block atomic='true'>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1546,\r
+        "y": 530,\r
+        "z": "5c9ed2bf.7c802c",\r
+        "wires": [\r
+            [\r
+                "6f553242.ed52ec",\r
+                "d863be45.ce93a",\r
+                "a2f6bf78.eaf73"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d863be45.ce93a",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n<parameter name='error-message' value='`$acquire.error.error-message`' />\n",\r
+        "comments": "",\r
+        "x": 1805,\r
+        "y": 529,\r
+        "z": "5c9ed2bf.7c802c",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "db23792b.9aee08",\r
+        "type": "execute",\r
+        "name": "execute: postVNFData",\r
+        "xml": "<execute plugin='org.onap.appc.dg.aai.AAIPlugin' method='postGenericVnfData' >\n\t<parameter name='aai.input.data.entitlement-resource-uuid' value='' />\n\t<parameter name='aai.input.data.entitlement-assignment-group-uuid' value='' />\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 936,\r
+        "y": 466,\r
+        "z": "5c9ed2bf.7c802c",\r
+        "wires": [\r
+            [\r
+                "1e6af15c.6796df",\r
+                "6aee4a8f.8f3c54"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c5c3ef8a.d28ec",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1537,\r
+        "y": 388,\r
+        "z": "5c9ed2bf.7c802c",\r
+        "wires": [\r
+            [\r
+                "3f58fb6b.831104"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a2f6bf78.eaf73",\r
+        "type": "set",\r
+        "name": "set",\r
+        "xml": "<set>\n\t<parameter name='org.onap.appc.dg.error' value='`$acquire.error.error-message`' />\n",\r
+        "comments": "",\r
+        "x": 1788,\r
+        "y": 448,\r
+        "z": "5c9ed2bf.7c802c",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "a75a3561.3c2d78",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1164,\r
+        "y": 617,\r
+        "z": "5c9ed2bf.7c802c",\r
+        "wires": [\r
+            [\r
+                "ff5b8e7e.ddf91"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "475bc485.88a2bc",\r
+        "type": "execute",\r
+        "name": "execute: handleErrorToDCAE",\r
+        "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"1.01\"/>\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"org.onap.appc.dg.error\" value=\"`$org.onap.appc.dg.error`\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1857,\r
+        "y": 737,\r
+        "z": "5c9ed2bf.7c802c",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "17f18b32.25fa65",\r
+        "type": "block",\r
+        "name": "block: atomic",\r
+        "xml": "<block atomic='true'>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1500,\r
+        "y": 741,\r
+        "z": "5c9ed2bf.7c802c",\r
+        "wires": [\r
+            [\r
+                "475bc485.88a2bc",\r
+                "fa1ced45.a923e",\r
+                "ba4f55b0.15deb8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "fa1ced45.a923e",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n<parameter name='error-message' value='`$acquire.error.error-message`' />\n",\r
+        "comments": "",\r
+        "x": 1810,\r
+        "y": 784,\r
+        "z": "5c9ed2bf.7c802c",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "56ccaad7.0d0aa4",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1247,\r
+        "y": 741,\r
+        "z": "5c9ed2bf.7c802c",\r
+        "wires": [\r
+            [\r
+                "17f18b32.25fa65"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "43cbdeae.fd16a",\r
+        "type": "execute",\r
+        "name": "execute: postVNFData",\r
+        "xml": "<execute plugin='org.onap.appc.dg.aai.AAIPlugin' method='postGenericVnfData' >\n\t<parameter name='aai.input.data.license-key-uuid' value='' />\n\t<parameter name='aai.input.data.license-key' value='' />\n\t<parameter name='aai.input.data.license-assignment-group-uuid' value='' />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 950,\r
+        "y": 642,\r
+        "z": "5c9ed2bf.7c802c",\r
+        "wires": [\r
+            [\r
+                "a75a3561.3c2d78",\r
+                "56ccaad7.0d0aa4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "32399c86.40db54",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1546,\r
+        "y": 617,\r
+        "z": "5c9ed2bf.7c802c",\r
+        "wires": [\r
+            [\r
+                "ce6a4c39.04928"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ba4f55b0.15deb8",\r
+        "type": "set",\r
+        "name": "set",\r
+        "xml": "<set>\n\t<parameter name='org.onap.appc.dg.error' value='`$acquire.error.error-message`' />\n",\r
+        "comments": "",\r
+        "x": 1785,\r
+        "y": 692,\r
+        "z": "5c9ed2bf.7c802c",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "5d49cf70.976ff",\r
+        "type": "execute",\r
+        "name": "execute: release entitlement",\r
+        "xml": "<execute plugin='org.openecomp.sdnc.sli.plugin.altsTools.AltsTools' method='releaseEntitlement' >\n    <parameter name=\"asset-uuid\" value=\"`$asset-tag`\" />\n\t<parameter name=\"assignment-group\" value=\"`$aai.uuid`\" />\n\t<parameter name=\"error-prefix\" value=\"acquire.error\" />\n\t<parameter name=\"prefix\" value=\"release.response\" />\n\t<parameter name=\"hostname\" value=\"`$input.action-identifiers.vnf-id`\" />\n\t<parameter name=\"vnf-id\" value=\"`$input.action-identifiers.vnf-id`\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1350,\r
+        "y": 445,\r
+        "z": "5c9ed2bf.7c802c",\r
+        "wires": [\r
+            [\r
+                "c5c3ef8a.d28ec",\r
+                "37b2a9ad.9b5076"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9146d0a1.0e3d3",\r
+        "type": "execute",\r
+        "name": "execute: handleErrorToDCAE",\r
+        "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"1.01\"/>\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"org.onap.appc.dg.error\" value=\"`$org.onap.appc.dg.error`\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2021,\r
+        "y": 365,\r
+        "z": "5c9ed2bf.7c802c",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "f839a87a.b2dfa8",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n<parameter name='error-message' value='`$org.onap.appc.dg.error`' />\n",\r
+        "comments": "",\r
+        "x": 1972,\r
+        "y": 425,\r
+        "z": "5c9ed2bf.7c802c",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "37b2a9ad.9b5076",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1551,\r
+        "y": 469,\r
+        "z": "5c9ed2bf.7c802c",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "ff5b8e7e.ddf91",\r
+        "type": "execute",\r
+        "name": "execute: release license",\r
+        "xml": "<execute plugin='org.openecomp.sdnc.sli.plugin.altsTools.AltsTools' method='releaseLicense' >\n    <parameter name=\"asset-uuid\" value=\"`$asset-tag`\" />\n\t<parameter name=\"assignment-group\" value=\"`$aai.uuid`\" />\n\t<parameter name=\"error-prefix\" value=\"acquire.error\" />\n\t<parameter name=\"prefix\" value=\"release.response\" />\n\t<parameter name=\"hostname\" value=\"`$input.action-identifiers.vnf-id`\" />\n\t<parameter name=\"vnf-id\" value=\"`$input.action-identifiers.vnf-id`\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1352,\r
+        "y": 617,\r
+        "z": "5c9ed2bf.7c802c",\r
+        "wires": [\r
+            [\r
+                "32399c86.40db54",\r
+                "97e9c364.5a077"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "1ff85d4c.b7dcb3",\r
+        "type": "execute",\r
+        "name": "execute: handleErrorToDCAE",\r
+        "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"1.01\"/>\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"org.onap.appc.dg.error\" value=\"`$org.onap.appc.dg.error`\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1978,\r
+        "y": 617,\r
+        "z": "5c9ed2bf.7c802c",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "2221e1ef.b87a1e",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n<parameter name='error-message' value='`$org.onap.appc.dg.error`' />\n",\r
+        "comments": "",\r
+        "x": 1966,\r
+        "y": 669,\r
+        "z": "5c9ed2bf.7c802c",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "97e9c364.5a077",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1571,\r
+        "y": 671,\r
+        "z": "5c9ed2bf.7c802c",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "57f1d3d6.35cebc",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 715,\r
+        "y": 432,\r
+        "z": "5c9ed2bf.7c802c",\r
+        "wires": [\r
+            [\r
+                "88061c98.c83f4",\r
+                "db23792b.9aee08"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "4e053a22.9bacc4",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 724,\r
+        "y": 557,\r
+        "z": "5c9ed2bf.7c802c",\r
+        "wires": [\r
+            [\r
+                "7a6a9664.4a3d48",\r
+                "43cbdeae.fd16a"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "3f58fb6b.831104",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1724,\r
+        "y": 365,\r
+        "z": "5c9ed2bf.7c802c",\r
+        "wires": [\r
+            [\r
+                "8bea9f7.6b8d26",\r
+                "9146d0a1.0e3d3",\r
+                "f839a87a.b2dfa8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ce6a4c39.04928",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1713,\r
+        "y": 617,\r
+        "z": "5c9ed2bf.7c802c",\r
+        "wires": [\r
+            [\r
+                "1ff85d4c.b7dcb3",\r
+                "2221e1ef.b87a1e",\r
+                "579d777b.8d2698"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "fb350ce9.a1d8a",\r
+        "type": "switchNode",\r
+        "name": "release entitlement?",\r
+        "xml": "<switch test='`$is.release-entitlement.require`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 381,\r
+        "y": 432,\r
+        "z": "5c9ed2bf.7c802c",\r
+        "wires": [\r
+            [\r
+                "97efa41.9e60358"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "97efa41.9e60358",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 555,\r
+        "y": 432,\r
+        "z": "5c9ed2bf.7c802c",\r
+        "wires": [\r
+            [\r
+                "57f1d3d6.35cebc"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d7e6d28b.9fa3f",\r
+        "type": "switchNode",\r
+        "name": "release license?",\r
+        "xml": "<switch test='`$is.release-license.require`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 374,\r
+        "y": 557,\r
+        "z": "5c9ed2bf.7c802c",\r
+        "wires": [\r
+            [\r
+                "ea6be629.2eb328"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ea6be629.2eb328",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 548,\r
+        "y": 557,\r
+        "z": "5c9ed2bf.7c802c",\r
+        "wires": [\r
+            [\r
+                "4e053a22.9bacc4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "8bea9f7.6b8d26",\r
+        "type": "execute",\r
+        "name": "execute: postVNFData",\r
+        "xml": "<execute plugin='org.onap.appc.dg.aai.AAIPlugin' method='postGenericVnfData' >\n\t<parameter name='aai.input.data.entitlement-resource-uuid' value='`$asset-tag`' />\n\t<parameter name='aai.input.data.entitlement-assignment-group-uuid' value='`$aai.uuid`' />\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1996,\r
+        "y": 307,\r
+        "z": "5c9ed2bf.7c802c",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "579d777b.8d2698",\r
+        "type": "execute",\r
+        "name": "execute: postVNFData",\r
+        "xml": "<execute plugin='org.onap.appc.dg.aai.AAIPlugin' method='postGenericVnfData' >\n\t<parameter name='aai.input.data.license-key-uuid' value='`$asset-tag`' />\n\t<parameter name='aai.input.data.license-key' value='`$license-key`' />\n\t<parameter name='aai.input.data.license-assignment-group-uuid' value='`$aai.uuid`' />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1964,\r
+        "y": 566,\r
+        "z": "5c9ed2bf.7c802c",\r
+        "wires": [\r
+            []\r
+        ]\r
+    }\r
+]\r
index d60d452..9e875d3 100644 (file)
-[{
-  "id": "1f585ed.21154a1",
-  "type": "dgstart",
-  "name": "DGSTART",
-  "outputs": 1,
-  "x": 273.5182189941406,
-  "y": 642.9733276367188,
-  "z": "a8867a54.b68aa8",
-  "wires": [["26331bcc.5e4d34"]]
-},
-  {
-    "id": "26331bcc.5e4d34",
-    "type": "service-logic",
-    "name": "Appc-API 2.0.0.0",
-    "module": "Appc-API",
-    "version": "2.0.0.0",
-    "comments": "",
-    "xml": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='Appc-API' version='2.0.0.0'>",
-    "outputs": 1,
-    "x": 435.5182189941406,
-    "y": 642.9733276367188,
-    "z": "a8867a54.b68aa8",
-    "wires": [["af901d18.170e1"]]
-  },
-  {
-    "id": "af901d18.170e1",
-    "type": "method",
-    "name": "Method: Test Acquire License",
-    "xml": "<method rpc='test_acquire_license' mode='sync'>\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 669.5182189941406,
-    "y": 642.9733276367188,
-    "z": "a8867a54.b68aa8",
-    "wires": [["eea893d.1c1f87"]]
-  },
-  {
-    "id": "eea893d.1c1f87",
-    "type": "call",
-    "name": "call",
-    "xml": "<call module='Appc-API' rpc='acquire_license' version='2.0.0.0' mode='sync' >\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 558.5182189941406,
-    "y": 814.9733276367188,
-    "z": "a8867a54.b68aa8",
-    "wires": [["123a4493.e2fdeb",
-      "c7a4a585.615bc8"]]
-  },
-  {
-    "id": "123a4493.e2fdeb",
-    "type": "failure",
-    "name": "failure",
-    "xml": "<outcome value='failure'>\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 764.5182189941406,
-    "y": 776.9733276367188,
-    "z": "a8867a54.b68aa8",
-    "wires": [["8eac6bd.c7e3698"]]
-  },
-  {
-    "id": "c7a4a585.615bc8",
-    "type": "success",
-    "name": "success",
-    "xml": "<outcome value='success'>\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 782.5182189941406,
-    "y": 880.9733276367188,
-    "z": "a8867a54.b68aa8",
-    "wires": [["3c9cd402.4858fc"]]
-  },
-  {
-    "id": "8eac6bd.c7e3698",
-    "type": "returnFailure",
-    "name": "return failure",
-    "xml": "<return status='failure'>\n<parameter name='error-code' value='test _failed' />\n<parameter name='error-message' value='test failed' />\n<parameter name='output.status.code' value='401'/>\n<parameter name='output.status.message' value='test failed' />\n",
-    "comments": "",
-    "x": 950.5182189941406,
-    "y": 752.9733276367188,
-    "z": "a8867a54.b68aa8",
-    "wires": []
-  },
-  {
-    "id": "3c9cd402.4858fc",
-    "type": "returnSuccess",
-    "name": "return success",
-    "xml": "<return status='success'>",
-    "comments": "",
-    "x": 977.5182189941406,
-    "y": 928.9733276367188,
-    "z": "a8867a54.b68aa8",
-    "wires": []
-  }]
+[\r
+    {\r
+        "id": "1f585ed.21154a1",\r
+        "type": "dgstart",\r
+        "name": "DGSTART",\r
+        "outputs": 1,\r
+        "x": 273.5182189941406,\r
+        "y": 642.9733276367188,\r
+        "z": "a8867a54.b68aa8",\r
+        "wires": [\r
+            [\r
+                "26331bcc.5e4d34"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "26331bcc.5e4d34",\r
+        "type": "service-logic",\r
+        "name": "Appc-API 2.0.0.0",\r
+        "module": "Appc-API",\r
+        "version": "2.0.0.0",\r
+        "comments": "",\r
+        "xml": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='Appc-API' version='2.0.0.0'>",\r
+        "outputs": 1,\r
+        "x": 435.5182189941406,\r
+        "y": 642.9733276367188,\r
+        "z": "a8867a54.b68aa8",\r
+        "wires": [\r
+            [\r
+                "af901d18.170e1"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "af901d18.170e1",\r
+        "type": "method",\r
+        "name": "Method: Test Acquire License",\r
+        "xml": "<method rpc='test_acquire_license' mode='sync'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 669.5182189941406,\r
+        "y": 642.9733276367188,\r
+        "z": "a8867a54.b68aa8",\r
+        "wires": [\r
+            [\r
+                "eea893d.1c1f87"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "eea893d.1c1f87",\r
+        "type": "call",\r
+        "name": "call",\r
+        "xml": "<call module='Appc-API' rpc='acquire_license' version='2.0.0.0' mode='sync' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 558.5182189941406,\r
+        "y": 814.9733276367188,\r
+        "z": "a8867a54.b68aa8",\r
+        "wires": [\r
+            [\r
+                "123a4493.e2fdeb",\r
+                "c7a4a585.615bc8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "123a4493.e2fdeb",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 764.5182189941406,\r
+        "y": 776.9733276367188,\r
+        "z": "a8867a54.b68aa8",\r
+        "wires": [\r
+            [\r
+                "8eac6bd.c7e3698"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c7a4a585.615bc8",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 782.5182189941406,\r
+        "y": 880.9733276367188,\r
+        "z": "a8867a54.b68aa8",\r
+        "wires": [\r
+            [\r
+                "3c9cd402.4858fc"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "8eac6bd.c7e3698",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n<parameter name='error-code' value='test _failed' />\n<parameter name='error-message' value='test failed' />\n<parameter name='output.status.code' value='401'/>\n<parameter name='output.status.message' value='test failed' />\n",\r
+        "comments": "",\r
+        "x": 950.5182189941406,\r
+        "y": 752.9733276367188,\r
+        "z": "a8867a54.b68aa8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "3c9cd402.4858fc",\r
+        "type": "returnSuccess",\r
+        "name": "return success",\r
+        "xml": "<return status='success'>",\r
+        "comments": "",\r
+        "x": 977.5182189941406,\r
+        "y": 928.9733276367188,\r
+        "z": "a8867a54.b68aa8",\r
+        "wires": []\r
+    }\r
+]\r
index 61f7823..1f166ee 100644 (file)
@@ -1 +1,121 @@
-[{"id":"d93a521f.dda3e","type":"dgstart","name":"DGSTART","outputs":1,"x":197,"y":138,"z":"4f222e2c.956b4","wires":[["975aabef.83e3a8"]]},{"id":"975aabef.83e3a8","type":"service-logic","name":"Appc-API 2.0.0.0","module":"Appc-API","version":"2.0.0.0","comments":"","xml":"<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='Appc-API' version='2.0.0.0'>","outputs":1,"x":359,"y":138,"z":"4f222e2c.956b4","wires":[["9f9cc5c9.5af018"]]},{"id":"9f9cc5c9.5af018","type":"method","name":"Method: Test Acquire License","xml":"<method rpc='test_return_license' mode='sync'>\n","comments":"","outputs":1,"x":593,"y":138,"z":"4f222e2c.956b4","wires":[["2583bf34.8b519"]]},{"id":"2583bf34.8b519","type":"call","name":"call","xml":"<call module='Appc-API' rpc='return_license' version='2.0.0.0' mode='sync' >\n","comments":"","outputs":1,"x":482,"y":310,"z":"4f222e2c.956b4","wires":[["c2cc27ed.bf8738","4fa42394.3007fc"]]},{"id":"c2cc27ed.bf8738","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":688,"y":272,"z":"4f222e2c.956b4","wires":[["36221376.21b87c"]]},{"id":"4fa42394.3007fc","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":706,"y":376,"z":"4f222e2c.956b4","wires":[["a6e7fd7c.d99bb"]]},{"id":"36221376.21b87c","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n<parameter name='error-code' value='test _failed' />\n<parameter name='error-message' value='test failed' />\n","comments":"","x":874,"y":248,"z":"4f222e2c.956b4","wires":[]},{"id":"a6e7fd7c.d99bb","type":"returnSuccess","name":"return success","xml":"<return status='success'>","comments":"","x":901,"y":424,"z":"4f222e2c.956b4","wires":[]}]
+[\r
+    {\r
+        "id": "d93a521f.dda3e",\r
+        "type": "dgstart",\r
+        "name": "DGSTART",\r
+        "outputs": 1,\r
+        "x": 197,\r
+        "y": 138,\r
+        "z": "4f222e2c.956b4",\r
+        "wires": [\r
+            [\r
+                "975aabef.83e3a8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "975aabef.83e3a8",\r
+        "type": "service-logic",\r
+        "name": "Appc-API 2.0.0.0",\r
+        "module": "Appc-API",\r
+        "version": "2.0.0.0",\r
+        "comments": "",\r
+        "xml": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='Appc-API' version='2.0.0.0'>",\r
+        "outputs": 1,\r
+        "x": 359,\r
+        "y": 138,\r
+        "z": "4f222e2c.956b4",\r
+        "wires": [\r
+            [\r
+                "9f9cc5c9.5af018"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9f9cc5c9.5af018",\r
+        "type": "method",\r
+        "name": "Method: Test Acquire License",\r
+        "xml": "<method rpc='test_return_license' mode='sync'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 593,\r
+        "y": 138,\r
+        "z": "4f222e2c.956b4",\r
+        "wires": [\r
+            [\r
+                "2583bf34.8b519"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "2583bf34.8b519",\r
+        "type": "call",\r
+        "name": "call",\r
+        "xml": "<call module='Appc-API' rpc='return_license' version='2.0.0.0' mode='sync' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 482,\r
+        "y": 310,\r
+        "z": "4f222e2c.956b4",\r
+        "wires": [\r
+            [\r
+                "c2cc27ed.bf8738",\r
+                "4fa42394.3007fc"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c2cc27ed.bf8738",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 688,\r
+        "y": 272,\r
+        "z": "4f222e2c.956b4",\r
+        "wires": [\r
+            [\r
+                "36221376.21b87c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "4fa42394.3007fc",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 706,\r
+        "y": 376,\r
+        "z": "4f222e2c.956b4",\r
+        "wires": [\r
+            [\r
+                "a6e7fd7c.d99bb"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "36221376.21b87c",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n<parameter name='error-code' value='test _failed' />\n<parameter name='error-message' value='test failed' />\n",\r
+        "comments": "",\r
+        "x": 874,\r
+        "y": 248,\r
+        "z": "4f222e2c.956b4",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "a6e7fd7c.d99bb",\r
+        "type": "returnSuccess",\r
+        "name": "return success",\r
+        "xml": "<return status='success'>",\r
+        "comments": "",\r
+        "x": 901,\r
+        "y": 424,\r
+        "z": "4f222e2c.956b4",\r
+        "wires": []\r
+    }\r
+]\r
index 6b2b001..6dc5a57 100644 (file)
@@ -1 +1,467 @@
-[{"id":"763764f9.79221c","type":"execute","name":"execute: retrieveDSConfiguration","xml":"<execute plugin='org.onap.appc.dg.netconf.NetconfDBPlugin' method='retrieveDSConfiguration' >\n<parameter name=\"configuration-file-name\" value=\"`$configuration-file-name`\" />\n<parameter name=\"vnf-type\" value=\"`$vnf-type`\" />\n<parameter name=\"vnf-host-ip-address\" value=\"`$vnf-host-ip-address`\" />\n","comments":"","outputs":1,"x":395.9444122314453,"y":491.0000457763672,"z":"fb913a7d.732918","wires":[["2539510.b9781b","2e1dc2b0.977cce"]]},{"id":"2539510.b9781b","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":628.6111602783203,"y":549.2222442626953,"z":"fb913a7d.732918","wires":[["4d592641.1595d8"]]},{"id":"2e1dc2b0.977cce","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":625.7221832275391,"y":513.7778167724609,"z":"fb913a7d.732918","wires":[["eca6713a.6394e"]]},{"id":"4d592641.1595d8","type":"execute","name":"execute: operationStateValidation","xml":"<execute plugin='org.onap.appc.dg.netconf.NetconfClientPlugin' method='operationStateValidation' >\n<parameter name=\"vnf-host-ip-address\" value=\"`$vnf-host-ip-address`\" />\n<parameter name=\"org.onap.appc.vftype\" value=\"`$vnf-type`\" />\n","comments":"","outputs":1,"x":630.3888702392578,"y":613.2222137451172,"z":"fb913a7d.732918","wires":[["7c24254c.c9cb7c","7b464568.a7055c"]]},{"id":"7c24254c.c9cb7c","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":859.9444122314453,"y":578.4444732666016,"z":"fb913a7d.732918","wires":[["eca6713a.6394e"]]},{"id":"7b464568.a7055c","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":856.2779083251953,"y":625.2222137451172,"z":"fb913a7d.732918","wires":[["b09004a6.ff6eb8"]]},{"id":"b09004a6.ff6eb8","type":"execute","name":"execute: modifyConfiguration","xml":"<execute plugin='org.onap.appc.dg.netconf.NetconfClientPlugin' method='modifyConfiguration' >\n<parameter name=\"connection-details\" value=\"`$connection-details`\" />\n<parameter name=\"file-content\" value=\"`$file-content`\" />\n","comments":"","outputs":1,"x":723.0556182861328,"y":707.5554962158203,"z":"fb913a7d.732918","wires":[["f7c16fb0.faea8","bca9252e.3c05d8"]]},{"id":"f7c16fb0.faea8","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":940.9444122314453,"y":687.8889312744141,"z":"fb913a7d.732918","wires":[["eca6713a.6394e"]]},{"id":"bca9252e.3c05d8","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":945.1667022705078,"y":731.7777862548828,"z":"fb913a7d.732918","wires":[["5c0381d4.bfb8a"]]},{"id":"cbb153f7.c399","type":"execute","name":"execute: backupConfiguration","xml":"<execute plugin='org.onap.appc.dg.netconf.NetconfClientPlugin' method='backupConfiguration' >\n<parameter name=\"connection-details\" value=\"`$connection-details`\" />\n","comments":"","outputs":1,"x":850.2776641845703,"y":927.9999542236328,"z":"fb913a7d.732918","wires":[["d8669e30.15c2d","579be757.32a7d8"]]},{"id":"d8669e30.15c2d","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":1059.3888702392578,"y":903.7777862548828,"z":"fb913a7d.732918","wires":[["eca6713a.6394e"]]},{"id":"579be757.32a7d8","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":1063.9445343017578,"y":948.3333282470703,"z":"fb913a7d.732918","wires":[["a45f0f06.775bf"]]},{"id":"a45f0f06.775bf","type":"returnSuccess","name":"return success","xml":"<return status='success'>\n \t<parameter name='error-code' value='200' />","comments":"","x":1358.5001678466797,"y":947.4445037841797,"z":"fb913a7d.732918","wires":[]},{"id":"eca6713a.6394e","type":"execute","name":"execute: handleErrorToDCAE","xml":"<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"org.onap.appc.dg.error\" value=\"`$org.onap.appc.dg.error`\" />\n<parameter name='output.status.message' value=\"`$org.onap.appc.dg.error`\" />\n","comments":"","outputs":1,"x":1240.1667938232422,"y":520.3333740234375,"z":"fb913a7d.732918","wires":[["b7cefeae.7ab6c"]]},{"id":"5c0381d4.bfb8a","type":"execute","name":"execute: operationStateValidation","xml":"<execute plugin='org.onap.appc.dg.netconf.NetconfClientPlugin' method='operationStateValidation' >\n<parameter name=\"vnf-host-ip-address\" value=\"`$vnf-host-ip-address`\" />\n<parameter name=\"connection-details\" value=\"`$connection-details`\" />\n<parameter name=\"org.onap.appc.vftype\" value=\"`$vnf-type`\" />\n","comments":"","outputs":1,"x":728.6110992431641,"y":797.0000839233398,"z":"fb913a7d.732918","wires":[["420c3d12.5c9364","32e323ab.c2e17c"]]},{"id":"32e323ab.c2e17c","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":959.3888702392578,"y":832.7778549194336,"z":"fb913a7d.732918","wires":[["eca6713a.6394e"]]},{"id":"420c3d12.5c9364","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":956.2778472900391,"y":870.2222518920898,"z":"fb913a7d.732918","wires":[["cbb153f7.c399"]]},{"id":"91ad9785.d2b408","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n<parameter name='error-code' value=\"401\" />\n<parameter name='error-message' value=\"`$org.onap.appc.dg.error`\" />\n<parameter name='output.status.code' value='401'/>\n","comments":"","x":1590.7541046142578,"y":521.857177734375,"z":"fb913a7d.732918","wires":[]},{"id":"4edf3002.1258d","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":238.6111297607422,"y":356.9999694824219,"z":"fb913a7d.732918","wires":[["20a6444f.9a5ebc"]]},{"id":"a15e7bed.f739b8","type":"execute","name":"execute: getVNFData","xml":"<execute plugin='org.onap.appc.dg.aai.AAIPlugin' method='getGenericVnfData' >","comments":"","outputs":1,"x":254.6110076904297,"y":293.00006103515625,"z":"fb913a7d.732918","wires":[["4edf3002.1258d","3e864fff.be3c7"]]},{"id":"db7b3768.a07988","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":187.6111297607422,"y":232.00003051757812,"z":"fb913a7d.732918","wires":[["a15e7bed.f739b8","f2b5aee5.b9b0d"]]},{"id":"3e864fff.be3c7","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":569.6111297607422,"y":286.3332824707031,"z":"fb913a7d.732918","wires":[["be8ced87.d162c"]]},{"id":"f2b5aee5.b9b0d","type":"set","name":"set","xml":"<set>\n\t<parameter name='aai.vnfID' value='`$org.onap.appc.vfid`' />\n\t<parameter name='aai.prefix' value='aai.input.data' />\t","comments":"","x":412.6111297607422,"y":169.00003051757812,"z":"fb913a7d.732918","wires":[]},{"id":"88e1659f.7fb148","type":"method","name":"VSBG_ConfigModify","xml":"<method rpc='VSBG_ConfigModify' mode='sync'>\n","comments":"","outputs":1,"x":145.5,"y":167.77777099609375,"z":"fb913a7d.732918","wires":[["db7b3768.a07988"]]},{"id":"be8ced87.d162c","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n\n","comments":"","x":724.6111297607422,"y":286.3332824707031,"z":"fb913a7d.732918","wires":[]},{"id":"bf1e84f5.1bc6d8","type":"service-logic","name":"Appc-API 2.0.0.0","module":"Appc-API","version":"2.0.0.0","comments":"test service logic","xml":"<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='Appc-API' version='2.0.0.0'>","outputs":1,"x":86.5,"y":123.55555725097656,"z":"fb913a7d.732918","wires":[["88e1659f.7fb148"]]},{"id":"61be8d43.488194","type":"dgstart","name":"DGSTART","outputs":1,"x":75.61112976074219,"y":50,"z":"fb913a7d.732918","wires":[["bf1e84f5.1bc6d8"]]},{"id":"d521598b.c7a468","type":"set","name":"set","xml":"<set>\n\t<parameter name='org.onap.appc.vftype' value='`$aai.input.data.vnf-type`' />\t\n\t<parameter name='vnf-type' value='`$aai.input.data.vnf-type`' />","comments":"","x":528.6111297607422,"y":426,"z":"fb913a7d.732918","wires":[]},{"id":"20a6444f.9a5ebc","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":303.6111297607422,"y":427,"z":"fb913a7d.732918","wires":[["d521598b.c7a468","763764f9.79221c"]]},{"id":"b7cefeae.7ab6c","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":1441.9444122314453,"y":522,"z":"fb913a7d.732918","wires":[["91ad9785.d2b408"]]}]
+[\r
+    {\r
+        "id": "763764f9.79221c",\r
+        "type": "execute",\r
+        "name": "execute: retrieveDSConfiguration",\r
+        "xml": "<execute plugin='org.onap.appc.dg.netconf.NetconfDBPlugin' method='retrieveDSConfiguration' >\n<parameter name=\"configuration-file-name\" value=\"`$configuration-file-name`\" />\n<parameter name=\"vnf-type\" value=\"`$vnf-type`\" />\n<parameter name=\"vnf-host-ip-address\" value=\"`$vnf-host-ip-address`\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 395.9444122314453,\r
+        "y": 491.0000457763672,\r
+        "z": "fb913a7d.732918",\r
+        "wires": [\r
+            [\r
+                "2539510.b9781b",\r
+                "2e1dc2b0.977cce"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "2539510.b9781b",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 628.6111602783203,\r
+        "y": 549.2222442626953,\r
+        "z": "fb913a7d.732918",\r
+        "wires": [\r
+            [\r
+                "4d592641.1595d8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "2e1dc2b0.977cce",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 625.7221832275391,\r
+        "y": 513.7778167724609,\r
+        "z": "fb913a7d.732918",\r
+        "wires": [\r
+            [\r
+                "eca6713a.6394e"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "4d592641.1595d8",\r
+        "type": "execute",\r
+        "name": "execute: operationStateValidation",\r
+        "xml": "<execute plugin='org.onap.appc.dg.netconf.NetconfClientPlugin' method='operationStateValidation' >\n<parameter name=\"vnf-host-ip-address\" value=\"`$vnf-host-ip-address`\" />\n<parameter name=\"org.onap.appc.vftype\" value=\"`$vnf-type`\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 630.3888702392578,\r
+        "y": 613.2222137451172,\r
+        "z": "fb913a7d.732918",\r
+        "wires": [\r
+            [\r
+                "7c24254c.c9cb7c",\r
+                "7b464568.a7055c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "7c24254c.c9cb7c",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 859.9444122314453,\r
+        "y": 578.4444732666016,\r
+        "z": "fb913a7d.732918",\r
+        "wires": [\r
+            [\r
+                "eca6713a.6394e"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "7b464568.a7055c",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 856.2779083251953,\r
+        "y": 625.2222137451172,\r
+        "z": "fb913a7d.732918",\r
+        "wires": [\r
+            [\r
+                "b09004a6.ff6eb8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b09004a6.ff6eb8",\r
+        "type": "execute",\r
+        "name": "execute: modifyConfiguration",\r
+        "xml": "<execute plugin='org.onap.appc.dg.netconf.NetconfClientPlugin' method='modifyConfiguration' >\n<parameter name=\"connection-details\" value=\"`$connection-details`\" />\n<parameter name=\"file-content\" value=\"`$file-content`\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 723.0556182861328,\r
+        "y": 707.5554962158203,\r
+        "z": "fb913a7d.732918",\r
+        "wires": [\r
+            [\r
+                "f7c16fb0.faea8",\r
+                "bca9252e.3c05d8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f7c16fb0.faea8",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 940.9444122314453,\r
+        "y": 687.8889312744141,\r
+        "z": "fb913a7d.732918",\r
+        "wires": [\r
+            [\r
+                "eca6713a.6394e"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "bca9252e.3c05d8",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 945.1667022705078,\r
+        "y": 731.7777862548828,\r
+        "z": "fb913a7d.732918",\r
+        "wires": [\r
+            [\r
+                "5c0381d4.bfb8a"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "cbb153f7.c399",\r
+        "type": "execute",\r
+        "name": "execute: backupConfiguration",\r
+        "xml": "<execute plugin='org.onap.appc.dg.netconf.NetconfClientPlugin' method='backupConfiguration' >\n<parameter name=\"connection-details\" value=\"`$connection-details`\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 850.2776641845703,\r
+        "y": 927.9999542236328,\r
+        "z": "fb913a7d.732918",\r
+        "wires": [\r
+            [\r
+                "d8669e30.15c2d",\r
+                "579be757.32a7d8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d8669e30.15c2d",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1059.3888702392578,\r
+        "y": 903.7777862548828,\r
+        "z": "fb913a7d.732918",\r
+        "wires": [\r
+            [\r
+                "eca6713a.6394e"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "579be757.32a7d8",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1063.9445343017578,\r
+        "y": 948.3333282470703,\r
+        "z": "fb913a7d.732918",\r
+        "wires": [\r
+            [\r
+                "a45f0f06.775bf"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a45f0f06.775bf",\r
+        "type": "returnSuccess",\r
+        "name": "return success",\r
+        "xml": "<return status='success'>\n \t<parameter name='error-code' value='200' />",\r
+        "comments": "",\r
+        "x": 1358.5001678466797,\r
+        "y": 947.4445037841797,\r
+        "z": "fb913a7d.732918",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "eca6713a.6394e",\r
+        "type": "execute",\r
+        "name": "execute: handleErrorToDCAE",\r
+        "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"org.onap.appc.dg.error\" value=\"`$org.onap.appc.dg.error`\" />\n<parameter name='output.status.message' value=\"`$org.onap.appc.dg.error`\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1240.1667938232422,\r
+        "y": 520.3333740234375,\r
+        "z": "fb913a7d.732918",\r
+        "wires": [\r
+            [\r
+                "b7cefeae.7ab6c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "5c0381d4.bfb8a",\r
+        "type": "execute",\r
+        "name": "execute: operationStateValidation",\r
+        "xml": "<execute plugin='org.onap.appc.dg.netconf.NetconfClientPlugin' method='operationStateValidation' >\n<parameter name=\"vnf-host-ip-address\" value=\"`$vnf-host-ip-address`\" />\n<parameter name=\"connection-details\" value=\"`$connection-details`\" />\n<parameter name=\"org.onap.appc.vftype\" value=\"`$vnf-type`\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 728.6110992431641,\r
+        "y": 797.0000839233398,\r
+        "z": "fb913a7d.732918",\r
+        "wires": [\r
+            [\r
+                "420c3d12.5c9364",\r
+                "32e323ab.c2e17c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "32e323ab.c2e17c",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 959.3888702392578,\r
+        "y": 832.7778549194336,\r
+        "z": "fb913a7d.732918",\r
+        "wires": [\r
+            [\r
+                "eca6713a.6394e"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "420c3d12.5c9364",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 956.2778472900391,\r
+        "y": 870.2222518920898,\r
+        "z": "fb913a7d.732918",\r
+        "wires": [\r
+            [\r
+                "cbb153f7.c399"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "91ad9785.d2b408",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n<parameter name='error-code' value=\"401\" />\n<parameter name='error-message' value=\"`$org.onap.appc.dg.error`\" />\n<parameter name='output.status.code' value='401'/>\n",\r
+        "comments": "",\r
+        "x": 1590.7541046142578,\r
+        "y": 521.857177734375,\r
+        "z": "fb913a7d.732918",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "4edf3002.1258d",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 238.6111297607422,\r
+        "y": 356.9999694824219,\r
+        "z": "fb913a7d.732918",\r
+        "wires": [\r
+            [\r
+                "20a6444f.9a5ebc"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a15e7bed.f739b8",\r
+        "type": "execute",\r
+        "name": "execute: getVNFData",\r
+        "xml": "<execute plugin='org.onap.appc.dg.aai.AAIPlugin' method='getGenericVnfData' >",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 254.6110076904297,\r
+        "y": 293.00006103515625,\r
+        "z": "fb913a7d.732918",\r
+        "wires": [\r
+            [\r
+                "4edf3002.1258d",\r
+                "3e864fff.be3c7"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "db7b3768.a07988",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 187.6111297607422,\r
+        "y": 232.00003051757812,\r
+        "z": "fb913a7d.732918",\r
+        "wires": [\r
+            [\r
+                "a15e7bed.f739b8",\r
+                "f2b5aee5.b9b0d"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "3e864fff.be3c7",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 569.6111297607422,\r
+        "y": 286.3332824707031,\r
+        "z": "fb913a7d.732918",\r
+        "wires": [\r
+            [\r
+                "be8ced87.d162c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f2b5aee5.b9b0d",\r
+        "type": "set",\r
+        "name": "set",\r
+        "xml": "<set>\n\t<parameter name='aai.vnfID' value='`$org.onap.appc.vfid`' />\n\t<parameter name='aai.prefix' value='aai.input.data' />\t",\r
+        "comments": "",\r
+        "x": 412.6111297607422,\r
+        "y": 169.00003051757812,\r
+        "z": "fb913a7d.732918",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "88e1659f.7fb148",\r
+        "type": "method",\r
+        "name": "VSBG_ConfigModify",\r
+        "xml": "<method rpc='VSBG_ConfigModify' mode='sync'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 145.5,\r
+        "y": 167.77777099609375,\r
+        "z": "fb913a7d.732918",\r
+        "wires": [\r
+            [\r
+                "db7b3768.a07988"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "be8ced87.d162c",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n\n",\r
+        "comments": "",\r
+        "x": 724.6111297607422,\r
+        "y": 286.3332824707031,\r
+        "z": "fb913a7d.732918",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "bf1e84f5.1bc6d8",\r
+        "type": "service-logic",\r
+        "name": "Appc-API 2.0.0.0",\r
+        "module": "Appc-API",\r
+        "version": "2.0.0.0",\r
+        "comments": "test service logic",\r
+        "xml": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='Appc-API' version='2.0.0.0'>",\r
+        "outputs": 1,\r
+        "x": 86.5,\r
+        "y": 123.55555725097656,\r
+        "z": "fb913a7d.732918",\r
+        "wires": [\r
+            [\r
+                "88e1659f.7fb148"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "61be8d43.488194",\r
+        "type": "dgstart",\r
+        "name": "DGSTART",\r
+        "outputs": 1,\r
+        "x": 75.61112976074219,\r
+        "y": 50,\r
+        "z": "fb913a7d.732918",\r
+        "wires": [\r
+            [\r
+                "bf1e84f5.1bc6d8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d521598b.c7a468",\r
+        "type": "set",\r
+        "name": "set",\r
+        "xml": "<set>\n\t<parameter name='org.onap.appc.vftype' value='`$aai.input.data.vnf-type`' />\t\n\t<parameter name='vnf-type' value='`$aai.input.data.vnf-type`' />",\r
+        "comments": "",\r
+        "x": 528.6111297607422,\r
+        "y": 426,\r
+        "z": "fb913a7d.732918",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "20a6444f.9a5ebc",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 303.6111297607422,\r
+        "y": 427,\r
+        "z": "fb913a7d.732918",\r
+        "wires": [\r
+            [\r
+                "d521598b.c7a468",\r
+                "763764f9.79221c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b7cefeae.7ab6c",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1441.9444122314453,\r
+        "y": 522,\r
+        "z": "fb913a7d.732918",\r
+        "wires": [\r
+            [\r
+                "91ad9785.d2b408"\r
+            ]\r
+        ]\r
+    }\r
+]\r
index 2ca1972..55da5e6 100644 (file)
@@ -1 +1,563 @@
-[{"id":"6e90cbf4.57f244","type":"execute","name":"execute: retrieveDSConfiguration","xml":"<execute plugin='org.onap.appc.dg.netconf.NetconfDBPlugin' method='retrieveDSConfiguration' >\n<parameter name=\"configuration-file-name\" value=\"`$configuration-file-name`\" />\n<parameter name=\"vnf-type\" value=\"`$vnf-type`\" />\n<parameter name=\"vnf-host-ip-address\" value=\"`$vnf-host-ip-address`\" />\n","comments":"","outputs":1,"x":459.9444122314453,"y":572.0000457763672,"z":"2154d119.c59cae","wires":[["38318271.82e40e","5435f9ee.d438b8"]]},{"id":"38318271.82e40e","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":691.6111602783203,"y":630.2222366333008,"z":"2154d119.c59cae","wires":[["a5fd395b.4ff8d8"]]},{"id":"5435f9ee.d438b8","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":688.7221832275391,"y":594.7778091430664,"z":"2154d119.c59cae","wires":[["7849e9fc.2f1158"]]},{"id":"a5fd395b.4ff8d8","type":"execute","name":"execute: operationStateValidation","xml":"<execute plugin='org.onap.appc.dg.netconf.NetconfClientPlugin' method='operationStateValidation' >\n<parameter name=\"vnf-host-ip-address\" value=\"`$vnf-host-ip-address`\" />\n<parameter name=\"org.onap.appc.vftype\" value=\"`$vnf-type`\" />\n","comments":"","outputs":1,"x":693.3888702392578,"y":694.2222061157227,"z":"2154d119.c59cae","wires":[["7649ccd1.4bdf84","740ae685.f59378"]]},{"id":"7649ccd1.4bdf84","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":922.9444122314453,"y":659.444465637207,"z":"2154d119.c59cae","wires":[["7849e9fc.2f1158"]]},{"id":"740ae685.f59378","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":919.2779083251953,"y":706.2222061157227,"z":"2154d119.c59cae","wires":[["3efc3f7e.f0b8a"]]},{"id":"3efc3f7e.f0b8a","type":"execute","name":"execute: modifyConfiguration","xml":"<execute plugin='org.onap.appc.dg.netconf.NetconfClientPlugin' method='modifyConfiguration' >\n<parameter name=\"connection-details\" value=\"`$connection-details`\" />\n<parameter name=\"file-content\" value=\"`$file-content`\" />\n","comments":"","outputs":1,"x":786.0556182861328,"y":788.5554885864258,"z":"2154d119.c59cae","wires":[["25e0354c.1ecdca","1da66879.acaae8"]]},{"id":"25e0354c.1ecdca","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":1003.9444122314453,"y":768.8889236450195,"z":"2154d119.c59cae","wires":[["7849e9fc.2f1158"]]},{"id":"1da66879.acaae8","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":1008.1667022705078,"y":812.7777786254883,"z":"2154d119.c59cae","wires":[["ed4bb0ee.a817b"]]},{"id":"4cf1e455.d66afc","type":"execute","name":"execute: backupConfiguration","xml":"<execute plugin='org.onap.appc.dg.netconf.NetconfClientPlugin' method='backupConfiguration' >\n<parameter name=\"connection-details\" value=\"`$connection-details`\" />\n","comments":"","outputs":1,"x":913.2776641845703,"y":1008.9999465942383,"z":"2154d119.c59cae","wires":[["b404baeb.0bde98","9b814969.6f3608"]]},{"id":"b404baeb.0bde98","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":1122.3888702392578,"y":984.7777786254883,"z":"2154d119.c59cae","wires":[["7849e9fc.2f1158"]]},{"id":"9b814969.6f3608","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":1126.9445343017578,"y":1029.3333206176758,"z":"2154d119.c59cae","wires":[["e3c4236.d2566e"]]},{"id":"e3c4236.d2566e","type":"returnSuccess","name":"return success","xml":"<return status='success'>\n \t<parameter name='error-code' value='200' />","comments":"","x":1421.5001678466797,"y":1028.4444961547852,"z":"2154d119.c59cae","wires":[]},{"id":"7849e9fc.2f1158","type":"execute","name":"execute: handleErrorToDCAE","xml":"<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"org.onap.appc.dg.error\" value=\"`$org.onap.appc.dg.error`\" />\n<parameter name='output.status.message' value=\"`$org.onap.appc.dg.error`\" />\n","comments":"","outputs":1,"x":1303.1667938232422,"y":601.333366394043,"z":"2154d119.c59cae","wires":[["c37ed5f7.c740d8"]]},{"id":"9dbac36f.19414","type":"execute","name":"execute: operationStateValidation","xml":"<execute plugin='org.onap.appc.dg.netconf.NetconfClientPlugin' method='operationStateValidation' >\n<parameter name=\"vnf-host-ip-address\" value=\"`$vnf-host-ip-address`\" />\n<parameter name=\"connection-details\" value=\"`$connection-details`\" />\n<parameter name=\"org.onap.appc.vftype\" value=\"`$vnf-type`\" />\n","comments":"","outputs":1,"x":783.6110992431641,"y":926.0000839233398,"z":"2154d119.c59cae","wires":[["ee5204f1.5fc5a8","f3c87dda.9f642"]]},{"id":"f3c87dda.9f642","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":1022.3888702392578,"y":913.7778472900391,"z":"2154d119.c59cae","wires":[["7849e9fc.2f1158"]]},{"id":"ee5204f1.5fc5a8","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":1019.2778472900391,"y":951.2222442626953,"z":"2154d119.c59cae","wires":[["4cf1e455.d66afc"]]},{"id":"31e43d90.09d0a2","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n<parameter name='error-code' value=\"401\" />\n<parameter name='error-message' value=\"`$org.onap.appc.dg.error`\" />\n<parameter name='output.status.code' value='401'/>\n","comments":"","x":1654.7541046142578,"y":600.857177734375,"z":"2154d119.c59cae","wires":[]},{"id":"be651903.a128e8","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":301.6111297607422,"y":437.99996185302734,"z":"2154d119.c59cae","wires":[["ab704a00.f6bbb8"]]},{"id":"a790a4ce.9e7338","type":"execute","name":"execute: getVNFData","xml":"<execute plugin='org.onap.appc.dg.aai.AAIPlugin' method='getGenericVnfData' >","comments":"","outputs":1,"x":317.6110076904297,"y":374.0000534057617,"z":"2154d119.c59cae","wires":[["be651903.a128e8","c1565864.3b15e8"]]},{"id":"77c31558.fceebc","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":250.6111297607422,"y":313.0000228881836,"z":"2154d119.c59cae","wires":[["a790a4ce.9e7338","2404d9f.4f73826"]]},{"id":"c1565864.3b15e8","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":632.6111297607422,"y":367.3332748413086,"z":"2154d119.c59cae","wires":[["5c6f5002.5ff8"]]},{"id":"2404d9f.4f73826","type":"set","name":"set","xml":"<set>\n\t<parameter name='aai.vnfID' value=\"`$input.action-identifiers.vnf-id`\" />\n\t<parameter name='aai.prefix' value='aai.input.data' />\t","comments":"","x":450.6111297607422,"y":271.0000228881836,"z":"2154d119.c59cae","wires":[]},{"id":"595cefd2.9c438","type":"method","name":"VSBG_ConfigModify","xml":"<method rpc='VSBG_ConfigModify' mode='sync'>\n","comments":"","outputs":1,"x":145.5,"y":155.77777099609375,"z":"2154d119.c59cae","wires":[["e9fea7b9.249258"]]},{"id":"5c6f5002.5ff8","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n\n","comments":"","x":787.6111297607422,"y":367.3332748413086,"z":"2154d119.c59cae","wires":[]},{"id":"47fccc9e.8c4124","type":"service-logic","name":"Appc-API 2.0.0.1","module":"Appc-API","version":"2.0.0.1","comments":"test service logic","xml":"<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='Appc-API' version='2.0.0.1'>","outputs":1,"x":86.5,"y":111.55555725097656,"z":"2154d119.c59cae","wires":[["595cefd2.9c438"]]},{"id":"b1b41791.e43b18","type":"dgstart","name":"DGSTART","outputs":1,"x":75.61112976074219,"y":38,"z":"2154d119.c59cae","wires":[["47fccc9e.8c4124"]]},{"id":"62fb4de8.cacb14","type":"set","name":"set","xml":"<set>\n\t<parameter name='org.onap.appc.vftype' value='`$aai.input.data.vnf-type`' />\t\n\t<parameter name='vnf-type' value='`$aai.input.data.vnf-type`' />","comments":"","x":591.6111297607422,"y":506.99999237060547,"z":"2154d119.c59cae","wires":[]},{"id":"ab704a00.f6bbb8","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":366.6111297607422,"y":507.99999237060547,"z":"2154d119.c59cae","wires":[["62fb4de8.cacb14","6e90cbf4.57f244"]]},{"id":"e9fea7b9.249258","type":"execute","name":"execute: flatAndAddToContext","xml":"<execute plugin='org.onap.appc.dg.common.JsonDgUtil' method='flatAndAddToContext' >\n<parameter name=\"payload\" value=\"`$input.payload`\" />","comments":"","outputs":1,"x":231.2777557373047,"y":229.6666488647461,"z":"2154d119.c59cae","wires":[["1b3a064b.30350a","7eab1cec.af2814"]]},{"id":"1b3a064b.30350a","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":243.9444122314453,"y":273.6666488647461,"z":"2154d119.c59cae","wires":[["77c31558.fceebc"]]},{"id":"7eab1cec.af2814","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":470.9444122314453,"y":130.66666412353516,"z":"2154d119.c59cae","wires":[[]]},{"id":"ed4bb0ee.a817b","type":"execute","name":"Report_Success_in_ModifyConfig","xml":"<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='reportSuccess' >\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"output.status.message\" value=\"ModifyConfig event executed successfully\" />","comments":"","outputs":1,"x":766.9443511962891,"y":843.6667098999023,"z":"2154d119.c59cae","wires":[["2c09cc84.3d9894","f4239d49.350f8"]]},{"id":"2c09cc84.3d9894","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":704.9444122314453,"y":892.6667098999023,"z":"2154d119.c59cae","wires":[["9dbac36f.19414"]]},{"id":"f4239d49.350f8","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1027.9444122314453,"y":859.6667098999023,"z":"2154d119.c59cae","wires":[["7849e9fc.2f1158"]]},{"id":"c37ed5f7.c740d8","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":1506.9444122314453,"y":601,"z":"2154d119.c59cae","wires":[["31e43d90.09d0a2"]]}]
+[\r
+    {\r
+        "id": "6e90cbf4.57f244",\r
+        "type": "execute",\r
+        "name": "execute: retrieveDSConfiguration",\r
+        "xml": "<execute plugin='org.onap.appc.dg.netconf.NetconfDBPlugin' method='retrieveDSConfiguration' >\n<parameter name=\"configuration-file-name\" value=\"`$configuration-file-name`\" />\n<parameter name=\"vnf-type\" value=\"`$vnf-type`\" />\n<parameter name=\"vnf-host-ip-address\" value=\"`$vnf-host-ip-address`\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 459.9444122314453,\r
+        "y": 572.0000457763672,\r
+        "z": "2154d119.c59cae",\r
+        "wires": [\r
+            [\r
+                "38318271.82e40e",\r
+                "5435f9ee.d438b8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "38318271.82e40e",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 691.6111602783203,\r
+        "y": 630.2222366333008,\r
+        "z": "2154d119.c59cae",\r
+        "wires": [\r
+            [\r
+                "a5fd395b.4ff8d8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "5435f9ee.d438b8",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 688.7221832275391,\r
+        "y": 594.7778091430664,\r
+        "z": "2154d119.c59cae",\r
+        "wires": [\r
+            [\r
+                "7849e9fc.2f1158"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a5fd395b.4ff8d8",\r
+        "type": "execute",\r
+        "name": "execute: operationStateValidation",\r
+        "xml": "<execute plugin='org.onap.appc.dg.netconf.NetconfClientPlugin' method='operationStateValidation' >\n<parameter name=\"vnf-host-ip-address\" value=\"`$vnf-host-ip-address`\" />\n<parameter name=\"org.onap.appc.vftype\" value=\"`$vnf-type`\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 693.3888702392578,\r
+        "y": 694.2222061157227,\r
+        "z": "2154d119.c59cae",\r
+        "wires": [\r
+            [\r
+                "7649ccd1.4bdf84",\r
+                "740ae685.f59378"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "7649ccd1.4bdf84",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 922.9444122314453,\r
+        "y": 659.444465637207,\r
+        "z": "2154d119.c59cae",\r
+        "wires": [\r
+            [\r
+                "7849e9fc.2f1158"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "740ae685.f59378",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 919.2779083251953,\r
+        "y": 706.2222061157227,\r
+        "z": "2154d119.c59cae",\r
+        "wires": [\r
+            [\r
+                "3efc3f7e.f0b8a"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "3efc3f7e.f0b8a",\r
+        "type": "execute",\r
+        "name": "execute: modifyConfiguration",\r
+        "xml": "<execute plugin='org.onap.appc.dg.netconf.NetconfClientPlugin' method='modifyConfiguration' >\n<parameter name=\"connection-details\" value=\"`$connection-details`\" />\n<parameter name=\"file-content\" value=\"`$file-content`\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 786.0556182861328,\r
+        "y": 788.5554885864258,\r
+        "z": "2154d119.c59cae",\r
+        "wires": [\r
+            [\r
+                "25e0354c.1ecdca",\r
+                "1da66879.acaae8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "25e0354c.1ecdca",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1003.9444122314453,\r
+        "y": 768.8889236450195,\r
+        "z": "2154d119.c59cae",\r
+        "wires": [\r
+            [\r
+                "7849e9fc.2f1158"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "1da66879.acaae8",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1008.1667022705078,\r
+        "y": 812.7777786254883,\r
+        "z": "2154d119.c59cae",\r
+        "wires": [\r
+            [\r
+                "ed4bb0ee.a817b"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "4cf1e455.d66afc",\r
+        "type": "execute",\r
+        "name": "execute: backupConfiguration",\r
+        "xml": "<execute plugin='org.onap.appc.dg.netconf.NetconfClientPlugin' method='backupConfiguration' >\n<parameter name=\"connection-details\" value=\"`$connection-details`\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 913.2776641845703,\r
+        "y": 1008.9999465942383,\r
+        "z": "2154d119.c59cae",\r
+        "wires": [\r
+            [\r
+                "b404baeb.0bde98",\r
+                "9b814969.6f3608"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b404baeb.0bde98",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1122.3888702392578,\r
+        "y": 984.7777786254883,\r
+        "z": "2154d119.c59cae",\r
+        "wires": [\r
+            [\r
+                "7849e9fc.2f1158"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9b814969.6f3608",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1126.9445343017578,\r
+        "y": 1029.3333206176758,\r
+        "z": "2154d119.c59cae",\r
+        "wires": [\r
+            [\r
+                "e3c4236.d2566e"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e3c4236.d2566e",\r
+        "type": "returnSuccess",\r
+        "name": "return success",\r
+        "xml": "<return status='success'>\n \t<parameter name='error-code' value='200' />",\r
+        "comments": "",\r
+        "x": 1421.5001678466797,\r
+        "y": 1028.4444961547852,\r
+        "z": "2154d119.c59cae",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "7849e9fc.2f1158",\r
+        "type": "execute",\r
+        "name": "execute: handleErrorToDCAE",\r
+        "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"org.onap.appc.dg.error\" value=\"`$org.onap.appc.dg.error`\" />\n<parameter name='output.status.message' value=\"`$org.onap.appc.dg.error`\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1303.1667938232422,\r
+        "y": 601.333366394043,\r
+        "z": "2154d119.c59cae",\r
+        "wires": [\r
+            [\r
+                "c37ed5f7.c740d8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9dbac36f.19414",\r
+        "type": "execute",\r
+        "name": "execute: operationStateValidation",\r
+        "xml": "<execute plugin='org.onap.appc.dg.netconf.NetconfClientPlugin' method='operationStateValidation' >\n<parameter name=\"vnf-host-ip-address\" value=\"`$vnf-host-ip-address`\" />\n<parameter name=\"connection-details\" value=\"`$connection-details`\" />\n<parameter name=\"org.onap.appc.vftype\" value=\"`$vnf-type`\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 783.6110992431641,\r
+        "y": 926.0000839233398,\r
+        "z": "2154d119.c59cae",\r
+        "wires": [\r
+            [\r
+                "ee5204f1.5fc5a8",\r
+                "f3c87dda.9f642"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f3c87dda.9f642",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1022.3888702392578,\r
+        "y": 913.7778472900391,\r
+        "z": "2154d119.c59cae",\r
+        "wires": [\r
+            [\r
+                "7849e9fc.2f1158"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ee5204f1.5fc5a8",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1019.2778472900391,\r
+        "y": 951.2222442626953,\r
+        "z": "2154d119.c59cae",\r
+        "wires": [\r
+            [\r
+                "4cf1e455.d66afc"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "31e43d90.09d0a2",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n<parameter name='error-code' value=\"401\" />\n<parameter name='error-message' value=\"`$org.onap.appc.dg.error`\" />\n<parameter name='output.status.code' value='401'/>\n",\r
+        "comments": "",\r
+        "x": 1654.7541046142578,\r
+        "y": 600.857177734375,\r
+        "z": "2154d119.c59cae",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "be651903.a128e8",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 301.6111297607422,\r
+        "y": 437.99996185302734,\r
+        "z": "2154d119.c59cae",\r
+        "wires": [\r
+            [\r
+                "ab704a00.f6bbb8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a790a4ce.9e7338",\r
+        "type": "execute",\r
+        "name": "execute: getVNFData",\r
+        "xml": "<execute plugin='org.onap.appc.dg.aai.AAIPlugin' method='getGenericVnfData' >",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 317.6110076904297,\r
+        "y": 374.0000534057617,\r
+        "z": "2154d119.c59cae",\r
+        "wires": [\r
+            [\r
+                "be651903.a128e8",\r
+                "c1565864.3b15e8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "77c31558.fceebc",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 250.6111297607422,\r
+        "y": 313.0000228881836,\r
+        "z": "2154d119.c59cae",\r
+        "wires": [\r
+            [\r
+                "a790a4ce.9e7338",\r
+                "2404d9f.4f73826"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c1565864.3b15e8",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 632.6111297607422,\r
+        "y": 367.3332748413086,\r
+        "z": "2154d119.c59cae",\r
+        "wires": [\r
+            [\r
+                "5c6f5002.5ff8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "2404d9f.4f73826",\r
+        "type": "set",\r
+        "name": "set",\r
+        "xml": "<set>\n\t<parameter name='aai.vnfID' value=\"`$input.action-identifiers.vnf-id`\" />\n\t<parameter name='aai.prefix' value='aai.input.data' />\t",\r
+        "comments": "",\r
+        "x": 450.6111297607422,\r
+        "y": 271.0000228881836,\r
+        "z": "2154d119.c59cae",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "595cefd2.9c438",\r
+        "type": "method",\r
+        "name": "VSBG_ConfigModify",\r
+        "xml": "<method rpc='VSBG_ConfigModify' mode='sync'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 145.5,\r
+        "y": 155.77777099609375,\r
+        "z": "2154d119.c59cae",\r
+        "wires": [\r
+            [\r
+                "e9fea7b9.249258"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "5c6f5002.5ff8",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n\n",\r
+        "comments": "",\r
+        "x": 787.6111297607422,\r
+        "y": 367.3332748413086,\r
+        "z": "2154d119.c59cae",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "47fccc9e.8c4124",\r
+        "type": "service-logic",\r
+        "name": "Appc-API 2.0.0.1",\r
+        "module": "Appc-API",\r
+        "version": "2.0.0.1",\r
+        "comments": "test service logic",\r
+        "xml": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='Appc-API' version='2.0.0.1'>",\r
+        "outputs": 1,\r
+        "x": 86.5,\r
+        "y": 111.55555725097656,\r
+        "z": "2154d119.c59cae",\r
+        "wires": [\r
+            [\r
+                "595cefd2.9c438"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b1b41791.e43b18",\r
+        "type": "dgstart",\r
+        "name": "DGSTART",\r
+        "outputs": 1,\r
+        "x": 75.61112976074219,\r
+        "y": 38,\r
+        "z": "2154d119.c59cae",\r
+        "wires": [\r
+            [\r
+                "47fccc9e.8c4124"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "62fb4de8.cacb14",\r
+        "type": "set",\r
+        "name": "set",\r
+        "xml": "<set>\n\t<parameter name='org.onap.appc.vftype' value='`$aai.input.data.vnf-type`' />\t\n\t<parameter name='vnf-type' value='`$aai.input.data.vnf-type`' />",\r
+        "comments": "",\r
+        "x": 591.6111297607422,\r
+        "y": 506.99999237060547,\r
+        "z": "2154d119.c59cae",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "ab704a00.f6bbb8",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 366.6111297607422,\r
+        "y": 507.99999237060547,\r
+        "z": "2154d119.c59cae",\r
+        "wires": [\r
+            [\r
+                "62fb4de8.cacb14",\r
+                "6e90cbf4.57f244"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e9fea7b9.249258",\r
+        "type": "execute",\r
+        "name": "execute: flatAndAddToContext",\r
+        "xml": "<execute plugin='org.onap.appc.dg.common.JsonDgUtil' method='flatAndAddToContext' >\n<parameter name=\"payload\" value=\"`$input.payload`\" />",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 231.2777557373047,\r
+        "y": 229.6666488647461,\r
+        "z": "2154d119.c59cae",\r
+        "wires": [\r
+            [\r
+                "1b3a064b.30350a",\r
+                "7eab1cec.af2814"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "1b3a064b.30350a",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 243.9444122314453,\r
+        "y": 273.6666488647461,\r
+        "z": "2154d119.c59cae",\r
+        "wires": [\r
+            [\r
+                "77c31558.fceebc"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "7eab1cec.af2814",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 470.9444122314453,\r
+        "y": 130.66666412353516,\r
+        "z": "2154d119.c59cae",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "ed4bb0ee.a817b",\r
+        "type": "execute",\r
+        "name": "Report_Success_in_ModifyConfig",\r
+        "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='reportSuccess' >\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"output.status.message\" value=\"ModifyConfig event executed successfully\" />",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 766.9443511962891,\r
+        "y": 843.6667098999023,\r
+        "z": "2154d119.c59cae",\r
+        "wires": [\r
+            [\r
+                "2c09cc84.3d9894",\r
+                "f4239d49.350f8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "2c09cc84.3d9894",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 704.9444122314453,\r
+        "y": 892.6667098999023,\r
+        "z": "2154d119.c59cae",\r
+        "wires": [\r
+            [\r
+                "9dbac36f.19414"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f4239d49.350f8",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1027.9444122314453,\r
+        "y": 859.6667098999023,\r
+        "z": "2154d119.c59cae",\r
+        "wires": [\r
+            [\r
+                "7849e9fc.2f1158"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c37ed5f7.c740d8",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1506.9444122314453,\r
+        "y": 601,\r
+        "z": "2154d119.c59cae",\r
+        "wires": [\r
+            [\r
+                "31e43d90.09d0a2"\r
+            ]\r
+        ]\r
+    }\r
+]\r
index 9d2d805..4ebbfa0 100644 (file)
@@ -1,77 +1,86 @@
-# MODULE NAME:RPC NAME:VERSION:MODE
-# Example -> APPC:GetDeviceRunningConfiguration:3.0.0:sync
-APPC:CheckConfigStatus:4.0.0:sync
-APPC:CommonConfiguration:4.0.0:sync
-APPC:Configure:4.0.0:sync
-APPC:DownloadCliConfig:4.0.0:sync
-APPC:DownloadIsbcConfig:4.0.0:sync
-APPC:DownloadRestconfConfig:4.0.0:sync
-APPC:DownloadSBGConfig:4.0.0:sync
-APPC:DownloadvIRCChefConfig:4.0.0:sync
-APPC:DownloadXmlConfig:4.0.0:sync
-APPC:GenerateTemplateConfig:4.0.0:sync
-APPC:GetConfigParams:4.0.0:sync
-APPC:GetDeviceRunningConfig:4.0.0:sync
-APPC:GenerateConfig:4.0.0:sync
-APPC:SaveRunningConfig:4.0.0:sync
-APPC:SetStatus:4.0.0:sync
-APPC:UpdateAaiInfo:4.0.0:sync
-APPC:GetAaiInfo:4.0.0:sync
-APPC:GetVfModuleInfo:4.0.0:sync
-APPC:ProcessParameterDefinition:4.0.0:sync
-APPC:PublishConfiguration:4.0.0:sync
-APPC:topology-operation-all:2.0.0:sync
-ASDC-MESSAGE:configuration-document-request:3.0.0:sync
-
-Appc-API:service-configuration-operation:4.0.0:sync
-Appc-API:service-configuration-prepare:4.0.0:sync
-Appc-API:service-configuration-activate:4.0.0:sync
-Appc-API:service-configuration-backup:4.0.0:sync
-Appc-API:service-configuration-notification:4.0.0:sync
-Appc-API:audit-configuration-operation:4.0.0:sync
-Appc-API:audit-configuration-notification:4.0.0:sync
-Appc-API:update-aai:4.0.0:sync
-Appc-API:update-aai-sbg:4.0.0:sync
-Appc-API:update-vserver-info:4.0.0:sync
-Appc-API:update-vnfc-info:4.0.0:sync
-
-Appc-API:Generic_Evacuate:2.0.0:sync
-
-#
-APPC:GetRunningConfig:2.0.0:sync
-APPC:Restart-Active-Active_VNFC:2.0.0:sync
-APPC:Restart-Active-Passive_VNFC:2.0.0:sync
-APPC:Check-Active_VNFC_vSCP:2.0.0:sync
-APPC:HealthCheck_VNF_vSCP:2.0.0:sync
-APPC:Restart_VNF:2.0.0:sync
-APPC:Restart_VNFC:2.0.0:sync
-APPC:Restart_VM:2.0.0:sync
-APPC:Stop_VNFC:2.0.2:sync
-APPC:Stop_VNF:2.0.2:sync
-APPC:StopVM_VM:2.0.0:sync
-APPC:Stop_VM:2.0.0:sync
-APPC:StopApplication_VM_vSCP:2.0.0:sync
-APPC:Generic_Sync:2.0.0:sync
-APPC:Generic_Audit:2.0.0:sync
-APPC:Start_VNF:2.0.0:sync
-APPC:Start_VNFC:2.0.0:sync
-APPC:Start_VM:2.0.0:sync
-APPC:StartApplication_VM_vSCP:2.0.0:sync
-APPC:RestartVM_VM:2.0.0:sync
-APPC:Rebuild_VM:2.0.0:sync
-
-APPC:EvacuateVM:2.0.0:sync
-APPC:RebuildVM:2.0.0:sync
-APPC:CreateSnapShotVM:2.0.0:sync
-APPC:MigrateVM:2.0.0:sync
-APPC:RestartVMCommonFlow:2.0.0:sync
-APPC:RestartVMVNFCommonFlow:2.0.0:sync
-
-APPC:setInputParams:4:0:0:sync
-APPC:healthcheck:4:0:0:sync
-APPC:chef:4:0:0sync
-APPC:ansible-adapter-1.0:4:0:0:sync
-APPC:Generic_AnsibleDG:4:0:0:sync
-APPC:GetTemplateConfig_Ansible:4:0:0:sync
-APPC:GetTemplateConfig_Chef:4:0:0:sync
-APPC_Generic_ChefDG:4:0:0:sync
+# MODULE NAME:RPC NAME:VERSION:MODE\r
+# Example -> APPC:GetDeviceRunningConfiguration:3.0.0:sync\r
+APPC:CheckConfigStatus:4.0.0:sync\r
+APPC:CommonConfiguration:4.0.0:sync\r
+APPC:Configure:4.0.0:sync\r
+APPC:DownloadCliConfig:4.0.0:sync\r
+APPC:DownloadIsbcConfig:4.0.0:sync\r
+APPC:DownloadRestconfConfig:4.0.0:sync\r
+APPC:DownloadSBGConfig:4.0.0:sync\r
+APPC:DownloadvIRCChefConfig:4.0.0:sync\r
+APPC:DownloadXmlConfig:4.0.0:sync\r
+APPC:GenerateTemplateConfig:4.0.0:sync\r
+APPC:GetConfigParams:4.0.0:sync\r
+APPC:GetDeviceRunningConfig:4.0.0:sync\r
+APPC:GenerateConfig:4.0.0:sync\r
+APPC:SaveRunningConfig:4.0.0:sync\r
+APPC:SetStatus:4.0.0:sync\r
+APPC:UpdateAaiInfo:4.0.0:sync\r
+APPC:GetAaiInfo:4.0.0:sync\r
+APPC:GetVfModuleInfo:4.0.0:sync\r
+APPC:ProcessParameterDefinition:4.0.0:sync\r
+APPC:PublishConfiguration:4.0.0:sync\r
+APPC:topology-operation-all:2.0.0:sync\r
+SDC-MESSAGE:configuration-document-request:3.0.0:sync\r
+\r
+Appc-API:service-configuration-operation:4.0.0:sync\r
+Appc-API:service-configuration-prepare:4.0.0:sync\r
+Appc-API:service-configuration-activate:4.0.0:sync\r
+Appc-API:service-configuration-backup:4.0.0:sync\r
+Appc-API:service-configuration-notification:4.0.0:sync\r
+Appc-API:audit-configuration-operation:4.0.0:sync\r
+Appc-API:audit-configuration-notification:4.0.0:sync\r
+Appc-API:update-aai:4.0.0:sync\r
+Appc-API:update-aai-sbg:4.0.0:sync\r
+Appc-API:update-vserver-info:4.0.0:sync\r
+Appc-API:update-vnfc-info:4.0.0:sync\r
+\r
+Appc-API:Generic_Evacuate:2.0.0:sync\r
+\r
+#\r
+APPC:GetRunningConfig:2.0.0:sync\r
+APPC:Restart-Active-Active_VNFC:2.0.0:sync\r
+APPC:Restart-Active-Passive_VNFC:2.0.0:sync\r
+APPC:Check-Active_VNFC_vSCP:2.0.0:sync\r
+APPC:HealthCheck_VNF_vSCP:2.0.0:sync\r
+APPC:Restart_VNF:2.0.0:sync\r
+APPC:Restart_VNFC:2.0.0:sync\r
+APPC:Restart_VM:2.0.0:sync\r
+APPC:Stop_VNFC:2.0.2:sync\r
+APPC:Stop_VNF:2.0.2:sync\r
+APPC:StopVM_VM:2.0.0:sync\r
+APPC:Stop_VM:2.0.0:sync\r
+APPC:StopApplication_VM_vSCP:2.0.0:sync\r
+APPC:Generic_Sync:2.0.0:sync\r
+APPC:Generic_Audit:2.0.0:sync\r
+APPC:Start_VNF:2.0.0:sync\r
+APPC:Start_VNFC:2.0.0:sync\r
+APPC:Start_VM:2.0.0:sync\r
+APPC:StartApplication_VM_vSCP:2.0.0:sync\r
+APPC:RestartVM_VM:2.0.0:sync\r
+APPC:Rebuild_VM:2.0.0:sync\r
+\r
+APPC:EvacuateVM:2.0.0:sync\r
+APPC:RebuildVM:2.0.0:sync\r
+APPC:CreateSnapShotVM:2.0.0:sync\r
+APPC:MigrateVM:2.0.0:sync\r
+APPC:RestartVMCommonFlow:2.0.0:sync\r
+APPC:RestartVMVNFCommonFlow:2.0.0:sync\r
+\r
+APPC:setInputParams:4.0.0:sync\r
+APPC:healthcheck:4.0.0:sync\r
+APPC:chef:3.0.0:sync\r
+APPC:ansible-adapter-1.0:2.0.1:sync\r
+APPC:Generic_AnsibleDG:4.0.0:sync\r
+APPC:GetTemplateConfig_Ansible:4.0.0:sync\r
+APPC:GetTemplateConfig_Chef:4.0.0:sync\r
+APPC:Generic_ChefDG:4.0.0:sync\r
+APPC:loadTeamplate:4.0.0:sync\r
+APPC:MergeTemplateData:4.0.0:sync\r
+APPC:UpdateAaiforPayloadInput:4.0.0:sync\r
+APPC:UpdateAaiforReferenceData:4.0.0:sync\r
+APPC:DGOrchestrator:4.0.0:sync\r
+APPC:VM_Start:2.0.0:sync\r
+APPC:VM_Stop:2.0.0:sync\r
+APPC:AttachVolumeVM:4.0.0:sync\r
+APPC:DetachVolumeVM:4.0.0:sync
\ No newline at end of file