aboutsummaryrefslogtreecommitdiffstats
path: root/appc-directed-graph/appc-dgraph/provider/src/main
diff options
context:
space:
mode:
authorTaka <tc012c@att.com>2017-12-22 17:01:22 -0500
committerTaka <tc012c@att.com>2017-12-22 17:03:53 -0500
commit8d08b3b9314dbb5eb15cd278fb50fc35b1cc8fdd (patch)
treed2b298ab52e90781c9af8ec34b22aea3905b8424 /appc-directed-graph/appc-dgraph/provider/src/main
parent79e06aed697580577579f8d4e4e844dd773fb613 (diff)
Platform Hardening for DG Json files - Part 5
Change-Id: If1d1b8090c6f932c1b383e0be3d942bc9d082fae Issue-ID: APPC-305 Signed-off-by: Taka <tc012c@att.com>
Diffstat (limited to 'appc-directed-graph/appc-dgraph/provider/src/main')
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_MergeTemplateData.json1366
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_MigrateVM.json275
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_ProcessParameterDefinition.json1312
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_PublishConfiguration.json539
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_RebuildVM.json275
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_RestartVMCommonFlow.json275
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_RestartVNFVMCommonFlow.json1045
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_SaveRunningConfig.json656
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_SetStatus.json439
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_UpdateAaiInfo.json602
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_UpdateAaiforPayloadInput.json1121
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_UpdateAaiforReferenceData.json328
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_VM_Start.json514
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_VM_Stop.json514
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_ansible-adapter-1.0.json237
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_chef.json1078
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_healthcheck.json230
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_loadTeamplate.json1092
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_method_DownloadvIRCChefConfig_4.0.0.json316
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_method_Generic_Restart.json2845
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_method_topology-operation-all_2.0.0.json1464
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_setInputParams.json2695
22 files changed, 13475 insertions, 5743 deletions
diff --git a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_MergeTemplateData.json b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_MergeTemplateData.json
index caf5b0215..a31d950ad 100644
--- a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_MergeTemplateData.json
+++ b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_MergeTemplateData.json
@@ -1,683 +1,683 @@
-[
- {
- "comments": "",
- "id": "8ee93af3.e76758",
- "name": "switch config-type",
- "outputs": 1,
- "type": "switchNode",
- "wires": [
- [
- "617b6511.320aec",
- "d2208875.808258"
- ]
- ],
- "x": 431.6666564941406,
- "xml": "<switch test='`$config-type`'>\n",
- "y": 315.8253974914551,
- "z": "a49375c8.88c748"
- },
- {
- "comments": "",
- "id": "617b6511.320aec",
- "name": "outcome: template",
- "outputs": 1,
- "type": "success",
- "wires": [
- [
- "9708e2c6.a3ce4"
- ]
- ],
- "x": 649.8214435577393,
- "xml": "<outcome value=\"template\">",
- "y": 317.1111030578613,
- "z": "a49375c8.88c748"
- },
- {
- "comments": "",
- "id": "6f91db3d.8b0924",
- "name": "call: GenerateTemplateConfig",
- "outputs": 1,
- "type": "call",
- "wires": [
- [
- "75d7daa7.8058a4",
- "6a26f541.aa907c"
- ]
- ],
- "x": 1061.4881992340088,
- "xml": "<call module=\"APPC\" rpc=\"GenerateTemplateConfig\" mode=\"sync\">",
- "y": 447.36110496520996,
- "z": "a49375c8.88c748"
- },
- {
- "comments": "",
- "id": "75d7daa7.8058a4",
- "name": "not-found",
- "outputs": 1,
- "type": "failure",
- "wires": [
- [
- "314e0e4f.5adb22"
- ]
- ],
- "x": 1292.0713901519775,
- "xml": "<outcome value='not-found'>\n",
- "y": 448.02779388427734,
- "z": "a49375c8.88c748"
- },
- {
- "atomic": "true",
- "comments": null,
- "id": "314e0e4f.5adb22",
- "name": "block : atomic",
- "outputs": 1,
- "type": "block",
- "wires": [
- [
- "bdc01df2.1a5d8"
- ]
- ],
- "x": 1464.488145828247,
- "xml": "<block atomic=\"true\">",
- "y": 447.6944193840027,
- "z": "a49375c8.88c748"
- },
- {
- "comments": "",
- "id": "bdc01df2.1a5d8",
- "name": "return failure",
- "type": "returnFailure",
- "wires": [],
- "x": 1658.5714015960693,
- "xml": "<return status=\"failure\">\n\t<parameter name=\"error-code\" value=\"401\"/>\n\t<parameter name=\"error-message\" value=\"'DG Workflow GenerateTemplateConfig not found'`\"/>\n\t",
- "y": 448.44441986083984,
- "z": "a49375c8.88c748"
- },
- {
- "comments": "",
- "id": "6a26f541.aa907c",
- "name": "failure",
- "outputs": 1,
- "type": "failure",
- "wires": [
- [
- "7ba894b.5d3a46c"
- ]
- ],
- "x": 1292.1547679901123,
- "xml": "<outcome value='failure'>\n",
- "y": 506.527792930603,
- "z": "a49375c8.88c748"
- },
- {
- "atomic": "true",
- "comments": null,
- "id": "7ba894b.5d3a46c",
- "name": "block : atomic",
- "outputs": 1,
- "type": "block",
- "wires": [
- [
- "9728b5f9.536268"
- ]
- ],
- "x": 1467.154893875122,
- "xml": "<block atomic=\"true\">",
- "y": 507.027792930603,
- "z": "a49375c8.88c748"
- },
- {
- "comments": "",
- "id": "9728b5f9.536268",
- "name": "return failure",
- "type": "returnFailure",
- "wires": [],
- "x": 1667.988145828247,
- "xml": "<return status=\"failure\">\n\t\n\t",
- "y": 507.44441986083984,
- "z": "a49375c8.88c748"
- },
- {
- "comments": "",
- "id": "7e6e5c1a.29c4a4",
- "info": "",
- "name": "templatename cases",
- "type": "comment",
- "wires": [],
- "x": 642.7381381988525,
- "y": 370.4444465637207,
- "z": "a49375c8.88c748"
- },
- {
- "comments": "",
- "id": "37b38554.dad0ca",
- "info": "",
- "name": "merge ASDC template and data",
- "type": "comment",
- "wires": [],
- "x": 968.9881381988525,
- "y": 674.0277881622314,
- "z": "a49375c8.88c748"
- },
- {
- "comments": "",
- "id": "63a29ad8.8e05e4",
- "info": "",
- "name": "configBlock with or without parameters",
- "type": "comment",
- "wires": [],
- "x": 620.9881076812744,
- "y": 647.8611078262329,
- "z": "a49375c8.88c748"
- },
- {
- "atomic": "true",
- "comments": null,
- "id": "9708e2c6.a3ce4",
- "name": "block : atomic",
- "outputs": 1,
- "type": "block",
- "wires": [
- [
- "6f91db3d.8b0924",
- "9ebb8ed8.eaa4e"
- ]
- ],
- "x": 843.904821395874,
- "xml": "<block atomic=\"true\">",
- "y": 318.5277290344238,
- "z": "a49375c8.88c748"
- },
- {
- "comments": "",
- "id": "9ebb8ed8.eaa4e",
- "name": "execute getTemplate",
- "outputs": 1,
- "type": "execute",
- "wires": [
- [
- "367ba220.8bea8e",
- "8c4d147f.36cf68"
- ]
- ],
- "x": 1048.8214511871338,
- "xml": "<execute plugin=\"org.onap.appc.data.services.node.ConfigResourceNode\" method=\"getTemplate\">\n<parameter name=\"fileCategory\" value=\"config_template\" />\n<parameter name=\"responsePrefix\" value=\"config-template\" />",
- "y": 315.6111030578613,
- "z": "a49375c8.88c748"
- },
- {
- "comments": "",
- "id": "367ba220.8bea8e",
- "name": "failure",
- "outputs": 1,
- "type": "failure",
- "wires": [
- [
- "9f013009.4fb92"
- ]
- ],
- "x": 1232.4881420135498,
- "xml": "<outcome value='failure'>\n",
- "y": 375.2777318954468,
- "z": "a49375c8.88c748"
- },
- {
- "atomic": "true",
- "comments": null,
- "id": "9f013009.4fb92",
- "name": "block : atomic",
- "outputs": 1,
- "type": "block",
- "wires": [
- [
- "e5aa2afa.241d48"
- ]
- ],
- "x": 1415.238145828247,
- "xml": "<block atomic=\"true\">",
- "y": 369.527792930603,
- "z": "a49375c8.88c748"
- },
- {
- "comments": "",
- "id": "e5aa2afa.241d48",
- "name": "return failure",
- "type": "returnFailure",
- "wires": [],
- "x": 1596.9881496429443,
- "xml": "<return status=\"failure\">\n<parameter name=\"error-code\" value=\"401\"/>\n\t<parameter name=\"error-message\" value=\"`$config-template.error-message`\"/>\n\t\n\t\n\t",
- "y": 368.52773094177246,
- "z": "a49375c8.88c748"
- },
- {
- "comments": "",
- "id": "8c4d147f.36cf68",
- "name": "not-found",
- "outputs": 1,
- "type": "failure",
- "wires": [
- [
- "b643f5da.9fc9b8"
- ]
- ],
- "x": 1230.1548900604248,
- "xml": "<outcome value='not-found'>\n",
- "y": 285.69444847106934,
- "z": "a49375c8.88c748"
- },
- {
- "atomic": "true",
- "comments": null,
- "id": "b643f5da.9fc9b8",
- "name": "block : atomic",
- "outputs": 1,
- "type": "block",
- "wires": [
- [
- "7e56335c.a0b01c"
- ]
- ],
- "x": 1400.738145828247,
- "xml": "<block atomic=\"true\">",
- "y": 286.0277919769287,
- "z": "a49375c8.88c748"
- },
- {
- "comments": "",
- "id": "7e56335c.a0b01c",
- "name": "return failure",
- "type": "returnFailure",
- "wires": [],
- "x": 1595.7382717132568,
- "xml": "<return status=\"failure\">\n<parameter name=\"error-code\" value=\"401\"/>\n\t<parameter name=\"error-message\" value=\"Unable to get template info\"/>\n\t\n\t\n\t",
- "y": 286.2777614593506,
- "z": "a49375c8.88c748"
- },
- {
- "comments": "",
- "id": "d2208875.808258",
- "name": "outcome: Other",
- "outputs": 1,
- "type": "success",
- "wires": [
- [
- "a7aad416.c57578"
- ]
- ],
- "x": 613.4881000518799,
- "xml": "<outcome value=\"Other\">",
- "y": 576.8611087799072,
- "z": "a49375c8.88c748"
- },
- {
- "atomic": "true",
- "comments": null,
- "id": "a7aad416.c57578",
- "name": "block : atomic",
- "outputs": 1,
- "type": "block",
- "wires": [
- [
- "efd06d3f.ada62"
- ]
- ],
- "x": 803.238130569458,
- "xml": "<block atomic=\"true\">",
- "y": 584.8611087799072,
- "z": "a49375c8.88c748"
- },
- {
- "comments": "",
- "id": "efd06d3f.ada62",
- "name": "call: GenerateConfig",
- "outputs": 1,
- "type": "call",
- "wires": [
- [
- "af0cd93c.94b1b8",
- "4352a232.eb3aec"
- ]
- ],
- "x": 1017.7381381988525,
- "xml": "<call module=\"APPC\" rpc=\"GenerateConfig\" mode=\"sync\">",
- "y": 597.8611087799072,
- "z": "a49375c8.88c748"
- },
- {
- "comments": "",
- "id": "af0cd93c.94b1b8",
- "name": "not-found",
- "outputs": 1,
- "type": "failure",
- "wires": [
- [
- "f4ef6668.6a1018"
- ]
- ],
- "x": 1223.7381420135498,
- "xml": "<outcome value='not-found'>\n",
- "y": 596.8611068725586,
- "z": "a49375c8.88c748"
- },
- {
- "atomic": "true",
- "comments": null,
- "id": "f4ef6668.6a1018",
- "name": "block : atomic",
- "outputs": 1,
- "type": "block",
- "wires": [
- [
- "39d87011.2d87b"
- ]
- ],
- "x": 1393.238145828247,
- "xml": "<block atomic=\"true\">",
- "y": 597.6111068725586,
- "z": "a49375c8.88c748"
- },
- {
- "comments": "",
- "id": "39d87011.2d87b",
- "name": "return failure",
- "type": "returnFailure",
- "wires": [],
- "x": 1577.988145828247,
- "xml": "<return status=\"failure\">\n\t<parameter name=\"error-code\" value=\"401\"/>\n\t<parameter name=\"error-message\" value=\"'DG Workflow GenerateConfig not found'`\"/>\n\t",
- "y": 597.1111068725586,
- "z": "a49375c8.88c748"
- },
- {
- "comments": "",
- "id": "4352a232.eb3aec",
- "name": "failure",
- "outputs": 1,
- "type": "failure",
- "wires": [
- [
- "37a5a6a1.b52c9a"
- ]
- ],
- "x": 1216.7381381988525,
- "xml": "<outcome value='failure'>\n",
- "y": 687.6111087799072,
- "z": "a49375c8.88c748"
- },
- {
- "atomic": "true",
- "comments": null,
- "id": "37a5a6a1.b52c9a",
- "name": "block : atomic",
- "outputs": 1,
- "type": "block",
- "wires": [
- [
- "26d3fdda.ad1b12"
- ]
- ],
- "x": 1390.2381381988525,
- "xml": "<block atomic=\"true\">",
- "y": 681.8611087799072,
- "z": "a49375c8.88c748"
- },
- {
- "comments": "",
- "id": "26d3fdda.ad1b12",
- "name": "return failure",
- "type": "returnFailure",
- "wires": [],
- "x": 1575.238145828247,
- "xml": "<return status=\"failure\">\n\t\n\t",
- "y": 680.1111097335815,
- "z": "a49375c8.88c748"
- },
- {
- "id": "ff782964.e94288",
- "name": "DGSTART",
- "outputs": 1,
- "type": "dgstart",
- "wires": [
- [
- "eadfabd6.6161f8"
- ]
- ],
- "x": 176.1825466156006,
- "y": 83.33332920074463,
- "z": "a49375c8.88c748"
- },
- {
- "comments": "",
- "id": "eadfabd6.6161f8",
- "module": "APPC",
- "name": "APPC 4.0.0",
- "outputs": 1,
- "type": "service-logic",
- "version": "4.0.0",
- "wires": [
- [
- "7cd40519.3b23dc"
- ]
- ],
- "x": 409.2936382293701,
- "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'>",
- "y": 84.55554962158203,
- "z": "a49375c8.88c748"
- },
- {
- "comments": "",
- "id": "7cd40519.3b23dc",
- "name": "method MergeTemplateData",
- "outputs": 1,
- "type": "method",
- "wires": [
- [
- "3fa03099.10f27"
- ]
- ],
- "x": 631.3769855499268,
- "xml": "<method rpc='MergeTemplateData' mode='sync'>\n",
- "y": 83.52777004241943,
- "z": "a49375c8.88c748"
- },
- {
- "atomic": "true",
- "comments": null,
- "id": "3fa03099.10f27",
- "name": "block : atomic",
- "outputs": 1,
- "type": "block",
- "wires": [
- [
- "8ee93af3.e76758",
- "6fc699a0.777a38",
- "5514dd63.d31be4",
- "f310f0a8.6039f",
- "a2cedd5c.acad2"
- ]
- ],
- "x": 169.23812103271484,
- "xml": "<block atomic=\"true\">",
- "y": 270.27781772613525,
- "z": "a49375c8.88c748"
- },
- {
- "comments": "",
- "id": "6fc699a0.777a38",
- "name": "record",
- "outputs": 1,
- "type": "record",
- "wires": [
- []
- ],
- "x": 834.1985054016113,
- "xml": "<record plugin=\"org.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=\"CONFIGPARAMS\" value=\"`$config-data`\"/>\n<parameter name=\"CONFIGPARAMS1\" value=\"`$block_configuration-parameters`\"/>\n<parameter name=\"TEMPLATENAME\" value=\"`$template-name`\"/>\n<parameter name=\"CONFIGURATION\" value=\"`$configuration`\"/>\n<parameter name=\"CONFIGURATION1\" value=\"`$block_configuration`\"/>\n\n",
- "y": 130.43650484085083,
- "z": "a49375c8.88c748"
- },
- {
- "comments": "",
- "id": "a2cedd5c.acad2",
- "name": "call: ProcessParameterDefinition",
- "outputs": 1,
- "type": "call",
- "wires": [
- [
- "66999aa1.1b0464",
- "62eeaa57.a2b194"
- ]
- ],
- "x": 788.5318756103516,
- "xml": "<call module=\"APPC\" rpc=\"ProcessParameterDefinition\" mode=\"sync\">",
- "y": 207.13093757629395,
- "z": "a49375c8.88c748"
- },
- {
- "comments": "",
- "id": "66999aa1.1b0464",
- "name": "not-found",
- "outputs": 1,
- "type": "failure",
- "wires": [
- [
- "65712e43.c571a"
- ]
- ],
- "x": 1153.5595512390137,
- "xml": "<outcome value='not-found'>\n",
- "y": 134.57539558410645,
- "z": "a49375c8.88c748"
- },
- {
- "atomic": "true",
- "comments": null,
- "id": "65712e43.c571a",
- "name": "block : atomic",
- "outputs": 1,
- "type": "block",
- "wires": [
- [
- "1eaf25d0.77480a"
- ]
- ],
- "x": 1340.3095531463623,
- "xml": "<block atomic=\"true\">",
- "y": 132.5753936767578,
- "z": "a49375c8.88c748"
- },
- {
- "comments": "",
- "id": "1eaf25d0.77480a",
- "name": "return failure",
- "type": "returnFailure",
- "wires": [],
- "x": 1523.8095569610596,
- "xml": "<return status=\"failure\">\n\t<parameter name=\"error-code\" value=\"401\"/>\n\t<parameter name=\"error-message\" value=\"'DG Workflow ProcessParameterDefinition not found'`\"/>\n\t",
- "y": 132.07539558410645,
- "z": "a49375c8.88c748"
- },
- {
- "comments": "",
- "id": "62eeaa57.a2b194",
- "name": "failure",
- "outputs": 1,
- "type": "failure",
- "wires": [
- [
- "cba7e8ee.c38b88"
- ]
- ],
- "x": 1140.0595531463623,
- "xml": "<outcome value='failure'>\n",
- "y": 191.57539653778076,
- "z": "a49375c8.88c748"
- },
- {
- "atomic": "true",
- "comments": null,
- "id": "cba7e8ee.c38b88",
- "name": "block : atomic",
- "outputs": 1,
- "type": "block",
- "wires": [
- [
- "f131fee9.6e3c4"
- ]
- ],
- "x": 1324.3095531463623,
- "xml": "<block atomic=\"true\">",
- "y": 191.82539463043213,
- "z": "a49375c8.88c748"
- },
- {
- "comments": "",
- "id": "5514dd63.d31be4",
- "name": "execute saveTxLog",
- "outputs": 1,
- "type": "execute",
- "wires": [
- [
- "5d3a75fc.b01dec"
- ]
- ],
- "x": 520.4166278839111,
- "xml": "<execute plugin=\"org.onap.appc.data.services.node.ConfigResourceNode\" method=\"saveConfigTransactionLog\">\n<parameter name=\"messageType\" value=\"log\" />\n<parameter name=\"message\" value=\"Prepare Success\" />\n<parameter name=\"responsePrefix\" value=\"tmp.saveTxLog\" />\n",
- "y": 803.0277366638184,
- "z": "a49375c8.88c748"
- },
- {
- "comments": "",
- "id": "5d3a75fc.b01dec",
- "name": "failure",
- "outputs": 1,
- "type": "failure",
- "wires": [
- [
- "414c097b.0db3f8"
- ]
- ],
- "x": 722.5833492279053,
- "xml": "<outcome value='failure'>\n",
- "y": 817.1110496520996,
- "z": "a49375c8.88c748"
- },
- {
- "atomic": "true",
- "comments": null,
- "id": "414c097b.0db3f8",
- "name": "block : atomic",
- "outputs": 1,
- "type": "block",
- "wires": [
- []
- ],
- "x": 950.6666660308838,
- "xml": "<block atomic=\"true\">",
- "y": 814.8610496520996,
- "z": "a49375c8.88c748"
- },
- {
- "comments": "",
- "id": "f310f0a8.6039f",
- "name": "record",
- "outputs": 1,
- "type": "record",
- "wires": [
- []
- ],
- "x": 443.3333110809326,
- "xml": "<record plugin=\"org.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=\"CONFIGPARAMS\" value=\"`$config-data`\"/>\n",
- "y": 920.9444265365601,
- "z": "a49375c8.88c748"
- },
- {
- "comments": "",
- "id": "f131fee9.6e3c4",
- "name": "return failure",
- "type": "returnFailure",
- "wires": [],
- "x": 1514.7262878417969,
- "xml": "<return status=\"failure\">\n\t\n\t",
- "y": 190.15872383117676,
- "z": "a49375c8.88c748"
- }
-]
+[
+ {
+ "id": "8ee93af3.e76758",
+ "type": "switchNode",
+ "name": "switch config-type",
+ "xml": "<switch test='`$config-type`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 431.6666564941406,
+ "y": 315.8253974914551,
+ "z": "a49375c8.88c748",
+ "wires": [
+ [
+ "617b6511.320aec",
+ "d2208875.808258"
+ ]
+ ]
+ },
+ {
+ "id": "617b6511.320aec",
+ "type": "success",
+ "name": "outcome: template",
+ "xml": "<outcome value=\"template\">",
+ "comments": "",
+ "outputs": 1,
+ "x": 649.8214435577393,
+ "y": 317.1111030578613,
+ "z": "a49375c8.88c748",
+ "wires": [
+ [
+ "9708e2c6.a3ce4"
+ ]
+ ]
+ },
+ {
+ "id": "6f91db3d.8b0924",
+ "type": "call",
+ "name": "call: GenerateTemplateConfig",
+ "xml": "<call module=\"APPC\" rpc=\"GenerateTemplateConfig\" mode=\"sync\">",
+ "comments": "",
+ "outputs": 1,
+ "x": 1061.4881992340088,
+ "y": 447.36110496520996,
+ "z": "a49375c8.88c748",
+ "wires": [
+ [
+ "75d7daa7.8058a4",
+ "6a26f541.aa907c"
+ ]
+ ]
+ },
+ {
+ "id": "75d7daa7.8058a4",
+ "type": "failure",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1292.0713901519775,
+ "y": 448.02779388427734,
+ "z": "a49375c8.88c748",
+ "wires": [
+ [
+ "314e0e4f.5adb22"
+ ]
+ ]
+ },
+ {
+ "id": "314e0e4f.5adb22",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "comments": null,
+ "outputs": 1,
+ "x": 1464.488145828247,
+ "y": 447.6944193840027,
+ "z": "a49375c8.88c748",
+ "wires": [
+ [
+ "bdc01df2.1a5d8"
+ ]
+ ]
+ },
+ {
+ "id": "bdc01df2.1a5d8",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status=\"failure\">\n\t<parameter name=\"error-code\" value=\"401\"/>\n\t<parameter name=\"error-message\" value=\"'DG Workflow GenerateTemplateConfig not found'`\"/>\n\t",
+ "comments": "",
+ "x": 1658.5714015960693,
+ "y": 448.44441986083984,
+ "z": "a49375c8.88c748",
+ "wires": []
+ },
+ {
+ "id": "6a26f541.aa907c",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1292.1547679901123,
+ "y": 506.527792930603,
+ "z": "a49375c8.88c748",
+ "wires": [
+ [
+ "7ba894b.5d3a46c"
+ ]
+ ]
+ },
+ {
+ "id": "7ba894b.5d3a46c",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "comments": null,
+ "outputs": 1,
+ "x": 1467.154893875122,
+ "y": 507.027792930603,
+ "z": "a49375c8.88c748",
+ "wires": [
+ [
+ "9728b5f9.536268"
+ ]
+ ]
+ },
+ {
+ "id": "9728b5f9.536268",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status=\"failure\">\n\t\n\t",
+ "comments": "",
+ "x": 1667.988145828247,
+ "y": 507.44441986083984,
+ "z": "a49375c8.88c748",
+ "wires": []
+ },
+ {
+ "id": "7e6e5c1a.29c4a4",
+ "type": "comment",
+ "name": "templatename cases",
+ "info": "",
+ "comments": "",
+ "x": 642.7381381988525,
+ "y": 370.4444465637207,
+ "z": "a49375c8.88c748",
+ "wires": []
+ },
+ {
+ "id": "37b38554.dad0ca",
+ "type": "comment",
+ "name": "merge ASDC template and data",
+ "info": "",
+ "comments": "",
+ "x": 968.9881381988525,
+ "y": 674.0277881622314,
+ "z": "a49375c8.88c748",
+ "wires": []
+ },
+ {
+ "id": "63a29ad8.8e05e4",
+ "type": "comment",
+ "name": "configBlock with or without parameters",
+ "info": "",
+ "comments": "",
+ "x": 620.9881076812744,
+ "y": 647.8611078262329,
+ "z": "a49375c8.88c748",
+ "wires": []
+ },
+ {
+ "id": "9708e2c6.a3ce4",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "comments": null,
+ "outputs": 1,
+ "x": 843.904821395874,
+ "y": 318.5277290344238,
+ "z": "a49375c8.88c748",
+ "wires": [
+ [
+ "6f91db3d.8b0924",
+ "9ebb8ed8.eaa4e"
+ ]
+ ]
+ },
+ {
+ "id": "9ebb8ed8.eaa4e",
+ "type": "execute",
+ "name": "execute getTemplate",
+ "xml": "<execute plugin=\"org.onap.appc.data.services.node.ConfigResourceNode\" method=\"getTemplate\">\n<parameter name=\"fileCategory\" value=\"config_template\" />\n<parameter name=\"responsePrefix\" value=\"config-template\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1048.8214511871338,
+ "y": 315.6111030578613,
+ "z": "a49375c8.88c748",
+ "wires": [
+ [
+ "367ba220.8bea8e",
+ "8c4d147f.36cf68"
+ ]
+ ]
+ },
+ {
+ "id": "367ba220.8bea8e",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1232.4881420135498,
+ "y": 375.2777318954468,
+ "z": "a49375c8.88c748",
+ "wires": [
+ [
+ "9f013009.4fb92"
+ ]
+ ]
+ },
+ {
+ "id": "9f013009.4fb92",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "comments": null,
+ "outputs": 1,
+ "x": 1415.238145828247,
+ "y": 369.527792930603,
+ "z": "a49375c8.88c748",
+ "wires": [
+ [
+ "e5aa2afa.241d48"
+ ]
+ ]
+ },
+ {
+ "id": "e5aa2afa.241d48",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status=\"failure\">\n<parameter name=\"error-code\" value=\"401\"/>\n\t<parameter name=\"error-message\" value=\"`$config-template.error-message`\"/>\n\t\n\t\n\t",
+ "comments": "",
+ "x": 1596.9881496429443,
+ "y": 368.52773094177246,
+ "z": "a49375c8.88c748",
+ "wires": []
+ },
+ {
+ "id": "8c4d147f.36cf68",
+ "type": "failure",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1230.1548900604248,
+ "y": 285.69444847106934,
+ "z": "a49375c8.88c748",
+ "wires": [
+ [
+ "b643f5da.9fc9b8"
+ ]
+ ]
+ },
+ {
+ "id": "b643f5da.9fc9b8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "comments": null,
+ "outputs": 1,
+ "x": 1400.738145828247,
+ "y": 286.0277919769287,
+ "z": "a49375c8.88c748",
+ "wires": [
+ [
+ "7e56335c.a0b01c"
+ ]
+ ]
+ },
+ {
+ "id": "7e56335c.a0b01c",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status=\"failure\">\n<parameter name=\"error-code\" value=\"401\"/>\n\t<parameter name=\"error-message\" value=\"Unable to get template info\"/>\n\t\n\t\n\t",
+ "comments": "",
+ "x": 1595.7382717132568,
+ "y": 286.2777614593506,
+ "z": "a49375c8.88c748",
+ "wires": []
+ },
+ {
+ "id": "d2208875.808258",
+ "type": "success",
+ "name": "outcome: Other",
+ "xml": "<outcome value=\"Other\">",
+ "comments": "",
+ "outputs": 1,
+ "x": 613.4881000518799,
+ "y": 576.8611087799072,
+ "z": "a49375c8.88c748",
+ "wires": [
+ [
+ "a7aad416.c57578"
+ ]
+ ]
+ },
+ {
+ "id": "a7aad416.c57578",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "comments": null,
+ "outputs": 1,
+ "x": 803.238130569458,
+ "y": 584.8611087799072,
+ "z": "a49375c8.88c748",
+ "wires": [
+ [
+ "efd06d3f.ada62"
+ ]
+ ]
+ },
+ {
+ "id": "efd06d3f.ada62",
+ "type": "call",
+ "name": "call: GenerateConfig",
+ "xml": "<call module=\"APPC\" rpc=\"GenerateConfig\" mode=\"sync\">",
+ "comments": "",
+ "outputs": 1,
+ "x": 1017.7381381988525,
+ "y": 597.8611087799072,
+ "z": "a49375c8.88c748",
+ "wires": [
+ [
+ "af0cd93c.94b1b8",
+ "4352a232.eb3aec"
+ ]
+ ]
+ },
+ {
+ "id": "af0cd93c.94b1b8",
+ "type": "failure",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1223.7381420135498,
+ "y": 596.8611068725586,
+ "z": "a49375c8.88c748",
+ "wires": [
+ [
+ "f4ef6668.6a1018"
+ ]
+ ]
+ },
+ {
+ "id": "f4ef6668.6a1018",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "comments": null,
+ "outputs": 1,
+ "x": 1393.238145828247,
+ "y": 597.6111068725586,
+ "z": "a49375c8.88c748",
+ "wires": [
+ [
+ "39d87011.2d87b"
+ ]
+ ]
+ },
+ {
+ "id": "39d87011.2d87b",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status=\"failure\">\n\t<parameter name=\"error-code\" value=\"401\"/>\n\t<parameter name=\"error-message\" value=\"'DG Workflow GenerateConfig not found'`\"/>\n\t",
+ "comments": "",
+ "x": 1577.988145828247,
+ "y": 597.1111068725586,
+ "z": "a49375c8.88c748",
+ "wires": []
+ },
+ {
+ "id": "4352a232.eb3aec",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1216.7381381988525,
+ "y": 687.6111087799072,
+ "z": "a49375c8.88c748",
+ "wires": [
+ [
+ "37a5a6a1.b52c9a"
+ ]
+ ]
+ },
+ {
+ "id": "37a5a6a1.b52c9a",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "comments": null,
+ "outputs": 1,
+ "x": 1390.2381381988525,
+ "y": 681.8611087799072,
+ "z": "a49375c8.88c748",
+ "wires": [
+ [
+ "26d3fdda.ad1b12"
+ ]
+ ]
+ },
+ {
+ "id": "26d3fdda.ad1b12",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status=\"failure\">\n\t\n\t",
+ "comments": "",
+ "x": 1575.238145828247,
+ "y": 680.1111097335815,
+ "z": "a49375c8.88c748",
+ "wires": []
+ },
+ {
+ "id": "ff782964.e94288",
+ "type": "dgstart",
+ "name": "DGSTART",
+ "outputs": 1,
+ "x": 176.1825466156006,
+ "y": 83.33332920074463,
+ "z": "a49375c8.88c748",
+ "wires": [
+ [
+ "eadfabd6.6161f8"
+ ]
+ ]
+ },
+ {
+ "id": "eadfabd6.6161f8",
+ "type": "service-logic",
+ "name": "APPC 4.0.0",
+ "module": "APPC",
+ "version": "4.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' version='4.0.0'>",
+ "outputs": 1,
+ "x": 409.2936382293701,
+ "y": 84.55554962158203,
+ "z": "a49375c8.88c748",
+ "wires": [
+ [
+ "7cd40519.3b23dc"
+ ]
+ ]
+ },
+ {
+ "id": "7cd40519.3b23dc",
+ "type": "method",
+ "name": "method MergeTemplateData",
+ "xml": "<method rpc='MergeTemplateData' mode='sync'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 631.3769855499268,
+ "y": 83.52777004241943,
+ "z": "a49375c8.88c748",
+ "wires": [
+ [
+ "3fa03099.10f27"
+ ]
+ ]
+ },
+ {
+ "id": "3fa03099.10f27",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "comments": null,
+ "outputs": 1,
+ "x": 169.23812103271484,
+ "y": 270.27781772613525,
+ "z": "a49375c8.88c748",
+ "wires": [
+ [
+ "8ee93af3.e76758",
+ "6fc699a0.777a38",
+ "5514dd63.d31be4",
+ "f310f0a8.6039f",
+ "a2cedd5c.acad2"
+ ]
+ ]
+ },
+ {
+ "id": "6fc699a0.777a38",
+ "type": "record",
+ "name": "record",
+ "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=\"CONFIGPARAMS\" value=\"`$config-data`\"/>\n<parameter name=\"CONFIGPARAMS1\" value=\"`$block_configuration-parameters`\"/>\n<parameter name=\"TEMPLATENAME\" value=\"`$template-name`\"/>\n<parameter name=\"CONFIGURATION\" value=\"`$configuration`\"/>\n<parameter name=\"CONFIGURATION1\" value=\"`$block_configuration`\"/>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 834.1985054016113,
+ "y": 130.43650484085083,
+ "z": "a49375c8.88c748",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a2cedd5c.acad2",
+ "type": "call",
+ "name": "call: ProcessParameterDefinition",
+ "xml": "<call module=\"APPC\" rpc=\"ProcessParameterDefinition\" mode=\"sync\">",
+ "comments": "",
+ "outputs": 1,
+ "x": 788.5318756103516,
+ "y": 207.13093757629395,
+ "z": "a49375c8.88c748",
+ "wires": [
+ [
+ "66999aa1.1b0464",
+ "62eeaa57.a2b194"
+ ]
+ ]
+ },
+ {
+ "id": "66999aa1.1b0464",
+ "type": "failure",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1153.5595512390137,
+ "y": 134.57539558410645,
+ "z": "a49375c8.88c748",
+ "wires": [
+ [
+ "65712e43.c571a"
+ ]
+ ]
+ },
+ {
+ "id": "65712e43.c571a",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "comments": null,
+ "outputs": 1,
+ "x": 1340.3095531463623,
+ "y": 132.5753936767578,
+ "z": "a49375c8.88c748",
+ "wires": [
+ [
+ "1eaf25d0.77480a"
+ ]
+ ]
+ },
+ {
+ "id": "1eaf25d0.77480a",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status=\"failure\">\n\t<parameter name=\"error-code\" value=\"401\"/>\n\t<parameter name=\"error-message\" value=\"'DG Workflow ProcessParameterDefinition not found'`\"/>\n\t",
+ "comments": "",
+ "x": 1523.8095569610596,
+ "y": 132.07539558410645,
+ "z": "a49375c8.88c748",
+ "wires": []
+ },
+ {
+ "id": "62eeaa57.a2b194",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1140.0595531463623,
+ "y": 191.57539653778076,
+ "z": "a49375c8.88c748",
+ "wires": [
+ [
+ "cba7e8ee.c38b88"
+ ]
+ ]
+ },
+ {
+ "id": "cba7e8ee.c38b88",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "comments": null,
+ "outputs": 1,
+ "x": 1324.3095531463623,
+ "y": 191.82539463043213,
+ "z": "a49375c8.88c748",
+ "wires": [
+ [
+ "f131fee9.6e3c4"
+ ]
+ ]
+ },
+ {
+ "id": "5514dd63.d31be4",
+ "type": "execute",
+ "name": "execute saveTxLog",
+ "xml": "<execute plugin=\"org.onap.appc.data.services.node.ConfigResourceNode\" method=\"saveConfigTransactionLog\">\n<parameter name=\"messageType\" value=\"log\" />\n<parameter name=\"message\" value=\"Prepare Success\" />\n<parameter name=\"responsePrefix\" value=\"tmp.saveTxLog\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 520.4166278839111,
+ "y": 803.0277366638184,
+ "z": "a49375c8.88c748",
+ "wires": [
+ [
+ "5d3a75fc.b01dec"
+ ]
+ ]
+ },
+ {
+ "id": "5d3a75fc.b01dec",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 722.5833492279053,
+ "y": 817.1110496520996,
+ "z": "a49375c8.88c748",
+ "wires": [
+ [
+ "414c097b.0db3f8"
+ ]
+ ]
+ },
+ {
+ "id": "414c097b.0db3f8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "comments": null,
+ "outputs": 1,
+ "x": 950.6666660308838,
+ "y": 814.8610496520996,
+ "z": "a49375c8.88c748",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f310f0a8.6039f",
+ "type": "record",
+ "name": "record",
+ "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=\"CONFIGPARAMS\" value=\"`$config-data`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 443.3333110809326,
+ "y": 920.9444265365601,
+ "z": "a49375c8.88c748",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f131fee9.6e3c4",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status=\"failure\">\n\t\n\t",
+ "comments": "",
+ "x": 1514.7262878417969,
+ "y": 190.15872383117676,
+ "z": "a49375c8.88c748",
+ "wires": []
+ }
+] \ No newline at end of file
diff --git a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_MigrateVM.json b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_MigrateVM.json
index a63550307..9a783a3f8 100644
--- a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_MigrateVM.json
+++ b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_MigrateVM.json
@@ -1 +1,274 @@
-[{"id":"29daabd9.730244","type":"dgstart","name":"DGSTART","outputs":1,"x":196.75,"y":188,"z":"27eb9f4d.8d411","wires":[["cc222124.e7128"]]},{"id":"cc222124.e7128","type":"service-logic","name":"APPC 2.0.0","module":"APPC","version":"2.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' version='2.0.0'>","outputs":1,"x":353.75,"y":188,"z":"27eb9f4d.8d411","wires":[["7e1c4042.16219"]]},{"id":"7e1c4042.16219","type":"method","name":"MigrateVM","xml":"<method rpc='MigrateVM' mode='sync'>\n","comments":"","outputs":1,"x":551.75,"y":190,"z":"27eb9f4d.8d411","wires":[["c110c152.1bc2a8"]]},{"id":"1f969631.1d8242","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":919.7499694824219,"y":399.9999694824219,"z":"27eb9f4d.8d411","wires":[["9805b9e5.9e953"]]},{"id":"c17662ed.1e20f8","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":928.7499694824219,"y":278.9999694824219,"z":"27eb9f4d.8d411","wires":[["da84e71.f159418"]]},{"id":"88ee1742.3ee838","type":"returnSuccess","name":"return success","xml":"<return status='success'>","comments":"","x":1475.7499694824219,"y":371.9999694824219,"z":"27eb9f4d.8d411","wires":[]},{"id":"3ef14420.6e1444","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value='RPC Evacuate not found' />","comments":"","x":1236.7499694824219,"y":278.9999694824219,"z":"27eb9f4d.8d411","wires":[]},{"id":"9805b9e5.9e953","type":"switchNode","name":"switch error-code","xml":"<switch test='`$error_code`'>\n","comments":"","outputs":1,"x":1112.7499694824219,"y":400.9999694824219,"z":"27eb9f4d.8d411","wires":[["691e84cc.425a2c","aa558b50.816e18"]]},{"id":"691e84cc.425a2c","type":"success","name":"SUCCESS 200","xml":"<outcome value='200'>\n","comments":"","outputs":1,"x":1294.7499694824219,"y":370.9999694824219,"z":"27eb9f4d.8d411","wires":[["88ee1742.3ee838"]]},{"id":"aa558b50.816e18","type":"outcome","name":"ERROR","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":1286.7499694824219,"y":529.9999694824219,"z":"27eb9f4d.8d411","wires":[["26d4a85e.24a188"]]},{"id":"26d4a85e.24a188","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1419.7499694824219,"y":530.9999694824219,"z":"27eb9f4d.8d411","wires":[["25417c19.7df6bc","d562ae2a.dd7e68"]]},{"id":"25417c19.7df6bc","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","comments":"","x":1554.7499694824219,"y":572,"z":"27eb9f4d.8d411","wires":[]},{"id":"da84e71.f159418","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1084.7499694824219,"y":278.9999694824219,"z":"27eb9f4d.8d411","wires":[["3ef14420.6e1444"]]},{"id":"f66a49ef.3f7618","type":"record","name":"record","xml":"<record plugin=\"org.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`\" />","comments":"","outputs":1,"x":918.86669921875,"y":220,"z":"27eb9f4d.8d411","wires":[[]]},{"id":"c110c152.1bc2a8","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":740.6166687011719,"y":248.86666870117188,"z":"27eb9f4d.8d411","wires":[["f66a49ef.3f7618","c3151ca4.c3d568","553a1643.e935b8"]]},{"id":"d562ae2a.dd7e68","type":"record","name":"record","xml":"<record plugin=\"org.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`\" />","comments":"","outputs":1,"x":1544.6166687011719,"y":502.8666687011719,"z":"27eb9f4d.8d411","wires":[[]]},{"id":"c3151ca4.c3d568","type":"execute","name":"migrateServer()","xml":"<execute plugin='org.onap.appc.adapter.iaas.ProviderAdapter' method='migrateServer'>\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.skiphypervisorcheck\" value=\"`$skip-hypervisor-check`\" />","comments":"","outputs":1,"x":756.7499694824219,"y":334,"z":"27eb9f4d.8d411","wires":[["c17662ed.1e20f8","1f969631.1d8242"]]},{"id":"553a1643.e935b8","type":"set","name":"set skiphypervisorcheck","xml":"<set>\n<parameter name='org.onap.appc.skiphypervisorcheck' value='`$skip-hypervisor-check`' />\n","comments":"","x":954.75,"y":146.75,"z":"27eb9f4d.8d411","wires":[]}]
+[
+ {
+ "id": "29daabd9.730244",
+ "type": "dgstart",
+ "name": "DGSTART",
+ "outputs": 1,
+ "x": 196.75,
+ "y": 188,
+ "z": "27eb9f4d.8d411",
+ "wires": [
+ [
+ "cc222124.e7128"
+ ]
+ ]
+ },
+ {
+ "id": "cc222124.e7128",
+ "type": "service-logic",
+ "name": "APPC 2.0.0",
+ "module": "APPC",
+ "version": "2.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' version='2.0.0'>",
+ "outputs": 1,
+ "x": 353.75,
+ "y": 188,
+ "z": "27eb9f4d.8d411",
+ "wires": [
+ [
+ "7e1c4042.16219"
+ ]
+ ]
+ },
+ {
+ "id": "7e1c4042.16219",
+ "type": "method",
+ "name": "MigrateVM",
+ "xml": "<method rpc='MigrateVM' mode='sync'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 551.75,
+ "y": 190,
+ "z": "27eb9f4d.8d411",
+ "wires": [
+ [
+ "c110c152.1bc2a8"
+ ]
+ ]
+ },
+ {
+ "id": "1f969631.1d8242",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 919.7499694824219,
+ "y": 399.9999694824219,
+ "z": "27eb9f4d.8d411",
+ "wires": [
+ [
+ "9805b9e5.9e953"
+ ]
+ ]
+ },
+ {
+ "id": "c17662ed.1e20f8",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 928.7499694824219,
+ "y": 278.9999694824219,
+ "z": "27eb9f4d.8d411",
+ "wires": [
+ [
+ "da84e71.f159418"
+ ]
+ ]
+ },
+ {
+ "id": "88ee1742.3ee838",
+ "type": "returnSuccess",
+ "name": "return success",
+ "xml": "<return status='success'>",
+ "comments": "",
+ "x": 1475.7499694824219,
+ "y": 371.9999694824219,
+ "z": "27eb9f4d.8d411",
+ "wires": []
+ },
+ {
+ "id": "3ef14420.6e1444",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value='RPC Evacuate not found' />",
+ "comments": "",
+ "x": 1236.7499694824219,
+ "y": 278.9999694824219,
+ "z": "27eb9f4d.8d411",
+ "wires": []
+ },
+ {
+ "id": "9805b9e5.9e953",
+ "type": "switchNode",
+ "name": "switch error-code",
+ "xml": "<switch test='`$error_code`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1112.7499694824219,
+ "y": 400.9999694824219,
+ "z": "27eb9f4d.8d411",
+ "wires": [
+ [
+ "691e84cc.425a2c",
+ "aa558b50.816e18"
+ ]
+ ]
+ },
+ {
+ "id": "691e84cc.425a2c",
+ "type": "success",
+ "name": "SUCCESS 200",
+ "xml": "<outcome value='200'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1294.7499694824219,
+ "y": 370.9999694824219,
+ "z": "27eb9f4d.8d411",
+ "wires": [
+ [
+ "88ee1742.3ee838"
+ ]
+ ]
+ },
+ {
+ "id": "aa558b50.816e18",
+ "type": "outcome",
+ "name": "ERROR",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1286.7499694824219,
+ "y": 529.9999694824219,
+ "z": "27eb9f4d.8d411",
+ "wires": [
+ [
+ "26d4a85e.24a188"
+ ]
+ ]
+ },
+ {
+ "id": "26d4a85e.24a188",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1419.7499694824219,
+ "y": 530.9999694824219,
+ "z": "27eb9f4d.8d411",
+ "wires": [
+ [
+ "25417c19.7df6bc",
+ "d562ae2a.dd7e68"
+ ]
+ ]
+ },
+ {
+ "id": "25417c19.7df6bc",
+ "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",
+ "comments": "",
+ "x": 1554.7499694824219,
+ "y": 572,
+ "z": "27eb9f4d.8d411",
+ "wires": []
+ },
+ {
+ "id": "da84e71.f159418",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1084.7499694824219,
+ "y": 278.9999694824219,
+ "z": "27eb9f4d.8d411",
+ "wires": [
+ [
+ "3ef14420.6e1444"
+ ]
+ ]
+ },
+ {
+ "id": "f66a49ef.3f7618",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.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`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 918.86669921875,
+ "y": 220,
+ "z": "27eb9f4d.8d411",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "c110c152.1bc2a8",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 740.6166687011719,
+ "y": 248.86666870117188,
+ "z": "27eb9f4d.8d411",
+ "wires": [
+ [
+ "f66a49ef.3f7618",
+ "c3151ca4.c3d568",
+ "553a1643.e935b8"
+ ]
+ ]
+ },
+ {
+ "id": "d562ae2a.dd7e68",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.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`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1544.6166687011719,
+ "y": 502.8666687011719,
+ "z": "27eb9f4d.8d411",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "c3151ca4.c3d568",
+ "type": "execute",
+ "name": "migrateServer()",
+ "xml": "<execute plugin='org.onap.appc.adapter.iaas.ProviderAdapter' method='migrateServer'>\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.skiphypervisorcheck\" value=\"`$skip-hypervisor-check`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 756.7499694824219,
+ "y": 334,
+ "z": "27eb9f4d.8d411",
+ "wires": [
+ [
+ "c17662ed.1e20f8",
+ "1f969631.1d8242"
+ ]
+ ]
+ },
+ {
+ "id": "553a1643.e935b8",
+ "type": "set",
+ "name": "set skiphypervisorcheck",
+ "xml": "<set>\n<parameter name='org.onap.appc.skiphypervisorcheck' value='`$skip-hypervisor-check`' />\n",
+ "comments": "",
+ "x": 954.75,
+ "y": 146.75,
+ "z": "27eb9f4d.8d411",
+ "wires": []
+ }
+]
diff --git a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_ProcessParameterDefinition.json b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_ProcessParameterDefinition.json
index 1bb7a88ee..50b215ab7 100644
--- a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_ProcessParameterDefinition.json
+++ b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_ProcessParameterDefinition.json
@@ -1 +1,1311 @@
-[{"id":"2158a194.1f194e","type":"dgstart","name":"DGSTART","outputs":1,"x":210,"y":82,"z":"1d62f09b.653dff","wires":[["d50915e2.c462a8"]]},{"id":"d50915e2.c462a8","type":"service-logic","name":"APPC 4.0.0","module":"APPC","version":"4.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' version='4.0.0'>","outputs":1,"x":362,"y":85,"z":"1d62f09b.653dff","wires":[["69400c59.f5b5b4"]]},{"id":"69400c59.f5b5b4","type":"method","name":"method ProcessParametersDefinition","xml":"<method rpc='ProcessParameterDefinition' mode='sync'>\n","comments":"","outputs":1,"x":617,"y":84,"z":"1d62f09b.653dff","wires":[["e4aa58e0.4cf328"]]},{"id":"e4aa58e0.4cf328","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":238,"y":144,"z":"1d62f09b.653dff","wires":[["666a8fd4.8ffd8"]]},{"id":"666a8fd4.8ffd8","type":"execute","name":"execute getTemplate Parameter_definition","xml":"<execute plugin=\"org.onap.appc.data.services.node.ConfigResourceNode\" method=\"getTemplate\">\n<parameter name=\"fileCategory\" value=\"parameter_definitions\" />\n<parameter name=\"responsePrefix\" value=\"parameter-definitions\" />","comments":"","outputs":1,"x":553,"y":142,"z":"1d62f09b.653dff","wires":[["a5091352.53d75","98e0dc66.4938a","8c1764db.08e568"]]},{"id":"a5091352.53d75","type":"failure","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":872,"y":135,"z":"1d62f09b.653dff","wires":[["fc420e10.a4535"]]},{"id":"8c1764db.08e568","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":864,"y":174,"z":"1d62f09b.653dff","wires":[["3372dc74.357bb4"]]},{"id":"fc420e10.a4535","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1024,"y":131,"z":"1d62f09b.653dff","wires":[["351359fa.9d4f26"]]},{"id":"3372dc74.357bb4","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1018,"y":181,"z":"1d62f09b.653dff","wires":[["811b2688.0dcd18"]]},{"id":"351359fa.9d4f26","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n<parameter name=\"error-code\" value=\"401\"/>\n\t<parameter name=\"error-message\" value=\"Unable to get parameter definitions\"/>\n\t\n\t\n\t","comments":"","x":1194,"y":133,"z":"1d62f09b.653dff","wires":[]},{"id":"3f6dcf76.40da4","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n<parameter name=\"error-code\" value=\"401\"/>\n\t<parameter name=\"error-message\" value=\"`$parameter-definitions.error-message`\"/>\n\t\n\t\n\t","comments":"","x":1182,"y":231,"z":"1d62f09b.653dff","wires":[]},{"id":"86037f00.c7dc5","type":"execute","name":"execute Get Instar Params","xml":"<execute plugin=\"org.onap.sdnc.config.params.parser.PropertyDefinitionNode\" method=\"processExternalSystemParamKeys\">\n<parameter name=\"systemName\" value=\"INSTAR\" />\n<parameter name=\"pdContent\" value=\"`$parameter-definitions.file-content`\" />\n<parameter name=\"jsonData\" value=\"`$configuration-params`\" />\n<parameter name=\"responsePrefix\" value=\"tmp.instarParams\" />","comments":"","outputs":1,"x":298,"y":289,"z":"1d62f09b.653dff","wires":[["6d835a53.6595c4","66d08efa.e628b"]]},{"id":"6d835a53.6595c4","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":552,"y":271,"z":"1d62f09b.653dff","wires":[["e032c80c.ba08a8"]]},{"id":"66d08efa.e628b","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":540,"y":334,"z":"1d62f09b.653dff","wires":[["e88e851b.315d38"]]},{"id":"e032c80c.ba08a8","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":715,"y":273,"z":"1d62f09b.653dff","wires":[["70028148.74044"]]},{"id":"e88e851b.315d38","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":688,"y":332,"z":"1d62f09b.653dff","wires":[["52ccb0b.e0de95"]]},{"id":"70028148.74044","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n<parameter name=\"error-code\" value=\"401\"/>\n\t<parameter name=\"error-message\" value=\"Unable to get Instar parameter definitions\"/>\n\t\n\t\n\t","comments":"","x":893,"y":270,"z":"1d62f09b.653dff","wires":[]},{"id":"52ccb0b.e0de95","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n<parameter name=\"error-code\" value=\"401\"/>\n\t<parameter name=\"error-message\" value=\"`$tmp.instarParams.error-message`\"/>\n\t\n\t\n\t","comments":"","x":861,"y":331,"z":"1d62f09b.653dff","wires":[]},{"id":"33e8a0b7.d58be","type":"execute","name":"execute getTemplate Parameter_yang","xml":"<execute plugin=\"org.onap.appc.data.services.node.ConfigResourceNode\" method=\"getTemplate\">\n<parameter name=\"fileCategory\" value=\"parameter_yang\" />\n<parameter name=\"responsePrefix\" value=\"parameter-yang\" />","comments":"","outputs":1,"x":326,"y":738,"z":"1d62f09b.653dff","wires":[["5411882c.030498","b0439127.fa374","39fe603c.f8171"]]},{"id":"5411882c.030498","type":"failure","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":582.5,"y":708,"z":"1d62f09b.653dff","wires":[["15ab6272.d3333e"]]},{"id":"b0439127.fa374","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":575.5,"y":766,"z":"1d62f09b.653dff","wires":[["6ed77220.53ab6c"]]},{"id":"15ab6272.d3333e","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":728.5,"y":707,"z":"1d62f09b.653dff","wires":[["5abbbddd.2fdd84","7f07065c.21aa58","dc62f036.1a331"]]},{"id":"6ed77220.53ab6c","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":719.5,"y":768,"z":"1d62f09b.653dff","wires":[["8e93eb26.7e0988","7f07065c.21aa58","dc62f036.1a331"]]},{"id":"6a3156b.ee952a8","type":"comment","name":"INSTAR keys","info":"Result: [INSTAR.LOCAL_CORE_ALT_IP_ADDR.request-logic, INSTAR.LOCAL_CORE_ALT_IP_ADDR_MOD.request-logic, test.status, INSTAR.LOCAL_CORE_ALT_IP_ADDR_MOD.response-logic, INSTAR.LOCAL_CORE_ALT_IP_ADDR.response-logic, INSTAR.keys]\nINSTAR.keys : [\"LOCAL_CORE_ALT_IP_ADDR\",\"LOCAL_CORE_ALT_IP_ADDR_MOD\"]\nINSTAR.LOCAL_CORE_ALT_IP_ADDR.request-logic : null\nINSTAR.LOCAL_CORE_ALT_IP_ADDR.response-logic : null","comments":"","x":1465.5,"y":432,"z":"1d62f09b.653dff","wires":[]},{"id":"e5e7d1ac.76bb7","type":"execute","name":"execute Get Instar Data","xml":"<execute plugin=\"org.onap.appc.instar.node.InstarClientNode\" method=\"getInstarInfo\">\n<parameter name=\"instarKeys\" value=\"`$INSTAR.keys`\" />\n<parameter name=\"responsePrefix\" value=\"tmp.instarValues\" />\n","comments":"","outputs":1,"x":881.5,"y":491,"z":"1d62f09b.653dff","wires":[["93afed75.efdb3"]]},{"id":"93afed75.efdb3","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1138.5,"y":489,"z":"1d62f09b.653dff","wires":[["70f1ba7e.3d82f4"]]},{"id":"70f1ba7e.3d82f4","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1298.5,"y":491,"z":"1d62f09b.653dff","wires":[["2b90ad9a.211d22"]]},{"id":"2b90ad9a.211d22","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n<parameter name=\"error-code\" value=\"401\"/>\n\t<parameter name=\"error-message\" value=\"`$tmp.instarValues.error-message`\"/>\n\t\n\t\n\t","comments":"","x":1467.5,"y":488,"z":"1d62f09b.653dff","wires":[]},{"id":"ca662853.446ed8","type":"execute","name":"execute read PD file","xml":"<execute plugin=\"org.onap.sdnc.config.generator.reader.ReaderNode\" method=\"getFileData\">\n<parameter name=\"fileName\" value=\"/opt/app/bvc/templates/pd.yaml\" />\n<parameter name=\"responsePrefix\" value=\"tmpFileData\" />","comments":"","outputs":1,"x":1477.5,"y":96,"z":"1d62f09b.653dff","wires":[[]]},{"id":"e6b2c683.cca4e8","type":"execute","name":"execute Get Complete Set of Params","xml":"<execute plugin=\"org.onap.sdnc.config.params.parser.PropertyDefinitionNode\" method=\"mergeJsonData\">\n<parameter name=\"jsonData\" value=\"`$configuration-params`\" />\n<parameter name=\"mergeJsonData\" value=\"`$tmp.instarValues.INSTAR-KEY-VALUES`\" />\n<parameter name=\"responsePrefix\" value=\"tmp.allParams\" />","comments":"","outputs":1,"x":895.5,"y":566,"z":"1d62f09b.653dff","wires":[["e087477f.d4f878"]]},{"id":"e087477f.d4f878","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1153,"y":569,"z":"1d62f09b.653dff","wires":[["20063435.aecd9c"]]},{"id":"20063435.aecd9c","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1305,"y":566,"z":"1d62f09b.653dff","wires":[["5761a3cf.c4dc4c"]]},{"id":"5761a3cf.c4dc4c","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n<parameter name=\"error-code\" value=\"401\"/>\n\t<parameter name=\"error-message\" value=\"`$tmp.allParams.error-message`\"/>\n\t\n\t\n\t","comments":"","x":1456,"y":571,"z":"1d62f09b.653dff","wires":[]},{"id":"4577a98f.9f9c28","type":"set","name":"set","xml":"<set>\n<parameter name='parameter-definitions.file-content' value='`$tmpFileData.fileData`' />\n","comments":"","x":1457.5,"y":169,"z":"1d62f09b.653dff","wires":[]},{"id":"7d1276d9.b854e8","type":"record","name":"record","xml":"<record plugin=\"org.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=\"`$INSTAR.keys`\" />\n","comments":"","outputs":1,"x":820,"y":443,"z":"1d62f09b.653dff","wires":[[]]},{"id":"a56b5f50.f6b18","type":"switchNode","name":"switch Instar Keys exists","xml":"<switch test='`$INSTAR.keys`'>\n","comments":"","outputs":1,"x":262,"y":438,"z":"1d62f09b.653dff","wires":[["35618876.01a2a8","bb3b56aa.fca5a8","285829ff.5ef416"]]},{"id":"35618876.01a2a8","type":"success","name":"outcome: null","xml":"<outcome value=''>","comments":"","outputs":1,"x":481,"y":441,"z":"1d62f09b.653dff","wires":[["bb0994f5.44ccc8"]]},{"id":"bb0994f5.44ccc8","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":662,"y":442,"z":"1d62f09b.653dff","wires":[[]]},{"id":"bb3b56aa.fca5a8","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":466,"y":492,"z":"1d62f09b.653dff","wires":[["686e1d0f.ea0634"]]},{"id":"686e1d0f.ea0634","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":632,"y":492,"z":"1d62f09b.653dff","wires":[["e5e7d1ac.76bb7","e6b2c683.cca4e8","41045718.d06e28","7d1276d9.b854e8"]]},{"id":"41045718.d06e28","type":"set","name":"set configuration-params","xml":"<set>\n<parameter name='configuration-params' value='`$tmp.allParams.configuration-parameters`' />\n\n","comments":"","x":851,"y":630,"z":"1d62f09b.653dff","wires":[]},{"id":"39fe603c.f8171","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":257.5,"y":828,"z":"1d62f09b.653dff","wires":[["547d62bf.0b6c4c"]]},{"id":"547d62bf.0b6c4c","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":420.5,"y":831,"z":"1d62f09b.653dff","wires":[["6d22c69f.2abc38"]]},{"id":"6d22c69f.2abc38","type":"execute","name":"execute Save in MDSal","xml":"<execute plugin='org.onap.appc.dg.common.VNFConfigurator' method='storeConfig' >\n<parameter name=\"uniqueId\" value=\"`$parameter-yang.config-file-id`\" />\n<parameter name=\"yang\" value=\"`$parameter-yang.file-content`\" />\n<parameter name=\"requestId\" value=\"`$request-id`\" />\n<parameter name=\"configJSON\" value=\"`'{&quot;vnf-config&quot;:' + $configuration-params + '}'`\" />\n<parameter name=\"prefix\" value=\"tmp.mdSalSave\" />\n\n<!--\n<parameter name=\"configJSON\" value=\"`$configuration-params`\" /> -->\n","comments":"","outputs":1,"x":643.5,"y":834,"z":"1d62f09b.653dff","wires":[["24f7581c.4787f8"]]},{"id":"24f7581c.4787f8","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":840.5,"y":838,"z":"1d62f09b.653dff","wires":[["729cb57e.d7997c"]]},{"id":"729cb57e.d7997c","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":984.5,"y":837,"z":"1d62f09b.653dff","wires":[["1591ce44.e43822","7f07065c.21aa58","dc62f036.1a331"]]},{"id":"5abbbddd.2fdd84","type":"set","name":"set: dcae-error message","xml":"<set>\n <parameter name=\"dcae-error-message\" value=\"Unable to get Yang Model\"/>","comments":"","x":944.5,"y":708,"z":"1d62f09b.653dff","wires":[]},{"id":"8e93eb26.7e0988","type":"set","name":"set: dcae-error message","xml":"<set>\n <parameter name=\"dcae-error-message\" value=\"`$parameter-yang.error-message`\"/>","comments":"","x":922.5,"y":769,"z":"1d62f09b.653dff","wires":[]},{"id":"1591ce44.e43822","type":"set","name":"set: dcae-error message","xml":"<set>\n <parameter name=\"dcae-error-message\" value=\"`$tmp.mdSalSave.ERROR_MESSAGE`\"/>","comments":"","x":1194.5,"y":836,"z":"1d62f09b.653dff","wires":[]},{"id":"7f07065c.21aa58","type":"execute","name":"execute saveTxLog","xml":"<execute plugin=\"org.onap.appc.data.services.node.ConfigResourceNode\" method=\"saveConfigTransactionLog\">\n<parameter name=\"messageType\" value=\"log\" />\n<parameter name=\"message\" value=\"`'501:' + $dcae-error-message`\" />\n<parameter name=\"responsePrefix\" value=\"tmp.saveTxLog\" />\n","comments":"","outputs":1,"x":735.5,"y":934,"z":"1d62f09b.653dff","wires":[["f8490268.c930e"]]},{"id":"3c5625a1.eec71a","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1108.5,"y":935,"z":"1d62f09b.653dff","wires":[[]]},{"id":"f8490268.c930e","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":937.5,"y":936,"z":"1d62f09b.653dff","wires":[["3c5625a1.eec71a"]]},{"id":"dc62f036.1a331","type":"execute","name":"execute IntermediateMessageSender","xml":"<execute plugin='org.onap.appc.dg.common.IntermediateMessageSender' method='sendMessage' >\n<parameter name='code' value=\"501\" />\n<parameter name='message' value=\"`$dcae-error-message`\" />\n<parameter name='prefix' value=\"tmp.intermediateerror\"/>","comments":"","outputs":1,"x":766.5,"y":1008,"z":"1d62f09b.653dff","wires":[["c105074b.328e78","4f55c02f.e48f3"]]},{"id":"c105074b.328e78","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":1002.5,"y":1006,"z":"1d62f09b.653dff","wires":[["1ad124f3.55337b"]]},{"id":"4f55c02f.e48f3","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":987.5,"y":1069,"z":"1d62f09b.653dff","wires":[["1ad124f3.55337b"]]},{"id":"f4496313.24acc","type":"record","name":"record","xml":"<record plugin=\"org.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=\"MSGSENDERERERROR\" value=\"Unable to call IntermediateErrorMessageSender\"/>\n","comments":"","outputs":1,"x":1310.5,"y":1041,"z":"1d62f09b.653dff","wires":[[]]},{"id":"98e0dc66.4938a","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":159,"y":206,"z":"1d62f09b.653dff","wires":[["55593da7.06c544"]]},{"id":"55593da7.06c544","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":320,"y":211,"z":"1d62f09b.653dff","wires":[["86037f00.c7dc5","a56b5f50.f6b18","33e8a0b7.d58be"]]},{"id":"811b2688.0dcd18","type":"record","name":"record","xml":"<record plugin=\"org.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=\"`'PD FILE NOTFOUND ' + $parameter-definitions.error-message`\" />\n","comments":"","outputs":1,"x":1153,"y":182,"z":"1d62f09b.653dff","wires":[[]]},{"id":"285829ff.5ef416","type":"success","name":"outcome: []","xml":"<outcome value='[]'>","comments":"","outputs":1,"x":486,"y":396,"z":"1d62f09b.653dff","wires":[["392efcf6.e32734"]]},{"id":"392efcf6.e32734","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":647,"y":397,"z":"1d62f09b.653dff","wires":[[]]},{"id":"1ad124f3.55337b","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1158,"y":1038,"z":"1d62f09b.653dff","wires":[["f4496313.24acc"]]}]
+[
+ {
+ "id": "5fe4681f.113b98",
+ "type": "dgstart",
+ "name": "DGSTART",
+ "outputs": 1,
+ "x": 199,
+ "y": 37.142852783203125,
+ "z": "408b3a53.1e13a4",
+ "wires": [
+ [
+ "f94751a2.06a1f8"
+ ]
+ ]
+ },
+ {
+ "id": "f94751a2.06a1f8",
+ "type": "service-logic",
+ "name": "APPC 4.0.0",
+ "module": "APPC",
+ "version": "4.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' version='4.0.0'>",
+ "outputs": 1,
+ "x": 351,
+ "y": 40.142852783203125,
+ "z": "408b3a53.1e13a4",
+ "wires": [
+ [
+ "2c11f4b3.110a94"
+ ]
+ ]
+ },
+ {
+ "id": "2c11f4b3.110a94",
+ "type": "method",
+ "name": "method ProcessParametersDefinition",
+ "xml": "<method rpc='ProcessParameterDefinition' mode='sync'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 606,
+ "y": 39.142852783203125,
+ "z": "408b3a53.1e13a4",
+ "wires": [
+ [
+ "248d20a4.596ff"
+ ]
+ ]
+ },
+ {
+ "id": "248d20a4.596ff",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 227,
+ "y": 99.14285278320312,
+ "z": "408b3a53.1e13a4",
+ "wires": [
+ [
+ "60994b4e.7d8244"
+ ]
+ ]
+ },
+ {
+ "id": "60994b4e.7d8244",
+ "type": "execute",
+ "name": "execute getTemplate Parameter_definition",
+ "xml": "<execute plugin=\"org.onap.appc.data.services.node.ConfigResourceNode\" method=\"getTemplate\">\n<parameter name=\"fileCategory\" value=\"parameter_definitions\" />\n<parameter name=\"responsePrefix\" value=\"parameter-definitions\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 542,
+ "y": 97.14285278320312,
+ "z": "408b3a53.1e13a4",
+ "wires": [
+ [
+ "ea51eb65.0ff9a8",
+ "d0d5739b.bfafc8",
+ "e3dd3a17.ad6ee"
+ ]
+ ]
+ },
+ {
+ "id": "ea51eb65.0ff9a8",
+ "type": "failure",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 861,
+ "y": 90.14285278320312,
+ "z": "408b3a53.1e13a4",
+ "wires": [
+ [
+ "2b692700.b76b1a"
+ ]
+ ]
+ },
+ {
+ "id": "e3dd3a17.ad6ee",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 853,
+ "y": 129.14285278320312,
+ "z": "408b3a53.1e13a4",
+ "wires": [
+ [
+ "93ddd115.dbf35"
+ ]
+ ]
+ },
+ {
+ "id": "2b692700.b76b1a",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1013,
+ "y": 86.14285278320312,
+ "z": "408b3a53.1e13a4",
+ "wires": [
+ [
+ "9c4bd19f.1082a"
+ ]
+ ]
+ },
+ {
+ "id": "93ddd115.dbf35",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1007,
+ "y": 136.14285278320312,
+ "z": "408b3a53.1e13a4",
+ "wires": [
+ [
+ "4e591938.99b078"
+ ]
+ ]
+ },
+ {
+ "id": "eb60b973.4cb788",
+ "type": "execute",
+ "name": "execute Get External System Params",
+ "xml": "<execute plugin=\"org.onap.sdnc.config.params.parser.PropertyDefinitionNode\" method=\"processExternalSystemParamKeys\">\n<parameter name=\"systemName\" value=\"INSTAR\" />\n<parameter name=\"pdContent\" value=\"`$parameter-definitions.file-content`\" />\n<parameter name=\"jsonData\" value=\"`$configuration-params`\" />\n<parameter name=\"responsePrefix\" value=\"tmp.instarParams\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 282,
+ "y": 283.1428482532501,
+ "z": "408b3a53.1e13a4",
+ "wires": [
+ [
+ "da4f9906.f98948",
+ "a2e3f493.16cde"
+ ]
+ ]
+ },
+ {
+ "id": "da4f9906.f98948",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 541,
+ "y": 226.14285278320312,
+ "z": "408b3a53.1e13a4",
+ "wires": [
+ [
+ "4e1858ef.26799"
+ ]
+ ]
+ },
+ {
+ "id": "a2e3f493.16cde",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 529,
+ "y": 289.1428527832031,
+ "z": "408b3a53.1e13a4",
+ "wires": [
+ [
+ "8342e2fd.4bf12"
+ ]
+ ]
+ },
+ {
+ "id": "4e1858ef.26799",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 704,
+ "y": 228.14285278320312,
+ "z": "408b3a53.1e13a4",
+ "wires": [
+ [
+ "bbc9b0db.3d949"
+ ]
+ ]
+ },
+ {
+ "id": "8342e2fd.4bf12",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 677,
+ "y": 287.1428527832031,
+ "z": "408b3a53.1e13a4",
+ "wires": [
+ [
+ "b8fb2c1c.c88428"
+ ]
+ ]
+ },
+ {
+ "id": "bbc9b0db.3d949",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status=\"failure\">\n<parameter name=\"error-code\" value=\"401\"/>\n\t<parameter name=\"error-message\" value=\"Unable to get Instar parameter definitions\"/>\n\t\n\t\n\t",
+ "comments": "",
+ "x": 882,
+ "y": 225.14285278320312,
+ "z": "408b3a53.1e13a4",
+ "wires": []
+ },
+ {
+ "id": "b8fb2c1c.c88428",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status=\"failure\">\n<parameter name=\"error-code\" value=\"401\"/>\n\t<parameter name=\"error-message\" value=\"`$tmp.instarParams.error-message`\"/>\n\t\n\t\n\t",
+ "comments": "",
+ "x": 850,
+ "y": 286.1428527832031,
+ "z": "408b3a53.1e13a4",
+ "wires": []
+ },
+ {
+ "id": "f2270e94.c6ece8",
+ "type": "execute",
+ "name": "execute getTemplate Parameter_yang",
+ "xml": "<execute plugin=\"org.onap.appc.data.services.node.ConfigResourceNode\" method=\"getTemplate\">\n<parameter name=\"fileCategory\" value=\"parameter_yang\" />\n<parameter name=\"responsePrefix\" value=\"parameter-yang\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 152,
+ "y": 1067.1428527832031,
+ "z": "408b3a53.1e13a4",
+ "wires": [
+ [
+ "4d53808a.8e9d3",
+ "a47d3350.e776c8",
+ "4f82cb58.f79fa4"
+ ]
+ ]
+ },
+ {
+ "id": "4d53808a.8e9d3",
+ "type": "failure",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 692.5,
+ "y": 1097.1428527832031,
+ "z": "408b3a53.1e13a4",
+ "wires": [
+ [
+ "9bc35a01.aee678"
+ ]
+ ]
+ },
+ {
+ "id": "a47d3350.e776c8",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 664.5,
+ "y": 1168.1428527832031,
+ "z": "408b3a53.1e13a4",
+ "wires": [
+ [
+ "9db846a7.336f48"
+ ]
+ ]
+ },
+ {
+ "id": "9bc35a01.aee678",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 836.5,
+ "y": 1094.1428527832031,
+ "z": "408b3a53.1e13a4",
+ "wires": [
+ [
+ "6677eb82.99e79c",
+ "85af0fb7.f65738"
+ ]
+ ]
+ },
+ {
+ "id": "9db846a7.336f48",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 833.5,
+ "y": 1157.1428527832031,
+ "z": "408b3a53.1e13a4",
+ "wires": [
+ [
+ "9b6cc7cc.5d337",
+ "85af0fb7.f65738"
+ ]
+ ]
+ },
+ {
+ "id": "1fa7c13.d7ea63f",
+ "type": "comment",
+ "name": "INSTAR keys",
+ "info": "Result: [INSTAR.LOCAL_CORE_ALT_IP_ADDR.request-logic, INSTAR.LOCAL_CORE_ALT_IP_ADDR_MOD.request-logic, test.status, INSTAR.LOCAL_CORE_ALT_IP_ADDR_MOD.response-logic, INSTAR.LOCAL_CORE_ALT_IP_ADDR.response-logic, INSTAR.keys]\nINSTAR.keys : [\"LOCAL_CORE_ALT_IP_ADDR\",\"LOCAL_CORE_ALT_IP_ADDR_MOD\"]\nINSTAR.LOCAL_CORE_ALT_IP_ADDR.request-logic : null\nINSTAR.LOCAL_CORE_ALT_IP_ADDR.response-logic : null",
+ "comments": "",
+ "x": 1454.5,
+ "y": 387.1428527832031,
+ "z": "408b3a53.1e13a4",
+ "wires": []
+ },
+ {
+ "id": "f8b4ee81.b6b88",
+ "type": "execute",
+ "name": "execute Get Instar Data",
+ "xml": "<execute plugin=\"org.onap.appc.instar.node.InstarClientNode\" method=\"getInstarInfo\">\n<parameter name=\"instarKeys\" value=\"`$INSTAR.keys`\" />\n<parameter name=\"responsePrefix\" value=\"tmp.instarValues\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 870.5,
+ "y": 446.1428527832031,
+ "z": "408b3a53.1e13a4",
+ "wires": [
+ [
+ "dc6376f1.2ce5c8"
+ ]
+ ]
+ },
+ {
+ "id": "dc6376f1.2ce5c8",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1127.5,
+ "y": 444.1428527832031,
+ "z": "408b3a53.1e13a4",
+ "wires": [
+ [
+ "a2b5f022.91e6"
+ ]
+ ]
+ },
+ {
+ "id": "a2b5f022.91e6",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1287.5,
+ "y": 446.1428527832031,
+ "z": "408b3a53.1e13a4",
+ "wires": [
+ [
+ "10e7ca69.7b550e"
+ ]
+ ]
+ },
+ {
+ "id": "10e7ca69.7b550e",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status=\"failure\">\n<parameter name=\"error-code\" value=\"401\"/>\n\t<parameter name=\"error-message\" value=\"`$tmp.instarValues.error-message`\"/>\n\t\n\t\n\t",
+ "comments": "",
+ "x": 1456.5,
+ "y": 443.1428527832031,
+ "z": "408b3a53.1e13a4",
+ "wires": []
+ },
+ {
+ "id": "7f1ad793.7b648",
+ "type": "execute",
+ "name": "execute read PD file",
+ "xml": "<execute plugin=\"org.onap.sdnc.config.generator.reader.ReaderNode\" method=\"getFileData\">\n<parameter name=\"fileName\" value=\"/opt/app/bvc/templates/pd.yaml\" />\n<parameter name=\"responsePrefix\" value=\"tmpFileData\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1466.5,
+ "y": 51.142852783203125,
+ "z": "408b3a53.1e13a4",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "40a8d5ae.91a144",
+ "type": "execute",
+ "name": "execute Get Complete Set of Params",
+ "xml": "<execute plugin=\"org.onap.sdnc.config.params.parser.PropertyDefinitionNode\" method=\"mergeJsonData\">\n<parameter name=\"jsonData\" value=\"`$configuration-params`\" />\n<parameter name=\"mergeJsonData\" value=\"`$tmp.instarValues.INSTAR-KEY-VALUES`\" />\n<parameter name=\"responsePrefix\" value=\"tmp.allParams\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 884.5,
+ "y": 521.1428527832031,
+ "z": "408b3a53.1e13a4",
+ "wires": [
+ [
+ "79330087.fcaa58"
+ ]
+ ]
+ },
+ {
+ "id": "79330087.fcaa58",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1142,
+ "y": 524.1428527832031,
+ "z": "408b3a53.1e13a4",
+ "wires": [
+ [
+ "6d331a96.c9596c"
+ ]
+ ]
+ },
+ {
+ "id": "6d331a96.c9596c",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1294,
+ "y": 521.1428527832031,
+ "z": "408b3a53.1e13a4",
+ "wires": [
+ [
+ "2e489e63.674992"
+ ]
+ ]
+ },
+ {
+ "id": "2e489e63.674992",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status=\"failure\">\n<parameter name=\"error-code\" value=\"401\"/>\n\t<parameter name=\"error-message\" value=\"`$tmp.allParams.error-message`\"/>\n\t\n\t\n\t",
+ "comments": "",
+ "x": 1445,
+ "y": 526.1428527832031,
+ "z": "408b3a53.1e13a4",
+ "wires": []
+ },
+ {
+ "id": "93f65f4f.6bcc88",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n<parameter name='parameter-definitions.file-content' value='`$tmpFileData.fileData`' />\n",
+ "comments": "",
+ "x": 1446.5,
+ "y": 124.14285278320312,
+ "z": "408b3a53.1e13a4",
+ "wires": []
+ },
+ {
+ "id": "54502ec1.cef3c",
+ "type": "record",
+ "name": "record",
+ "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=\"`$INSTAR.keys`\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 809,
+ "y": 398.1428527832031,
+ "z": "408b3a53.1e13a4",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "97b61a4c.76ac1",
+ "type": "switchNode",
+ "name": "switch Instar Keys exists",
+ "xml": "<switch test='`$INSTAR.keys`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 251,
+ "y": 393.1428527832031,
+ "z": "408b3a53.1e13a4",
+ "wires": [
+ [
+ "a52e11cb.ed18a8",
+ "e86837fb.c809f",
+ "c602c5af.df1f38"
+ ]
+ ]
+ },
+ {
+ "id": "a52e11cb.ed18a8",
+ "type": "success",
+ "name": "outcome: null",
+ "xml": "<outcome value=''>",
+ "comments": "",
+ "outputs": 1,
+ "x": 470,
+ "y": 396.1428527832031,
+ "z": "408b3a53.1e13a4",
+ "wires": [
+ [
+ "70888292.19fa64"
+ ]
+ ]
+ },
+ {
+ "id": "70888292.19fa64",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 651,
+ "y": 397.1428527832031,
+ "z": "408b3a53.1e13a4",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "e86837fb.c809f",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 455,
+ "y": 447.1428527832031,
+ "z": "408b3a53.1e13a4",
+ "wires": [
+ [
+ "a1a5a5ae.fbf7f"
+ ]
+ ]
+ },
+ {
+ "id": "a1a5a5ae.fbf7f",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 621,
+ "y": 447.1428527832031,
+ "z": "408b3a53.1e13a4",
+ "wires": [
+ [
+ "f8b4ee81.b6b88",
+ "40a8d5ae.91a144",
+ "ba042d56.e9274",
+ "54502ec1.cef3c"
+ ]
+ ]
+ },
+ {
+ "id": "ba042d56.e9274",
+ "type": "set",
+ "name": "set configuration-params",
+ "xml": "<set>\n<parameter name='configuration-params' value='`$tmp.allParams.configuration-parameters`' />\n\n",
+ "comments": "",
+ "x": 840,
+ "y": 585.1428527832031,
+ "z": "408b3a53.1e13a4",
+ "wires": []
+ },
+ {
+ "id": "4f82cb58.f79fa4",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 237.5,
+ "y": 1231.1428527832031,
+ "z": "408b3a53.1e13a4",
+ "wires": [
+ [
+ "4bda23ba.d882f4"
+ ]
+ ]
+ },
+ {
+ "id": "4bda23ba.d882f4",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 385.5,
+ "y": 1231.1428527832031,
+ "z": "408b3a53.1e13a4",
+ "wires": [
+ [
+ "c91fcb41.aa672"
+ ]
+ ]
+ },
+ {
+ "id": "c91fcb41.aa672",
+ "type": "execute",
+ "name": "execute Save in MDSal",
+ "xml": "<execute plugin='org.onap.appc.dg.common.VNFConfigurator' method='storeConfig' >\n<parameter name=\"uniqueId\" value=\"`$parameter-yang.config-file-id`\" />\n<parameter name=\"yang\" value=\"`$parameter-yang.file-content`\" />\n<parameter name=\"requestId\" value=\"`$request-id`\" />\n<parameter name=\"configJSON\" value=\"`'{&quot;vnf-config&quot;:' + $configuration-params + '}'`\" />\n<parameter name=\"prefix\" value=\"tmp.mdSalSave\" />\n\n<!--\n<parameter name=\"configJSON\" value=\"`$configuration-params`\" /> -->\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 572.5,
+ "y": 1237.1428527832031,
+ "z": "408b3a53.1e13a4",
+ "wires": [
+ [
+ "a08bafe7.d1eff"
+ ]
+ ]
+ },
+ {
+ "id": "a08bafe7.d1eff",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 750.5,
+ "y": 1234.1428527832031,
+ "z": "408b3a53.1e13a4",
+ "wires": [
+ [
+ "fb23215e.bb60d8"
+ ]
+ ]
+ },
+ {
+ "id": "fb23215e.bb60d8",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 910.5,
+ "y": 1229.1428527832031,
+ "z": "408b3a53.1e13a4",
+ "wires": [
+ [
+ "f78f5b51.56375",
+ "85af0fb7.f65738"
+ ]
+ ]
+ },
+ {
+ "id": "6677eb82.99e79c",
+ "type": "set",
+ "name": "set: dcae-error message",
+ "xml": "<set>\n <parameter name=\"dcae-error-message\" value=\"Unable to get Yang Model\"/>",
+ "comments": "",
+ "x": 1069.5,
+ "y": 1052.1428527832031,
+ "z": "408b3a53.1e13a4",
+ "wires": []
+ },
+ {
+ "id": "9b6cc7cc.5d337",
+ "type": "set",
+ "name": "set: dcae-error message",
+ "xml": "<set>\n <parameter name=\"dcae-error-message\" value=\"`$parameter-yang.error-message`\"/>",
+ "comments": "",
+ "x": 1080.5,
+ "y": 1105.1428527832031,
+ "z": "408b3a53.1e13a4",
+ "wires": []
+ },
+ {
+ "id": "f78f5b51.56375",
+ "type": "set",
+ "name": "set: dcae-error message",
+ "xml": "<set>\n <parameter name=\"dcae-error-message\" value=\"`$tmp.mdSalSave.ERROR_MESSAGE`\"/>",
+ "comments": "",
+ "x": 1122.5,
+ "y": 1233.1428527832031,
+ "z": "408b3a53.1e13a4",
+ "wires": []
+ },
+ {
+ "id": "85af0fb7.f65738",
+ "type": "execute",
+ "name": "execute saveTxLog",
+ "xml": "<execute plugin=\"org.onap.appc.data.services.node.ConfigResourceNode\" method=\"saveConfigTransactionLog\">\n<parameter name=\"messageType\" value=\"log\" />\n<parameter name=\"message\" value=\"`'501:' + $dcae-error-message`\" />\n<parameter name=\"responsePrefix\" value=\"tmp.saveTxLog\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1092.5,
+ "y": 1160.1428527832031,
+ "z": "408b3a53.1e13a4",
+ "wires": [
+ [
+ "ba63d887.e35628"
+ ]
+ ]
+ },
+ {
+ "id": "d9b3a633.6346",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1403.5,
+ "y": 1158.1428527832031,
+ "z": "408b3a53.1e13a4",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "ba63d887.e35628",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1268.5,
+ "y": 1157.1428527832031,
+ "z": "408b3a53.1e13a4",
+ "wires": [
+ [
+ "d9b3a633.6346"
+ ]
+ ]
+ },
+ {
+ "id": "b970932c.a2aea8",
+ "type": "execute",
+ "name": "execute IntermediateMessageSender",
+ "xml": "<execute plugin='org.onap.appc.dg.common.IntermediateMessageSender' method='sendMessage' >\n<parameter name='code' value=\"501\" />\n<parameter name='message' value=\"`$dcae-error-message`\" />\n<parameter name='prefix' value=\"tmp.intermediateerror\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 719.5,
+ "y": 1300.1428527832031,
+ "z": "408b3a53.1e13a4",
+ "wires": [
+ [
+ "3aa386c9.e25f1a",
+ "6cd78ef2.fa6ea8"
+ ]
+ ]
+ },
+ {
+ "id": "3aa386c9.e25f1a",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 944.5,
+ "y": 1279.1428527832031,
+ "z": "408b3a53.1e13a4",
+ "wires": [
+ [
+ "6da3ed85.2bddf4"
+ ]
+ ]
+ },
+ {
+ "id": "6cd78ef2.fa6ea8",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 941.5,
+ "y": 1333.1428527832031,
+ "z": "408b3a53.1e13a4",
+ "wires": [
+ [
+ "6da3ed85.2bddf4"
+ ]
+ ]
+ },
+ {
+ "id": "8739b635.14bee8",
+ "type": "record",
+ "name": "record",
+ "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=\"MSGSENDERERERROR\" value=\"Unable to call IntermediateErrorMessageSender\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1244.5,
+ "y": 1304.1428527832031,
+ "z": "408b3a53.1e13a4",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d0d5739b.bfafc8",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 140,
+ "y": 187.14284825325012,
+ "z": "408b3a53.1e13a4",
+ "wires": [
+ [
+ "4eedf56f.55957c"
+ ]
+ ]
+ },
+ {
+ "id": "4eedf56f.55957c",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 308,
+ "y": 187.14284825325012,
+ "z": "408b3a53.1e13a4",
+ "wires": [
+ [
+ "eb60b973.4cb788",
+ "97b61a4c.76ac1",
+ "f2270e94.c6ece8",
+ "a144baa1.28f868",
+ "1a651777.ccbc19",
+ "a2aef3bb.bb638"
+ ]
+ ]
+ },
+ {
+ "id": "4e591938.99b078",
+ "type": "record",
+ "name": "record",
+ "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=\"`'PD FILE NOTFOUND ' + $parameter-definitions.error-message`\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1142,
+ "y": 137.14285278320312,
+ "z": "408b3a53.1e13a4",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "c602c5af.df1f38",
+ "type": "success",
+ "name": "outcome: []",
+ "xml": "<outcome value='[]'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 475,
+ "y": 351.1428527832031,
+ "z": "408b3a53.1e13a4",
+ "wires": [
+ [
+ "ccf81ffb.f8f2d"
+ ]
+ ]
+ },
+ {
+ "id": "ccf81ffb.f8f2d",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 636,
+ "y": 352.1428527832031,
+ "z": "408b3a53.1e13a4",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "6da3ed85.2bddf4",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1098,
+ "y": 1308.1428527832031,
+ "z": "408b3a53.1e13a4",
+ "wires": [
+ [
+ "8739b635.14bee8"
+ ]
+ ]
+ },
+ {
+ "id": "9c4bd19f.1082a",
+ "type": "record",
+ "name": "record",
+ "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=\"`'PD FILE NOTFOUND ' + $parameter-definitions.error-message`\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1144.3333435058594,
+ "y": 83.14284825325012,
+ "z": "408b3a53.1e13a4",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "70231c4d.ecd274",
+ "type": "comment",
+ "name": "MD-SAL error message is not propagated to GUI",
+ "info": "DCAE-Error messages are not propagated to GUI",
+ "comments": "",
+ "x": 729,
+ "y": 914.1428527832031,
+ "z": "408b3a53.1e13a4",
+ "wires": []
+ },
+ {
+ "id": "a1f2f357.d3869",
+ "type": "execute",
+ "name": "execute Get Aai Data",
+ "xml": "<execute plugin=\"org.onap.appc.instar.node.InstarClientNode\" method=\"getAaiInfo\">\n<parameter name=\"aaiKeys\" value=\"`$AAI.keys`\" />\n<parameter name=\"responsePrefix\" value=\"tmp.aaiValues\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 889.75,
+ "y": 674.8928527832031,
+ "z": "408b3a53.1e13a4",
+ "wires": [
+ [
+ "4bf00a24.0d485c"
+ ]
+ ]
+ },
+ {
+ "id": "4bf00a24.0d485c",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1096.75,
+ "y": 674.8928527832031,
+ "z": "408b3a53.1e13a4",
+ "wires": [
+ [
+ "55cad041.42e838"
+ ]
+ ]
+ },
+ {
+ "id": "55cad041.42e838",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1248.75,
+ "y": 673.8928527832031,
+ "z": "408b3a53.1e13a4",
+ "wires": [
+ [
+ "1cb83048.3a9ed"
+ ]
+ ]
+ },
+ {
+ "id": "1cb83048.3a9ed",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status=\"failure\">\n<parameter name=\"error-code\" value=\"401\"/>\n\t<parameter name=\"error-message\" value=\"`$tmp.instarValues.error-message`\"/>\n\t\n\t\n\t",
+ "comments": "",
+ "x": 1429.75,
+ "y": 673.8928527832031,
+ "z": "408b3a53.1e13a4",
+ "wires": []
+ },
+ {
+ "id": "ec2b13ac.7efef8",
+ "type": "execute",
+ "name": "execute Get Complete Set of Params",
+ "xml": "<execute plugin=\"org.onap.sdnc.config.params.parser.PropertyDefinitionNode\" method=\"mergeJsonData\">\n<parameter name=\"jsonData\" value=\"`$configuration-params`\" />\n<parameter name=\"mergeJsonData\" value=\"`$tmp.aaiValues.AAI-KEY-VALUES`\" />\n<parameter name=\"responsePrefix\" value=\"tmp.allParams\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 864.75,
+ "y": 722.8928527832031,
+ "z": "408b3a53.1e13a4",
+ "wires": [
+ [
+ "f532fc18.17bad"
+ ]
+ ]
+ },
+ {
+ "id": "f532fc18.17bad",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1107.25,
+ "y": 721.8928527832031,
+ "z": "408b3a53.1e13a4",
+ "wires": [
+ [
+ "ddb75f04.fb285"
+ ]
+ ]
+ },
+ {
+ "id": "ddb75f04.fb285",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1258.25,
+ "y": 720.8928527832031,
+ "z": "408b3a53.1e13a4",
+ "wires": [
+ [
+ "f56e81f9.3f4678"
+ ]
+ ]
+ },
+ {
+ "id": "f56e81f9.3f4678",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status=\"failure\">\n<parameter name=\"error-code\" value=\"401\"/>\n\t<parameter name=\"error-message\" value=\"`$tmp.allParams.error-message`\"/>\n\t\n\t\n\t",
+ "comments": "",
+ "x": 1430.25,
+ "y": 723.8928527832031,
+ "z": "408b3a53.1e13a4",
+ "wires": []
+ },
+ {
+ "id": "9be2ca6e.0d5e4",
+ "type": "record",
+ "name": "record",
+ "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=\"`$AAI.keys`\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 784.25,
+ "y": 629.8928527832031,
+ "z": "408b3a53.1e13a4",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a144baa1.28f868",
+ "type": "switchNode",
+ "name": "switch AaiKeys exists",
+ "xml": "<switch test='`$AAI.keys`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 242.75,
+ "y": 593.8928527832031,
+ "z": "408b3a53.1e13a4",
+ "wires": [
+ [
+ "1a455698.820179",
+ "dfc592ff.0073c8",
+ "806cb907.073c58"
+ ]
+ ]
+ },
+ {
+ "id": "1a455698.820179",
+ "type": "success",
+ "name": "outcome: null",
+ "xml": "<outcome value=''>",
+ "comments": "",
+ "outputs": 1,
+ "x": 477.25,
+ "y": 612.8928527832031,
+ "z": "408b3a53.1e13a4",
+ "wires": [
+ [
+ "a5bd4f23.8a1c8"
+ ]
+ ]
+ },
+ {
+ "id": "a5bd4f23.8a1c8",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 635.25,
+ "y": 610.8928527832031,
+ "z": "408b3a53.1e13a4",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "dfc592ff.0073c8",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 412.25,
+ "y": 723.8928527832031,
+ "z": "408b3a53.1e13a4",
+ "wires": [
+ [
+ "a95b1b3b.465f48"
+ ]
+ ]
+ },
+ {
+ "id": "a95b1b3b.465f48",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 576.25,
+ "y": 718.8928527832031,
+ "z": "408b3a53.1e13a4",
+ "wires": [
+ [
+ "a1f2f357.d3869",
+ "ec2b13ac.7efef8",
+ "4666de39.da3918",
+ "9be2ca6e.0d5e4"
+ ]
+ ]
+ },
+ {
+ "id": "4666de39.da3918",
+ "type": "set",
+ "name": "set configuration-params",
+ "xml": "<set>\n<parameter name='configuration-params' value='`$tmp.allParams.configuration-parameters`' />\n\n",
+ "comments": "",
+ "x": 847.25,
+ "y": 774.8928527832031,
+ "z": "408b3a53.1e13a4",
+ "wires": []
+ },
+ {
+ "id": "806cb907.073c58",
+ "type": "success",
+ "name": "outcome: []",
+ "xml": "<outcome value='[]'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 471.25,
+ "y": 550.8928527832031,
+ "z": "408b3a53.1e13a4",
+ "wires": [
+ [
+ "1d2b5bde.b5b8ac"
+ ]
+ ]
+ },
+ {
+ "id": "1d2b5bde.b5b8ac",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 624.25,
+ "y": 547.8928527832031,
+ "z": "408b3a53.1e13a4",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "1a651777.ccbc19",
+ "type": "execute",
+ "name": "execute Validation",
+ "xml": "<execute plugin=\"org.onap.sdnc.config.params.parser.PropertyDefinitionNode\" method=\"validateParams\">\n<parameter name=\"configuration-parameters\" value=\"`$configuration-params`\" />\n<parameter name=\"pdContent\" value=\"`$parameter-definitions.file-content`\" />\n<parameter name=\"responsePrefix\" value=\"tmp.message\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 225.99996948242188,
+ "y": 825.1427307128906,
+ "z": "408b3a53.1e13a4",
+ "wires": [
+ [
+ "4a9ce947.955e48",
+ "8f631d09.4ac16"
+ ]
+ ]
+ },
+ {
+ "id": "eae01a84.49d218",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 610.4000244140625,
+ "y": 848.7427978515625,
+ "z": "408b3a53.1e13a4",
+ "wires": [
+ [
+ "8d413538.060ef8"
+ ]
+ ]
+ },
+ {
+ "id": "4a9ce947.955e48",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 450.16668701171875,
+ "y": 819.2857055664062,
+ "z": "408b3a53.1e13a4",
+ "wires": [
+ [
+ "eae01a84.49d218"
+ ]
+ ]
+ },
+ {
+ "id": "8f631d09.4ac16",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 440.452392578125,
+ "y": 890.8095092773438,
+ "z": "408b3a53.1e13a4",
+ "wires": [
+ [
+ "eae01a84.49d218"
+ ]
+ ]
+ },
+ {
+ "id": "a2aef3bb.bb638",
+ "type": "record",
+ "name": "record",
+ "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=\"`$tmp.messsage.status`\" />\n<parameter name=\"field3\" value=\"`$tmp.message.error-message`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 230.1666717529297,
+ "y": 919.0952758789062,
+ "z": "408b3a53.1e13a4",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "8d413538.060ef8",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status=\"failure\">\n<parameter name=\"error-code\" value=\"401\"/>\n<parameter name=\"error-message\" value=\"`$tmp.message.error-message`\"/>\n\t\n\t\n\t",
+ "comments": "",
+ "x": 837.3095092773438,
+ "y": 831.952392578125,
+ "z": "408b3a53.1e13a4",
+ "wires": []
+ }
+]
diff --git a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_PublishConfiguration.json b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_PublishConfiguration.json
index a73d21a55..ac9bde9fa 100644
--- a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_PublishConfiguration.json
+++ b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_PublishConfiguration.json
@@ -1 +1,538 @@
-[{"id":"390ce99d.bf5d96","type":"dgstart","name":"DGSTART","outputs":1,"x":143,"y":95,"z":"ba18d0da.6b53d","wires":[["644628c3.2d9d28"]]},{"id":"644628c3.2d9d28","type":"service-logic","name":"APPC 4.0.0","module":"APPC","version":"4.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' version='4.0.0'>","outputs":1,"x":344,"y":87,"z":"ba18d0da.6b53d","wires":[["1413fa79.66a72e"]]},{"id":"1413fa79.66a72e","type":"method","name":"method PublishConfiguration","xml":"<method rpc='PublishConfiguration' mode='sync'>\n","comments":"","outputs":1,"x":582,"y":87,"z":"ba18d0da.6b53d","wires":[["4fe4cc0b.026be4"]]},{"id":"4fe4cc0b.026be4","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":181,"y":182,"z":"ba18d0da.6b53d","wires":[["7f8c2a55.61673c","29662869.84a628","949cd4f7.5ed8f","7dba4e1.da4afb","2572109c.9829f8"]]},{"id":"7f8c2a55.61673c","type":"set","name":"set uploadconfigid for dispatcher","xml":"<set>\n<parameter name='output.payload.upload-config-id[0]' value='`$tmp.uploadConfigInfo.UPLOAD-CONFIG-ID`' />\n<!--\n<parameter name='output.payload.upload-config-id[0]' value='`$tmp.uploadconfigmax.uploadconfigid`' />\n-->\n\n","comments":"","x":446,"y":650,"z":"ba18d0da.6b53d","wires":[]},{"id":"29662869.84a628","type":"execute","name":"generateOutputPayloadFromContext","xml":"<execute plugin=\"org.onap.appc.dg.common.JsonDgUtil\" method=\"generateOutputPayloadFromContext\">\n\n<!-- this will set output.payload DG Context var with all vars that start with output.payload -->\n\n\n","comments":"","outputs":1,"x":460,"y":713,"z":"ba18d0da.6b53d","wires":[["93c26b79.ac00e8","ef5b9ce6.17dda"]]},{"id":"7dba4e1.da4afb","type":"execute","name":"execute Create Json for CVaas","xml":"<execute plugin=\"org.onap.sdnc.config.generator.convert.ConvertNode\" method=\"convertContextToJson\">\n<parameter name=\"contextKey\" value=\"tmp.config\" />\n<parameter name=\"responsePrefix\" value=\"tmp.jsonConversion\" />\n","comments":"","outputs":1,"x":495,"y":310,"z":"ba18d0da.6b53d","wires":[["68503e8b.6e9178","b9d5cca5.f26868","90ad3c4d.8e0db8"]]},{"id":"93c26b79.ac00e8","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":726,"y":701,"z":"ba18d0da.6b53d","wires":[["9cb7432e.9c7e88"]]},{"id":"ef5b9ce6.17dda","type":"failure","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":727,"y":753,"z":"ba18d0da.6b53d","wires":[["136bd85.d652728"]]},{"id":"9cb7432e.9c7e88","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":885,"y":698,"z":"ba18d0da.6b53d","wires":[["cde3fbd5.e1f268"]]},{"id":"136bd85.d652728","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":897,"y":747,"z":"ba18d0da.6b53d","wires":[["9106d080.5bc63"]]},{"id":"cde3fbd5.e1f268","type":"record","name":"record","xml":"<record plugin=\"org.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=\"`'Error from generateOutputPayloadFromContext = ' + $output.status.message`\" />\n","comments":"","outputs":1,"x":1066,"y":699,"z":"ba18d0da.6b53d","wires":[[]]},{"id":"9106d080.5bc63","type":"record","name":"record","xml":"<record plugin=\"org.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=\"`'PAYLOAD from generateOutputPayloadFromContext = ' + $output.payload`\" />\n","comments":"","outputs":1,"x":1070,"y":747,"z":"ba18d0da.6b53d","wires":[[]]},{"id":"b9d5cca5.f26868","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":718,"y":310,"z":"ba18d0da.6b53d","wires":[["b4e79a48.cfd848"]]},{"id":"68503e8b.6e9178","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":717,"y":270,"z":"ba18d0da.6b53d","wires":[["5e0da89f.a9c5f8"]]},{"id":"5e0da89f.a9c5f8","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":895,"y":269,"z":"ba18d0da.6b53d","wires":[["d8910515.c8984","92ad96ed.dc0f98","b5be72d3.4c2378"]]},{"id":"b4e79a48.cfd848","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":887,"y":316,"z":"ba18d0da.6b53d","wires":[["50458cf4.1d3894","92ad96ed.dc0f98","b5be72d3.4c2378"]]},{"id":"a485e3e3.6f9708","type":"record","name":"execute Write Config Details for Cvaas ","xml":"<execute plugin=\"org.onap.sdnc.config.generator.writer.FileWriterNode\" method=\"writeFile\">\n<parameter name=\"fileName\" value=\"`$tmp.fileName`\"/>\n<parameter name=\"requestData\" value=\"`$tmp.jsonConversion.jsonContent`\"/>\n\n","comments":"","outputs":1,"x":951,"y":375,"z":"ba18d0da.6b53d","wires":[["e0da83aa.86dc2"]]},{"id":"949cd4f7.5ed8f","type":"set","name":"set fileName","xml":"<set>\n<parameter name='tmp.fileName' value=\"`'/opt/app/bvc/cvaas/' + $vnf-id + '_' + $tmp.uploadConfigInfo.UPLOAD-TIMESTAMP + '_appc001' + '.json'`\"/>\n","comments":"","x":457,"y":164,"z":"ba18d0da.6b53d","wires":[]},{"id":"e0da83aa.86dc2","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1194,"y":377,"z":"ba18d0da.6b53d","wires":[["cf25c291.eeaac"]]},{"id":"cf25c291.eeaac","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":1364,"y":383,"z":"ba18d0da.6b53d","wires":[["38f8974.498d2e8","92ad96ed.dc0f98","b5be72d3.4c2378"]]},{"id":"d8910515.c8984","type":"set","name":"set dcae-error-message","xml":"<set>\n<parameter name='dcae-error-message' value=\"'ConvertContextToJson not found\" />\n","comments":"","x":1121,"y":269,"z":"ba18d0da.6b53d","wires":[]},{"id":"50458cf4.1d3894","type":"set","name":"set dcae-error-message","xml":"<set>\n<parameter name='dcae-error-message' value=\"`'Error from convertContextToJson - ' + $tmp.jsonConversion.error-message`\" />\n","comments":"","x":1122,"y":316,"z":"ba18d0da.6b53d","wires":[]},{"id":"90ad3c4d.8e0db8","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":506,"y":368,"z":"ba18d0da.6b53d","wires":[["c9826355.de2d88"]]},{"id":"c9826355.de2d88","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":674,"y":370,"z":"ba18d0da.6b53d","wires":[["a485e3e3.6f9708"]]},{"id":"38f8974.498d2e8","type":"set","name":"set dcae-error-message","xml":"<set>\n<parameter name='dcae-error-message' value=\"Unable to write file to /opt/app/bvc/cvaas\" />\n","comments":"","x":1596,"y":376,"z":"ba18d0da.6b53d","wires":[]},{"id":"92ad96ed.dc0f98","type":"execute","name":"execute IntermediateMessageSender","xml":"<execute plugin='org.onap.appc.dg.common.IntermediateMessageSender' method='sendMessage' >\n<parameter name='code' value=\"501\" />\n<parameter name='message' value=\"`$dcae-error-message`\" />\n<parameter name='prefix' value=\"tmp.intermediateerror\"/>","comments":"","outputs":1,"x":936,"y":449,"z":"ba18d0da.6b53d","wires":[["58b7c48d.5cbf0c","3db6580c.06a818"]]},{"id":"58b7c48d.5cbf0c","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":1175,"y":448,"z":"ba18d0da.6b53d","wires":[["1b264e03.1285a2"]]},{"id":"3db6580c.06a818","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1172,"y":507,"z":"ba18d0da.6b53d","wires":[["1b264e03.1285a2"]]},{"id":"1b264e03.1285a2","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":1335,"y":472,"z":"ba18d0da.6b53d","wires":[["d1436755.fdf6a8"]]},{"id":"d1436755.fdf6a8","type":"record","name":"record","xml":"<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"MSGSENDERERERROR\" value=\"Unable to call IntermediateErrorMessageSender\"/>\n","comments":"","outputs":1,"x":1500,"y":473,"z":"ba18d0da.6b53d","wires":[[]]},{"id":"b5be72d3.4c2378","type":"execute","name":"execute saveTxLog","xml":"<execute plugin=\"org.onap.appc.data.services.node.ConfigResourceNode\" method=\"saveConfigTransactionLog\">\n<parameter name=\"messageType\" value=\"log\" />\n<parameter name=\"message\" value=\"`'501:' + $dcae-error-message`\" />\n<parameter name=\"responsePrefix\" value=\"tmp.saveTxLog\" />\n","comments":"","outputs":1,"x":916,"y":549,"z":"ba18d0da.6b53d","wires":[["c81e7770.18ce18"]]},{"id":"c81e7770.18ce18","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1102,"y":551,"z":"ba18d0da.6b53d","wires":[["b5ce7da8.febb3"]]},{"id":"b5ce7da8.febb3","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":1276,"y":553,"z":"ba18d0da.6b53d","wires":[[]]},{"id":"2572109c.9829f8","type":"set","name":"set payload parameters","xml":"<set>\n<parameter name='tmp.config.UPLOAD_CONFIG_ID' value=\"`$tmp.uploadConfigInfo.UPLOAD-CONFIG-ID`\" />\n<parameter name='tmp.config.REQUEST_ID' value=\"`$tmp.uploadConfigInfo.REQUEST-ID`\" />\n<parameter name='tmp.config.ORIGINATOR_ID' value=\"`$tmp.uploadConfigInfo.ORIGINATOR-ID`\" />\n<parameter name='tmp.config.SERVICE_DESCRIPTION' value=\"`$tmp.uploadConfigInfo.SERVICE-DESCRIPTION`\" />\n<parameter name='tmp.config.ACTION' value=\"`$tmp.uploadConfigInfo.ACTION`\" />\n<parameter name='tmp.config.UPLOAD_TIMESTAMP' value=\"`$tmp.uploadConfigInfo.UPLOAD-TIMESTAMP`\" />\n<parameter name='tmp.config.UPLOAD_DATE' value=\"`$tmp.uploadConfigInfo.UPLOAD-DATE`\" />\n<parameter name='tmp.config.VNF_ID' value=\"`$tmp.uploadConfigInfo.VNF-ID`\" />\n<parameter name='tmp.config.VNF_NAME' value=\"`$tmp.uploadConfigInfo.VNF-NAME`\" />\n<parameter name='tmp.config.VM_NAME' value=\"`$tmp.uploadConfigInfo.VM-NAME`\" />\n<parameter name='tmp.config.VNF_TYPE' value=\"`$tmp.uploadConfigInfo.VNF-TYPE`\" />\n<parameter name='tmp.config.VNFC_TYPE' value=\"`$tmp.uploadConfigInfo.VNFC-TYPE`\" />\n<parameter name='tmp.config.HOST_IP_ADDRESS' value=\"`$tmp.uploadConfigInfo.HOST-IP-ADDRESS`\" />\n<parameter name='tmp.config.CONFIG_INDICATOR' value=\"`$tmp.uploadConfigInfo.CONFIG-INDICATOR`\" />\n<parameter name='tmp.config.PENDING_DELETE' value=\"`$tmp.uploadConfigInfo.PENDING-DELETE`\" />\n<parameter name='tmp.config.CONTENT' value=\"`$tmp.uploadConfigInfo.CONTENT`\" />\n\n","comments":"","x":481,"y":227,"z":"ba18d0da.6b53d","wires":[]}]
+[
+ {
+ "id": "390ce99d.bf5d96",
+ "type": "dgstart",
+ "name": "DGSTART",
+ "outputs": 1,
+ "x": 143,
+ "y": 95,
+ "z": "ba18d0da.6b53d",
+ "wires": [
+ [
+ "644628c3.2d9d28"
+ ]
+ ]
+ },
+ {
+ "id": "644628c3.2d9d28",
+ "type": "service-logic",
+ "name": "APPC 4.0.0",
+ "module": "APPC",
+ "version": "4.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' version='4.0.0'>",
+ "outputs": 1,
+ "x": 344,
+ "y": 87,
+ "z": "ba18d0da.6b53d",
+ "wires": [
+ [
+ "1413fa79.66a72e"
+ ]
+ ]
+ },
+ {
+ "id": "1413fa79.66a72e",
+ "type": "method",
+ "name": "method PublishConfiguration",
+ "xml": "<method rpc='PublishConfiguration' mode='sync'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 582,
+ "y": 87,
+ "z": "ba18d0da.6b53d",
+ "wires": [
+ [
+ "4fe4cc0b.026be4"
+ ]
+ ]
+ },
+ {
+ "id": "4fe4cc0b.026be4",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 181,
+ "y": 182,
+ "z": "ba18d0da.6b53d",
+ "wires": [
+ [
+ "7f8c2a55.61673c",
+ "29662869.84a628",
+ "949cd4f7.5ed8f",
+ "7dba4e1.da4afb",
+ "2572109c.9829f8"
+ ]
+ ]
+ },
+ {
+ "id": "7f8c2a55.61673c",
+ "type": "set",
+ "name": "set uploadconfigid for dispatcher",
+ "xml": "<set>\n<parameter name='output.payload.upload-config-id[0]' value='`$tmp.uploadConfigInfo.UPLOAD-CONFIG-ID`' />\n<!--\n<parameter name='output.payload.upload-config-id[0]' value='`$tmp.uploadconfigmax.uploadconfigid`' />\n-->\n\n",
+ "comments": "",
+ "x": 446,
+ "y": 650,
+ "z": "ba18d0da.6b53d",
+ "wires": []
+ },
+ {
+ "id": "29662869.84a628",
+ "type": "execute",
+ "name": "generateOutputPayloadFromContext",
+ "xml": "<execute plugin=\"org.onap.appc.dg.common.JsonDgUtil\" method=\"generateOutputPayloadFromContext\">\n\n<!-- this will set output.payload DG Context var with all vars that start with output.payload -->\n\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 460,
+ "y": 713,
+ "z": "ba18d0da.6b53d",
+ "wires": [
+ [
+ "93c26b79.ac00e8",
+ "ef5b9ce6.17dda"
+ ]
+ ]
+ },
+ {
+ "id": "7dba4e1.da4afb",
+ "type": "execute",
+ "name": "execute Create Json for CVaas",
+ "xml": "<execute plugin=\"org.onap.sdnc.config.generator.convert.ConvertNode\" method=\"convertContextToJson\">\n<parameter name=\"contextKey\" value=\"tmp.config\" />\n<parameter name=\"responsePrefix\" value=\"tmp.jsonConversion\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 495,
+ "y": 310,
+ "z": "ba18d0da.6b53d",
+ "wires": [
+ [
+ "68503e8b.6e9178",
+ "b9d5cca5.f26868",
+ "90ad3c4d.8e0db8"
+ ]
+ ]
+ },
+ {
+ "id": "93c26b79.ac00e8",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 726,
+ "y": 701,
+ "z": "ba18d0da.6b53d",
+ "wires": [
+ [
+ "9cb7432e.9c7e88"
+ ]
+ ]
+ },
+ {
+ "id": "ef5b9ce6.17dda",
+ "type": "failure",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 727,
+ "y": 753,
+ "z": "ba18d0da.6b53d",
+ "wires": [
+ [
+ "136bd85.d652728"
+ ]
+ ]
+ },
+ {
+ "id": "9cb7432e.9c7e88",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 885,
+ "y": 698,
+ "z": "ba18d0da.6b53d",
+ "wires": [
+ [
+ "cde3fbd5.e1f268"
+ ]
+ ]
+ },
+ {
+ "id": "136bd85.d652728",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 897,
+ "y": 747,
+ "z": "ba18d0da.6b53d",
+ "wires": [
+ [
+ "9106d080.5bc63"
+ ]
+ ]
+ },
+ {
+ "id": "cde3fbd5.e1f268",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.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=\"`'Error from generateOutputPayloadFromContext = ' + $output.status.message`\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1066,
+ "y": 699,
+ "z": "ba18d0da.6b53d",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "9106d080.5bc63",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.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=\"`'PAYLOAD from generateOutputPayloadFromContext = ' + $output.payload`\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1070,
+ "y": 747,
+ "z": "ba18d0da.6b53d",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "b9d5cca5.f26868",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 718,
+ "y": 310,
+ "z": "ba18d0da.6b53d",
+ "wires": [
+ [
+ "b4e79a48.cfd848"
+ ]
+ ]
+ },
+ {
+ "id": "68503e8b.6e9178",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 717,
+ "y": 270,
+ "z": "ba18d0da.6b53d",
+ "wires": [
+ [
+ "5e0da89f.a9c5f8"
+ ]
+ ]
+ },
+ {
+ "id": "5e0da89f.a9c5f8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 895,
+ "y": 269,
+ "z": "ba18d0da.6b53d",
+ "wires": [
+ [
+ "d8910515.c8984",
+ "92ad96ed.dc0f98",
+ "b5be72d3.4c2378"
+ ]
+ ]
+ },
+ {
+ "id": "b4e79a48.cfd848",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 887,
+ "y": 316,
+ "z": "ba18d0da.6b53d",
+ "wires": [
+ [
+ "50458cf4.1d3894",
+ "92ad96ed.dc0f98",
+ "b5be72d3.4c2378"
+ ]
+ ]
+ },
+ {
+ "id": "a485e3e3.6f9708",
+ "type": "record",
+ "name": "execute Write Config Details for Cvaas ",
+ "xml": "<execute plugin=\"org.onap.sdnc.config.generator.writer.FileWriterNode\" method=\"writeFile\">\n<parameter name=\"fileName\" value=\"`$tmp.fileName`\"/>\n<parameter name=\"requestData\" value=\"`$tmp.jsonConversion.jsonContent`\"/>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 951,
+ "y": 375,
+ "z": "ba18d0da.6b53d",
+ "wires": [
+ [
+ "e0da83aa.86dc2"
+ ]
+ ]
+ },
+ {
+ "id": "949cd4f7.5ed8f",
+ "type": "set",
+ "name": "set fileName",
+ "xml": "<set>\n<parameter name='tmp.fileName' value=\"`'/opt/app/bvc/cvaas/' + $vnf-id + '_' + $tmp.uploadConfigInfo.UPLOAD-TIMESTAMP + '_appc001' + '.json'`\"/>\n",
+ "comments": "",
+ "x": 457,
+ "y": 164,
+ "z": "ba18d0da.6b53d",
+ "wires": []
+ },
+ {
+ "id": "e0da83aa.86dc2",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1194,
+ "y": 377,
+ "z": "ba18d0da.6b53d",
+ "wires": [
+ [
+ "cf25c291.eeaac"
+ ]
+ ]
+ },
+ {
+ "id": "cf25c291.eeaac",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 1364,
+ "y": 383,
+ "z": "ba18d0da.6b53d",
+ "wires": [
+ [
+ "38f8974.498d2e8",
+ "92ad96ed.dc0f98",
+ "b5be72d3.4c2378"
+ ]
+ ]
+ },
+ {
+ "id": "d8910515.c8984",
+ "type": "set",
+ "name": "set dcae-error-message",
+ "xml": "<set>\n<parameter name='dcae-error-message' value=\"'ConvertContextToJson not found\" />\n",
+ "comments": "",
+ "x": 1121,
+ "y": 269,
+ "z": "ba18d0da.6b53d",
+ "wires": []
+ },
+ {
+ "id": "50458cf4.1d3894",
+ "type": "set",
+ "name": "set dcae-error-message",
+ "xml": "<set>\n<parameter name='dcae-error-message' value=\"`'Error from convertContextToJson - ' + $tmp.jsonConversion.error-message`\" />\n",
+ "comments": "",
+ "x": 1122,
+ "y": 316,
+ "z": "ba18d0da.6b53d",
+ "wires": []
+ },
+ {
+ "id": "90ad3c4d.8e0db8",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 506,
+ "y": 368,
+ "z": "ba18d0da.6b53d",
+ "wires": [
+ [
+ "c9826355.de2d88"
+ ]
+ ]
+ },
+ {
+ "id": "c9826355.de2d88",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 674,
+ "y": 370,
+ "z": "ba18d0da.6b53d",
+ "wires": [
+ [
+ "a485e3e3.6f9708"
+ ]
+ ]
+ },
+ {
+ "id": "38f8974.498d2e8",
+ "type": "set",
+ "name": "set dcae-error-message",
+ "xml": "<set>\n<parameter name='dcae-error-message' value=\"Unable to write file to /opt/app/bvc/cvaas\" />\n",
+ "comments": "",
+ "x": 1596,
+ "y": 376,
+ "z": "ba18d0da.6b53d",
+ "wires": []
+ },
+ {
+ "id": "92ad96ed.dc0f98",
+ "type": "execute",
+ "name": "execute IntermediateMessageSender",
+ "xml": "<execute plugin='org.onap.appc.dg.common.IntermediateMessageSender' method='sendMessage' >\n<parameter name='code' value=\"501\" />\n<parameter name='message' value=\"`$dcae-error-message`\" />\n<parameter name='prefix' value=\"tmp.intermediateerror\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 936,
+ "y": 449,
+ "z": "ba18d0da.6b53d",
+ "wires": [
+ [
+ "58b7c48d.5cbf0c",
+ "3db6580c.06a818"
+ ]
+ ]
+ },
+ {
+ "id": "58b7c48d.5cbf0c",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1175,
+ "y": 448,
+ "z": "ba18d0da.6b53d",
+ "wires": [
+ [
+ "1b264e03.1285a2"
+ ]
+ ]
+ },
+ {
+ "id": "3db6580c.06a818",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1172,
+ "y": 507,
+ "z": "ba18d0da.6b53d",
+ "wires": [
+ [
+ "1b264e03.1285a2"
+ ]
+ ]
+ },
+ {
+ "id": "1b264e03.1285a2",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 1335,
+ "y": 472,
+ "z": "ba18d0da.6b53d",
+ "wires": [
+ [
+ "d1436755.fdf6a8"
+ ]
+ ]
+ },
+ {
+ "id": "d1436755.fdf6a8",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"MSGSENDERERERROR\" value=\"Unable to call IntermediateErrorMessageSender\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1500,
+ "y": 473,
+ "z": "ba18d0da.6b53d",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "b5be72d3.4c2378",
+ "type": "execute",
+ "name": "execute saveTxLog",
+ "xml": "<execute plugin=\"org.onap.appc.data.services.node.ConfigResourceNode\" method=\"saveConfigTransactionLog\">\n<parameter name=\"messageType\" value=\"log\" />\n<parameter name=\"message\" value=\"`'501:' + $dcae-error-message`\" />\n<parameter name=\"responsePrefix\" value=\"tmp.saveTxLog\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 916,
+ "y": 549,
+ "z": "ba18d0da.6b53d",
+ "wires": [
+ [
+ "c81e7770.18ce18"
+ ]
+ ]
+ },
+ {
+ "id": "c81e7770.18ce18",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1102,
+ "y": 551,
+ "z": "ba18d0da.6b53d",
+ "wires": [
+ [
+ "b5ce7da8.febb3"
+ ]
+ ]
+ },
+ {
+ "id": "b5ce7da8.febb3",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 1276,
+ "y": 553,
+ "z": "ba18d0da.6b53d",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "2572109c.9829f8",
+ "type": "set",
+ "name": "set payload parameters",
+ "xml": "<set>\n<parameter name='tmp.config.UPLOAD_CONFIG_ID' value=\"`$tmp.uploadConfigInfo.UPLOAD-CONFIG-ID`\" />\n<parameter name='tmp.config.REQUEST_ID' value=\"`$tmp.uploadConfigInfo.REQUEST-ID`\" />\n<parameter name='tmp.config.ORIGINATOR_ID' value=\"`$tmp.uploadConfigInfo.ORIGINATOR-ID`\" />\n<parameter name='tmp.config.SERVICE_DESCRIPTION' value=\"`$tmp.uploadConfigInfo.SERVICE-DESCRIPTION`\" />\n<parameter name='tmp.config.ACTION' value=\"`$tmp.uploadConfigInfo.ACTION`\" />\n<parameter name='tmp.config.UPLOAD_TIMESTAMP' value=\"`$tmp.uploadConfigInfo.UPLOAD-TIMESTAMP`\" />\n<parameter name='tmp.config.UPLOAD_DATE' value=\"`$tmp.uploadConfigInfo.UPLOAD-DATE`\" />\n<parameter name='tmp.config.VNF_ID' value=\"`$tmp.uploadConfigInfo.VNF-ID`\" />\n<parameter name='tmp.config.VNF_NAME' value=\"`$tmp.uploadConfigInfo.VNF-NAME`\" />\n<parameter name='tmp.config.VM_NAME' value=\"`$tmp.uploadConfigInfo.VM-NAME`\" />\n<parameter name='tmp.config.VNF_TYPE' value=\"`$tmp.uploadConfigInfo.VNF-TYPE`\" />\n<parameter name='tmp.config.VNFC_TYPE' value=\"`$tmp.uploadConfigInfo.VNFC-TYPE`\" />\n<parameter name='tmp.config.HOST_IP_ADDRESS' value=\"`$tmp.uploadConfigInfo.HOST-IP-ADDRESS`\" />\n<parameter name='tmp.config.CONFIG_INDICATOR' value=\"`$tmp.uploadConfigInfo.CONFIG-INDICATOR`\" />\n<parameter name='tmp.config.PENDING_DELETE' value=\"`$tmp.uploadConfigInfo.PENDING-DELETE`\" />\n<parameter name='tmp.config.CONTENT' value=\"`$tmp.uploadConfigInfo.CONTENT`\" />\n\n",
+ "comments": "",
+ "x": 481,
+ "y": 227,
+ "z": "ba18d0da.6b53d",
+ "wires": []
+ }
+]
diff --git a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_RebuildVM.json b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_RebuildVM.json
index a66760674..4ec3a58c9 100644
--- a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_RebuildVM.json
+++ b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_RebuildVM.json
@@ -1 +1,274 @@
-[{"id":"e426d1a4.04b0b","type":"service-logic","name":"APPC 2.0.0","module":"APPC","version":"2.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' version='2.0.0'>","outputs":1,"x":281.75,"y":295,"z":"734c8384.84e874","wires":[["f11dad1d.996b88"]]},{"id":"b1ce76a2.53d928","type":"dgstart","name":"DGSTART","outputs":1,"x":288.75,"y":245,"z":"734c8384.84e874","wires":[["e426d1a4.04b0b"]]},{"id":"5bf06fcf.867b98","type":"execute","name":"rebuildServer()","xml":"<execute plugin='org.onap.appc.adapter.iaas.ProviderAdapter' method='rebuildServer'>\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.skiphypervisorcheck\" value=\"`$skip-hypervisor-check`\" />","comments":"","outputs":1,"x":722.7499694824219,"y":348,"z":"734c8384.84e874","wires":[["7d4aacf6.6c04fc","4916b7b8.2d8468"]]},{"id":"7d4aacf6.6c04fc","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":866.7499694824219,"y":403,"z":"734c8384.84e874","wires":[["e3c23dad.ae06a"]]},{"id":"4916b7b8.2d8468","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":835.7499694824219,"y":225,"z":"734c8384.84e874","wires":[["dc58c2ba.2db078"]]},{"id":"4eeee11d.fb26f","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":571.75,"y":294.8833312988281,"z":"734c8384.84e874","wires":[["2c303534.0f7902","5bf06fcf.867b98","f2e4ec01.884618"]]},{"id":"2c303534.0f7902","type":"record","name":"record","xml":"<record plugin=\"org.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 = '+ $vm-id`\" />","comments":"","outputs":1,"x":701.7499694824219,"y":295.8833312988281,"z":"734c8384.84e874","wires":[[]]},{"id":"6e491f05.7959","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value='RPC Rebuild not found' />","comments":"","x":1120.7499694824219,"y":226.88333129882812,"z":"734c8384.84e874","wires":[]},{"id":"dc58c2ba.2db078","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":973.7499694824219,"y":226.88333129882812,"z":"734c8384.84e874","wires":[["6e491f05.7959"]]},{"id":"f11dad1d.996b88","type":"method","name":"RebuildVM","xml":"<method rpc='RebuildVM' mode='sync'>\n","comments":"","outputs":1,"x":432.75,"y":295.8833312988281,"z":"734c8384.84e874","wires":[["4eeee11d.fb26f"]]},{"id":"e3bd299a.2eb3d","type":"returnSuccess","name":"return success","xml":"<return status='success'>","comments":"","x":1448.7499694824219,"y":363.8833312988281,"z":"734c8384.84e874","wires":[]},{"id":"6da3c674.de3f5","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1365.7499694824219,"y":447.8833312988281,"z":"734c8384.84e874","wires":[["d3e45f44.e31868","52bdc72a.f6f06"]]},{"id":"d3e45f44.e31868","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","comments":"","x":1522.7499694824219,"y":480.88336181640625,"z":"734c8384.84e874","wires":[]},{"id":"52bdc72a.f6f06","type":"record","name":"record","xml":"<record plugin=\"org.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`\" />","comments":"","outputs":1,"x":1504.6166687011719,"y":427.7500305175781,"z":"734c8384.84e874","wires":[[]]},{"id":"e3c23dad.ae06a","type":"switchNode","name":"switch error-code","xml":"<switch test='`$error_code`'>\n","comments":"","outputs":1,"x":1044.7499694824219,"y":403.8833312988281,"z":"734c8384.84e874","wires":[["45af49c7.7ad408","14becb17.12bdad"]]},{"id":"45af49c7.7ad408","type":"success","name":"SUCCESS-200","xml":"<outcome value='200'>\n","comments":"","outputs":1,"x":1240.7499694824219,"y":365.8833312988281,"z":"734c8384.84e874","wires":[["e3bd299a.2eb3d"]]},{"id":"14becb17.12bdad","type":"outcome","name":"ERROR","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":1224.7499694824219,"y":448.8833312988281,"z":"734c8384.84e874","wires":[["6da3c674.de3f5"]]},{"id":"f2e4ec01.884618","type":"set","name":"set skiphypervisorcheck","xml":"<set>\n<parameter name='org.onap.appc.skiphypervisorcheck' value='`$skip-hypervisor-check`' />\n","comments":"","x":758.75,"y":174.75,"z":"734c8384.84e874","wires":[]}]
+[
+ {
+ "id": "e426d1a4.04b0b",
+ "type": "service-logic",
+ "name": "APPC 2.0.0",
+ "module": "APPC",
+ "version": "2.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' version='2.0.0'>",
+ "outputs": 1,
+ "x": 281.75,
+ "y": 295,
+ "z": "734c8384.84e874",
+ "wires": [
+ [
+ "f11dad1d.996b88"
+ ]
+ ]
+ },
+ {
+ "id": "b1ce76a2.53d928",
+ "type": "dgstart",
+ "name": "DGSTART",
+ "outputs": 1,
+ "x": 288.75,
+ "y": 245,
+ "z": "734c8384.84e874",
+ "wires": [
+ [
+ "e426d1a4.04b0b"
+ ]
+ ]
+ },
+ {
+ "id": "5bf06fcf.867b98",
+ "type": "execute",
+ "name": "rebuildServer()",
+ "xml": "<execute plugin='org.onap.appc.adapter.iaas.ProviderAdapter' method='rebuildServer'>\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.skiphypervisorcheck\" value=\"`$skip-hypervisor-check`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 722.7499694824219,
+ "y": 348,
+ "z": "734c8384.84e874",
+ "wires": [
+ [
+ "7d4aacf6.6c04fc",
+ "4916b7b8.2d8468"
+ ]
+ ]
+ },
+ {
+ "id": "7d4aacf6.6c04fc",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 866.7499694824219,
+ "y": 403,
+ "z": "734c8384.84e874",
+ "wires": [
+ [
+ "e3c23dad.ae06a"
+ ]
+ ]
+ },
+ {
+ "id": "4916b7b8.2d8468",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 835.7499694824219,
+ "y": 225,
+ "z": "734c8384.84e874",
+ "wires": [
+ [
+ "dc58c2ba.2db078"
+ ]
+ ]
+ },
+ {
+ "id": "4eeee11d.fb26f",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 571.75,
+ "y": 294.8833312988281,
+ "z": "734c8384.84e874",
+ "wires": [
+ [
+ "2c303534.0f7902",
+ "5bf06fcf.867b98",
+ "f2e4ec01.884618"
+ ]
+ ]
+ },
+ {
+ "id": "2c303534.0f7902",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.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 = '+ $vm-id`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 701.7499694824219,
+ "y": 295.8833312988281,
+ "z": "734c8384.84e874",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "6e491f05.7959",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value='RPC Rebuild not found' />",
+ "comments": "",
+ "x": 1120.7499694824219,
+ "y": 226.88333129882812,
+ "z": "734c8384.84e874",
+ "wires": []
+ },
+ {
+ "id": "dc58c2ba.2db078",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 973.7499694824219,
+ "y": 226.88333129882812,
+ "z": "734c8384.84e874",
+ "wires": [
+ [
+ "6e491f05.7959"
+ ]
+ ]
+ },
+ {
+ "id": "f11dad1d.996b88",
+ "type": "method",
+ "name": "RebuildVM",
+ "xml": "<method rpc='RebuildVM' mode='sync'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 432.75,
+ "y": 295.8833312988281,
+ "z": "734c8384.84e874",
+ "wires": [
+ [
+ "4eeee11d.fb26f"
+ ]
+ ]
+ },
+ {
+ "id": "e3bd299a.2eb3d",
+ "type": "returnSuccess",
+ "name": "return success",
+ "xml": "<return status='success'>",
+ "comments": "",
+ "x": 1448.7499694824219,
+ "y": 363.8833312988281,
+ "z": "734c8384.84e874",
+ "wires": []
+ },
+ {
+ "id": "6da3c674.de3f5",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1365.7499694824219,
+ "y": 447.8833312988281,
+ "z": "734c8384.84e874",
+ "wires": [
+ [
+ "d3e45f44.e31868",
+ "52bdc72a.f6f06"
+ ]
+ ]
+ },
+ {
+ "id": "d3e45f44.e31868",
+ "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",
+ "comments": "",
+ "x": 1522.7499694824219,
+ "y": 480.88336181640625,
+ "z": "734c8384.84e874",
+ "wires": []
+ },
+ {
+ "id": "52bdc72a.f6f06",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.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`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1504.6166687011719,
+ "y": 427.7500305175781,
+ "z": "734c8384.84e874",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "e3c23dad.ae06a",
+ "type": "switchNode",
+ "name": "switch error-code",
+ "xml": "<switch test='`$error_code`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1044.7499694824219,
+ "y": 403.8833312988281,
+ "z": "734c8384.84e874",
+ "wires": [
+ [
+ "45af49c7.7ad408",
+ "14becb17.12bdad"
+ ]
+ ]
+ },
+ {
+ "id": "45af49c7.7ad408",
+ "type": "success",
+ "name": "SUCCESS-200",
+ "xml": "<outcome value='200'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1240.7499694824219,
+ "y": 365.8833312988281,
+ "z": "734c8384.84e874",
+ "wires": [
+ [
+ "e3bd299a.2eb3d"
+ ]
+ ]
+ },
+ {
+ "id": "14becb17.12bdad",
+ "type": "outcome",
+ "name": "ERROR",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1224.7499694824219,
+ "y": 448.8833312988281,
+ "z": "734c8384.84e874",
+ "wires": [
+ [
+ "6da3c674.de3f5"
+ ]
+ ]
+ },
+ {
+ "id": "f2e4ec01.884618",
+ "type": "set",
+ "name": "set skiphypervisorcheck",
+ "xml": "<set>\n<parameter name='org.onap.appc.skiphypervisorcheck' value='`$skip-hypervisor-check`' />\n",
+ "comments": "",
+ "x": 758.75,
+ "y": 174.75,
+ "z": "734c8384.84e874",
+ "wires": []
+ }
+]
diff --git a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_RestartVMCommonFlow.json b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_RestartVMCommonFlow.json
index 11bfe876a..82f68a3ea 100644
--- a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_RestartVMCommonFlow.json
+++ b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_RestartVMCommonFlow.json
@@ -1 +1,274 @@
-[{"id":"fb9d148d.f2d9","type":"dgstart","name":"DGSTART","outputs":1,"x":154.75,"y":203.75,"z":"acb37c25.7d695","wires":[["c90bb6a6.647f98"]]},{"id":"c90bb6a6.647f98","type":"service-logic","name":"APPC 2.0.0","module":"APPC","version":"2.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' version='2.0.0'>","outputs":1,"x":311.75,"y":203.75,"z":"acb37c25.7d695","wires":[["116cfb8a.32bd8c"]]},{"id":"116cfb8a.32bd8c","type":"method","name":"RestartVMCommonFlow","xml":"<method rpc='RestartVMCommonFlow' mode='sync'>\n","comments":"","outputs":1,"x":509.75,"y":205.75,"z":"acb37c25.7d695","wires":[["1e02b081.c37eef"]]},{"id":"1adee386.87e9d4","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":877.7499694824219,"y":415.7499694824219,"z":"acb37c25.7d695","wires":[["15c4aee3.95def9"]]},{"id":"5118ed02.7b4054","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":886.7499694824219,"y":294.7499694824219,"z":"acb37c25.7d695","wires":[["17a2e299.91aeed"]]},{"id":"f2ed13d.10a4af","type":"returnSuccess","name":"return success","xml":"<return status='success'>","comments":"","x":1433.7499694824219,"y":387.7499694824219,"z":"acb37c25.7d695","wires":[]},{"id":"3fab6fa7.02aab","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value='RPC Evacuate not found' />","comments":"","x":1194.7499694824219,"y":294.7499694824219,"z":"acb37c25.7d695","wires":[]},{"id":"15c4aee3.95def9","type":"switchNode","name":"switch error-code","xml":"<switch test='`$error_code`'>\n","comments":"","outputs":1,"x":1070.7499694824219,"y":416.7499694824219,"z":"acb37c25.7d695","wires":[["c6756561.624ca8","212002a8.ea32fe"]]},{"id":"c6756561.624ca8","type":"success","name":"SUCCESS","xml":"<outcome value='200'>\n","comments":"","outputs":1,"x":1252.7499694824219,"y":386.7499694824219,"z":"acb37c25.7d695","wires":[["f2ed13d.10a4af"]]},{"id":"212002a8.ea32fe","type":"outcome","name":"ERROR","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":1244.7499694824219,"y":545.7499694824219,"z":"acb37c25.7d695","wires":[["2b794bb8.68c304"]]},{"id":"2b794bb8.68c304","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1377.7499694824219,"y":546.7499694824219,"z":"acb37c25.7d695","wires":[["60ad6e19.dea3f","e3ac2d57.c4e65"]]},{"id":"60ad6e19.dea3f","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","comments":"","x":1512.7499694824219,"y":587.75,"z":"acb37c25.7d695","wires":[]},{"id":"17a2e299.91aeed","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1042.7499694824219,"y":294.7499694824219,"z":"acb37c25.7d695","wires":[["3fab6fa7.02aab"]]},{"id":"eb2d0f23.0a1f58","type":"record","name":"record","xml":"<record plugin=\"org.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`\" />","comments":"","outputs":1,"x":873.86669921875,"y":243.75,"z":"acb37c25.7d695","wires":[[]]},{"id":"1e02b081.c37eef","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":698.6166687011719,"y":264.6166687011719,"z":"acb37c25.7d695","wires":[["eb2d0f23.0a1f58","85ed6b90.7ce48","ead01081.d1b55"]]},{"id":"e3ac2d57.c4e65","type":"record","name":"record","xml":"<record plugin=\"org.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`\" />","comments":"","outputs":1,"x":1502.6166687011719,"y":518.6166687011719,"z":"acb37c25.7d695","wires":[[]]},{"id":"85ed6b90.7ce48","type":"execute","name":"restartServer()","xml":"<execute plugin='org.onap.appc.adapter.iaas.ProviderAdapter' method='restartServer'>\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.skiphypervisorcheck\" value=\"`$skip-hypervisor-check`\" />","comments":"","outputs":1,"x":714.7499694824219,"y":349.75,"z":"acb37c25.7d695","wires":[["5118ed02.7b4054","1adee386.87e9d4"]]},{"id":"ead01081.d1b55","type":"set","name":"set skiphypervisorcheck","xml":"<set>\n<parameter name='org.onap.appc.skiphypervisorcheck' value='`$skip-hypervisor-check`' />\n","comments":"","x":922.75,"y":175.75,"z":"acb37c25.7d695","wires":[]}]
+[
+ {
+ "id": "fb9d148d.f2d9",
+ "type": "dgstart",
+ "name": "DGSTART",
+ "outputs": 1,
+ "x": 154.75,
+ "y": 203.75,
+ "z": "acb37c25.7d695",
+ "wires": [
+ [
+ "c90bb6a6.647f98"
+ ]
+ ]
+ },
+ {
+ "id": "c90bb6a6.647f98",
+ "type": "service-logic",
+ "name": "APPC 2.0.0",
+ "module": "APPC",
+ "version": "2.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' version='2.0.0'>",
+ "outputs": 1,
+ "x": 311.75,
+ "y": 203.75,
+ "z": "acb37c25.7d695",
+ "wires": [
+ [
+ "116cfb8a.32bd8c"
+ ]
+ ]
+ },
+ {
+ "id": "116cfb8a.32bd8c",
+ "type": "method",
+ "name": "RestartVMCommonFlow",
+ "xml": "<method rpc='RestartVMCommonFlow' mode='sync'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 509.75,
+ "y": 205.75,
+ "z": "acb37c25.7d695",
+ "wires": [
+ [
+ "1e02b081.c37eef"
+ ]
+ ]
+ },
+ {
+ "id": "1adee386.87e9d4",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 877.7499694824219,
+ "y": 415.7499694824219,
+ "z": "acb37c25.7d695",
+ "wires": [
+ [
+ "15c4aee3.95def9"
+ ]
+ ]
+ },
+ {
+ "id": "5118ed02.7b4054",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 886.7499694824219,
+ "y": 294.7499694824219,
+ "z": "acb37c25.7d695",
+ "wires": [
+ [
+ "17a2e299.91aeed"
+ ]
+ ]
+ },
+ {
+ "id": "f2ed13d.10a4af",
+ "type": "returnSuccess",
+ "name": "return success",
+ "xml": "<return status='success'>",
+ "comments": "",
+ "x": 1433.7499694824219,
+ "y": 387.7499694824219,
+ "z": "acb37c25.7d695",
+ "wires": []
+ },
+ {
+ "id": "3fab6fa7.02aab",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value='RPC Evacuate not found' />",
+ "comments": "",
+ "x": 1194.7499694824219,
+ "y": 294.7499694824219,
+ "z": "acb37c25.7d695",
+ "wires": []
+ },
+ {
+ "id": "15c4aee3.95def9",
+ "type": "switchNode",
+ "name": "switch error-code",
+ "xml": "<switch test='`$error_code`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1070.7499694824219,
+ "y": 416.7499694824219,
+ "z": "acb37c25.7d695",
+ "wires": [
+ [
+ "c6756561.624ca8",
+ "212002a8.ea32fe"
+ ]
+ ]
+ },
+ {
+ "id": "c6756561.624ca8",
+ "type": "success",
+ "name": "SUCCESS",
+ "xml": "<outcome value='200'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1252.7499694824219,
+ "y": 386.7499694824219,
+ "z": "acb37c25.7d695",
+ "wires": [
+ [
+ "f2ed13d.10a4af"
+ ]
+ ]
+ },
+ {
+ "id": "212002a8.ea32fe",
+ "type": "outcome",
+ "name": "ERROR",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1244.7499694824219,
+ "y": 545.7499694824219,
+ "z": "acb37c25.7d695",
+ "wires": [
+ [
+ "2b794bb8.68c304"
+ ]
+ ]
+ },
+ {
+ "id": "2b794bb8.68c304",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1377.7499694824219,
+ "y": 546.7499694824219,
+ "z": "acb37c25.7d695",
+ "wires": [
+ [
+ "60ad6e19.dea3f",
+ "e3ac2d57.c4e65"
+ ]
+ ]
+ },
+ {
+ "id": "60ad6e19.dea3f",
+ "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",
+ "comments": "",
+ "x": 1512.7499694824219,
+ "y": 587.75,
+ "z": "acb37c25.7d695",
+ "wires": []
+ },
+ {
+ "id": "17a2e299.91aeed",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1042.7499694824219,
+ "y": 294.7499694824219,
+ "z": "acb37c25.7d695",
+ "wires": [
+ [
+ "3fab6fa7.02aab"
+ ]
+ ]
+ },
+ {
+ "id": "eb2d0f23.0a1f58",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.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`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 873.86669921875,
+ "y": 243.75,
+ "z": "acb37c25.7d695",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "1e02b081.c37eef",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 698.6166687011719,
+ "y": 264.6166687011719,
+ "z": "acb37c25.7d695",
+ "wires": [
+ [
+ "eb2d0f23.0a1f58",
+ "85ed6b90.7ce48",
+ "ead01081.d1b55"
+ ]
+ ]
+ },
+ {
+ "id": "e3ac2d57.c4e65",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.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`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1502.6166687011719,
+ "y": 518.6166687011719,
+ "z": "acb37c25.7d695",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "85ed6b90.7ce48",
+ "type": "execute",
+ "name": "restartServer()",
+ "xml": "<execute plugin='org.onap.appc.adapter.iaas.ProviderAdapter' method='restartServer'>\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.skiphypervisorcheck\" value=\"`$skip-hypervisor-check`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 714.7499694824219,
+ "y": 349.75,
+ "z": "acb37c25.7d695",
+ "wires": [
+ [
+ "5118ed02.7b4054",
+ "1adee386.87e9d4"
+ ]
+ ]
+ },
+ {
+ "id": "ead01081.d1b55",
+ "type": "set",
+ "name": "set skiphypervisorcheck",
+ "xml": "<set>\n<parameter name='org.onap.appc.skiphypervisorcheck' value='`$skip-hypervisor-check`' />\n",
+ "comments": "",
+ "x": 922.75,
+ "y": 175.75,
+ "z": "acb37c25.7d695",
+ "wires": []
+ }
+]
diff --git a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_RestartVNFVMCommonFlow.json b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_RestartVNFVMCommonFlow.json
index aa33394a0..a5bc83469 100644
--- a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_RestartVNFVMCommonFlow.json
+++ b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_RestartVNFVMCommonFlow.json
@@ -1 +1,1044 @@
-[{"id":"8be5abbb.8e8238","type":"method","name":"RestartVMVNFCommonFlow","xml":"<method rpc='RestartVMVNFCommonFlow' mode='sync'>\n","comments":"","outputs":1,"x":162.75,"y":182,"z":"c78c4b7.7adc638","wires":[["436e1771.f30bb"]]},{"id":"4675131a.a2bb4c","type":"service-logic","name":"APPC 2.0.0","module":"APPC","version":"2.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' version='2.0.0'>","outputs":1,"x":145.75,"y":133,"z":"c78c4b7.7adc638","wires":[["8be5abbb.8e8238"]]},{"id":"8e03a789.3ae3f8","type":"dgstart","name":"DGSTART","outputs":1,"x":137.75,"y":83,"z":"c78c4b7.7adc638","wires":[["4675131a.a2bb4c"]]},{"id":"bcbc30ba.d66ea8","type":"execute","name":"execute_getVNF_Hierarchy","xml":"<execute plugin='org.onap.appc.dg.util.ExecuteNodeAction' method='getVnfHierarchy'>\n<parameter name=\"resourceKey\" value=\"`$input.action-identifiers.vnf-id`\" />","comments":"","outputs":1,"x":413.75,"y":269,"z":"c78c4b7.7adc638","wires":[["f2d80d63.c8c16","bbe6ec00.5438f8"]]},{"id":"f2d80d63.c8c16","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":569.0357208251953,"y":314.85713386535645,"z":"c78c4b7.7adc638","wires":[["5133513c.856678"]]},{"id":"d5460718.47f668","type":"block","name":"block : atomic","xml":"<block atomic='true'>\n","atomic":"true","comments":"","outputs":1,"x":1394.6073913574219,"y":309.5713963508606,"z":"c78c4b7.7adc638","wires":[["89a2871c.2a813","e61b9900.e00db"]]},{"id":"89a2871c.2a813","type":"for","name":"for_each_VMs","xml":"<for index=\"i\" start=\"0\" end=\"`$VNF.VMCount`\" >","comments":"","outputs":1,"x":1587.3217239379883,"y":319.42853116989136,"z":"c78c4b7.7adc638","wires":[["47896469.b34acc"]]},{"id":"47896469.b34acc","type":"block","name":"block : atomic","xml":"<block atomic='true'>\n","atomic":"true","comments":"","outputs":1,"x":1699.3217010498047,"y":252.7142515182495,"z":"c78c4b7.7adc638","wires":[["52fff5b0.4373c4"]]},{"id":"52fff5b0.4373c4","type":"execute","name":"execute_UpdateAA&I","xml":"<execute plugin='org.onap.appc.dg.util.ExecuteNodeAction' method='postResource'>\n<parameter name=\"resourceType\" value=\"vnfc\" />\n<parameter name=\"prefix\" value=\"vnfc\" />\n<parameter name=\"resourceKey\" value='vnfc-name = $VNF.VM[$i].VNFC' />\n<parameter name=\"attributeName\" value=\"orchestration-status\" />\n<parameter name=\"attributeValue\" value=\"Restarting\" />\n","comments":"","outputs":1,"x":1808.036018371582,"y":319.42854022979736,"z":"c78c4b7.7adc638","wires":[["31c0fe16.4742aa","a2d40fa2.090648"]]},{"id":"31c0fe16.4742aa","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":2071.1785888671875,"y":320.57142639160156,"z":"c78c4b7.7adc638","wires":[["be4bc685.e500f"]]},{"id":"e61b9900.e00db","type":"returnSuccess","name":"return success","xml":"<return status='success'>\n<parameter name='error-code' value='400' />\n<parameter name='error-message' value='Request Processed Successfully' />","comments":"","x":1581.0359420776367,"y":376.71416425704956,"z":"c78c4b7.7adc638","wires":[]},{"id":"bbe6ec00.5438f8","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":566.03564453125,"y":92.28571319580078,"z":"c78c4b7.7adc638","wires":[["2812784e.6d9f"]]},{"id":"5510e749.6e8828","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value='Failure Executing getVNF_Hierarchy for Restart' />\n","comments":"","x":935.3214340209961,"y":141.57142579555511,"z":"c78c4b7.7adc638","wires":[]},{"id":"9c4bf697.756408","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":3518.7500076293945,"y":431.5714588165283,"z":"c78c4b7.7adc638","wires":[["2ad56342.527344"]]},{"id":"ab5d7a5c.3e581","type":"execute","name":"execute_update_AA&I","xml":"<execute plugin='org.onap.appc.dg.util.ExecuteNodeAction' method='postResource'>\n<parameter name=\"resourceType\" value=\"vnfc\" />\n<parameter name=\"prefix\" value=\"vnfc\" />\n<parameter name=\"resourceKey\" value='vnfc-name = $VNF.VM[$i].VNFC' />\n<parameter name=\"attributeName\" value=\"orchestration-status\" />\n<parameter name=\"attributeValue\" value=\"Restarted\" />\n","comments":"","outputs":1,"x":4355.46378326416,"y":980.1429214477539,"z":"c78c4b7.7adc638","wires":[["81c62225.e792e8","bbf5360a.5bc72"]]},{"id":"81c62225.e792e8","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":4548.892219543457,"y":1085.2858295440674,"z":"c78c4b7.7adc638","wires":[["4a8daed.def30d"]]},{"id":"aba526e8.36f458","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value='Failure in executing AAI Update' />\n","comments":"","x":4895.892219543457,"y":1136.2858295440674,"z":"c78c4b7.7adc638","wires":[]},{"id":"bbf5360a.5bc72","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":4548.178039550781,"y":888.0000867843628,"z":"c78c4b7.7adc638","wires":[["e14f710d.b91ca8"]]},{"id":"a2d40fa2.090648","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1882.7500381469727,"y":612.571478843689,"z":"c78c4b7.7adc638","wires":[["5e910b8f.321cb4"]]},{"id":"dd56ae0f.c5ba","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value='Error Updating AAI for Restart' />","comments":"","x":2206.32137298584,"y":701.4286470413208,"z":"c78c4b7.7adc638","wires":[]},{"id":"68548acd.173d04","type":"execute","name":"execute_Update_AA&I","xml":"<execute plugin='org.onap.appc.dg.util.ExecuteNodeAction' method='postResource'>\n<parameter name=\"resourceType\" value=\"vnfc\" />\n<parameter name=\"prefix\" value=\"vnfc\" />\n<parameter name=\"resourceKey\" value='vnfc-name = $VNF.VM[$i].VNFC' />\n<parameter name=\"attributeName\" value=\"orchestration-status\" />\n<parameter name=\"attributeValue\" value=\"Error\" />\n","comments":"","outputs":1,"x":4881.035980224609,"y":594.7143478393555,"z":"c78c4b7.7adc638","wires":[["90a50ec1.5fc638","3382cc54.8f8ec4"]]},{"id":"90a50ec1.5fc638","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":5152.749912261963,"y":329.00002574920654,"z":"c78c4b7.7adc638","wires":[["9d0e2fd1.9c1f4"]]},{"id":"842b4e6e.1e2b88","type":"comment","name":"update VNFCs to Restarting","info":"","comments":"","x":1888.6074600219727,"y":281.71423721313477,"z":"c78c4b7.7adc638","wires":[]},{"id":"939f4559.9592f8","type":"comment","name":"call south bound to Restart VMs","info":"","comments":"","x":3345.1778717041016,"y":252.4285831451416,"z":"c78c4b7.7adc638","wires":[]},{"id":"c6333415.230b9","type":"comment","name":"if failure from south bound then update as Error","info":"","comments":"","x":4876.321907043457,"y":664.1428642272949,"z":"c78c4b7.7adc638","wires":[]},{"id":"972ff5db.a46f1","type":"comment","name":"Restarted VNFCs in AA&I","info":"","comments":"","x":4386.321113586426,"y":1017.714334487915,"z":"c78c4b7.7adc638","wires":[]},{"id":"d7b30e91.75e808","type":"comment","name":"Fetch all VMs and VNFCs from AA&I for given VNF_ID","info":"","comments":"","x":904.4642944335938,"y":172.85714149475098,"z":"c78c4b7.7adc638","wires":[]},{"id":"3382cc54.8f8ec4","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":5144.607753753662,"y":422.14294624328613,"z":"c78c4b7.7adc638","wires":[["2e3ea305.ff4bcc"]]},{"id":"733fe7fa.0cd4a","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":3483.035758972168,"y":102.85716247558594,"z":"c78c4b7.7adc638","wires":[["dfc7121e.032c28"]]},{"id":"f62397a3.6d3b68","type":"switchNode","name":"switch","xml":"<switch test='`$VNF.VMCount`'>\n","comments":"","outputs":1,"x":1011.607421875,"y":312.28571701049805,"z":"c78c4b7.7adc638","wires":[["863f594c.cb09c8","c9ef2a5a.b038c8"]]},{"id":"863f594c.cb09c8","type":"other","name":"outcome_0","xml":"<outcome value='0'>\n","comments":"","outputs":1,"x":1280.0358276367188,"y":92.42858505249023,"z":"c78c4b7.7adc638","wires":[["820fea44.414b08"]]},{"id":"c9ef2a5a.b038c8","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":1228.8930282592773,"y":308.1428813934326,"z":"c78c4b7.7adc638","wires":[["d5460718.47f668"]]},{"id":"2ad56342.527344","type":"switchNode","name":"switch","xml":"<switch test='`$RESTART_STATUS`'>\n","comments":"","outputs":1,"x":3700.7500076293945,"y":430.5714588165283,"z":"c78c4b7.7adc638","wires":[["3dec0816.214ee8","f8697aba.3918c","c3be56a.b4937a8"]]},{"id":"c3be56a.b4937a8","type":"success","name":"outcome_SUCCESS","xml":"<outcome value='SUCCESS'>\n","comments":"","outputs":1,"x":3988.1785583496094,"y":767.0000228881836,"z":"c78c4b7.7adc638","wires":[["5736a106.f1fa9"]]},{"id":"3dec0816.214ee8","type":"other","name":"outcome_CONTEXT_NOT_FOUND","xml":"<outcome value='CONTEXT_NOT_FOUND'>\n","comments":"","outputs":1,"x":4003.607635498047,"y":626.4286317825317,"z":"c78c4b7.7adc638","wires":[["52b45889.17d01"]]},{"id":"f8697aba.3918c","type":"other","name":"outcome_ERROR","xml":"<outcome value='ERROR'>\n","comments":"","outputs":1,"x":3900.7498474121094,"y":384.0000534057617,"z":"c78c4b7.7adc638","wires":[["69297849.639b5"]]},{"id":"b6417ff9.bc58e8","type":"execute","name":"execute_Restart","xml":"<execute plugin='org.onap.appc.adapter.iaas.ProviderAdapter' method='restartServer'>\n<parameter name=\"org.onap.appc.provider.name\" value=\"OpenStack\"/>\n<parameter name=\"org.onap.appc.instance.url\" value=\"`$VNF.VM[$i].URL`\" />\n<parameter name=\"org.onap.appc.identity.url\" value=\"`$AICIdentity`\" />\n\n","comments":"","outputs":1,"x":3343.0358657836914,"y":319.8571901321411,"z":"c78c4b7.7adc638","wires":[["9c4bf697.756408","733fe7fa.0cd4a"]]},{"id":"5133513c.856678","type":"switchNode","name":"switch","xml":"<switch test='`$getVnfHierarchy_result`'>\n","comments":"","outputs":1,"x":719.3214340209961,"y":312.8572082519531,"z":"c78c4b7.7adc638","wires":[["72b6ce18.26c098","9bead82f.cd767"]]},{"id":"9bead82f.cd767","type":"outcome","name":"FAILURE","xml":"<outcome value='FAILURE'>\n","comments":"","outputs":1,"x":867.5358428955078,"y":583.5714192390442,"z":"c78c4b7.7adc638","wires":[["542f0923.e53be8"]]},{"id":"f514a265.f82058","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value='Failure Getting VNF Hierarchy for Restart VNF' />\n","comments":"","x":1348.1071891784668,"y":660.285737991333,"z":"c78c4b7.7adc638","wires":[]},{"id":"72b6ce18.26c098","type":"outcome","name":"SUCCESS","xml":"<outcome value='SUCCESS'>\n","comments":"","outputs":1,"x":871.7499771118164,"y":313.1429080963135,"z":"c78c4b7.7adc638","wires":[["f62397a3.6d3b68"]]},{"id":"bf58666b.5d2968","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value='No VMs found for Restart VNF' />","comments":"","x":1634.3217468261719,"y":146.8571014404297,"z":"c78c4b7.7adc638","wires":[]},{"id":"be4bc685.e500f","type":"switchNode","name":"switch","xml":"<switch test='`$postResource_result`'>\n","comments":"","outputs":1,"x":2406.1786003112793,"y":313.4285650253296,"z":"c78c4b7.7adc638","wires":[["48805c31.df9c94","c4d38aa0.b4e8f","7ec494b3.dd525c"]]},{"id":"48805c31.df9c94","type":"outcome","name":"SUCCESS","xml":"<outcome value='SUCCESS'>\n","comments":"","outputs":1,"x":3131.7501907348633,"y":324.7142677307129,"z":"c78c4b7.7adc638","wires":[["b6417ff9.bc58e8"]]},{"id":"c4d38aa0.b4e8f","type":"outcome","name":"NOT_FOUND","xml":"<outcome value='NOT_FOUND'>\n","comments":"","outputs":1,"x":2510.8929176330566,"y":96.4286117553711,"z":"c78c4b7.7adc638","wires":[["563a7593.eb4274"]]},{"id":"d27091ce.97eff8","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value='Unable to send Post Request to update AAI' />","comments":"","x":2901.892868041992,"y":188.4285430908203,"z":"c78c4b7.7adc638","wires":[]},{"id":"7ec494b3.dd525c","type":"outcome","name":"FAILURE","xml":"<outcome value='FAILURE'>\n","comments":"","outputs":1,"x":2523.4642753601074,"y":604.857063293457,"z":"c78c4b7.7adc638","wires":[["c35c1366.818ab8"]]},{"id":"c4e150c6.fcb6e","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value='Post Failure Executing Update AAI for Restart' />","comments":"","x":2843.3210678100586,"y":700.2857112884521,"z":"c78c4b7.7adc638","wires":[]},{"id":"e14f710d.b91ca8","type":"switchNode","name":"switch","xml":"<switch test='`$postResource_result`'>\n","comments":"","outputs":1,"x":4710.892288208008,"y":888.428671836853,"z":"c78c4b7.7adc638","wires":[["b8831eff.8281c","6315cee2.ae8958","2807abc1.9b6e14"]]},{"id":"b8831eff.8281c","type":"outcome","name":"SUCCESS","xml":"<outcome value='SUCCESS'>\n","comments":"","outputs":1,"x":4896.606781005859,"y":887.1429166793823,"z":"c78c4b7.7adc638","wires":[[]]},{"id":"6315cee2.ae8958","type":"outcome","name":"NOT_FOUND","xml":"<outcome value='NOT_FOUND'>\n","comments":"","outputs":1,"x":4901.606986999512,"y":819.2857484817505,"z":"c78c4b7.7adc638","wires":[["7eece4ab.7ff8fc"]]},{"id":"2807abc1.9b6e14","type":"outcome","name":"FAILURE","xml":"<outcome value='FAILURE'>\n","comments":"","outputs":1,"x":4884.606498718262,"y":953.142897605896,"z":"c78c4b7.7adc638","wires":[["27931143.bd9bf6"]]},{"id":"759fc367.db7e2c","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value='Failure in executing AAI Update-Not Found' />","comments":"","x":5265.035415649414,"y":881.8571405410767,"z":"c78c4b7.7adc638","wires":[]},{"id":"6c01944a.700a04","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value='Failure in executing AAI Update' />","comments":"","x":5292.464195251465,"y":1003.4285669326782,"z":"c78c4b7.7adc638","wires":[]},{"id":"9d0e2fd1.9c1f4","type":"switchNode","name":"switch","xml":"<switch test='`$postResource_result`'>\n","comments":"","outputs":1,"x":5279.179107666016,"y":322.8571615219116,"z":"c78c4b7.7adc638","wires":[["4b5074bb.24e7d4","26b9401d.a918d","5d819842.9acbd8"]]},{"id":"4b5074bb.24e7d4","type":"outcome","name":"SUCCESS","xml":"<outcome value='SUCCESS'>\n","comments":"","outputs":1,"x":5526.892833709717,"y":269.0000228881836,"z":"c78c4b7.7adc638","wires":[["91fb6ccc.f4eef8"]]},{"id":"91fb6ccc.f4eef8","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value='Restart Failure' />\n","comments":"","x":5778.750324249268,"y":268.00002098083496,"z":"c78c4b7.7adc638","wires":[]},{"id":"26b9401d.a918d","type":"outcome","name":"NOT_FOUND","xml":"<outcome value='NOT_FOUND'>\n","comments":"","outputs":1,"x":5528.893047332764,"y":323.85716438293457,"z":"c78c4b7.7adc638","wires":[["76b4c65c.5494e8"]]},{"id":"5d819842.9acbd8","type":"outcome","name":"FAILURE","xml":"<outcome value='FAILURE'>\n","comments":"","outputs":1,"x":5521.750049591064,"y":389.42859840393066,"z":"c78c4b7.7adc638","wires":[["44730574.2bfc04"]]},{"id":"2812784e.6d9f","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":730.0356864929199,"y":91.99999713897705,"z":"c78c4b7.7adc638","wires":[["29ec2441.2ed354","5510e749.6e8828"]]},{"id":"29ec2441.2ed354","type":"execute","name":"execute","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=\"output.status.message\" value=\"Exception in getting VNF Hierachy\" />\n\n","comments":"","outputs":1,"x":935.1785926818848,"y":90.85714149475098,"z":"c78c4b7.7adc638","wires":[["5c59289d.8de6f8"]]},{"id":"5c59289d.8de6f8","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":1081.8928756713867,"y":87.14285659790039,"z":"c78c4b7.7adc638","wires":[[]]},{"id":"542f0923.e53be8","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1136.773910522461,"y":585.7620143890381,"z":"c78c4b7.7adc638","wires":[["f514a265.f82058","887f7ca9.35a54"]]},{"id":"887f7ca9.35a54","type":"execute","name":"execute","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=\"output.status.message\" value=\"Failure in getting VNF Hierachy\" />","comments":"","outputs":1,"x":1329.678638458252,"y":585.1429443359375,"z":"c78c4b7.7adc638","wires":[["a197a7a4.cb6e18"]]},{"id":"a197a7a4.cb6e18","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":1510.9644165039062,"y":584.5715417861938,"z":"c78c4b7.7adc638","wires":[[]]},{"id":"820fea44.414b08","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1460.321662902832,"y":93.85717391967773,"z":"c78c4b7.7adc638","wires":[["bf58666b.5d2968","d30d206.ec69d6"]]},{"id":"d30d206.ec69d6","type":"execute","name":"execute","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=\"output.status.message\" value=\"VM Count is 0\" />\n","comments":"","outputs":1,"x":1643.7503547668457,"y":90.8571424484253,"z":"c78c4b7.7adc638","wires":[["6c930a9e.2240e4"]]},{"id":"6c930a9e.2240e4","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":1817.6074447631836,"y":92.57139015197754,"z":"c78c4b7.7adc638","wires":[[]]},{"id":"5e910b8f.321cb4","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":2030.321434020996,"y":611.1428813934326,"z":"c78c4b7.7adc638","wires":[["67794257.4253f4","dd56ae0f.c5ba"]]},{"id":"67794257.4253f4","type":"execute","name":"execute","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=\"output.status.message\" value=\"`'Failure in updating AAI for' + $VNF.VM[$i].VNFC`\" />\n","comments":"","outputs":1,"x":2201.750244140625,"y":608.0000610351562,"z":"c78c4b7.7adc638","wires":[["d5a2eec0.c02f4"]]},{"id":"d5a2eec0.c02f4","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":2335.03564453125,"y":607.857177734375,"z":"c78c4b7.7adc638","wires":[[]]},{"id":"c35c1366.818ab8","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":2688.0354232788086,"y":602.2856788635254,"z":"c78c4b7.7adc638","wires":[["8d88d68d.178098","c4e150c6.fcb6e"]]},{"id":"8d88d68d.178098","type":"execute","name":"execute","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=\"output.status.message\" value=\"`'Exception in AAI Update for vnfc ' + $VNF.VM[$i].VNFC`\" />\n\n","comments":"","outputs":1,"x":2845.03564453125,"y":603.142822265625,"z":"c78c4b7.7adc638","wires":[["191c4bc9.ddbc74"]]},{"id":"191c4bc9.ddbc74","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":2972.178066253662,"y":602.8570718765259,"z":"c78c4b7.7adc638","wires":[[]]},{"id":"563a7593.eb4274","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":2699.464412689209,"y":92.42860984802246,"z":"c78c4b7.7adc638","wires":[["2e8a3fbc.e890c8","d27091ce.97eff8"]]},{"id":"2e8a3fbc.e890c8","type":"execute","name":"execute","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=\"output.status.message\" value=\"`'VNFC not found in AAI : ' + $VNF.VM[$i].VNFC`\" />\n","comments":"","outputs":1,"x":2899.1787300109863,"y":91.85716533660889,"z":"c78c4b7.7adc638","wires":[["ef0eaa38.35d1b8"]]},{"id":"ef0eaa38.35d1b8","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":3058.6072311401367,"y":91.00004768371582,"z":"c78c4b7.7adc638","wires":[[]]},{"id":"dfc7121e.032c28","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":4711.606857299805,"y":104.57143783569336,"z":"c78c4b7.7adc638","wires":[["11853f36.20c181","68548acd.173d04"]]},{"id":"11853f36.20c181","type":"execute","name":"Report_Failure_in_Restart","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=\"output.status.message\" value=\"`'Failure in restart for:' + $VNF.VM[$i].URL`\" />","comments":"","outputs":1,"x":4931.178768157959,"y":131.285737991333,"z":"c78c4b7.7adc638","wires":[["fdc72ce2.9ea988"]]},{"id":"fdc72ce2.9ea988","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":5115.178413391113,"y":133.2857437133789,"z":"c78c4b7.7adc638","wires":[[]]},{"id":"52b45889.17d01","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":4286.178771972656,"y":620.5714626312256,"z":"c78c4b7.7adc638","wires":[["68548acd.173d04","c3a57cd6.f21208"]]},{"id":"c3a57cd6.f21208","type":"execute","name":"Report_Context_not_found","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=\"output.status.message\" value=\"`'Stop : Context not found:' + $VNF.VM[$i].URL`\" />","comments":"","outputs":1,"x":4495.321556091309,"y":365.571475982666,"z":"c78c4b7.7adc638","wires":[["b2825586.5f88a"]]},{"id":"b2825586.5f88a","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":4863.180023193359,"y":376.1428756713867,"z":"c78c4b7.7adc638","wires":[[]]},{"id":"69297849.639b5","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":4118.179046630859,"y":360.0000228881836,"z":"c78c4b7.7adc638","wires":[["68548acd.173d04","fb63e7f6.56328"]]},{"id":"fb63e7f6.56328","type":"execute","name":"Report_Error_occoured_while_restarting_the_server","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=\"output.status.message\" value=\"`'Stop : Error occoured while restarting the server:' + $VNF.VM[$i].URL`\" />","comments":"","outputs":1,"x":4313.607406616211,"y":220.85715770721436,"z":"c78c4b7.7adc638","wires":[["73e3e5cd.5347a4"]]},{"id":"73e3e5cd.5347a4","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":4656.179046630859,"y":197.99999237060547,"z":"c78c4b7.7adc638","wires":[[]]},{"id":"7eece4ab.7ff8fc","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":5098.607124328613,"y":817.7143201828003,"z":"c78c4b7.7adc638","wires":[["3e396754.cadd8","759fc367.db7e2c"]]},{"id":"27931143.bd9bf6","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":5095.463916778564,"y":949.8571300506592,"z":"c78c4b7.7adc638","wires":[["d2a97794.1b43b","6c01944a.700a04"]]},{"id":"4a8daed.def30d","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":4685.892219543457,"y":1081.2858295440674,"z":"c78c4b7.7adc638","wires":[["86b1c274.45e328","aba526e8.36f458"]]},{"id":"3e396754.cadd8","type":"execute","name":"execute","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=\"output.status.message\" value=\"`'VNFC not found in AAI : ' + $VNF.VM[$i].VNFC`\" />","comments":"","outputs":1,"x":5262.892913818359,"y":816.5714340209961,"z":"c78c4b7.7adc638","wires":[["4778c346.14f30c"]]},{"id":"d2a97794.1b43b","type":"execute","name":"execute","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=\"output.status.message\" value=\"`'Exception in AAI Update for vnfc' + $VNF.VM[$i].VNFC`\" />","comments":"","outputs":1,"x":5278.749771118164,"y":948.5713906288147,"z":"c78c4b7.7adc638","wires":[["29a82f21.5b0f2"]]},{"id":"4778c346.14f30c","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":5435.892486572266,"y":821.2857761383057,"z":"c78c4b7.7adc638","wires":[[]]},{"id":"29a82f21.5b0f2","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":5446.035621643066,"y":946.857105255127,"z":"c78c4b7.7adc638","wires":[[]]},{"id":"86b1c274.45e328","type":"execute","name":"execute","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=\"output.status.message\" value=\"`'Failure in updating AAI for' + $VNF.VM[$i].VNFC`\" />","comments":"","outputs":1,"x":4888.178146362305,"y":1077.1429538726807,"z":"c78c4b7.7adc638","wires":[["ca092d63.dce3c"]]},{"id":"ca092d63.dce3c","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":5045.749572753906,"y":1071.1429538726807,"z":"c78c4b7.7adc638","wires":[[]]},{"id":"8e902dec.138668","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value='Failure in executing AAI update-Restart Failure' />","comments":"","x":5440.749938964844,"y":689.9999990463257,"z":"c78c4b7.7adc638","wires":[]},{"id":"2e3ea305.ff4bcc","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":5264.75,"y":599.7142333984375,"z":"c78c4b7.7adc638","wires":[["87148039.f379c8","8e902dec.138668"]]},{"id":"87148039.f379c8","type":"execute","name":"execute","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=\"output.status.message\" value=\"`'Failure in updating AAI for' + $VNF.VM[$i].VNFC`\" />\n","comments":"","outputs":1,"x":5436.178810119629,"y":596.571403503418,"z":"c78c4b7.7adc638","wires":[["e405c242.de001"]]},{"id":"e405c242.de001","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":5569.464210510254,"y":596.4285297393799,"z":"c78c4b7.7adc638","wires":[[]]},{"id":"796af8b9.6f0df","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value='Not Found - Failure in executing AAI Update' />","comments":"","x":6149.75,"y":408,"z":"c78c4b7.7adc638","wires":[]},{"id":"76b4c65c.5494e8","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":5942.32177734375,"y":328.00006103515625,"z":"c78c4b7.7adc638","wires":[["976e1ffd.3c5ac","796af8b9.6f0df"]]},{"id":"976e1ffd.3c5ac","type":"execute","name":"execute","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=\"output.status.message\" value=\"`'VNFC not found in AAI : ' + $VNF.VM[$i].VNFC`\" />\n","comments":"","outputs":1,"x":6147.035861968994,"y":311.4286222457886,"z":"c78c4b7.7adc638","wires":[["53aeb441.936564"]]},{"id":"53aeb441.936564","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":6306.4643630981445,"y":310.5715045928955,"z":"c78c4b7.7adc638","wires":[[]]},{"id":"bb205133.796038","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value='Not Found - Failure in executing AAI Update-Restart Failure' />","comments":"","x":5882.75,"y":582,"z":"c78c4b7.7adc638","wires":[]},{"id":"44730574.2bfc04","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":5727.46435546875,"y":483.99996757507324,"z":"c78c4b7.7adc638","wires":[["e06ab492.36011","bb205133.796038"]]},{"id":"e06ab492.36011","type":"execute","name":"execute","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=\"output.status.message\" value='Exception in AAI Update for vnfc $VNF.VM[$i].VNFC' />\n","comments":"","outputs":1,"x":5884.464576721191,"y":484.85711097717285,"z":"c78c4b7.7adc638","wires":[["d1e85fde.16424"]]},{"id":"d1e85fde.16424","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":6011.6069984436035,"y":484.57136058807373,"z":"c78c4b7.7adc638","wires":[[]]},{"id":"5736a106.f1fa9","type":"execute","name":"Report_Success_in_Restart","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=\"`'Restart event executed successfully for ' + $VNF.VM[$i].URL`\" />\n","comments":"","outputs":1,"x":3846.0833435058594,"y":974.6667098999023,"z":"c78c4b7.7adc638","wires":[["9238bd39.7f0f08","b06b539b.237a6"]]},{"id":"9238bd39.7f0f08","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":4072.083333333334,"y":1016.6666641235352,"z":"c78c4b7.7adc638","wires":[["ab5d7a5c.3e581"]]},{"id":"b06b539b.237a6","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":4106.083333333334,"y":908.6666641235352,"z":"c78c4b7.7adc638","wires":[[]]},{"id":"436e1771.f30bb","type":"switchNode","name":"switch action-level","xml":"<switch test='`$action-level`'>\n","comments":"","outputs":1,"x":158.5,"y":255.75,"z":"c78c4b7.7adc638","wires":[["c3eb7ee2.6bc838","4b42a252.ce9b7c","2b0668a9.f98a5"]]},{"id":"c3eb7ee2.6bc838","type":"outcome","name":"vnf","xml":"<outcome value='vnf'>\n","comments":"","outputs":1,"x":377.5,"y":190.75,"z":"c78c4b7.7adc638","wires":[["bcbc30ba.d66ea8"]]},{"id":"4b42a252.ce9b7c","type":"outcome","name":"vm","xml":"<outcome value='vm'>\n","comments":"","outputs":1,"x":299.5,"y":916.75,"z":"c78c4b7.7adc638","wires":[["fcce9aee.30317"]]},{"id":"fcce9aee.30317","type":"call","name":"call RestartVMCommonFlow","xml":"<call module='APPC' rpc='RestartVMCommonFlow' mode='sync' >\n","comments":"","outputs":1,"x":524.5,"y":913.75,"z":"c78c4b7.7adc638","wires":[["7d578194.240498","f8a137de.0c9738","3a144b5c.7e90fc"]]},{"id":"7d578194.240498","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":749.5,"y":839.75,"z":"c78c4b7.7adc638","wires":[["a2b0ff50.40a9e"]]},{"id":"f8a137de.0c9738","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":750,"y":907.75,"z":"c78c4b7.7adc638","wires":[["a2b0ff50.40a9e"]]},{"id":"a2b0ff50.40a9e","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">\n\n","atomic":"true","comments":"","outputs":1,"x":957.75,"y":875.25,"z":"c78c4b7.7adc638","wires":[["4c06f4b2.5bf40c"]]},{"id":"57559431.e251f4","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","comments":"","outputs":1,"x":925.5,"y":953.75,"z":"c78c4b7.7adc638","wires":[["b886d3f6.91d68"]]},{"id":"3a144b5c.7e90fc","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":747.7499942779541,"y":960.7499914169312,"z":"c78c4b7.7adc638","wires":[["57559431.e251f4"]]},{"id":"b886d3f6.91d68","type":"returnSuccess","name":"return success","xml":"<return status='success'>\n<parameter name='error-code' value='400' />\n<parameter name='error-message' value='Request Processed Successfully' />","comments":"","x":1107.5,"y":951.75,"z":"c78c4b7.7adc638","wires":[]},{"id":"4c06f4b2.5bf40c","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","comments":"","x":1127.5,"y":872.75,"z":"c78c4b7.7adc638","wires":[]},{"id":"8e978100.d3a1c8","type":"comment","name":"Check action-level, call VM restart if action level is VM","info":"","comments":"","x":246.25,"y":320.75,"z":"c78c4b7.7adc638","wires":[]},{"id":"d78e2f94.fc3e3","type":"comment","name":"Call DG for VM level Restart - parameters are in context","info":"","comments":"","x":456.5,"y":824.75,"z":"c78c4b7.7adc638","wires":[]},{"id":"2b0668a9.f98a5","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":279.75,"y":1012.75,"z":"c78c4b7.7adc638","wires":[["3188358.10d61ca"]]},{"id":"3188358.10d61ca","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">\n\n","atomic":"true","comments":"","outputs":1,"x":442.75,"y":1007.75,"z":"c78c4b7.7adc638","wires":[["8c09b4ed.560f08"]]},{"id":"8c09b4ed.560f08","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value='Invalid action-level found' />\n","comments":"","x":659.5,"y":1007.25,"z":"c78c4b7.7adc638","wires":[]}]
+[
+ {
+ "id": "70fe6a6c.0f1394",
+ "type": "method",
+ "name": "RestartVMVNFCommonFlow",
+ "xml": "<method rpc='RestartVMVNFCommonFlow' mode='sync'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 270.6666564941406,
+ "y": 194.66665649414062,
+ "z": "c0b736bc.f842a8",
+ "wires": [
+ [
+ "b54b33bd.98257"
+ ]
+ ]
+ },
+ {
+ "id": "eff283de.385c5",
+ "type": "service-logic",
+ "name": "APPC 2.0.0",
+ "module": "APPC",
+ "version": "2.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' version='2.0.0'>",
+ "outputs": 1,
+ "x": 253.66665649414062,
+ "y": 145.66665649414062,
+ "z": "c0b736bc.f842a8",
+ "wires": [
+ [
+ "70fe6a6c.0f1394"
+ ]
+ ]
+ },
+ {
+ "id": "28cf9460.353f2c",
+ "type": "dgstart",
+ "name": "DGSTART",
+ "outputs": 1,
+ "x": 245.66665649414062,
+ "y": 95.66665649414062,
+ "z": "c0b736bc.f842a8",
+ "wires": [
+ [
+ "eff283de.385c5"
+ ]
+ ]
+ },
+ {
+ "id": "5b55fcc7.18d484",
+ "type": "execute",
+ "name": "execute_getVNF_Hierarchy",
+ "xml": "<execute plugin='org.onap.appc.dg.util.ExecuteNodeAction' method='getVnfHierarchy'>\n<parameter name=\"resourceKey\" value=\"`$input.action-identifiers.vnf-id`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 521.6666564941406,
+ "y": 281.6666564941406,
+ "z": "c0b736bc.f842a8",
+ "wires": [
+ [
+ "863cb5dd.ef9108",
+ "ce59752d.328358"
+ ]
+ ]
+ },
+ {
+ "id": "863cb5dd.ef9108",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 676.9523773193359,
+ "y": 327.52379035949707,
+ "z": "c0b736bc.f842a8",
+ "wires": [
+ [
+ "bb2ed5e2.804288"
+ ]
+ ]
+ },
+ {
+ "id": "7d196ad4.3a4c04",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>\n",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1502.5240478515625,
+ "y": 322.2380528450012,
+ "z": "c0b736bc.f842a8",
+ "wires": [
+ [
+ "c24d5c45.b4e1f",
+ "5fd0a74d.09f598"
+ ]
+ ]
+ },
+ {
+ "id": "c24d5c45.b4e1f",
+ "type": "for",
+ "name": "for_each_VMs",
+ "xml": "<for index=\"i\" start=\"0\" end=\"`$VNF.VMCount`\" >",
+ "comments": "",
+ "outputs": 1,
+ "x": 1695.238380432129,
+ "y": 332.095187664032,
+ "z": "c0b736bc.f842a8",
+ "wires": [
+ [
+ "36eda813.abc578"
+ ]
+ ]
+ },
+ {
+ "id": "36eda813.abc578",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>\n",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1916.238510131836,
+ "y": 329.380916595459,
+ "z": "c0b736bc.f842a8",
+ "wires": [
+ [
+ "2119c7f.7fc4938"
+ ]
+ ]
+ },
+ {
+ "id": "5fd0a74d.09f598",
+ "type": "returnSuccess",
+ "name": "return success",
+ "xml": "<return status='success'>\n<parameter name='error-code' value='400' />\n<parameter name='error-message' value='Request Processed Successfully' />",
+ "comments": "",
+ "x": 1688.9525985717773,
+ "y": 389.3808207511902,
+ "z": "c0b736bc.f842a8",
+ "wires": []
+ },
+ {
+ "id": "ce59752d.328358",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 673.9523010253906,
+ "y": 104.9523696899414,
+ "z": "c0b736bc.f842a8",
+ "wires": [
+ [
+ "6b3127e4.80f558"
+ ]
+ ]
+ },
+ {
+ "id": "c69f2c2.70848d",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value='Failure Executing getVNF_Hierarchy for Restart' />\n",
+ "comments": "",
+ "x": 1043.2380905151367,
+ "y": 154.23808228969574,
+ "z": "c0b736bc.f842a8",
+ "wires": []
+ },
+ {
+ "id": "c2abe70c.3253c8",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2422.6666870117188,
+ "y": 444.23810291290283,
+ "z": "c0b736bc.f842a8",
+ "wires": [
+ [
+ "b057e8c3.dbc6c8"
+ ]
+ ]
+ },
+ {
+ "id": "3084e306.2e1c7c",
+ "type": "comment",
+ "name": "update VNFCs to Restarting",
+ "info": "",
+ "comments": "",
+ "x": 1996.5241165161133,
+ "y": 294.3808937072754,
+ "z": "c0b736bc.f842a8",
+ "wires": []
+ },
+ {
+ "id": "2828ecce.1da6f4",
+ "type": "comment",
+ "name": "call south bound to Restart VMs",
+ "info": "",
+ "comments": "",
+ "x": 2249.094551086426,
+ "y": 265.0952272415161,
+ "z": "c0b736bc.f842a8",
+ "wires": []
+ },
+ {
+ "id": "f724ebfd.f6bd28",
+ "type": "comment",
+ "name": "Fetch all VMs and VNFCs from AA&I for given VNF_ID",
+ "info": "",
+ "comments": "",
+ "x": 1012.3809509277344,
+ "y": 185.5237979888916,
+ "z": "c0b736bc.f842a8",
+ "wires": []
+ },
+ {
+ "id": "a98cd1c8.8d05a",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2386.952438354492,
+ "y": 115.52380657196045,
+ "z": "c0b736bc.f842a8",
+ "wires": [
+ [
+ "bedce243.c6a1f"
+ ]
+ ]
+ },
+ {
+ "id": "22d4ffe0.863ca",
+ "type": "switchNode",
+ "name": "switch",
+ "xml": "<switch test='`$VNF.VMCount`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1119.5240783691406,
+ "y": 324.9523735046387,
+ "z": "c0b736bc.f842a8",
+ "wires": [
+ [
+ "554bb2b5.c43d6c",
+ "6cff4075.7b368"
+ ]
+ ]
+ },
+ {
+ "id": "554bb2b5.c43d6c",
+ "type": "other",
+ "name": "outcome_0",
+ "xml": "<outcome value='0'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1387.9524841308594,
+ "y": 105.09524154663086,
+ "z": "c0b736bc.f842a8",
+ "wires": [
+ [
+ "a0e901ca.5bc0a"
+ ]
+ ]
+ },
+ {
+ "id": "6cff4075.7b368",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1336.809684753418,
+ "y": 320.80953788757324,
+ "z": "c0b736bc.f842a8",
+ "wires": [
+ [
+ "7d196ad4.3a4c04"
+ ]
+ ]
+ },
+ {
+ "id": "b057e8c3.dbc6c8",
+ "type": "switchNode",
+ "name": "switch",
+ "xml": "<switch test='`$RESTART_STATUS`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2523.666793823242,
+ "y": 545.2381534576416,
+ "z": "c0b736bc.f842a8",
+ "wires": [
+ [
+ "6b6250e1.5569d",
+ "3168fb0e.92a9b4",
+ "b22ff2da.ab532"
+ ]
+ ]
+ },
+ {
+ "id": "b22ff2da.ab532",
+ "type": "success",
+ "name": "outcome_SUCCESS",
+ "xml": "<outcome value='SUCCESS'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2686.0950088500977,
+ "y": 730.6666145324707,
+ "z": "c0b736bc.f842a8",
+ "wires": [
+ [
+ "21da55ff.2f877a"
+ ]
+ ]
+ },
+ {
+ "id": "6b6250e1.5569d",
+ "type": "other",
+ "name": "outcome_CONTEXT_NOT_FOUND",
+ "xml": "<outcome value='CONTEXT_NOT_FOUND'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2880.5244750976562,
+ "y": 546.0953674316406,
+ "z": "c0b736bc.f842a8",
+ "wires": [
+ [
+ "2d16dd42.da3a92"
+ ]
+ ]
+ },
+ {
+ "id": "3168fb0e.92a9b4",
+ "type": "other",
+ "name": "outcome_ERROR",
+ "xml": "<outcome value='ERROR'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2750.666618347168,
+ "y": 345.6667413711548,
+ "z": "c0b736bc.f842a8",
+ "wires": [
+ [
+ "e414e77a.4f1458"
+ ]
+ ]
+ },
+ {
+ "id": "2119c7f.7fc4938",
+ "type": "execute",
+ "name": "execute_Restart",
+ "xml": "<execute plugin='org.onap.appc.adapter.iaas.ProviderAdapter' method='restartServer'>\n<parameter name=\"org.onap.appc.provider.name\" value=\"OpenStack\"/>\n<parameter name=\"org.onap.appc.instance.url\" value=\"`$VNF.VM[$i].URL`\" />\n<parameter name=\"org.onap.appc.identity.url\" value=\"`$AICIdentity`\" />\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2246.9525451660156,
+ "y": 332.5238342285156,
+ "z": "c0b736bc.f842a8",
+ "wires": [
+ [
+ "c2abe70c.3253c8",
+ "a98cd1c8.8d05a"
+ ]
+ ]
+ },
+ {
+ "id": "bb2ed5e2.804288",
+ "type": "switchNode",
+ "name": "switch",
+ "xml": "<switch test='`$getVnfHierarchy_result`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 827.2380905151367,
+ "y": 325.52386474609375,
+ "z": "c0b736bc.f842a8",
+ "wires": [
+ [
+ "32335910.d02d36",
+ "a1976433.4c2018"
+ ]
+ ]
+ },
+ {
+ "id": "a1976433.4c2018",
+ "type": "outcome",
+ "name": "FAILURE",
+ "xml": "<outcome value='FAILURE'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 975.4524993896484,
+ "y": 596.2380757331848,
+ "z": "c0b736bc.f842a8",
+ "wires": [
+ [
+ "2c345d3c.8289d2"
+ ]
+ ]
+ },
+ {
+ "id": "4bfd7eb9.e09d6",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value='Failure Getting VNF Hierarchy for Restart VNF' />\n",
+ "comments": "",
+ "x": 1456.0238456726074,
+ "y": 672.9523944854736,
+ "z": "c0b736bc.f842a8",
+ "wires": []
+ },
+ {
+ "id": "32335910.d02d36",
+ "type": "outcome",
+ "name": "SUCCESS",
+ "xml": "<outcome value='SUCCESS'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 979.666633605957,
+ "y": 325.8095645904541,
+ "z": "c0b736bc.f842a8",
+ "wires": [
+ [
+ "22d4ffe0.863ca"
+ ]
+ ]
+ },
+ {
+ "id": "2f2415a7.6a6a6a",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value='No VMs found for Restart VNF' />",
+ "comments": "",
+ "x": 1742.2384033203125,
+ "y": 159.5237579345703,
+ "z": "c0b736bc.f842a8",
+ "wires": []
+ },
+ {
+ "id": "6b3127e4.80f558",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 837.9523429870605,
+ "y": 104.66665363311768,
+ "z": "c0b736bc.f842a8",
+ "wires": [
+ [
+ "628b5c35.2f9d14",
+ "c69f2c2.70848d"
+ ]
+ ]
+ },
+ {
+ "id": "628b5c35.2f9d14",
+ "type": "execute",
+ "name": "execute",
+ "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=\"output.status.message\" value=\"Exception in getting VNF Hierachy\" />\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1043.0952491760254,
+ "y": 103.5237979888916,
+ "z": "c0b736bc.f842a8",
+ "wires": [
+ [
+ "b328bf78.f8ded"
+ ]
+ ]
+ },
+ {
+ "id": "b328bf78.f8ded",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1189.8095321655273,
+ "y": 99.80951309204102,
+ "z": "c0b736bc.f842a8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "2c345d3c.8289d2",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1244.6905670166016,
+ "y": 598.4286708831787,
+ "z": "c0b736bc.f842a8",
+ "wires": [
+ [
+ "4bfd7eb9.e09d6",
+ "6ced95d6.f72f4c"
+ ]
+ ]
+ },
+ {
+ "id": "6ced95d6.f72f4c",
+ "type": "execute",
+ "name": "execute",
+ "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=\"output.status.message\" value=\"Failure in getting VNF Hierachy\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1437.5952949523926,
+ "y": 597.8096008300781,
+ "z": "c0b736bc.f842a8",
+ "wires": [
+ [
+ "952fc77.4bda838"
+ ]
+ ]
+ },
+ {
+ "id": "952fc77.4bda838",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1618.8810729980469,
+ "y": 597.2381982803345,
+ "z": "c0b736bc.f842a8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a0e901ca.5bc0a",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1568.2383193969727,
+ "y": 106.52383041381836,
+ "z": "c0b736bc.f842a8",
+ "wires": [
+ [
+ "2f2415a7.6a6a6a",
+ "40cafa28.37ce34"
+ ]
+ ]
+ },
+ {
+ "id": "40cafa28.37ce34",
+ "type": "execute",
+ "name": "execute",
+ "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=\"output.status.message\" value=\"VM Count is 0\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1751.6670112609863,
+ "y": 103.52379894256592,
+ "z": "c0b736bc.f842a8",
+ "wires": [
+ [
+ "e216667e.94e598"
+ ]
+ ]
+ },
+ {
+ "id": "e216667e.94e598",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1925.5241012573242,
+ "y": 105.23804664611816,
+ "z": "c0b736bc.f842a8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "bedce243.c6a1f",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2622.523941040039,
+ "y": 114.23817443847656,
+ "z": "c0b736bc.f842a8",
+ "wires": [
+ [
+ "73bfd2d7.bf17dc",
+ "743f49b2.bd6b08"
+ ]
+ ]
+ },
+ {
+ "id": "73bfd2d7.bf17dc",
+ "type": "execute",
+ "name": "Report_Failure_in_Restart",
+ "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=\"output.status.message\" value=\"`'Failure in restart for:' + $VNF.VM[$i].URL`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 2897.095733642578,
+ "y": 84.95246887207031,
+ "z": "c0b736bc.f842a8",
+ "wires": [
+ [
+ "bf47ba1c.2df2b8"
+ ]
+ ]
+ },
+ {
+ "id": "bf47ba1c.2df2b8",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3144.095504760742,
+ "y": 79.95248413085938,
+ "z": "c0b736bc.f842a8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "2d16dd42.da3a92",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3163.0953845977783,
+ "y": 541.2380867004395,
+ "z": "c0b736bc.f842a8",
+ "wires": [
+ [
+ "77b70019.fa",
+ "72c7466a.24d268"
+ ]
+ ]
+ },
+ {
+ "id": "77b70019.fa",
+ "type": "execute",
+ "name": "Report_Context_not_found",
+ "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=\"output.status.message\" value=\"`'Stop : Context not found:' + $VNF.VM[$i].URL`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 3385.2383346557617,
+ "y": 476.23802280426025,
+ "z": "c0b736bc.f842a8",
+ "wires": [
+ [
+ "a3c0d336.a794c"
+ ]
+ ]
+ },
+ {
+ "id": "a3c0d336.a794c",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3610.0967407226562,
+ "y": 470.80943298339844,
+ "z": "c0b736bc.f842a8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "e414e77a.4f1458",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2915.0955848693848,
+ "y": 310.6666374206543,
+ "z": "c0b736bc.f842a8",
+ "wires": [
+ [
+ "fe3d0a7b.5caeb8",
+ "d2932ef8.cb8fe"
+ ]
+ ]
+ },
+ {
+ "id": "fe3d0a7b.5caeb8",
+ "type": "execute",
+ "name": "Report_Error_occoured_while_restarting_the_server",
+ "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=\"output.status.message\" value=\"`'Stop : Error occoured while restarting the server:' + $VNF.VM[$i].URL`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 3217.524085998535,
+ "y": 233.52380180358887,
+ "z": "c0b736bc.f842a8",
+ "wires": [
+ [
+ "21ac8fe2.d3f68"
+ ]
+ ]
+ },
+ {
+ "id": "21ac8fe2.d3f68",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3542.0956420898438,
+ "y": 231.6666316986084,
+ "z": "c0b736bc.f842a8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "21da55ff.2f877a",
+ "type": "execute",
+ "name": "Report_Success_in_Restart",
+ "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=\"`'Restart event executed successfully for ' + $VNF.VM[$i].URL`\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2946.000045776367,
+ "y": 724.3334865570068,
+ "z": "c0b736bc.f842a8",
+ "wires": [
+ [
+ "e0aad8bd.b7c898",
+ "3267de9d.2920a2"
+ ]
+ ]
+ },
+ {
+ "id": "e0aad8bd.b7c898",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3146.9998092651367,
+ "y": 854.3334903717041,
+ "z": "c0b736bc.f842a8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "3267de9d.2920a2",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3168.0000495910645,
+ "y": 693.3333053588867,
+ "z": "c0b736bc.f842a8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "b54b33bd.98257",
+ "type": "switchNode",
+ "name": "switch action-level",
+ "xml": "<switch test='`$action-level`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 266.4166564941406,
+ "y": 268.4166564941406,
+ "z": "c0b736bc.f842a8",
+ "wires": [
+ [
+ "8ca8da24.3f5698",
+ "c6de725c.5d669",
+ "e729c62f.70f208"
+ ]
+ ]
+ },
+ {
+ "id": "8ca8da24.3f5698",
+ "type": "outcome",
+ "name": "vnf",
+ "xml": "<outcome value='vnf'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 485.4166564941406,
+ "y": 203.41665649414062,
+ "z": "c0b736bc.f842a8",
+ "wires": [
+ [
+ "5b55fcc7.18d484"
+ ]
+ ]
+ },
+ {
+ "id": "c6de725c.5d669",
+ "type": "outcome",
+ "name": "vm",
+ "xml": "<outcome value='vm'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 407.4166564941406,
+ "y": 929.4166564941406,
+ "z": "c0b736bc.f842a8",
+ "wires": [
+ [
+ "137e98e.f945167"
+ ]
+ ]
+ },
+ {
+ "id": "137e98e.f945167",
+ "type": "call",
+ "name": "call RestartVMCommonFlow",
+ "xml": "<call module='APPC' rpc='RestartVMCommonFlow' mode='sync' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 632.4166564941406,
+ "y": 926.4166564941406,
+ "z": "c0b736bc.f842a8",
+ "wires": [
+ [
+ "dd098cbf.e5b55",
+ "e18385f2.6c9268",
+ "6c144d12.a609a4"
+ ]
+ ]
+ },
+ {
+ "id": "dd098cbf.e5b55",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 857.4166564941406,
+ "y": 852.4166564941406,
+ "z": "c0b736bc.f842a8",
+ "wires": [
+ [
+ "ee42cba0.d30c88"
+ ]
+ ]
+ },
+ {
+ "id": "e18385f2.6c9268",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 857.9166564941406,
+ "y": 920.4166564941406,
+ "z": "c0b736bc.f842a8",
+ "wires": [
+ [
+ "ee42cba0.d30c88"
+ ]
+ ]
+ },
+ {
+ "id": "ee42cba0.d30c88",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">\n\n",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1065.6666564941406,
+ "y": 887.9166564941406,
+ "z": "c0b736bc.f842a8",
+ "wires": [
+ [
+ "3dc5c0c1.b6dc3"
+ ]
+ ]
+ },
+ {
+ "id": "d3f6d874.4ad408",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1033.4166564941406,
+ "y": 966.4166564941406,
+ "z": "c0b736bc.f842a8",
+ "wires": [
+ [
+ "84188de.45f887"
+ ]
+ ]
+ },
+ {
+ "id": "6c144d12.a609a4",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 855.6666507720947,
+ "y": 973.4166479110718,
+ "z": "c0b736bc.f842a8",
+ "wires": [
+ [
+ "d3f6d874.4ad408"
+ ]
+ ]
+ },
+ {
+ "id": "84188de.45f887",
+ "type": "returnSuccess",
+ "name": "return success",
+ "xml": "<return status='success'>\n<parameter name='error-code' value='400' />\n<parameter name='error-message' value='Request Processed Successfully' />",
+ "comments": "",
+ "x": 1215.4166564941406,
+ "y": 964.4166564941406,
+ "z": "c0b736bc.f842a8",
+ "wires": []
+ },
+ {
+ "id": "3dc5c0c1.b6dc3",
+ "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",
+ "comments": "",
+ "x": 1235.4166564941406,
+ "y": 885.4166564941406,
+ "z": "c0b736bc.f842a8",
+ "wires": []
+ },
+ {
+ "id": "6fbcd085.3471",
+ "type": "comment",
+ "name": "Check action-level, call VM restart if action level is VM",
+ "info": "",
+ "comments": "",
+ "x": 354.1666564941406,
+ "y": 333.4166564941406,
+ "z": "c0b736bc.f842a8",
+ "wires": []
+ },
+ {
+ "id": "489085cf.2b6cdc",
+ "type": "comment",
+ "name": "Call DG for VM level Restart - parameters are in context",
+ "info": "",
+ "comments": "",
+ "x": 564.4166564941406,
+ "y": 837.4166564941406,
+ "z": "c0b736bc.f842a8",
+ "wires": []
+ },
+ {
+ "id": "e729c62f.70f208",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 387.6666564941406,
+ "y": 1025.4166564941406,
+ "z": "c0b736bc.f842a8",
+ "wires": [
+ [
+ "d2f27779.5810a8"
+ ]
+ ]
+ },
+ {
+ "id": "d2f27779.5810a8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">\n\n",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 550.6666564941406,
+ "y": 1020.4166564941406,
+ "z": "c0b736bc.f842a8",
+ "wires": [
+ [
+ "2013f698.7c292a"
+ ]
+ ]
+ },
+ {
+ "id": "2013f698.7c292a",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value='Invalid action-level found' />\n",
+ "comments": "",
+ "x": 767.4166564941406,
+ "y": 1019.9166564941406,
+ "z": "c0b736bc.f842a8",
+ "wires": []
+ },
+ {
+ "id": "743f49b2.bd6b08",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value='Failure in executing AAI update-Restart Failure' />",
+ "comments": "",
+ "x": 2806.1667709350586,
+ "y": 199.1666145324707,
+ "z": "c0b736bc.f842a8",
+ "wires": []
+ },
+ {
+ "id": "d2932ef8.cb8fe",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value='Failure in executing AAI update-Restart Failure' />",
+ "comments": "",
+ "x": 3074.666576385498,
+ "y": 390.16654777526855,
+ "z": "c0b736bc.f842a8",
+ "wires": []
+ },
+ {
+ "id": "72c7466a.24d268",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value='Failure in executing AAI update-Restart Failure' />",
+ "comments": "",
+ "x": 3373.6665573120117,
+ "y": 583.1666164398193,
+ "z": "c0b736bc.f842a8",
+ "wires": []
+ }
+] \ No newline at end of file
diff --git a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_SaveRunningConfig.json b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_SaveRunningConfig.json
index 45ea7adbb..8b4f27701 100644
--- a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_SaveRunningConfig.json
+++ b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_SaveRunningConfig.json
@@ -1 +1,655 @@
-[{"id":"f7089b6e.27e52","type":"dgstart","name":"DGSTART","outputs":1,"x":138,"y":98,"z":"30436ccd.4adc14","wires":[["a81660a2.acdb6"]]},{"id":"a81660a2.acdb6","type":"service-logic","name":"APPC 4.0.0","module":"APPC","version":"4.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' version='4.0.0'>","outputs":1,"x":292,"y":97,"z":"30436ccd.4adc14","wires":[["6912640f.71411c"]]},{"id":"6912640f.71411c","type":"method","name":"method SaveRunningConfig","xml":"<method rpc='SaveRunningConfig' mode='sync'>\n","comments":"","outputs":1,"x":520,"y":100,"z":"30436ccd.4adc14","wires":[["33c4539f.9dc64c"]]},{"id":"94be0ae2.28833","type":"set","name":"set call DG Parameters","xml":"<set>\n<parameter name='config.vnf-id' value=\"`$vnf-id`\" />\n<parameter name='config.vm-name' value=\"`$vm-name`\" />\n<parameter name='config.vnf-type' value=\"`$vnf-type`\" />\n<parameter name='config.vnf-name' value=\"`$vnf-name`\" />\n<parameter name='config.protocol' value=\"`$tmp.deviceinterfaceprotocol.PROTOCOL`\" />\n<parameter name='config.host-ip-address' value=\"`$vnf-host-ip-address`\" />\n<parameter name='config.user-name' value=\"`$device-authentication.USER-NAME`\" />\n<parameter name='config.password' value=\"`$device-authentication.PASSWORD`\" />\n<parameter name='config.port-number' value=\"`$device-authentication.PORT-NUMBER`\" />\n","comments":"","x":426,"y":154,"z":"30436ccd.4adc14","wires":[]},{"id":"33c4539f.9dc64c","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":167,"y":154,"z":"30436ccd.4adc14","wires":[["94be0ae2.28833","c2d0c3c1.33fe58","efc0edd.6d55e1"]]},{"id":"efc0edd.6d55e1","type":"call","name":"call: GetDeviceRunningConfig","xml":"<call module='APPC' rpc='GetDeviceRunningConfig' mode='sync' >\n","comments":"","outputs":1,"x":224,"y":575,"z":"30436ccd.4adc14","wires":[["2b84bd3f.c43e22","8e9e97db.0c6f3","c67b35a7.d90cc"]]},{"id":"2b84bd3f.c43e22","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":484,"y":594,"z":"30436ccd.4adc14","wires":[["4793b4e7.03b284"]]},{"id":"8e9e97db.0c6f3","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":479,"y":659,"z":"30436ccd.4adc14","wires":[["4793b4e7.03b284"]]},{"id":"c67b35a7.d90cc","type":"not-found","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":489,"y":539,"z":"30436ccd.4adc14","wires":[["b634a873.25805"]]},{"id":"4793b4e7.03b284","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":660,"y":629,"z":"30436ccd.4adc14","wires":[["815c662d.84ab88","e44ffe63.65498","67e0c003.fc637"]]},{"id":"b634a873.25805","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":654,"y":541,"z":"30436ccd.4adc14","wires":[["10d69be.e94b2e4"]]},{"id":"e44ffe63.65498","type":"execute","name":"execute IntermediateMessageSender","xml":"<execute plugin='org.onap.appc.dg.common.IntermediateMessageSender' method='sendMessage' >\n<parameter name='code' value=\"501\" />\n<parameter name='message' value=\"`$dcae-error-message`\" />\n<parameter name='prefix' value=\"tmp.intermediateerror\"/>","comments":"","outputs":1,"x":1389,"y":676,"z":"30436ccd.4adc14","wires":[["860f3f46.08ddc","72f4d895.e59d38"]]},{"id":"860f3f46.08ddc","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":1618,"y":642,"z":"30436ccd.4adc14","wires":[["1f235b69.85d695"]]},{"id":"72f4d895.e59d38","type":"failure","name":"failure","xml":"<outcome value='failure'>","comments":"","outputs":1,"x":1610,"y":710,"z":"30436ccd.4adc14","wires":[["1f235b69.85d695"]]},{"id":"1f235b69.85d695","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":1789,"y":642,"z":"30436ccd.4adc14","wires":[["cf2797ac.14177"]]},{"id":"2032452c.51d42a","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":1314,"y":548,"z":"30436ccd.4adc14","wires":[["dec2c7fd.e23a58","e44ffe63.65498","67e0c003.fc637"]]},{"id":"cf2797ac.14177","type":"record","name":"record","xml":"<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"MSGSENDERERERROR\" value=\"Unable to call IntermediateErrorMessageSender\"/>\n","comments":"","outputs":1,"x":1960,"y":642,"z":"30436ccd.4adc14","wires":[[]]},{"id":"10d69be.e94b2e4","type":"execute","name":"execute updateUploadConfig","xml":"<execute plugin=\"org.onap.appc.data.services.node.ConfigResourceNode\" method=\"updateUploadConfig\">\n<parameter name=\"responsePrefix\" value=\"tmp.uploadconfig\" />\n\n","comments":"","outputs":1,"x":896,"y":536,"z":"30436ccd.4adc14","wires":[["60922c75.3eea14","bf243306.adc27","a2c86ad3.ec63f8"]]},{"id":"60922c75.3eea14","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1110,"y":537,"z":"30436ccd.4adc14","wires":[["2032452c.51d42a"]]},{"id":"bf243306.adc27","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":1111,"y":571,"z":"30436ccd.4adc14","wires":[["2032452c.51d42a"]]},{"id":"a2c86ad3.ec63f8","type":"not-found","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":1081,"y":296,"z":"30436ccd.4adc14","wires":[["eac20556.00c348"]]},{"id":"67e0c003.fc637","type":"execute","name":"execute saveTxLog","xml":"<execute plugin=\"org.onap.appc.data.services.node.ConfigResourceNode\" method=\"saveConfigTransactionLog\">\n<parameter name=\"messageType\" value=\"log\" />\n<parameter name=\"message\" value=\"`'501:' + $dcae-error-message`\" />\n<parameter name=\"responsePrefix\" value=\"tmp.saveTxLog\" />\n","comments":"","outputs":1,"x":1357.5,"y":776,"z":"30436ccd.4adc14","wires":[["26fc329c.a59e4e"]]},{"id":"26fc329c.a59e4e","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1553.5,"y":776,"z":"30436ccd.4adc14","wires":[["bb8dff26.bccd28"]]},{"id":"bb8dff26.bccd28","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":1725.5,"y":778,"z":"30436ccd.4adc14","wires":[[]]},{"id":"c2d0c3c1.33fe58","type":"execute","name":"execute Read Properties","xml":"<execute plugin='org.onap.ccsdk.sli.plugins.prop.PropertiesNode' method='readProperties' >\n\t<parameter name=\"fileName\" value=\"%SDNC_CONFIG_DIR%/appc.properties\"/>\n\t<parameter name=\"contextPrefix\" value=\"prop\"/>\n\n","comments":"","outputs":1,"x":400,"y":202,"z":"30436ccd.4adc14","wires":[["9bfb70c8.4c792","b78d6023.fd1328"]]},{"id":"9bfb70c8.4c792","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":625,"y":175,"z":"30436ccd.4adc14","wires":[["7501ba71.939a9c"]]},{"id":"b78d6023.fd1328","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":600,"y":216,"z":"30436ccd.4adc14","wires":[["7501ba71.939a9c"]]},{"id":"7501ba71.939a9c","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":787,"y":189,"z":"30436ccd.4adc14","wires":[["ccc94347.bf78e","9cef9dac.6442d"]]},{"id":"ccc94347.bf78e","type":"record","name":"record","xml":"<record plugin=\"org.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=\"DCAEREPORTERERROR\" value=\"Unable to read appc.properties File\"/>\n","comments":"","outputs":1,"x":947,"y":156,"z":"30436ccd.4adc14","wires":[[]]},{"id":"9cef9dac.6442d","type":"set","name":"set topic name to null","xml":"<set>\n<parameter name='prop.appc.LCM.topic.write' value=\"\" />\n","comments":"","x":999,"y":215,"z":"30436ccd.4adc14","wires":[]},{"id":"eac20556.00c348","type":"call","name":"call: PublishConfiguration","xml":"<call module=\"APPC\" rpc=\"PublishConfiguration\" mode=\"sync\">","comments":"","outputs":1,"x":1298,"y":294,"z":"30436ccd.4adc14","wires":[["a15a38a7.876bc"]]},{"id":"a15a38a7.876bc","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":1512,"y":298,"z":"30436ccd.4adc14","wires":[["4f5647e3.e12ca"]]},{"id":"4f5647e3.e12ca","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":1694,"y":300,"z":"30436ccd.4adc14","wires":[["a2df8d58.688c38","e44ffe63.65498","67e0c003.fc637"]]},{"id":"dec2c7fd.e23a58","type":"set","name":"set dcae-error-message","xml":"<set>\n<parameter name='dcae-error-message' value=\"`'Configuration is successful but unable to save the running config.' + $tmp.uploadconfig.error-message`\" />\n","comments":"","x":1581,"y":542,"z":"30436ccd.4adc14","wires":[]},{"id":"815c662d.84ab88","type":"set","name":"set dcae-error-message","xml":"<set>\n<parameter name='dcae-error-message' value=\"Configuration is successful but unable to get the running config.\" />\n","comments":"","x":896,"y":605,"z":"30436ccd.4adc14","wires":[]},{"id":"a2df8d58.688c38","type":"set","name":"set dcae-error-message","xml":"<set>\n<parameter name='dcae-error-message' value='Configuration is successful.DG Workflow PublishConfiguration not found' />\n","comments":"","x":1924,"y":301,"z":"30436ccd.4adc14","wires":[]}]
+[
+ {
+ "id": "7c3474f1.1cd03c",
+ "type": "dgstart",
+ "name": "DGSTART",
+ "outputs": 1,
+ "x": 122,
+ "y": 48,
+ "z": "b65e8435.fe44e8",
+ "wires": [
+ [
+ "a83bd040.8282b"
+ ]
+ ]
+ },
+ {
+ "id": "a83bd040.8282b",
+ "type": "service-logic",
+ "name": "APPC 4.0.0",
+ "module": "APPC",
+ "version": "4.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' version='4.0.0'>",
+ "outputs": 1,
+ "x": 276,
+ "y": 47,
+ "z": "b65e8435.fe44e8",
+ "wires": [
+ [
+ "e1894372.30cdd"
+ ]
+ ]
+ },
+ {
+ "id": "e1894372.30cdd",
+ "type": "method",
+ "name": "method SaveRunningConfig",
+ "xml": "<method rpc='SaveRunningConfig' mode='sync'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 504,
+ "y": 50,
+ "z": "b65e8435.fe44e8",
+ "wires": [
+ [
+ "765e52ba.92d4ec"
+ ]
+ ]
+ },
+ {
+ "id": "1a5b77c4.054a08",
+ "type": "set",
+ "name": "set call DG Parameters",
+ "xml": "<set>\n<parameter name='config.vnf-id' value=\"`$vnf-id`\" />\n<parameter name='config.vm-name' value=\"`$vm-name`\" />\n<parameter name='config.vnf-type' value=\"`$vnf-type`\" />\n<parameter name='config.vnf-name' value=\"`$vnf-name`\" />\n<parameter name='config.protocol' value=\"`$tmp.deviceinterfaceprotocol.PROTOCOL`\" />\n<parameter name='config.host-ip-address' value=\"`$vnf-host-ip-address`\" />\n<parameter name='config.user-name' value=\"`$device-authentication.USER-NAME`\" />\n<parameter name='config.password' value=\"`$device-authentication.PASSWORD`\" />\n<parameter name='config.port-number' value=\"`$device-authentication.PORT-NUMBER`\" />\n",
+ "comments": "",
+ "x": 390,
+ "y": 224,
+ "z": "b65e8435.fe44e8",
+ "wires": []
+ },
+ {
+ "id": "765e52ba.92d4ec",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 151,
+ "y": 104,
+ "z": "b65e8435.fe44e8",
+ "wires": [
+ [
+ "1a5b77c4.054a08",
+ "6ba67872.c10128",
+ "ed29f122.78c98",
+ "f1e5ace2.29b46"
+ ]
+ ]
+ },
+ {
+ "id": "ed29f122.78c98",
+ "type": "call",
+ "name": "call: GetDeviceRunningConfig",
+ "xml": "<call module='APPC' rpc='GetDeviceRunningConfig' mode='sync' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 208,
+ "y": 525,
+ "z": "b65e8435.fe44e8",
+ "wires": [
+ [
+ "66a3421e.8ee46c",
+ "1758c96b.0bfac7",
+ "1205b1c1.01b1fe"
+ ]
+ ]
+ },
+ {
+ "id": "66a3421e.8ee46c",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 468,
+ "y": 544,
+ "z": "b65e8435.fe44e8",
+ "wires": [
+ [
+ "2cf3d154.43afee"
+ ]
+ ]
+ },
+ {
+ "id": "1758c96b.0bfac7",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 463,
+ "y": 609,
+ "z": "b65e8435.fe44e8",
+ "wires": [
+ [
+ "2cf3d154.43afee"
+ ]
+ ]
+ },
+ {
+ "id": "1205b1c1.01b1fe",
+ "type": "not-found",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 473,
+ "y": 489,
+ "z": "b65e8435.fe44e8",
+ "wires": [
+ [
+ "c415d4b1.46ebb8"
+ ]
+ ]
+ },
+ {
+ "id": "2cf3d154.43afee",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 644,
+ "y": 579,
+ "z": "b65e8435.fe44e8",
+ "wires": [
+ [
+ "4b738eae.bebbf",
+ "c326e29b.a53c5",
+ "15e176d7.f4fa69"
+ ]
+ ]
+ },
+ {
+ "id": "c415d4b1.46ebb8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 638,
+ "y": 491,
+ "z": "b65e8435.fe44e8",
+ "wires": [
+ [
+ "343da92f.ea2d36"
+ ]
+ ]
+ },
+ {
+ "id": "c326e29b.a53c5",
+ "type": "execute",
+ "name": "execute IntermediateMessageSender",
+ "xml": "<execute plugin='org.onap.appc.dg.common.IntermediateMessageSender' method='sendMessage' >\n<parameter name='code' value=\"501\" />\n<parameter name='message' value=\"`$dcae-error-message`\" />\n<parameter name='prefix' value=\"tmp.intermediateerror\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1373,
+ "y": 626,
+ "z": "b65e8435.fe44e8",
+ "wires": [
+ [
+ "d561706d.6cc1f",
+ "2cc85644.7e2dda"
+ ]
+ ]
+ },
+ {
+ "id": "d561706d.6cc1f",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1602,
+ "y": 592,
+ "z": "b65e8435.fe44e8",
+ "wires": [
+ [
+ "acd3a913.aef658"
+ ]
+ ]
+ },
+ {
+ "id": "2cc85644.7e2dda",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1594,
+ "y": 660,
+ "z": "b65e8435.fe44e8",
+ "wires": [
+ [
+ "acd3a913.aef658"
+ ]
+ ]
+ },
+ {
+ "id": "acd3a913.aef658",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 1773,
+ "y": 592,
+ "z": "b65e8435.fe44e8",
+ "wires": [
+ [
+ "11937500.5cc44b"
+ ]
+ ]
+ },
+ {
+ "id": "4482b188.2de78",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 1298,
+ "y": 498,
+ "z": "b65e8435.fe44e8",
+ "wires": [
+ [
+ "9444113f.a9b7f",
+ "c326e29b.a53c5",
+ "15e176d7.f4fa69"
+ ]
+ ]
+ },
+ {
+ "id": "11937500.5cc44b",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"MSGSENDERERERROR\" value=\"Unable to call IntermediateErrorMessageSender\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1944,
+ "y": 592,
+ "z": "b65e8435.fe44e8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "343da92f.ea2d36",
+ "type": "execute",
+ "name": "execute updateUploadConfig",
+ "xml": "<execute plugin=\"org.onap.appc.data.services.node.ConfigResourceNode\" method=\"updateUploadConfig\">\n<parameter name=\"responsePrefix\" value=\"tmp.uploadconfig\" />\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 880,
+ "y": 486,
+ "z": "b65e8435.fe44e8",
+ "wires": [
+ [
+ "5f1d1c6.72869e4",
+ "899f9e.eae2d06",
+ "83081ae4.fe0218"
+ ]
+ ]
+ },
+ {
+ "id": "5f1d1c6.72869e4",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1094,
+ "y": 487,
+ "z": "b65e8435.fe44e8",
+ "wires": [
+ [
+ "4482b188.2de78"
+ ]
+ ]
+ },
+ {
+ "id": "899f9e.eae2d06",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1095,
+ "y": 521,
+ "z": "b65e8435.fe44e8",
+ "wires": [
+ [
+ "4482b188.2de78"
+ ]
+ ]
+ },
+ {
+ "id": "83081ae4.fe0218",
+ "type": "not-found",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1100,
+ "y": 414,
+ "z": "b65e8435.fe44e8",
+ "wires": [
+ [
+ "81dc42e5.641e2"
+ ]
+ ]
+ },
+ {
+ "id": "15e176d7.f4fa69",
+ "type": "execute",
+ "name": "execute saveTxLog",
+ "xml": "<execute plugin=\"org.onap.appc.data.services.node.ConfigResourceNode\" method=\"saveConfigTransactionLog\">\n<parameter name=\"messageType\" value=\"log\" />\n<parameter name=\"message\" value=\"`'501:' + $dcae-error-message`\" />\n<parameter name=\"responsePrefix\" value=\"tmp.saveTxLog\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1341.5,
+ "y": 726,
+ "z": "b65e8435.fe44e8",
+ "wires": [
+ [
+ "6e98fbd2.1138c4"
+ ]
+ ]
+ },
+ {
+ "id": "6e98fbd2.1138c4",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1537.5,
+ "y": 726,
+ "z": "b65e8435.fe44e8",
+ "wires": [
+ [
+ "b24c0738.704288"
+ ]
+ ]
+ },
+ {
+ "id": "b24c0738.704288",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 1709.5,
+ "y": 728,
+ "z": "b65e8435.fe44e8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "6ba67872.c10128",
+ "type": "execute",
+ "name": "execute Read Properties",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.prop.PropertiesNode' method='readProperties' >\n\t<parameter name=\"fileName\" value=\"%SDNC_CONFIG_DIR%/appc.properties\"/>\n\t<parameter name=\"contextPrefix\" value=\"prop\"/>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 353,
+ "y": 328,
+ "z": "b65e8435.fe44e8",
+ "wires": [
+ [
+ "85a4642e.9e6498",
+ "56546486.120c5c"
+ ]
+ ]
+ },
+ {
+ "id": "85a4642e.9e6498",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 560,
+ "y": 284,
+ "z": "b65e8435.fe44e8",
+ "wires": [
+ [
+ "9b0db7e4.9df908"
+ ]
+ ]
+ },
+ {
+ "id": "56546486.120c5c",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 570,
+ "y": 353,
+ "z": "b65e8435.fe44e8",
+ "wires": [
+ [
+ "9b0db7e4.9df908"
+ ]
+ ]
+ },
+ {
+ "id": "9b0db7e4.9df908",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 735,
+ "y": 320,
+ "z": "b65e8435.fe44e8",
+ "wires": [
+ [
+ "6e458aaa.aa8b54",
+ "9f1686a1.b5d648"
+ ]
+ ]
+ },
+ {
+ "id": "6e458aaa.aa8b54",
+ "type": "record",
+ "name": "record",
+ "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=\"DCAEREPORTERERROR\" value=\"Unable to read appc.properties File\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 912,
+ "y": 364,
+ "z": "b65e8435.fe44e8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "9f1686a1.b5d648",
+ "type": "set",
+ "name": "set topic name to null",
+ "xml": "<set>\n<parameter name='prop.appc.LCM.topic.write' value=\"\" />\n",
+ "comments": "",
+ "x": 913,
+ "y": 417,
+ "z": "b65e8435.fe44e8",
+ "wires": []
+ },
+ {
+ "id": "81dc42e5.641e2",
+ "type": "call",
+ "name": "call: PublishConfiguration",
+ "xml": "<call module=\"APPC\" rpc=\"PublishConfiguration\" mode=\"sync\">",
+ "comments": "",
+ "outputs": 1,
+ "x": 1305,
+ "y": 414,
+ "z": "b65e8435.fe44e8",
+ "wires": [
+ [
+ "eb6085f2.5a8a38"
+ ]
+ ]
+ },
+ {
+ "id": "eb6085f2.5a8a38",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1503,
+ "y": 299,
+ "z": "b65e8435.fe44e8",
+ "wires": [
+ [
+ "de2a437b.88707"
+ ]
+ ]
+ },
+ {
+ "id": "de2a437b.88707",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 1678,
+ "y": 250,
+ "z": "b65e8435.fe44e8",
+ "wires": [
+ [
+ "69555cd3.e33e24",
+ "c326e29b.a53c5",
+ "15e176d7.f4fa69"
+ ]
+ ]
+ },
+ {
+ "id": "9444113f.a9b7f",
+ "type": "set",
+ "name": "set dcae-error-message",
+ "xml": "<set>\n<parameter name='dcae-error-message' value=\"`'Configuration is successful but unable to save the running config.' + $tmp.uploadconfig.error-message`\" />\n",
+ "comments": "",
+ "x": 1565,
+ "y": 492,
+ "z": "b65e8435.fe44e8",
+ "wires": []
+ },
+ {
+ "id": "4b738eae.bebbf",
+ "type": "set",
+ "name": "set dcae-error-message",
+ "xml": "<set>\n<parameter name='dcae-error-message' value=\"Configuration is successful but unable to get the running config.\" />\n",
+ "comments": "",
+ "x": 880,
+ "y": 555,
+ "z": "b65e8435.fe44e8",
+ "wires": []
+ },
+ {
+ "id": "69555cd3.e33e24",
+ "type": "set",
+ "name": "set dcae-error-message",
+ "xml": "<set>\n<parameter name='dcae-error-message' value='Configuration is successful.DG Workflow PublishConfiguration not found' />\n",
+ "comments": "",
+ "x": 1908,
+ "y": 251,
+ "z": "b65e8435.fe44e8",
+ "wires": []
+ },
+ {
+ "id": "f1e5ace2.29b46",
+ "type": "switchNode",
+ "name": "switch VM NAME in request",
+ "xml": "<switch test='`$VMNAME0`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 417,
+ "y": 161,
+ "z": "b65e8435.fe44e8",
+ "wires": [
+ [
+ "7fef9209.46d47c",
+ "3da9dca1.ce1034"
+ ]
+ ]
+ },
+ {
+ "id": "7fef9209.46d47c",
+ "type": "success",
+ "name": "outcome: Other",
+ "xml": "<outcome value='Other'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 659.75,
+ "y": 192.61105346679688,
+ "z": "b65e8435.fe44e8",
+ "wires": [
+ [
+ "f3795793.19b688"
+ ]
+ ]
+ },
+ {
+ "id": "3da9dca1.ce1034",
+ "type": "success",
+ "name": "outcome:null",
+ "xml": "<outcome value=''>",
+ "comments": "",
+ "outputs": 1,
+ "x": 649.3611450195312,
+ "y": 126.77777099609375,
+ "z": "b65e8435.fe44e8",
+ "wires": [
+ [
+ "e74d3cad.0ea56"
+ ]
+ ]
+ },
+ {
+ "id": "e74d3cad.0ea56",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 828,
+ "y": 125,
+ "z": "b65e8435.fe44e8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f3795793.19b688",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 842,
+ "y": 192,
+ "z": "b65e8435.fe44e8",
+ "wires": [
+ [
+ "f10135f1.0d9068"
+ ]
+ ]
+ },
+ {
+ "id": "f10135f1.0d9068",
+ "type": "set",
+ "name": "set VM name",
+ "xml": "<set>\n<!-- 17.07 If VM is in the request in array list set VM Name -->\n<parameter name='vm-name' value='`$VMNAME0`' />\n",
+ "comments": "",
+ "x": 1027,
+ "y": 192,
+ "z": "b65e8435.fe44e8",
+ "wires": []
+ }
+]
diff --git a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_SetStatus.json b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_SetStatus.json
index 1b955b4bc..ef8918d74 100644
--- a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_SetStatus.json
+++ b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_SetStatus.json
@@ -1 +1,438 @@
-[{"id":"4dde859f.fc64cc","type":"dgstart","name":"DGSTART","outputs":1,"x":273,"y":79,"z":"70b2523f.6b685c","wires":[["bfe190d1.196d2"]]},{"id":"bfe190d1.196d2","type":"service-logic","name":"APPC 4.0.0","module":"APPC","version":"4.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' version='4.0.0'>","outputs":1,"x":432,"y":79,"z":"70b2523f.6b685c","wires":[["30593d85.ab3dc2"]]},{"id":"30593d85.ab3dc2","type":"method","name":"method SetStatus","xml":"<method rpc='SetStatus' mode='sync'>\n","comments":"","outputs":1,"x":632,"y":78,"z":"70b2523f.6b685c","wires":[["f1351cc3.b1a25"]]},{"id":"19172065.c5b0a","type":"switchNode","name":"switch: request-action","xml":"<switch test=\"`$request-action`\">\n","comments":"","outputs":1,"x":894.5,"y":338,"z":"70b2523f.6b685c","wires":[["9747b2ab.aec3e","57dfbf95.80724"]]},{"id":"57dfbf95.80724","type":"other","name":"ConfigScale","xml":"<outcome value='ConfigScale'>","comments":"","outputs":1,"x":1114,"y":365,"z":"70b2523f.6b685c","wires":[["a7111ded.29a1e"]]},{"id":"9747b2ab.aec3e","type":"other","name":"Configure","xml":"<outcome value='Configure'>","comments":"","outputs":1,"x":1115.5,"y":290,"z":"70b2523f.6b685c","wires":[["a7111ded.29a1e"]]},{"id":"59fe443f.2decbc","type":"call","name":"call: UpdateAaiInfo","xml":"<call module=\"APPC\" rpc=\"UpdateAaiInfo\" mode=\"sync\">","comments":"","outputs":1,"x":837,"y":470,"z":"70b2523f.6b685c","wires":[["c4b222a6.df039"]]},{"id":"d8c49649.ea2c88","type":"switchNode","name":"switch: error-code","xml":"<switch test=\"`$error-code`\">\n","comments":"","outputs":1,"x":279,"y":196,"z":"70b2523f.6b685c","wires":[["ed9a1aba.c4d6c8","461e66ac.15dc58"]]},{"id":"28ebb19c.5f49ae","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":660,"y":195,"z":"70b2523f.6b685c","wires":[["f9b83601.004e48","19172065.c5b0a","2a00c2b.88ebe3e","d3fd9387.1d4c4"]]},{"id":"ed9a1aba.c4d6c8","type":"success","name":"outcome: 400","xml":"<outcome value=\"400\">","comments":"","outputs":1,"x":483,"y":195,"z":"70b2523f.6b685c","wires":[["28ebb19c.5f49ae"]]},{"id":"461e66ac.15dc58","type":"success","name":"outcome: Other","xml":"<outcome value=\"Other\">","comments":"","outputs":1,"x":486,"y":864,"z":"70b2523f.6b685c","wires":[["d427e6fd.fb6f78"]]},{"id":"d427e6fd.fb6f78","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","comments":"","outputs":1,"x":687,"y":865,"z":"70b2523f.6b685c","wires":[["d83e228b.87786","11494413.bf835c","b9ef7dd2.d9ceb"]]},{"id":"f1351cc3.b1a25","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","comments":"","outputs":1,"x":279,"y":131,"z":"70b2523f.6b685c","wires":[["d8c49649.ea2c88"]]},{"id":"11494413.bf835c","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n\n\n","comments":"","x":880,"y":969,"z":"70b2523f.6b685c","wires":[]},{"id":"d83e228b.87786","type":"record","name":"record","xml":"<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"ERRORCODE\" value=\"`$error-code`\"/>\n<parameter name=\"ERRORMESSAGE\" value=\"`$error-message`\"/>\n","comments":"","outputs":1,"x":872,"y":865,"z":"70b2523f.6b685c","wires":[[]]},{"id":"c4b222a6.df039","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":1067.5,"y":458,"z":"70b2523f.6b685c","wires":[["56027b2c.0a5614"]]},{"id":"56027b2c.0a5614","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","comments":"","outputs":1,"x":1252.5,"y":460,"z":"70b2523f.6b685c","wires":[["4ad76b90.eabd64","c6a4c94.df29038"]]},{"id":"4ad76b90.eabd64","type":"set","name":"set: dcae-error message","xml":"<set>\n\t <parameter name=\"dcae-error-message\" value=\"DG Workflow UpdateAaiInfo not found\"/>\n\t ","comments":"","x":1505.5,"y":455,"z":"70b2523f.6b685c","wires":[]},{"id":"f9b83601.004e48","type":"returnSuccess","name":"return success","xml":"<return status='success'>\n\n","comments":"","x":552,"y":793,"z":"70b2523f.6b685c","wires":[]},{"id":"a7111ded.29a1e","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":1281,"y":323,"z":"70b2523f.6b685c","wires":[["59fe443f.2decbc"]]},{"id":"2a00c2b.88ebe3e","type":"call","name":"call: SaveRunningConfig","xml":"<call module=\"APPC\" rpc=\"SaveRunningConfig\" mode=\"sync\">","comments":"","outputs":1,"x":901,"y":128,"z":"70b2523f.6b685c","wires":[["d5d0faee.e29388"]]},{"id":"d5d0faee.e29388","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":1124,"y":130,"z":"70b2523f.6b685c","wires":[["ffd6d09b.31a6c"]]},{"id":"ffd6d09b.31a6c","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","comments":"","outputs":1,"x":1314,"y":129,"z":"70b2523f.6b685c","wires":[["b375bde8.81374","3146abb.479e554"]]},{"id":"b375bde8.81374","type":"set","name":"set: dcae-error message","xml":"<set>\n\t <parameter name=\"dcae-error-message\" value=\"DG Workflow SaveRunningConfig not found\"/>\n\t ","comments":"","x":1530,"y":130,"z":"70b2523f.6b685c","wires":[]},{"id":"3146abb.479e554","type":"record","name":"record","xml":"<record plugin=\"org.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=\"DCAEERRORMESSAGE\" value=\"`$dcae-error-message`\"/>\n","comments":"","outputs":1,"x":1487,"y":179,"z":"70b2523f.6b685c","wires":[[]]},{"id":"c6a4c94.df29038","type":"record","name":"record","xml":"<record plugin=\"org.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=\"DCAEERRORMESSAGE\" value=\"`$dcae-error-message`\"/>\n","comments":"","outputs":1,"x":1463,"y":495,"z":"70b2523f.6b685c","wires":[[]]},{"id":"d3fd9387.1d4c4","type":"set","name":"set error-code 400","xml":"<set>\n<parameter name='error-code' value='400' />\n<parameter name=\"error-message\" value=\"SUCCESS - request has been processed successfully\" />\n","comments":"","x":625,"y":722,"z":"70b2523f.6b685c","wires":[]},{"id":"b9ef7dd2.d9ceb","type":"set","name":"set error-code 401","xml":"<set>\n<parameter name='error-code' value='401' />\n","comments":"","x":912,"y":919,"z":"70b2523f.6b685c","wires":[]},{"id":"7047038e.7e839c","type":"comment","name":"Setting error code since Config Comp Adaptor may reset it...","info":"","comments":"","x":889,"y":778,"z":"70b2523f.6b685c","wires":[]}]
+[
+ {
+ "id": "4dde859f.fc64cc",
+ "type": "dgstart",
+ "name": "DGSTART",
+ "outputs": 1,
+ "x": 273,
+ "y": 79,
+ "z": "70b2523f.6b685c",
+ "wires": [
+ [
+ "bfe190d1.196d2"
+ ]
+ ]
+ },
+ {
+ "id": "bfe190d1.196d2",
+ "type": "service-logic",
+ "name": "APPC 4.0.0",
+ "module": "APPC",
+ "version": "4.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' version='4.0.0'>",
+ "outputs": 1,
+ "x": 432,
+ "y": 79,
+ "z": "70b2523f.6b685c",
+ "wires": [
+ [
+ "30593d85.ab3dc2"
+ ]
+ ]
+ },
+ {
+ "id": "30593d85.ab3dc2",
+ "type": "method",
+ "name": "method SetStatus",
+ "xml": "<method rpc='SetStatus' mode='sync'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 632,
+ "y": 78,
+ "z": "70b2523f.6b685c",
+ "wires": [
+ [
+ "f1351cc3.b1a25"
+ ]
+ ]
+ },
+ {
+ "id": "19172065.c5b0a",
+ "type": "switchNode",
+ "name": "switch: request-action",
+ "xml": "<switch test=\"`$request-action`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 894.5,
+ "y": 338,
+ "z": "70b2523f.6b685c",
+ "wires": [
+ [
+ "9747b2ab.aec3e",
+ "57dfbf95.80724"
+ ]
+ ]
+ },
+ {
+ "id": "57dfbf95.80724",
+ "type": "other",
+ "name": "ConfigScale",
+ "xml": "<outcome value='ConfigScale'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1114,
+ "y": 365,
+ "z": "70b2523f.6b685c",
+ "wires": [
+ [
+ "a7111ded.29a1e"
+ ]
+ ]
+ },
+ {
+ "id": "9747b2ab.aec3e",
+ "type": "other",
+ "name": "Configure",
+ "xml": "<outcome value='Configure'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1115.5,
+ "y": 290,
+ "z": "70b2523f.6b685c",
+ "wires": [
+ [
+ "a7111ded.29a1e"
+ ]
+ ]
+ },
+ {
+ "id": "59fe443f.2decbc",
+ "type": "call",
+ "name": "call: UpdateAaiInfo",
+ "xml": "<call module=\"APPC\" rpc=\"UpdateAaiInfo\" mode=\"sync\">",
+ "comments": "",
+ "outputs": 1,
+ "x": 837,
+ "y": 470,
+ "z": "70b2523f.6b685c",
+ "wires": [
+ [
+ "c4b222a6.df039"
+ ]
+ ]
+ },
+ {
+ "id": "d8c49649.ea2c88",
+ "type": "switchNode",
+ "name": "switch: error-code",
+ "xml": "<switch test=\"`$error-code`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 279,
+ "y": 196,
+ "z": "70b2523f.6b685c",
+ "wires": [
+ [
+ "ed9a1aba.c4d6c8",
+ "461e66ac.15dc58"
+ ]
+ ]
+ },
+ {
+ "id": "28ebb19c.5f49ae",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 660,
+ "y": 195,
+ "z": "70b2523f.6b685c",
+ "wires": [
+ [
+ "f9b83601.004e48",
+ "19172065.c5b0a",
+ "2a00c2b.88ebe3e",
+ "d3fd9387.1d4c4"
+ ]
+ ]
+ },
+ {
+ "id": "ed9a1aba.c4d6c8",
+ "type": "success",
+ "name": "outcome: 400",
+ "xml": "<outcome value=\"400\">",
+ "comments": "",
+ "outputs": 1,
+ "x": 483,
+ "y": 195,
+ "z": "70b2523f.6b685c",
+ "wires": [
+ [
+ "28ebb19c.5f49ae"
+ ]
+ ]
+ },
+ {
+ "id": "461e66ac.15dc58",
+ "type": "success",
+ "name": "outcome: Other",
+ "xml": "<outcome value=\"Other\">",
+ "comments": "",
+ "outputs": 1,
+ "x": 486,
+ "y": 864,
+ "z": "70b2523f.6b685c",
+ "wires": [
+ [
+ "d427e6fd.fb6f78"
+ ]
+ ]
+ },
+ {
+ "id": "d427e6fd.fb6f78",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 687,
+ "y": 865,
+ "z": "70b2523f.6b685c",
+ "wires": [
+ [
+ "d83e228b.87786",
+ "11494413.bf835c",
+ "b9ef7dd2.d9ceb"
+ ]
+ ]
+ },
+ {
+ "id": "f1351cc3.b1a25",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 279,
+ "y": 131,
+ "z": "70b2523f.6b685c",
+ "wires": [
+ [
+ "d8c49649.ea2c88"
+ ]
+ ]
+ },
+ {
+ "id": "11494413.bf835c",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n\n\n",
+ "comments": "",
+ "x": 880,
+ "y": 969,
+ "z": "70b2523f.6b685c",
+ "wires": []
+ },
+ {
+ "id": "d83e228b.87786",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"ERRORCODE\" value=\"`$error-code`\"/>\n<parameter name=\"ERRORMESSAGE\" value=\"`$error-message`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 872,
+ "y": 865,
+ "z": "70b2523f.6b685c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "c4b222a6.df039",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1067.5,
+ "y": 458,
+ "z": "70b2523f.6b685c",
+ "wires": [
+ [
+ "56027b2c.0a5614"
+ ]
+ ]
+ },
+ {
+ "id": "56027b2c.0a5614",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1252.5,
+ "y": 460,
+ "z": "70b2523f.6b685c",
+ "wires": [
+ [
+ "4ad76b90.eabd64",
+ "c6a4c94.df29038"
+ ]
+ ]
+ },
+ {
+ "id": "4ad76b90.eabd64",
+ "type": "set",
+ "name": "set: dcae-error message",
+ "xml": "<set>\n\t <parameter name=\"dcae-error-message\" value=\"DG Workflow UpdateAaiInfo not found\"/>\n\t ",
+ "comments": "",
+ "x": 1505.5,
+ "y": 455,
+ "z": "70b2523f.6b685c",
+ "wires": []
+ },
+ {
+ "id": "f9b83601.004e48",
+ "type": "returnSuccess",
+ "name": "return success",
+ "xml": "<return status='success'>\n\n",
+ "comments": "",
+ "x": 552,
+ "y": 793,
+ "z": "70b2523f.6b685c",
+ "wires": []
+ },
+ {
+ "id": "a7111ded.29a1e",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 1281,
+ "y": 323,
+ "z": "70b2523f.6b685c",
+ "wires": [
+ [
+ "59fe443f.2decbc"
+ ]
+ ]
+ },
+ {
+ "id": "2a00c2b.88ebe3e",
+ "type": "call",
+ "name": "call: SaveRunningConfig",
+ "xml": "<call module=\"APPC\" rpc=\"SaveRunningConfig\" mode=\"sync\">",
+ "comments": "",
+ "outputs": 1,
+ "x": 901,
+ "y": 128,
+ "z": "70b2523f.6b685c",
+ "wires": [
+ [
+ "d5d0faee.e29388"
+ ]
+ ]
+ },
+ {
+ "id": "d5d0faee.e29388",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1124,
+ "y": 130,
+ "z": "70b2523f.6b685c",
+ "wires": [
+ [
+ "ffd6d09b.31a6c"
+ ]
+ ]
+ },
+ {
+ "id": "ffd6d09b.31a6c",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1314,
+ "y": 129,
+ "z": "70b2523f.6b685c",
+ "wires": [
+ [
+ "b375bde8.81374",
+ "3146abb.479e554"
+ ]
+ ]
+ },
+ {
+ "id": "b375bde8.81374",
+ "type": "set",
+ "name": "set: dcae-error message",
+ "xml": "<set>\n\t <parameter name=\"dcae-error-message\" value=\"DG Workflow SaveRunningConfig not found\"/>\n\t ",
+ "comments": "",
+ "x": 1530,
+ "y": 130,
+ "z": "70b2523f.6b685c",
+ "wires": []
+ },
+ {
+ "id": "3146abb.479e554",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.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=\"DCAEERRORMESSAGE\" value=\"`$dcae-error-message`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1487,
+ "y": 179,
+ "z": "70b2523f.6b685c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "c6a4c94.df29038",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.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=\"DCAEERRORMESSAGE\" value=\"`$dcae-error-message`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1463,
+ "y": 495,
+ "z": "70b2523f.6b685c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d3fd9387.1d4c4",
+ "type": "set",
+ "name": "set error-code 400",
+ "xml": "<set>\n<parameter name='error-code' value='400' />\n<parameter name=\"error-message\" value=\"SUCCESS - request has been processed successfully\" />\n",
+ "comments": "",
+ "x": 625,
+ "y": 722,
+ "z": "70b2523f.6b685c",
+ "wires": []
+ },
+ {
+ "id": "b9ef7dd2.d9ceb",
+ "type": "set",
+ "name": "set error-code 401",
+ "xml": "<set>\n<parameter name='error-code' value='401' />\n",
+ "comments": "",
+ "x": 912,
+ "y": 919,
+ "z": "70b2523f.6b685c",
+ "wires": []
+ },
+ {
+ "id": "7047038e.7e839c",
+ "type": "comment",
+ "name": "Setting error code since Config Comp Adaptor may reset it...",
+ "info": "",
+ "comments": "",
+ "x": 889,
+ "y": 778,
+ "z": "70b2523f.6b685c",
+ "wires": []
+ }
+]
diff --git a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_UpdateAaiInfo.json b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_UpdateAaiInfo.json
index 753b0fed9..4118ed303 100644
--- a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_UpdateAaiInfo.json
+++ b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_UpdateAaiInfo.json
@@ -1 +1,601 @@
-[{"id":"17fdf157.d14c8f","type":"service-logic","name":"APPC 4.0.0","module":"APPC","version":"4.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' version='4.0.0'>","outputs":1,"x":320,"y":53.75,"z":"85d5f290.0432b","wires":[["989f4ec5.54141"]]},{"id":"4b7a7d8a.aede34","type":"dgstart","name":"DGSTART","outputs":1,"x":165.83331298828125,"y":52.083343505859375,"z":"85d5f290.0432b","wires":[["17fdf157.d14c8f"]]},{"id":"989f4ec5.54141","type":"method","name":"method UpdateAaiInfo","xml":"<method rpc='UpdateAaiInfo' mode='sync'>","comments":"","outputs":1,"x":578.333381652832,"y":52.41666507720947,"z":"85d5f290.0432b","wires":[["246c33ee.325e3c"]]},{"id":"246c33ee.325e3c","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":192,"y":121.75000762939453,"z":"85d5f290.0432b","wires":[["25f09202.68f34e","56e6ecf6.411024"]]},{"id":"25f09202.68f34e","type":"set","name":"set DCAE Message to Initialise","xml":"<set>\n<parameter name=\"dcae-error-message\" value=\"\"/>\n","comments":"","x":463.1111145019531,"y":123.8611011505127,"z":"85d5f290.0432b","wires":[]},{"id":"56e6ecf6.411024","type":"switchNode","name":"switch VMNAME","xml":"<switch test='`$VMNAME0`'>\n","comments":"","outputs":1,"x":240.11111450195312,"y":471.52777099609375,"z":"85d5f290.0432b","wires":[["3f4eb5a1.98132a","cbe78139.de9e4"]]},{"id":"3f4eb5a1.98132a","type":"success","name":"outcome: Other","xml":"<outcome value='Other'>","comments":"","outputs":1,"x":486.8611373901367,"y":516.1388349533081,"z":"85d5f290.0432b","wires":[["f1b02edf.c1e2d"]]},{"id":"cbe78139.de9e4","type":"success","name":"outcome:null","xml":"<outcome value=''>","comments":"","outputs":1,"x":471.4722595214844,"y":288.3055419921875,"z":"85d5f290.0432b","wires":[["e0740ca2.40979"]]},{"id":"e0740ca2.40979","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":712.6388549804688,"y":285.8611145019531,"z":"85d5f290.0432b","wires":[["bb65b932.69d368"]]},{"id":"bb65b932.69d368","type":"call","name":"call: UpdateAaiforReferenceData","xml":"<call module=\"APPC\" rpc=\"UpdateAaiforReferenceData\" mode=\"sync\">","comments":"","outputs":1,"x":987.47216796875,"y":281.0833435058594,"z":"85d5f290.0432b","wires":[["f7b24d7a.2bc04"]]},{"id":"f7b24d7a.2bc04","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":1221.055419921875,"y":282.7221984863281,"z":"85d5f290.0432b","wires":[["da291abd.c33048"]]},{"id":"da291abd.c33048","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","comments":"","outputs":1,"x":1389.9998779296875,"y":281.6943664550781,"z":"85d5f290.0432b","wires":[["6394e117.9a32e","e93b5abd.e1d8c8"]]},{"id":"6394e117.9a32e","type":"set","name":"set: dcae-error message","xml":"<set>\n\t <parameter name=\"dcae-error-message\" value=\"DG Workflow UpdateAaiforReferenceData not found\"/>\n\t ","comments":"","x":1656.8609619140625,"y":281.5832824707031,"z":"85d5f290.0432b","wires":[]},{"id":"e93b5abd.e1d8c8","type":"record","name":"record","xml":"<record plugin=\"org.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=\"DCAEERRORMESSAGE\" value=\"`$dcae-error-message`\"/>\n","comments":"","outputs":1,"x":1602.16650390625,"y":335.88885498046875,"z":"85d5f290.0432b","wires":[[]]},{"id":"f1b02edf.c1e2d","type":"call","name":"call: UpdateAaiforPayloadInput","xml":"<call module=\"APPC\" rpc=\"UpdateAaiforPayloadInput\" mode=\"sync\">","comments":"","outputs":1,"x":748.8889007568359,"y":515.9722051620483,"z":"85d5f290.0432b","wires":[["1e45aff3.f0d15"]]},{"id":"1e45aff3.f0d15","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":988.1665954589844,"y":517.2777919769287,"z":"85d5f290.0432b","wires":[["90c4daac.170898"]]},{"id":"90c4daac.170898","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","comments":"","outputs":1,"x":1159.1110305786133,"y":518.749906539917,"z":"85d5f290.0432b","wires":[["3077a87f.eb3848","604f6585.fedb0c"]]},{"id":"3077a87f.eb3848","type":"set","name":"set: dcae-error message","xml":"<set>\n\t <parameter name=\"dcae-error-message\" value=\"DG Workflow UpdateAaiforPayloadInput not found\"/>\n\t ","comments":"","x":1384.1942977905273,"y":486.16663360595703,"z":"85d5f290.0432b","wires":[]},{"id":"604f6585.fedb0c","type":"record","name":"record","xml":"<record plugin=\"org.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=\"DCAEERRORMESSAGE\" value=\"`$dcae-error-message`\"/>\n","comments":"","outputs":1,"x":1363.4165687561035,"y":526.6666488647461,"z":"85d5f290.0432b","wires":[[]]}]
+[
+ {
+ "id": "17fdf157.d14c8f",
+ "type": "service-logic",
+ "name": "APPC 4.0.0",
+ "module": "APPC",
+ "version": "4.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' version='4.0.0'>",
+ "outputs": 1,
+ "x": 320,
+ "y": 53.75,
+ "z": "85d5f290.0432b",
+ "wires": [
+ [
+ "989f4ec5.54141"
+ ]
+ ]
+ },
+ {
+ "id": "4b7a7d8a.aede34",
+ "type": "dgstart",
+ "name": "DGSTART",
+ "outputs": 1,
+ "x": 165.83331298828125,
+ "y": 52.083343505859375,
+ "z": "85d5f290.0432b",
+ "wires": [
+ [
+ "17fdf157.d14c8f"
+ ]
+ ]
+ },
+ {
+ "id": "989f4ec5.54141",
+ "type": "method",
+ "name": "method UpdateAaiInfo",
+ "xml": "<method rpc='UpdateAaiInfo' mode='sync'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 578.333381652832,
+ "y": 52.41666507720947,
+ "z": "85d5f290.0432b",
+ "wires": [
+ [
+ "246c33ee.325e3c"
+ ]
+ ]
+ },
+ {
+ "id": "246c33ee.325e3c",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 112.66667175292969,
+ "y": 148.41666984558105,
+ "z": "85d5f290.0432b",
+ "wires": [
+ [
+ "25f09202.68f34e",
+ "56e6ecf6.411024",
+ "aa45fcda.3a5ec"
+ ]
+ ]
+ },
+ {
+ "id": "25f09202.68f34e",
+ "type": "set",
+ "name": "set DCAE Message to Initialise",
+ "xml": "<set>\n<parameter name=\"dcae-error-message\" value=\"\"/>\n",
+ "comments": "",
+ "x": 398.11112785339355,
+ "y": 165.52777099609375,
+ "z": "85d5f290.0432b",
+ "wires": []
+ },
+ {
+ "id": "56e6ecf6.411024",
+ "type": "switchNode",
+ "name": "switch VM NAME in request",
+ "xml": "<switch test='`$VMNAME0`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 336.1111068725586,
+ "y": 294.0992088317871,
+ "z": "85d5f290.0432b",
+ "wires": [
+ [
+ "3f4eb5a1.98132a",
+ "cbe78139.de9e4"
+ ]
+ ]
+ },
+ {
+ "id": "3f4eb5a1.98132a",
+ "type": "success",
+ "name": "outcome: Other",
+ "xml": "<outcome value='Other'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 558.5278396606445,
+ "y": 351.805477142334,
+ "z": "85d5f290.0432b",
+ "wires": [
+ [
+ "ea002fec.7d778"
+ ]
+ ]
+ },
+ {
+ "id": "cbe78139.de9e4",
+ "type": "success",
+ "name": "outcome:null",
+ "xml": "<outcome value=''>",
+ "comments": "",
+ "outputs": 1,
+ "x": 552.4722595214844,
+ "y": 217.3055419921875,
+ "z": "85d5f290.0432b",
+ "wires": [
+ [
+ "e0740ca2.40979"
+ ]
+ ]
+ },
+ {
+ "id": "e0740ca2.40979",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 746.6388549804688,
+ "y": 216.86111450195312,
+ "z": "85d5f290.0432b",
+ "wires": [
+ [
+ "bb65b932.69d368"
+ ]
+ ]
+ },
+ {
+ "id": "bb65b932.69d368",
+ "type": "call",
+ "name": "call: UpdateAaiforReferenceData",
+ "xml": "<call module=\"APPC\" rpc=\"UpdateAaiforReferenceData\" mode=\"sync\">",
+ "comments": "",
+ "outputs": 1,
+ "x": 984.47216796875,
+ "y": 210.08334350585938,
+ "z": "85d5f290.0432b",
+ "wires": [
+ [
+ "f7b24d7a.2bc04",
+ "54ead351.39420c"
+ ]
+ ]
+ },
+ {
+ "id": "f7b24d7a.2bc04",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1297.4839630126953,
+ "y": 211.7221999168396,
+ "z": "85d5f290.0432b",
+ "wires": [
+ [
+ "da291abd.c33048"
+ ]
+ ]
+ },
+ {
+ "id": "da291abd.c33048",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1497.571273803711,
+ "y": 209.6943645477295,
+ "z": "85d5f290.0432b",
+ "wires": [
+ [
+ "6394e117.9a32e",
+ "e93b5abd.e1d8c8"
+ ]
+ ]
+ },
+ {
+ "id": "6394e117.9a32e",
+ "type": "set",
+ "name": "set: dcae-error message",
+ "xml": "<set>\n\t <parameter name=\"dcae-error-message\" value=\"DG Workflow UpdateAaiforReferenceData not found\"/>\n\t ",
+ "comments": "",
+ "x": 1736.289535522461,
+ "y": 191.4404296875,
+ "z": "85d5f290.0432b",
+ "wires": []
+ },
+ {
+ "id": "e93b5abd.e1d8c8",
+ "type": "record",
+ "name": "record",
+ "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=\"DCAEERRORMESSAGE\" value=\"`$dcae-error-message`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1701.9284133911133,
+ "y": 254.84122848510742,
+ "z": "85d5f290.0432b",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f1b02edf.c1e2d",
+ "type": "call",
+ "name": "call: UpdateAaiforPayloadInput",
+ "xml": "<call module=\"APPC\" rpc=\"UpdateAaiforPayloadInput\" mode=\"sync\">",
+ "comments": "",
+ "outputs": 1,
+ "x": 969.8888854980469,
+ "y": 344.30549812316895,
+ "z": "85d5f290.0432b",
+ "wires": [
+ [
+ "1e45aff3.f0d15",
+ "d26bc33f.c48e"
+ ]
+ ]
+ },
+ {
+ "id": "1e45aff3.f0d15",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1196.1666259765625,
+ "y": 371.27783203125,
+ "z": "85d5f290.0432b",
+ "wires": [
+ [
+ "90c4daac.170898"
+ ]
+ ]
+ },
+ {
+ "id": "90c4daac.170898",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1361.111083984375,
+ "y": 371.7498779296875,
+ "z": "85d5f290.0432b",
+ "wires": [
+ [
+ "3077a87f.eb3848",
+ "604f6585.fedb0c"
+ ]
+ ]
+ },
+ {
+ "id": "3077a87f.eb3848",
+ "type": "set",
+ "name": "set: dcae-error message",
+ "xml": "<set>\n\t <parameter name=\"dcae-error-message\" value=\"DG Workflow UpdateAaiforPayloadInput not found\"/>\n\t ",
+ "comments": "",
+ "x": 1614.1943359375,
+ "y": 419.1666259765625,
+ "z": "85d5f290.0432b",
+ "wires": []
+ },
+ {
+ "id": "604f6585.fedb0c",
+ "type": "record",
+ "name": "record",
+ "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=\"DCAEERRORMESSAGE\" value=\"`$dcae-error-message`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1564.2738037109375,
+ "y": 371.3809509277344,
+ "z": "85d5f290.0432b",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "ea002fec.7d778",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 742.6666946411133,
+ "y": 351.66667556762695,
+ "z": "85d5f290.0432b",
+ "wires": [
+ [
+ "f1b02edf.c1e2d"
+ ]
+ ]
+ },
+ {
+ "id": "2e5b89e.19bac76",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"RETURNEDERRORMSG\" value=\"`$dcae-error-message`\"/>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 782.357177734375,
+ "y": 733.4285888671875,
+ "z": "85d5f290.0432b",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "3334060b.6801ca",
+ "type": "execute",
+ "name": "execute saveTxLog",
+ "xml": "<execute plugin=\"org.onap.appc.data.services.node.ConfigResourceNode\" method=\"saveConfigTransactionLog\">\n<parameter name=\"messageType\" value=\"log\" />\n<parameter name=\"message\" value=\"`'501:' + $dcae-error-message`\" />\n<parameter name=\"responsePrefix\" value=\"tmp.saveTxLog\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 855.357177734375,
+ "y": 546.34521484375,
+ "z": "85d5f290.0432b",
+ "wires": [
+ [
+ "526b6fe0.b13b4"
+ ]
+ ]
+ },
+ {
+ "id": "1d18d81e.6824c8",
+ "type": "execute",
+ "name": "execute IntermediateMessageSender",
+ "xml": "<execute plugin='org.onap.appc.dg.common.IntermediateMessageSender' method='sendMessage' >\n<parameter name='code' value=\"501\" />\n<parameter name='message' value=\"`$dcae-error-message`\" />\n<parameter name='prefix' value=\"tmp.intermediateerror\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 883.107177734375,
+ "y": 626.34521484375,
+ "z": "85d5f290.0432b",
+ "wires": [
+ [
+ "7eb3335b.a2f35c",
+ "261ea27b.8f75fe"
+ ]
+ ]
+ },
+ {
+ "id": "7eb3335b.a2f35c",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1139.107177734375,
+ "y": 599.84521484375,
+ "z": "85d5f290.0432b",
+ "wires": [
+ [
+ "952bb464.99ef08"
+ ]
+ ]
+ },
+ {
+ "id": "261ea27b.8f75fe",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1132.857177734375,
+ "y": 669.09521484375,
+ "z": "85d5f290.0432b",
+ "wires": [
+ [
+ "952bb464.99ef08"
+ ]
+ ]
+ },
+ {
+ "id": "952bb464.99ef08",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1320.357177734375,
+ "y": 617.34521484375,
+ "z": "85d5f290.0432b",
+ "wires": [
+ [
+ "3816c1d5.30bdbe"
+ ]
+ ]
+ },
+ {
+ "id": "3816c1d5.30bdbe",
+ "type": "record",
+ "name": "record",
+ "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=\"MSGSENDERERERROR\" value=\"Unable to call IntermediateErrorMessageSender\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1464.357177734375,
+ "y": 618.84521484375,
+ "z": "85d5f290.0432b",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "aa45fcda.3a5ec",
+ "type": "switchNode",
+ "name": "switch dcae message",
+ "xml": "<switch test='`$dcae-error-message`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 247.85714721679688,
+ "y": 460.51190185546875,
+ "z": "85d5f290.0432b",
+ "wires": [
+ [
+ "7208fb1.e905604",
+ "a197a490.2bd768"
+ ]
+ ]
+ },
+ {
+ "id": "7208fb1.e905604",
+ "type": "outcome",
+ "name": "outcome null",
+ "xml": "<outcome value=''>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 493.3571472167969,
+ "y": 460.84521484375,
+ "z": "85d5f290.0432b",
+ "wires": [
+ [
+ "a672f215.a9695"
+ ]
+ ]
+ },
+ {
+ "id": "a197a490.2bd768",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 461.1071472167969,
+ "y": 543.09521484375,
+ "z": "85d5f290.0432b",
+ "wires": [
+ [
+ "41f6f759.0b9d48"
+ ]
+ ]
+ },
+ {
+ "id": "41f6f759.0b9d48",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 651.1071472167969,
+ "y": 543.59521484375,
+ "z": "85d5f290.0432b",
+ "wires": [
+ [
+ "3334060b.6801ca",
+ "1d18d81e.6824c8",
+ "2e5b89e.19bac76"
+ ]
+ ]
+ },
+ {
+ "id": "a672f215.a9695",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 663.357177734375,
+ "y": 459.59521484375,
+ "z": "85d5f290.0432b",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "526b6fe0.b13b4",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1027.357177734375,
+ "y": 546.09521484375,
+ "z": "85d5f290.0432b",
+ "wires": [
+ [
+ "1f437509.05092b"
+ ]
+ ]
+ },
+ {
+ "id": "1f437509.05092b",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1172.357177734375,
+ "y": 545.09521484375,
+ "z": "85d5f290.0432b",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "54ead351.39420c",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1265.5555801391602,
+ "y": 298.88890171051025,
+ "z": "85d5f290.0432b",
+ "wires": [
+ [
+ "8835758b.e184e8"
+ ]
+ ]
+ },
+ {
+ "id": "8835758b.e184e8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1460.2777824401855,
+ "y": 299.47223472595215,
+ "z": "85d5f290.0432b",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d26bc33f.c48e",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1186.9999656677246,
+ "y": 474.2222375869751,
+ "z": "85d5f290.0432b",
+ "wires": [
+ [
+ "496d6b7f.ae7024"
+ ]
+ ]
+ },
+ {
+ "id": "496d6b7f.ae7024",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1346.5,
+ "y": 472.8055419921875,
+ "z": "85d5f290.0432b",
+ "wires": [
+ []
+ ]
+ }
+] \ No newline at end of file
diff --git a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_UpdateAaiforPayloadInput.json b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_UpdateAaiforPayloadInput.json
index 46e147366..54536d5fe 100644
--- a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_UpdateAaiforPayloadInput.json
+++ b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_UpdateAaiforPayloadInput.json
@@ -1 +1,1120 @@
-[{"id":"9333f052.3d35c","type":"service-logic","name":"APPC 3.0.0","module":"APPC","version":"3.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' version='3.0.0'>","outputs":1,"x":267,"y":42.333335876464844,"z":"2c29979c.085788","wires":[["b5bc2ae5.c3ccb8"]]},{"id":"ccfc3135.e932f","type":"dgstart","name":"DGSTART","outputs":1,"x":96.83331298828125,"y":41.66667938232422,"z":"2c29979c.085788","wires":[["9333f052.3d35c"]]},{"id":"b5bc2ae5.c3ccb8","type":"method","name":"method UpdateAaiforPayloadInput","xml":"<method rpc='UpdateAaiforPayloadInput' mode='sync'>\n","comments":"","outputs":1,"x":490.3333740234375,"y":39,"z":"2c29979c.085788","wires":[["6f4f9cf7.421284"]]},{"id":"6f4f9cf7.421284","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":120,"y":262.33333587646484,"z":"2c29979c.085788","wires":[["dacd8a6.62c3978","46ce8310.34f23c","16298fb8.22c27","f50ba4be.268618"]]},{"id":"46ce8310.34f23c","type":"record","name":"record","xml":"<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"RETURNEDERRORMSG\" value=\"`$aai-error-message`\"/>\n\n","comments":"","outputs":1,"x":327,"y":717.3333969116211,"z":"2c29979c.085788","wires":[[]]},{"id":"dacd8a6.62c3978","type":"switchNode","name":"switch: vm length","xml":"<switch test=\"`$size_request-parameters.vm`\">","comments":"","outputs":1,"x":356,"y":165.44445037841797,"z":"2c29979c.085788","wires":[["44fdeb61.aa9034","72261fcd.ca467","2a6d9b73.a96634"]]},{"id":"daef72.bdc6c09","type":"for","name":"for: vm","xml":"<for index=\"j\" start=\"0\" end=\"`$size_request-parameters.vm`\" >","comments":"","outputs":1,"x":365,"y":319.3333969116211,"z":"2c29979c.085788","wires":[["9ed29edc.ebe52"]]},{"id":"44fdeb61.aa9034","type":"other","name":"outcome: Length=0","xml":"<outcome value='0'>\n","comments":"","outputs":1,"x":591.0000610351562,"y":142.44445037841797,"z":"2c29979c.085788","wires":[["bfe524b3.a8b848"]]},{"id":"72261fcd.ca467","type":"other","name":"outcome: NULL","xml":"<outcome value=''>\n","comments":"","outputs":1,"x":581.0000610351562,"y":201.44445037841797,"z":"2c29979c.085788","wires":[["bfe524b3.a8b848"]]},{"id":"9ed29edc.ebe52","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":540.0000610351562,"y":320.3333969116211,"z":"2c29979c.085788","wires":[["8a8c3760.6f71b8"]]},{"id":"bfe524b3.a8b848","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":785.0000610351562,"y":171.44445037841797,"z":"2c29979c.085788","wires":[["270c634c.7568ec","a13ad30b.4366c"]]},{"id":"6ef24474.a983ec","type":"get-resource","name":"get-resource: A&AI Data for VNFC Name ","xml":"<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource\" resource=\"vnfc\" key=\"vnfc-name = $request-parameters.vm[$j].vnfc[$k].vnfc-name\" pfx=\"tmp.aai-data-vnfc\" >\n\n\n","comments":"","outputs":1,"x":1249.5001220703125,"y":677.5555648803711,"z":"2c29979c.085788","wires":[["a751861e.5d43a8","52d5b700.fd5458"]]},{"id":"270c634c.7568ec","type":"record","name":"record","xml":"<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"VM data not found in request\"/>\n\n\n","comments":"","outputs":1,"x":975.0000610351562,"y":152.44445037841797,"z":"2c29979c.085788","wires":[[]]},{"id":"a751861e.5d43a8","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":1511,"y":680.3333358764648,"z":"2c29979c.085788","wires":[["3e894fae.eed92"]]},{"id":"3e894fae.eed92","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1682,"y":685.3333358764648,"z":"2c29979c.085788","wires":[["29d3772.e8a1788"]]},{"id":"defef68c.efd408","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1274.1664962768555,"y":1023.5833148956299,"z":"2c29979c.085788","wires":[["1b7742ee.646d8d"]]},{"id":"1b7742ee.646d8d","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1465.1664962768555,"y":1023.0833148956299,"z":"2c29979c.085788","wires":[["484c0808.c6a598","22e0181c.878b98"]]},{"id":"484c0808.c6a598","type":"record","name":"record","xml":"<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"Insert to AnAI Request Failed\"/>\n<parameter name=\"field3\" value=\"`$request-parameters.vm[$j].vnfc[$k].vnfc-name`\"/>\n\n","comments":"","outputs":1,"x":1641.6665000915527,"y":977.5833759307861,"z":"2c29979c.085788","wires":[[]]},{"id":"22e0181c.878b98","type":"set","name":"set: Append to aai error message","xml":"<set>\n\t <parameter name=\"aai-error-message\" value=\"`'Insert to A&amp;AI Failed for ' + $request-parameters.vm[$j].vnfc[$k].vnfc-name + '.' + $aai-error-message`\"/>","comments":"","x":1718.1664962768555,"y":1071.8333158493042,"z":"2c29979c.085788","wires":[]},{"id":"8ffddb97.757d58","type":"for","name":"for: vm.vnfc","xml":"<for index=\"k\" start=\"0\" end=\"`$size_request-parameters.vm[$j].vnfc`\" >","comments":"","outputs":1,"x":875.2143783569336,"y":614.7619743347168,"z":"2c29979c.085788","wires":[["c2298a98.0adbd8"]]},{"id":"c2298a98.0adbd8","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1060.5001831054688,"y":615.3333358764648,"z":"2c29979c.085788","wires":[["b61d1503.913e98","6ef24474.a983ec"]]},{"id":"b61d1503.913e98","type":"record","name":"record","xml":"<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n\n<parameter name=\"VNFCNAME\" value=\"`$request-parameters.vm[$j].vnfc[$k].vnfc-name`\"/>\n\n<parameter name=\"VMNAME\" value=\"`$request-parameters.vm[$j].vm-name`\"/>\n","comments":"","outputs":1,"x":1245.5001831054688,"y":597.3333358764648,"z":"2c29979c.085788","wires":[[]]},{"id":"2a6d9b73.a96634","type":"other","name":"outcome: Other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":373.00006103515625,"y":248.1111068725586,"z":"2c29979c.085788","wires":[["b4699d7b.74cfd"]]},{"id":"b4699d7b.74cfd","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":560,"y":253.1111068725586,"z":"2c29979c.085788","wires":[["daef72.bdc6c09"]]},{"id":"e4aab88c.91de48","type":"switchNode","name":"switch: vnfc length","xml":"<switch test=\"`$size_request-parameters.vm[$j].vnfc`\">","comments":"","outputs":1,"x":704.3572540283203,"y":477.9047508239746,"z":"2c29979c.085788","wires":[["cc76df4b.79195","b9647e56.5428","515b427.0838abc"]]},{"id":"cc76df4b.79195","type":"other","name":"outcome: Length=0","xml":"<outcome value='0'>\n","comments":"","outputs":1,"x":1012.5001831054688,"y":465.33333587646484,"z":"2c29979c.085788","wires":[["daca7ad3.6849a8"]]},{"id":"b9647e56.5428","type":"other","name":"outcome: NULL","xml":"<outcome value=''>\n","comments":"","outputs":1,"x":999.5001831054688,"y":503.33333587646484,"z":"2c29979c.085788","wires":[["daca7ad3.6849a8"]]},{"id":"515b427.0838abc","type":"other","name":"outcome: Other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":1002.5001831054688,"y":555.3333358764648,"z":"2c29979c.085788","wires":[["85b4db72.6fea78"]]},{"id":"daca7ad3.6849a8","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1233.500244140625,"y":493.33333587646484,"z":"2c29979c.085788","wires":[["a51065d2.dda8e8","84809a16.798bb8"]]},{"id":"a51065d2.dda8e8","type":"record","name":"record","xml":"<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"VNFC data not in request\"/>\n\n\n","comments":"","outputs":1,"x":1425.500244140625,"y":459.33333587646484,"z":"2c29979c.085788","wires":[[]]},{"id":"85b4db72.6fea78","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":663.5001220703125,"y":615.3333358764648,"z":"2c29979c.085788","wires":[["8ffddb97.757d58"]]},{"id":"8a8c3760.6f71b8","type":"get-resource","name":"get-resource: A&AI Data for VM Name","xml":"<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource\" resource=\"vserver\" key=\"vserver-name = $request-parameters.vm[$j].vm-name\" pfx=\"tmp.aai-data-vm\" >\n\n","comments":"","outputs":1,"x":813.1666870117188,"y":323.1111068725586,"z":"2c29979c.085788","wires":[["891fa503.2eb248","8165f2d1.c2795","760228ff.b17788"]]},{"id":"891fa503.2eb248","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1074.166748046875,"y":284.1111068725586,"z":"2c29979c.085788","wires":[["ffbb360a.0f9b98"]]},{"id":"8165f2d1.c2795","type":"failure","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":1083.166748046875,"y":335.1111068725586,"z":"2c29979c.085788","wires":[["ffbb360a.0f9b98"]]},{"id":"760228ff.b17788","type":"failure","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":1060,"y":396.33333587646484,"z":"2c29979c.085788","wires":[["9ead1868.e9e0d8"]]},{"id":"ffbb360a.0f9b98","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1265.166748046875,"y":310.1111068725586,"z":"2c29979c.085788","wires":[["23cd0ec8.29e192"]]},{"id":"23cd0ec8.29e192","type":"set","name":"set: Append to aai-error message","xml":"<set>\n\t <parameter name=\"aai-error-message\" value=\"`'Get from A&amp;AI Failed for ' + $request-parameters.vm[$j].vm-name + '.' + $aai-error-message`\"/>","comments":"","x":1538.166748046875,"y":315.1111068725586,"z":"2c29979c.085788","wires":[]},{"id":"a13ad30b.4366c","type":"set","name":"set: Append to aai-error message","xml":"<set>\n\t <parameter name=\"aai-error-message\" value=\"`'VM Info not found in request.' + $aai-error-message`\"/>","comments":"","x":1055.1666870117188,"y":198.1111068725586,"z":"2c29979c.085788","wires":[]},{"id":"84809a16.798bb8","type":"set","name":"set: Append to aai-error message","xml":"<set>\n\t <parameter name=\"aai-error-message\" value=\"`'VNFC Info not found in request.' + $aai-error-message`\"/>","comments":"","x":1505.6668701171875,"y":520.3333358764648,"z":"2c29979c.085788","wires":[]},{"id":"16298fb8.22c27","type":"switchNode","name":"switch: aai-error-message","xml":"<switch test=\"`$aai-error-message`\">","comments":"","outputs":1,"x":131.16668701171875,"y":859.1111068725586,"z":"2c29979c.085788","wires":[["ccb9af83.f0c75","d8d6fa14.d6e7e8"]]},{"id":"ccb9af83.f0c75","type":"other","name":"outcome: not populated","xml":"<outcome value=''>\n","comments":"","outputs":1,"x":387.16668701171875,"y":858.1111068725586,"z":"2c29979c.085788","wires":[["8e4f6b95.1df068"]]},{"id":"8e4f6b95.1df068","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":589.1666870117188,"y":872.1111068725586,"z":"2c29979c.085788","wires":[["18c23b39.337805"]]},{"id":"d8d6fa14.d6e7e8","type":"other","name":"outcome: Other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":362.16668701171875,"y":936.1111068725586,"z":"2c29979c.085788","wires":[["94c6b29b.e6273"]]},{"id":"94c6b29b.e6273","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":554.1666870117188,"y":938.1111068725586,"z":"2c29979c.085788","wires":[["73ce9597.b49bcc","715964cb.dde1bc"]]},{"id":"18c23b39.337805","type":"returnSuccess","name":"return success","xml":"<return status='success'>\n\n","comments":"","x":782.1666870117188,"y":874.1111068725586,"z":"2c29979c.085788","wires":[]},{"id":"73ce9597.b49bcc","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n\n","comments":"","x":746.1666870117188,"y":1004.1111679077148,"z":"2c29979c.085788","wires":[]},{"id":"f50ba4be.268618","type":"set","name":"set prov-status and orch-status","xml":"<set>\n<parameter name=\"tmp.aai-prov-status\" value=\"NVTPROV\" />\n\t<parameter name=\"tmp.aai-orch-status\" value=\"CONFIGURED\" />\n","comments":"","x":403,"y":84.33333587646484,"z":"2c29979c.085788","wires":[]},{"id":"c46d035a.6bbd7","type":"save","name":"save Put VNFC","xml":"<save plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' resource='vnfc' key='vnfc-name = $request-parameters.vm[$j].vnfc[$k].vnfc-name' force='true' pfx='tmp.vnfc-sys-controller'>\n<parameter name='vnfc-function-code' value='`$request-parameters.vm[$j].vnfc[$k].vnfc-function-code`'/>\n<parameter name='vnfc-type' value='`$request-parameters.vm[$j].vnfc[$k].vnfc-type`'/>\n<parameter name='ipaddress-v4-oam-vip' value='`$request-parameters.vm[$j].vnfc[$k].ipaddress-v4-oam-vip`'/>\n<parameter name='prov-status' value='`$tmp.aai-prov-status`'/>\n<parameter name='orchestration-status' value='`$tmp.aai-orch-status`'/>\n<parameter name='in-maint' value = 'false'/>\n<parameter name='is-closed-loop' value = 'false'/>\n<parameter name='group-notation' value='`$request-parameters.vm[$j].vnfc[$k].group-notation`'/>\n\n\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"vserver\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"vserver.vserver-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value='`$tmp.aai-data-vm.vserver-id`'/>\n\n\n<parameter name=\"relationship-list.relationship[0].relationship-data[1].relationship-key\" value=\"tenant.tenant-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[1].relationship-value\" value='`$tmp.aai-data-vm.tenant-id`'/>\n\n<parameter name=\"relationship-list.relationship[0].relationship-data[2].relationship-key\" value=\"cloud-region.cloud-owner\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[2].relationship-value\" value=\"att-aic\"/>\n\n<parameter name=\"relationship-list.relationship[0].relationship-data[3].relationship-key\" value=\"cloud-region.cloud-region-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[3].relationship-value\" value='`$tmp.aai-data-vm.cloud-region-id`'/>\n\n\n<parameter name=\"relationship-list.relationship[1].related-to\" value=\"generic-vnf\" />\n<parameter name=\"relationship-list.relationship[1].relationship-data[0].relationship-key\" value=\"generic-vnf.vnf-id\" />\n<parameter name=\"relationship-list.relationship[1].relationship-data[0].relationship-value\" value='`$vnf-id`'/>\n\n<parameter name=\"relationship-list.relationship[2].related-to\" value=\"vf-module\" />\n<parameter name=\"relationship-list.relationship[2].relationship-data[0].relationship-key\" value=\"generic-vnf.vnf-id\" />\n<parameter name=\"relationship-list.relationship[2].relationship-data[0].relationship-value\" value='`$vnf-id`'/>\n\n<parameter name=\"relationship-list.relationship[2].relationship-data[1].relationship-key\" value=\"vf-module.vf-module-id\" />\n<parameter name=\"relationship-list.relationship[2].relationship-data[1].relationship-value\" value='`$tmp.vf-module-id`'/>\n\n\n\n","comments":"","outputs":1,"x":1553.749984741211,"y":896.8333148956299,"z":"2c29979c.085788","wires":[["defef68c.efd408"]]},{"id":"29d3772.e8a1788","type":"call","name":"call: GetVfModuleInfo","xml":"<call module=\"APPC\" rpc=\"GetVfModuleInfo\" mode=\"sync\">","comments":"","outputs":1,"x":1110.5,"y":771.3333358764648,"z":"2c29979c.085788","wires":[["c6141f12.05436","9041ddd8.6b377"]]},{"id":"c6141f12.05436","type":"failure","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":1109.5,"y":901.3333358764648,"z":"2c29979c.085788","wires":[["e0ced342.2ee9"]]},{"id":"e0ced342.2ee9","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1349.9999885559082,"y":893.0833740234375,"z":"2c29979c.085788","wires":[["c46d035a.6bbd7"]]},{"id":"9ead1868.e9e0d8","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1241,"y":397.33333587646484,"z":"2c29979c.085788","wires":[["e4aab88c.91de48"]]},{"id":"9041ddd8.6b377","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1329,"y":770.3333358764648,"z":"2c29979c.085788","wires":[["745b11d2.f9797"]]},{"id":"efef03f8.81d38","type":"switchNode","name":"switch: tmp.vf-module-id","xml":"<switch test=\"`$tmp.vf-module-id`\">","comments":"","outputs":1,"x":1744,"y":771.3333358764648,"z":"2c29979c.085788","wires":[["525acc69.20d3e4","9b2ee4c2.6db578"]]},{"id":"745b11d2.f9797","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1505,"y":769.3333358764648,"z":"2c29979c.085788","wires":[["efef03f8.81d38"]]},{"id":"525acc69.20d3e4","type":"outcome","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":1965,"y":767.3333358764648,"z":"2c29979c.085788","wires":[["8cf964a5.579d18"]]},{"id":"8cf964a5.579d18","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":2120,"y":768.3333358764648,"z":"2c29979c.085788","wires":[[]]},{"id":"9b2ee4c2.6db578","type":"outcome","name":"Other","xml":"<outcome value='Other'>","comments":"","outputs":1,"x":1962,"y":821.3333358764648,"z":"2c29979c.085788","wires":[["e0ced342.2ee9"]]},{"id":"715964cb.dde1bc","type":"execute","name":"execute saveTxLog","xml":"<execute plugin=\"org.onap.appc.data.services.node.ConfigResourceNode\" method=\"saveConfigTransactionLog\">\n<parameter name=\"messageType\" value=\"log\" />\n<parameter name=\"message\" value=\"`'501:' + $aai-error-message`\" />\n<parameter name=\"responsePrefix\" value=\"tmp.saveTxLog\" />\n","comments":"","outputs":1,"x":768,"y":947.3333358764648,"z":"2c29979c.085788","wires":[[]]},{"id":"52d5b700.fd5458","type":"failure","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":1515.928581237793,"y":622.6904859542847,"z":"2c29979c.085788","wires":[["ca342217.314c8"]]},{"id":"ca342217.314c8","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1674.678581237793,"y":622.6904859542847,"z":"2c29979c.085788","wires":[["56cad9d9.774ac8"]]},{"id":"56cad9d9.774ac8","type":"get-resource","name":"update: A&AI Data for VNFC status update","xml":"<update plugin=\"org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource\" resource=\"vnfc\" key=\"vnfc-name = $request-parameters.vm[$j].vnfc[$k].vnfc-name\" pfx=\"tmp.aai-data-vnfc-update\" >\n<parameter name='vnfc-name' value='`$request-parameters.vm[$j].vnfc[$k].vnfc-name`'/>\n<parameter name='prov-status' value='`$tmp.aai-prov-status`'/>\n<parameter name='orchestration-status' value='`$tmp.aai-orch-status`'/>\n\n","comments":"","outputs":1,"x":1952.1785888671875,"y":622.6904859542847,"z":"2c29979c.085788","wires":[["cc410b82.8ebc38","e8d3d750.465eb8"]]},{"id":"cc410b82.8ebc38","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":2238.6787109375,"y":599.9404907226562,"z":"2c29979c.085788","wires":[["df90a4f2.8e71d8"]]},{"id":"df90a4f2.8e71d8","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":2390.6785583496094,"y":617.1904773712158,"z":"2c29979c.085788","wires":[["69ebc07.edf0c4","4743ee44.6c93f"]]},{"id":"69ebc07.edf0c4","type":"record","name":"record","xml":"<record plugin=\"org.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=\"Update VNFC status to AnAI Request Failed\"/>\n<parameter name=\"field3\" value=\"`$request-parameters.vm[$j].vnfc[$k].vnfc-name`\"/>\n<parameter name=\"field4\" value=\"`$tmp.aai-data-vnfc-update`\"/>\n\n","comments":"","outputs":1,"x":2584.6785583496094,"y":599.1904773712158,"z":"2c29979c.085788","wires":[[]]},{"id":"4743ee44.6c93f","type":"set","name":"set: Append to aai error message","xml":"<set>\n\t <parameter name=\"aai-error-message\" value=\"`'Update VNFC status to A&amp;AI Failed for ' + $request-parameters.vm[$j].vnfc[$k].vnfc-name + '.' + $aai-error-message`\"/>","comments":"","x":2666.178596496582,"y":660.940486907959,"z":"2c29979c.085788","wires":[]},{"id":"e8d3d750.465eb8","type":"failure","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":2225.9285583496094,"y":683.9404773712158,"z":"2c29979c.085788","wires":[["c21aabb4.5a6d58"]]},{"id":"c21aabb4.5a6d58","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":2387.1785926818848,"y":682.690486907959,"z":"2c29979c.085788","wires":[["a5bec166.b3913"]]},{"id":"a5bec166.b3913","type":"record","name":"record","xml":"<record plugin=\"org.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=\"Update VNFC status to AnAI Request Success\"/>\n<parameter name=\"field3\" value=\"`$request-parameters.vm[$j].vnfc[$k].vnfc-name`\"/>\n<parameter name=\"field4\" value=\"`$tmp.aai-data-vnfc-update`\"/>\n\n","comments":"","outputs":1,"x":2568.4285583496094,"y":707.6904773712158,"z":"2c29979c.085788","wires":[[]]}]
+[
+ {
+ "id": "ed4f50ed.3f25a",
+ "type": "service-logic",
+ "name": "APPC 4.0.0",
+ "module": "APPC",
+ "version": "4.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' version='4.0.0'>",
+ "outputs": 1,
+ "x": 292.8571472167969,
+ "y": 47.14285659790039,
+ "z": "1a897865.ea2138",
+ "wires": [
+ [
+ "b0fe756.78be888"
+ ]
+ ]
+ },
+ {
+ "id": "c6c877e9.c792e8",
+ "type": "dgstart",
+ "name": "DGSTART",
+ "outputs": 1,
+ "x": 122.69046020507812,
+ "y": 46.47620105743408,
+ "z": "1a897865.ea2138",
+ "wires": [
+ [
+ "ed4f50ed.3f25a"
+ ]
+ ]
+ },
+ {
+ "id": "b0fe756.78be888",
+ "type": "method",
+ "name": "method UpdateAaiforPayloadInput",
+ "xml": "<method rpc='UpdateAaiforPayloadInput' mode='sync'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 516.1905212402344,
+ "y": 43.80952167510986,
+ "z": "1a897865.ea2138",
+ "wires": [
+ [
+ "ebd5a571.57fd08"
+ ]
+ ]
+ },
+ {
+ "id": "ebd5a571.57fd08",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 145.85714721679688,
+ "y": 267.1428575515747,
+ "z": "1a897865.ea2138",
+ "wires": [
+ [
+ "472e56b6.7ca748",
+ "cdc637e6.9f3b38",
+ "e83828f9.4c3c18",
+ "d63bd02e.54e15"
+ ]
+ ]
+ },
+ {
+ "id": "cdc637e6.9f3b38",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"RETURNEDERRORMSG\" value=\"`$aai-error-message`\"/>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 311.1904830932617,
+ "y": 720.4762163162231,
+ "z": "1a897865.ea2138",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "472e56b6.7ca748",
+ "type": "switchNode",
+ "name": "switch: vm length",
+ "xml": "<switch test=\"`$size_request-parameters.vm`\">",
+ "comments": "",
+ "outputs": 1,
+ "x": 390.8571472167969,
+ "y": 188.25397968292236,
+ "z": "1a897865.ea2138",
+ "wires": [
+ [
+ "41b99a79.2b5924",
+ "bfb1338f.4d423",
+ "5f0b17e1.c8bef8"
+ ]
+ ]
+ },
+ {
+ "id": "3c2ed556.185e5a",
+ "type": "for",
+ "name": "for: vm",
+ "xml": "<for index=\"j\" start=\"0\" end=\"`$size_request-parameters.vm`\" >",
+ "comments": "",
+ "outputs": 1,
+ "x": 390.8571472167969,
+ "y": 324.14291858673096,
+ "z": "1a897865.ea2138",
+ "wires": [
+ [
+ "a3d1de4b.cf707"
+ ]
+ ]
+ },
+ {
+ "id": "41b99a79.2b5924",
+ "type": "other",
+ "name": "outcome: Length=0",
+ "xml": "<outcome value='0'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 616.8572082519531,
+ "y": 147.25397205352783,
+ "z": "1a897865.ea2138",
+ "wires": [
+ [
+ "4ca41ead.07256"
+ ]
+ ]
+ },
+ {
+ "id": "bfb1338f.4d423",
+ "type": "other",
+ "name": "outcome: NULL",
+ "xml": "<outcome value=''>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 606.8572082519531,
+ "y": 206.25397205352783,
+ "z": "1a897865.ea2138",
+ "wires": [
+ [
+ "4ca41ead.07256"
+ ]
+ ]
+ },
+ {
+ "id": "a3d1de4b.cf707",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 565.8572082519531,
+ "y": 325.14291858673096,
+ "z": "1a897865.ea2138",
+ "wires": [
+ [
+ "3f944a74.23cc16"
+ ]
+ ]
+ },
+ {
+ "id": "4ca41ead.07256",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 810.8572082519531,
+ "y": 176.25397205352783,
+ "z": "1a897865.ea2138",
+ "wires": [
+ [
+ "71d48711.12d348",
+ "72842467.2acc7c"
+ ]
+ ]
+ },
+ {
+ "id": "73e1f668.6f9e88",
+ "type": "get-resource",
+ "name": "get-resource: A&AI Data for VNFC Name ",
+ "xml": "<!-- get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" resource=\"vnfc\" key=\"vnfc-name = $request-parameters.vm[$j].vnfc[$k].vnfc-name\" pfx=\"tmp.aai-data-vnfc\" -->\n<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" resource=\"vnfc\" key=\"vnfc.vnfc-name = $request-parameters.vm[$j].vnfc[$k].vnfc-name\" pfx=\"tmp.aai-data-vnfc\" >\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1275.3572692871094,
+ "y": 682.365086555481,
+ "z": "1a897865.ea2138",
+ "wires": [
+ [
+ "45257d79.989894",
+ "69a31e4f.3f8db"
+ ]
+ ]
+ },
+ {
+ "id": "71d48711.12d348",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"VM data not found in request\"/>\n\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1000.8572082519531,
+ "y": 157.25397205352783,
+ "z": "1a897865.ea2138",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "45257d79.989894",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1535.190544128418,
+ "y": 690.1428422927856,
+ "z": "1a897865.ea2138",
+ "wires": [
+ [
+ "92711585.e303d8"
+ ]
+ ]
+ },
+ {
+ "id": "92711585.e303d8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1707.8571472167969,
+ "y": 690.1428575515747,
+ "z": "1a897865.ea2138",
+ "wires": [
+ [
+ "9c8c44f.58601b8"
+ ]
+ ]
+ },
+ {
+ "id": "4e1dcff8.2ca55",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1745.7378959655762,
+ "y": 896.9642629623413,
+ "z": "1a897865.ea2138",
+ "wires": [
+ [
+ "ce53bc18.81dc2"
+ ]
+ ]
+ },
+ {
+ "id": "ce53bc18.81dc2",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1898.1665878295898,
+ "y": 906.4642810821533,
+ "z": "1a897865.ea2138",
+ "wires": [
+ [
+ "ed9b4d64.3c06c",
+ "96ca3bdb.743588"
+ ]
+ ]
+ },
+ {
+ "id": "ed9b4d64.3c06c",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"Insert to AnAI Request Failed\"/>\n<parameter name=\"field3\" value=\"`$request-parameters.vm[$j].vnfc[$k].vnfc-name`\"/>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2077.5236587524414,
+ "y": 885.2500047683716,
+ "z": "1a897865.ea2138",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "96ca3bdb.743588",
+ "type": "set",
+ "name": "set: Append to aai error message",
+ "xml": "<set>\n\t <parameter name=\"aai-error-message\" value=\"`'Insert to A&amp;AI Failed for ' + $request-parameters.vm[$j].vnfc[$k].vnfc-name + '.' + $aai-error-message`\"/>",
+ "comments": "",
+ "x": 2162.595115661621,
+ "y": 950.9286623001099,
+ "z": "1a897865.ea2138",
+ "wires": []
+ },
+ {
+ "id": "ef4f5395.ae1c8",
+ "type": "for",
+ "name": "for: vm.vnfc",
+ "xml": "<for index=\"k\" start=\"0\" end=\"`$size_request-parameters.vm[$j].vnfc`\" >",
+ "comments": "",
+ "outputs": 1,
+ "x": 901.0715255737305,
+ "y": 619.5714960098267,
+ "z": "1a897865.ea2138",
+ "wires": [
+ [
+ "48702be4.bdc704"
+ ]
+ ]
+ },
+ {
+ "id": "48702be4.bdc704",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1086.3573303222656,
+ "y": 620.1428575515747,
+ "z": "1a897865.ea2138",
+ "wires": [
+ [
+ "96e67086.ec41",
+ "73e1f668.6f9e88"
+ ]
+ ]
+ },
+ {
+ "id": "96e67086.ec41",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n\n<parameter name=\"VNFCNAME\" value=\"`$request-parameters.vm[$j].vnfc[$k].vnfc-name`\"/>\n\n<parameter name=\"VMNAME\" value=\"`$request-parameters.vm[$j].vm-name`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1271.3573303222656,
+ "y": 602.1428575515747,
+ "z": "1a897865.ea2138",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "5f0b17e1.c8bef8",
+ "type": "other",
+ "name": "outcome: Other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 408.8572082519531,
+ "y": 267.9206209182739,
+ "z": "1a897865.ea2138",
+ "wires": [
+ [
+ "cb247400.faf888"
+ ]
+ ]
+ },
+ {
+ "id": "cb247400.faf888",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 585.8571472167969,
+ "y": 257.92062854766846,
+ "z": "1a897865.ea2138",
+ "wires": [
+ [
+ "3c2ed556.185e5a"
+ ]
+ ]
+ },
+ {
+ "id": "1a18dba4.815f24",
+ "type": "switchNode",
+ "name": "switch: vnfc length",
+ "xml": "<switch test=\"`$size_request-parameters.vm[$j].vnfc`\">",
+ "comments": "",
+ "outputs": 1,
+ "x": 730.2144012451172,
+ "y": 482.7142724990845,
+ "z": "1a897865.ea2138",
+ "wires": [
+ [
+ "f408e448.dc6e18",
+ "784e5cc1.2e9ae4",
+ "41c73c7f.eb83b4"
+ ]
+ ]
+ },
+ {
+ "id": "f408e448.dc6e18",
+ "type": "other",
+ "name": "outcome: Length=0",
+ "xml": "<outcome value='0'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1038.3573303222656,
+ "y": 470.1428575515747,
+ "z": "1a897865.ea2138",
+ "wires": [
+ [
+ "2f7e6d3f.0ff402"
+ ]
+ ]
+ },
+ {
+ "id": "784e5cc1.2e9ae4",
+ "type": "other",
+ "name": "outcome: NULL",
+ "xml": "<outcome value=''>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1025.3573303222656,
+ "y": 508.1428575515747,
+ "z": "1a897865.ea2138",
+ "wires": [
+ [
+ "2f7e6d3f.0ff402"
+ ]
+ ]
+ },
+ {
+ "id": "41c73c7f.eb83b4",
+ "type": "other",
+ "name": "outcome: Other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1028.3573303222656,
+ "y": 560.1428575515747,
+ "z": "1a897865.ea2138",
+ "wires": [
+ [
+ "f3114c5c.74ffd"
+ ]
+ ]
+ },
+ {
+ "id": "2f7e6d3f.0ff402",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1259.3573913574219,
+ "y": 498.1428575515747,
+ "z": "1a897865.ea2138",
+ "wires": [
+ [
+ "758e272d.4dae48",
+ "dfe77560.cb9aa8"
+ ]
+ ]
+ },
+ {
+ "id": "758e272d.4dae48",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"VNFC data not in request\"/>\n\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1451.3573913574219,
+ "y": 464.1428575515747,
+ "z": "1a897865.ea2138",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f3114c5c.74ffd",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 689.3572692871094,
+ "y": 620.1428575515747,
+ "z": "1a897865.ea2138",
+ "wires": [
+ [
+ "ef4f5395.ae1c8"
+ ]
+ ]
+ },
+ {
+ "id": "3f944a74.23cc16",
+ "type": "get-resource",
+ "name": "get-resource: A&AI Data for VM Name",
+ "xml": "<!-- Changed as per sli 1.1.14 \nget-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" resource=\"vserver\" key=\"vserver-name = $request-parameters.vm[$j].vm-name\" pfx=\"tmp.aai-data-vm\" -->\n<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" resource=\"vserver\" key=\"vserver.vserver-name = $request-parameters.vm[$j].vm-name\" pfx=\"tmp.aai-data-vm\" >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 839.0238342285156,
+ "y": 327.92062854766846,
+ "z": "1a897865.ea2138",
+ "wires": [
+ [
+ "3a9fb426.04912c",
+ "759b7530.046e6c",
+ "76029387.b595ec"
+ ]
+ ]
+ },
+ {
+ "id": "3a9fb426.04912c",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1100.0238952636719,
+ "y": 288.92062854766846,
+ "z": "1a897865.ea2138",
+ "wires": [
+ [
+ "5afa94ad.bfe59c"
+ ]
+ ]
+ },
+ {
+ "id": "759b7530.046e6c",
+ "type": "failure",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1109.0238952636719,
+ "y": 339.92062854766846,
+ "z": "1a897865.ea2138",
+ "wires": [
+ [
+ "5afa94ad.bfe59c"
+ ]
+ ]
+ },
+ {
+ "id": "76029387.b595ec",
+ "type": "failure",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1085.8571472167969,
+ "y": 401.1428575515747,
+ "z": "1a897865.ea2138",
+ "wires": [
+ [
+ "5cd181d8.d8e65"
+ ]
+ ]
+ },
+ {
+ "id": "5afa94ad.bfe59c",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1291.0238952636719,
+ "y": 314.92062854766846,
+ "z": "1a897865.ea2138",
+ "wires": [
+ [
+ "e35a39ff.9a6908"
+ ]
+ ]
+ },
+ {
+ "id": "e35a39ff.9a6908",
+ "type": "set",
+ "name": "set: Append to aai-error message",
+ "xml": "<set>\n\t <parameter name=\"aai-error-message\" value=\"`'Get from A&amp;AI Failed for ' + $request-parameters.vm[$j].vm-name + '.' + $aai-error-message`\"/>",
+ "comments": "",
+ "x": 1564.0238952636719,
+ "y": 319.92062854766846,
+ "z": "1a897865.ea2138",
+ "wires": []
+ },
+ {
+ "id": "72842467.2acc7c",
+ "type": "set",
+ "name": "set: Append to aai-error message",
+ "xml": "<set>\n\t <parameter name=\"aai-error-message\" value=\"`'VM Info not found in request.' + $aai-error-message`\"/>",
+ "comments": "",
+ "x": 1081.0238342285156,
+ "y": 202.92062854766846,
+ "z": "1a897865.ea2138",
+ "wires": []
+ },
+ {
+ "id": "dfe77560.cb9aa8",
+ "type": "set",
+ "name": "set: Append to aai-error message",
+ "xml": "<set>\n\t <parameter name=\"aai-error-message\" value=\"`'VNFC Info not found in request.' + $aai-error-message`\"/>",
+ "comments": "",
+ "x": 1531.5240173339844,
+ "y": 525.1428575515747,
+ "z": "1a897865.ea2138",
+ "wires": []
+ },
+ {
+ "id": "e83828f9.4c3c18",
+ "type": "switchNode",
+ "name": "switch: aai-error-message",
+ "xml": "<switch test=\"`$aai-error-message`\">",
+ "comments": "",
+ "outputs": 1,
+ "x": 237.02383422851562,
+ "y": 845.9206056594849,
+ "z": "1a897865.ea2138",
+ "wires": [
+ [
+ "aed33c7.e9169c",
+ "7daf802f.66582"
+ ]
+ ]
+ },
+ {
+ "id": "aed33c7.e9169c",
+ "type": "other",
+ "name": "outcome: not populated",
+ "xml": "<outcome value=''>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 510.0238342285156,
+ "y": 789.9206056594849,
+ "z": "1a897865.ea2138",
+ "wires": [
+ [
+ "555ab55e.5384ac"
+ ]
+ ]
+ },
+ {
+ "id": "555ab55e.5384ac",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 714.0238342285156,
+ "y": 789.9206056594849,
+ "z": "1a897865.ea2138",
+ "wires": [
+ [
+ "8389b454.ffde38"
+ ]
+ ]
+ },
+ {
+ "id": "7daf802f.66582",
+ "type": "other",
+ "name": "outcome: Other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 479.0238342285156,
+ "y": 891.9206056594849,
+ "z": "1a897865.ea2138",
+ "wires": [
+ [
+ "e996926c.6f5ec"
+ ]
+ ]
+ },
+ {
+ "id": "e996926c.6f5ec",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 697.0238342285156,
+ "y": 891.9206056594849,
+ "z": "1a897865.ea2138",
+ "wires": [
+ [
+ "83214261.6da0f"
+ ]
+ ]
+ },
+ {
+ "id": "8389b454.ffde38",
+ "type": "returnSuccess",
+ "name": "return success",
+ "xml": "<return status='success'>\n\n",
+ "comments": "",
+ "x": 896.0238342285156,
+ "y": 790.9206056594849,
+ "z": "1a897865.ea2138",
+ "wires": []
+ },
+ {
+ "id": "83214261.6da0f",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name=\"dcae-error-message\" value=\"`$dcae-error-message + $aai-error-message` \"/>\n\n",
+ "comments": "",
+ "x": 901.0238265991211,
+ "y": 895.2540159225464,
+ "z": "1a897865.ea2138",
+ "wires": []
+ },
+ {
+ "id": "d63bd02e.54e15",
+ "type": "set",
+ "name": "set prov-status and orch-status",
+ "xml": "<set>\n<parameter name=\"tmp.aai-prov-status\" value=\"NVTPROV\" />\n\t<parameter name=\"tmp.aai-orch-status\" value=\"CONFIGURED\" />\n",
+ "comments": "",
+ "x": 428.8571472167969,
+ "y": 89.1428575515747,
+ "z": "1a897865.ea2138",
+ "wires": []
+ },
+ {
+ "id": "4ee1c404.52ef6c",
+ "type": "save",
+ "name": "save Put VNFC",
+ "xml": "<!--save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vnfc' key='vnfc-name = $request-parameters.vm[$j].vnfc[$k].vnfc-name' force='true' pfx='tmp.vnfc-sys-controller'-->\n<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vnfc' key='vnfc.vnfc-name = $request-parameters.vm[$j].vnfc[$k].vnfc-name' force='true' pfx='tmp.vnfc-sys-controller'>\n<parameter name='nfc-naming-code' value='`$request-parameters.vm[$j].vnfc[$k].vnfc-function-code`'/>\n<parameter name='nfc-function' value='`$request-parameters.vm[$j].vnfc[$k].vnfc-type`'/>\n<parameter name='ipaddress-v4-oam-vip' value='`$request-parameters.vm[$j].vnfc[$k].ipaddress-v4-oam-vip`'/>\n<parameter name='prov-status' value='`$tmp.aai-prov-status`'/>\n<parameter name='orchestration-status' value='`$tmp.aai-orch-status`'/>\n<parameter name='in-maint' value = 'false'/>\n<parameter name='is-closed-loop' value = 'false'/>\n<parameter name='group-notation' value='`$request-parameters.vm[$j].vnfc[$k].group-notation`'/>\n\n\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"vserver\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"vserver.vserver-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value='`$tmp.aai-data-vm.vserver-id`'/>\n\n\n<parameter name=\"relationship-list.relationship[0].relationship-data[1].relationship-key\" value=\"tenant.tenant-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[1].relationship-value\" value='`$tmp.aai-data-vm.tenant-id`'/>\n\n<parameter name=\"relationship-list.relationship[0].relationship-data[2].relationship-key\" value=\"cloud-region.cloud-owner\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[2].relationship-value\" value=\"`$tmp.aai-data-vm.cloud-owner`\"/>\n\n<parameter name=\"relationship-list.relationship[0].relationship-data[3].relationship-key\" value=\"cloud-region.cloud-region-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[3].relationship-value\" value='`$tmp.aai-data-vm.cloud-region-id`'/>\n\n\n<parameter name=\"relationship-list.relationship[1].related-to\" value=\"generic-vnf\" />\n<parameter name=\"relationship-list.relationship[1].relationship-data[0].relationship-key\" value=\"generic-vnf.vnf-id\" />\n<parameter name=\"relationship-list.relationship[1].relationship-data[0].relationship-value\" value='`$vnf-id`'/>\n\n<parameter name=\"relationship-list.relationship[2].related-to\" value=\"vf-module\" />\n<parameter name=\"relationship-list.relationship[2].relationship-data[0].relationship-key\" value=\"generic-vnf.vnf-id\" />\n<parameter name=\"relationship-list.relationship[2].relationship-data[0].relationship-value\" value='`$vnf-id`'/>\n\n<parameter name=\"relationship-list.relationship[2].relationship-data[1].relationship-key\" value=\"vf-module.vf-module-id\" />\n<parameter name=\"relationship-list.relationship[2].relationship-data[1].relationship-value\" value='`$tmp.vf-module-id`'/>\n\n\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1579.6071319580078,
+ "y": 901.6428365707397,
+ "z": "1a897865.ea2138",
+ "wires": [
+ [
+ "4e1dcff8.2ca55",
+ "86d99a42.6151c8"
+ ]
+ ]
+ },
+ {
+ "id": "9c8c44f.58601b8",
+ "type": "call",
+ "name": "call: GetVfModuleInfo",
+ "xml": "<call module=\"APPC\" rpc=\"GetVfModuleInfo\" mode=\"sync\">",
+ "comments": "",
+ "outputs": 1,
+ "x": 1136.357192993164,
+ "y": 777.8095331192017,
+ "z": "1a897865.ea2138",
+ "wires": [
+ [
+ "afceb7d7.f96e38",
+ "e9a85b53.c990b8"
+ ]
+ ]
+ },
+ {
+ "id": "afceb7d7.f96e38",
+ "type": "failure",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1135.3571472167969,
+ "y": 906.1428575515747,
+ "z": "1a897865.ea2138",
+ "wires": [
+ [
+ "a06012c.2a0acf"
+ ]
+ ]
+ },
+ {
+ "id": "a06012c.2a0acf",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1380.8571166992188,
+ "y": 899.5595579147339,
+ "z": "1a897865.ea2138",
+ "wires": [
+ [
+ "4ee1c404.52ef6c"
+ ]
+ ]
+ },
+ {
+ "id": "5cd181d8.d8e65",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1266.8571472167969,
+ "y": 402.1428575515747,
+ "z": "1a897865.ea2138",
+ "wires": [
+ [
+ "1a18dba4.815f24"
+ ]
+ ]
+ },
+ {
+ "id": "e9a85b53.c990b8",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1354.8571472167969,
+ "y": 775.1428575515747,
+ "z": "1a897865.ea2138",
+ "wires": [
+ [
+ "464a5da.0ae04a4"
+ ]
+ ]
+ },
+ {
+ "id": "25620711.cea6c8",
+ "type": "switchNode",
+ "name": "switch: tmp.vf-module-id",
+ "xml": "<switch test=\"`$tmp.vf-module-id`\">",
+ "comments": "",
+ "outputs": 1,
+ "x": 1769.8571472167969,
+ "y": 776.1428575515747,
+ "z": "1a897865.ea2138",
+ "wires": [
+ [
+ "effb01d2.8a5f3",
+ "661b5fe1.d4017"
+ ]
+ ]
+ },
+ {
+ "id": "464a5da.0ae04a4",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1530.8571472167969,
+ "y": 774.1428575515747,
+ "z": "1a897865.ea2138",
+ "wires": [
+ [
+ "25620711.cea6c8"
+ ]
+ ]
+ },
+ {
+ "id": "effb01d2.8a5f3",
+ "type": "outcome",
+ "name": "NULL",
+ "xml": "<outcome value=''>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1990.8571472167969,
+ "y": 772.1428575515747,
+ "z": "1a897865.ea2138",
+ "wires": [
+ [
+ "9bc0de60.5fa72"
+ ]
+ ]
+ },
+ {
+ "id": "9bc0de60.5fa72",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 2145.857147216797,
+ "y": 773.1428575515747,
+ "z": "1a897865.ea2138",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "661b5fe1.d4017",
+ "type": "outcome",
+ "name": "Other",
+ "xml": "<outcome value='Other'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1987.8571472167969,
+ "y": 826.1428575515747,
+ "z": "1a897865.ea2138",
+ "wires": [
+ [
+ "a06012c.2a0acf"
+ ]
+ ]
+ },
+ {
+ "id": "69a31e4f.3f8db",
+ "type": "failure",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1541.7857284545898,
+ "y": 627.5000076293945,
+ "z": "1a897865.ea2138",
+ "wires": [
+ [
+ "767da0a.31af36"
+ ]
+ ]
+ },
+ {
+ "id": "767da0a.31af36",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1700.5357284545898,
+ "y": 627.5000076293945,
+ "z": "1a897865.ea2138",
+ "wires": [
+ [
+ "8d7a5064.9bb5c"
+ ]
+ ]
+ },
+ {
+ "id": "8d7a5064.9bb5c",
+ "type": "get-resource",
+ "name": "update: A&AI Data for VNFC status update",
+ "xml": "<!-- update plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" resource=\"vnfc\" key=\"vnfc-name = $request-parameters.vm[$j].vnfc[$k].vnfc-name\" pfx=\"tmp.aai-data-vnfc-update\" -->\n<update plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" resource=\"vnfc\" key=\"vnfc.vnfc-name = $request-parameters.vm[$j].vnfc[$k].vnfc-name\" pfx=\"tmp.aai-data-vnfc-update\" >\n<parameter name='vnfc-name' value='`$request-parameters.vm[$j].vnfc[$k].vnfc-name`'/>\n<parameter name='prov-status' value='`$tmp.aai-prov-status`'/>\n<parameter name='orchestration-status' value='`$tmp.aai-orch-status`'/>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1978.0357360839844,
+ "y": 627.5000076293945,
+ "z": "1a897865.ea2138",
+ "wires": [
+ [
+ "8c17bc0f.cb94b",
+ "b9264b68.395fb8"
+ ]
+ ]
+ },
+ {
+ "id": "8c17bc0f.cb94b",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2264.535858154297,
+ "y": 604.7500123977661,
+ "z": "1a897865.ea2138",
+ "wires": [
+ [
+ "40ca8b7c.888974"
+ ]
+ ]
+ },
+ {
+ "id": "40ca8b7c.888974",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2416.5357055664062,
+ "y": 621.9999990463257,
+ "z": "1a897865.ea2138",
+ "wires": [
+ [
+ "54023dc6.d78444",
+ "bb406758.d3b448"
+ ]
+ ]
+ },
+ {
+ "id": "54023dc6.d78444",
+ "type": "record",
+ "name": "record",
+ "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=\"Update VNFC status to AnAI Request Failed\"/>\n<parameter name=\"field3\" value=\"`$request-parameters.vm[$j].vnfc[$k].vnfc-name`\"/>\n<parameter name=\"field4\" value=\"`$tmp.aai-data-vnfc-update`\"/>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2610.5357055664062,
+ "y": 603.9999990463257,
+ "z": "1a897865.ea2138",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "bb406758.d3b448",
+ "type": "set",
+ "name": "set: Append to aai error message",
+ "xml": "<set>\n\t <parameter name=\"aai-error-message\" value=\"`'Update VNFC status to A&amp;AI Failed for ' + $request-parameters.vm[$j].vnfc[$k].vnfc-name + '.' + $aai-error-message`\"/>",
+ "comments": "",
+ "x": 2692.035743713379,
+ "y": 665.7500085830688,
+ "z": "1a897865.ea2138",
+ "wires": []
+ },
+ {
+ "id": "b9264b68.395fb8",
+ "type": "failure",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2250.1190338134766,
+ "y": 700.4166860580444,
+ "z": "1a897865.ea2138",
+ "wires": [
+ [
+ "a053cddc.ba766"
+ ]
+ ]
+ },
+ {
+ "id": "a053cddc.ba766",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2416.369285583496,
+ "y": 704.1667060852051,
+ "z": "1a897865.ea2138",
+ "wires": [
+ [
+ "459dcac6.66f124"
+ ]
+ ]
+ },
+ {
+ "id": "459dcac6.66f124",
+ "type": "record",
+ "name": "record",
+ "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=\"Update VNFC status to AnAI Request Success\"/>\n<parameter name=\"field3\" value=\"`$request-parameters.vm[$j].vnfc[$k].vnfc-name`\"/>\n<parameter name=\"field4\" value=\"`$tmp.aai-data-vnfc-update`\"/>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2594.2857055664062,
+ "y": 712.4999990463257,
+ "z": "1a897865.ea2138",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "86d99a42.6151c8",
+ "type": "failure",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1771.0954971313477,
+ "y": 1015.5238370895386,
+ "z": "1a897865.ea2138",
+ "wires": [
+ [
+ "2f17e022.67191"
+ ]
+ ]
+ },
+ {
+ "id": "2f17e022.67191",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1941.9880828857422,
+ "y": 1016.476149559021,
+ "z": "1a897865.ea2138",
+ "wires": [
+ [
+ "e97bc483.0b2fd8"
+ ]
+ ]
+ },
+ {
+ "id": "e97bc483.0b2fd8",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"RETURNEDERRORMSG\" value=\"`'Insert to AAI Succesful for ' + $request-parameters.vm[$j].vnfc[$k].vnfc-name `\"/>\n\n\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2127.5237770080566,
+ "y": 1014.8095026016235,
+ "z": "1a897865.ea2138",
+ "wires": [
+ []
+ ]
+ }
+] \ No newline at end of file
diff --git a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_UpdateAaiforReferenceData.json b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_UpdateAaiforReferenceData.json
index 2f2a1c228..42eb0a82b 100644
--- a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_UpdateAaiforReferenceData.json
+++ b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_UpdateAaiforReferenceData.json
@@ -1 +1,327 @@
-[{"id":"c69cd5c6.8eaf98","type":"service-logic","name":"APPC 4.0.0","module":"APPC","version":"4.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' version='4.0.0'>","outputs":1,"x":265,"y":43,"z":"fc522b47.df72a8","wires":[["b1be4c4.c4d55b"]]},{"id":"b15f51d0.e9644","type":"dgstart","name":"DGSTART","outputs":1,"x":110.83331298828125,"y":41.333343505859375,"z":"fc522b47.df72a8","wires":[["c69cd5c6.8eaf98"]]},{"id":"b1be4c4.c4d55b","type":"method","name":"method UpdateAaiforReferenceData","xml":"<method rpc='UpdateAaiforReferenceData' mode='sync'>","comments":"","outputs":1,"x":523.333381652832,"y":41.66666507720947,"z":"fc522b47.df72a8","wires":[["825cd02b.13654"]]},{"id":"825cd02b.13654","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":137,"y":111.00000762939453,"z":"fc522b47.df72a8","wires":[["b0c09c76.678a4","91b4bedf.8242e"]]},{"id":"3d5bc46a.eb3eac","type":"record","name":"record","xml":"<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"RETURNEDERRORMSG\" value=\"`$dcae-error-message`\"/>\n\n","comments":"","outputs":1,"x":701,"y":798.0000381469727,"z":"fc522b47.df72a8","wires":[[]]},{"id":"7b50f281.3bd31c","type":"execute","name":"execute addVnfcs","xml":"<execute plugin=\"org.onap.appc.aai.client.node.AAIResourceNode\" method=\"addVnfcs\">\n<parameter name=\"responsePrefix\" value=\"tmp.vnfInfo\" />\n","comments":"","outputs":1,"x":804.4722518920898,"y":309.9166955947876,"z":"fc522b47.df72a8","wires":[["6923ea4a.854004"]]},{"id":"6923ea4a.854004","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":998.4166717529297,"y":311.6666555404663,"z":"fc522b47.df72a8","wires":[["57336ac3.2f76c4"]]},{"id":"57336ac3.2f76c4","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1200.9166717529297,"y":301.1389045715332,"z":"fc522b47.df72a8","wires":[["a0914fb9.6aa8d"]]},{"id":"9999c346.0a4e8","type":"execute","name":"execute saveTxLog","xml":"<execute plugin=\"org.onap.appc.data.services.node.ConfigResourceNode\" method=\"saveConfigTransactionLog\">\n<parameter name=\"messageType\" value=\"log\" />\n<parameter name=\"message\" value=\"`'501:' + $dcae-error-message`\" />\n<parameter name=\"responsePrefix\" value=\"tmp.saveTxLog\" />\n","comments":"","outputs":1,"x":884.0000076293945,"y":488.9166965484619,"z":"fc522b47.df72a8","wires":[["f51ac733.4c4768"]]},{"id":"a0914fb9.6aa8d","type":"set","name":"set: dcae-error message","xml":"<set>\n <parameter name=\"dcae-error-message\" value=\"`$dcae-error-message + $tmp.vnfInfo.error-message` \"/>","comments":"","x":1446.0554962158203,"y":303.22223472595215,"z":"fc522b47.df72a8","wires":[]},{"id":"82371710.a9d4e8","type":"execute","name":"execute IntermediateMessageSender","xml":"<execute plugin='org.onap.appc.dg.common.IntermediateMessageSender' method='sendMessage' >\n<parameter name='code' value=\"501\" />\n<parameter name='message' value=\"`$dcae-error-message`\" />\n<parameter name='prefix' value=\"tmp.intermediateerror\"/>","comments":"","outputs":1,"x":931.7500152587891,"y":589.9166955947876,"z":"fc522b47.df72a8","wires":[["dcdf5417.c44018","569bfe06.8d086"]]},{"id":"dcdf5417.c44018","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":1183.7500190734863,"y":555.4166965484619,"z":"fc522b47.df72a8","wires":[["12d82c2e.3fb1f4"]]},{"id":"569bfe06.8d086","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1181.5000190734863,"y":638.6666965484619,"z":"fc522b47.df72a8","wires":[["12d82c2e.3fb1f4"]]},{"id":"12d82c2e.3fb1f4","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1352.0000190734863,"y":598.9166955947876,"z":"fc522b47.df72a8","wires":[["fb53247d.69b308"]]},{"id":"fb53247d.69b308","type":"record","name":"record","xml":"<record plugin=\"org.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=\"MSGSENDERERERROR\" value=\"Unable to call IntermediateErrorMessageSender\"/>\n","comments":"","outputs":1,"x":1509.0000228881836,"y":599.416695356369,"z":"fc522b47.df72a8","wires":[[]]},{"id":"b0c09c76.678a4","type":"execute","name":"execute getVnfcReference","xml":"<execute plugin=\"org.onap.appc.data.services.node.ConfigResourceNode\" method=\"getVnfcReference\">\n<parameter name=\"responsePrefix\" value=\"vnfcReference[]\" />\n","comments":"","outputs":1,"x":370.6111068725586,"y":206.80553817749023,"z":"fc522b47.df72a8","wires":[["c7965317.f93b8","f5513545.9ebe58","4e0097d1.637198"]]},{"id":"c7965317.f93b8","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":604,"y":131.66666412353516,"z":"fc522b47.df72a8","wires":[["b2bfe106.18886"]]},{"id":"f5513545.9ebe58","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":598,"y":175.66666412353516,"z":"fc522b47.df72a8","wires":[["195d6b48.f1dd15"]]},{"id":"b2bfe106.18886","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":783,"y":113.66666412353516,"z":"fc522b47.df72a8","wires":[["509bacca.15cd24"]]},{"id":"195d6b48.f1dd15","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":767,"y":166.66666412353516,"z":"fc522b47.df72a8","wires":[["db840e52.e49de"]]},{"id":"4e0097d1.637198","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":570,"y":227.66666412353516,"z":"fc522b47.df72a8","wires":[["58a9e06a.4fd7b"]]},{"id":"509bacca.15cd24","type":"set","name":"set: dcae-error message","xml":"<set>\n <parameter name=\"dcae-error-message\" value=\"Unable to Update A&amp;AI. Unable to read vnfc-reference data \"/>","comments":"","x":1016,"y":111.66666412353516,"z":"fc522b47.df72a8","wires":[]},{"id":"db840e52.e49de","type":"set","name":"set: dcae-error message","xml":"<set>\n <parameter name=\"dcae-error-message\" value=\"`'Unable to Update A&amp;AI. ' + $vnfc-reference[0].error-message` \"/>","comments":"","x":1002,"y":170.66666412353516,"z":"fc522b47.df72a8","wires":[]},{"id":"58a9e06a.4fd7b","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":729,"y":222.66666412353516,"z":"fc522b47.df72a8","wires":[["61838342.3eb0dc","7b50f281.3bd31c"]]},{"id":"91b4bedf.8242e","type":"switchNode","name":"switch dcae message","xml":"<switch test='`$dcae-error-message`'>\n","comments":"","outputs":1,"x":322.5,"y":431.4166965484619,"z":"fc522b47.df72a8","wires":[["ee5101dd.36d73","830349c.beb4cb8"]]},{"id":"ee5101dd.36d73","type":"outcome","name":"outcome null","xml":"<outcome value=''>\n","comments":"","outputs":1,"x":566.0000076293945,"y":430.4166965484619,"z":"fc522b47.df72a8","wires":[["1d8c3b97.711514"]]},{"id":"830349c.beb4cb8","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":523.7500038146973,"y":499.66669845581055,"z":"fc522b47.df72a8","wires":[["572fefb0.03cc1"]]},{"id":"572fefb0.03cc1","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":685.7500076293945,"y":503.16669845581055,"z":"fc522b47.df72a8","wires":[["9999c346.0a4e8","82371710.a9d4e8","3d5bc46a.eb3eac"]]},{"id":"1d8c3b97.711514","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":728.0000076293945,"y":429.1666965484619,"z":"fc522b47.df72a8","wires":[[]]},{"id":"61838342.3eb0dc","type":"execute","name":"execute updateVnfVServer","xml":"<execute plugin=\"org.onap.appc.aai.client.node.AAIResourceNode\" method=\"updateVnfAndVServerStatus\">\n<parameter name=\"responsePrefix\" value=\"tmp.vnfInfo\" />\n","comments":"","outputs":1,"x":1021.5,"y":220.4166603088379,"z":"fc522b47.df72a8","wires":[["ba6a8b0c.35b0a8"]]},{"id":"ba6a8b0c.35b0a8","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1234.5000038146973,"y":221.16666221618652,"z":"fc522b47.df72a8","wires":[["adfe125f.70063"]]},{"id":"adfe125f.70063","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1386.2500076293945,"y":218.16666221618652,"z":"fc522b47.df72a8","wires":[["44dcf49d.ca985c"]]},{"id":"44dcf49d.ca985c","type":"set","name":"set: dcae-error message","xml":"<set>\n <parameter name=\"dcae-error-message\" value=\"`$tmp.vnfInfo.error-message` \"/>","comments":"","x":1605.250015258789,"y":219.6666603088379,"z":"fc522b47.df72a8","wires":[]},{"id":"f51ac733.4c4768","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1068.000015258789,"y":488.6666946411133,"z":"fc522b47.df72a8","wires":[["3a09ed31.0554e2"]]},{"id":"3a09ed31.0554e2","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1223.000015258789,"y":488.6666965484619,"z":"fc522b47.df72a8","wires":[[]]}]
+[
+ {
+ "id": "c69cd5c6.8eaf98",
+ "type": "service-logic",
+ "name": "APPC 4.0.0",
+ "module": "APPC",
+ "version": "4.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' version='4.0.0'>",
+ "outputs": 1,
+ "x": 265,
+ "y": 43,
+ "z": "fc522b47.df72a8",
+ "wires": [
+ [
+ "b1be4c4.c4d55b"
+ ]
+ ]
+ },
+ {
+ "id": "b15f51d0.e9644",
+ "type": "dgstart",
+ "name": "DGSTART",
+ "outputs": 1,
+ "x": 110.83331298828125,
+ "y": 41.333343505859375,
+ "z": "fc522b47.df72a8",
+ "wires": [
+ [
+ "c69cd5c6.8eaf98"
+ ]
+ ]
+ },
+ {
+ "id": "b1be4c4.c4d55b",
+ "type": "method",
+ "name": "method UpdateAaiforReferenceData",
+ "xml": "<method rpc='UpdateAaiforReferenceData' mode='sync'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 523.333381652832,
+ "y": 41.66666507720947,
+ "z": "fc522b47.df72a8",
+ "wires": [
+ [
+ "825cd02b.13654"
+ ]
+ ]
+ },
+ {
+ "id": "825cd02b.13654",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 122.00000762939453,
+ "y": 221.00000190734863,
+ "z": "fc522b47.df72a8",
+ "wires": [
+ [
+ "b0c09c76.678a4"
+ ]
+ ]
+ },
+ {
+ "id": "7b50f281.3bd31c",
+ "type": "execute",
+ "name": "execute addVnfcs",
+ "xml": "<execute plugin=\"org.onap.appc.aai.client.node.AAIResourceNode\" method=\"addVnfcs\">\n<parameter name=\"responsePrefix\" value=\"tmp.vnfInfo\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 804.4722518920898,
+ "y": 309.9166955947876,
+ "z": "fc522b47.df72a8",
+ "wires": [
+ [
+ "6923ea4a.854004"
+ ]
+ ]
+ },
+ {
+ "id": "6923ea4a.854004",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 998.4166717529297,
+ "y": 311.6666555404663,
+ "z": "fc522b47.df72a8",
+ "wires": [
+ [
+ "57336ac3.2f76c4"
+ ]
+ ]
+ },
+ {
+ "id": "57336ac3.2f76c4",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1200.9166717529297,
+ "y": 301.1389045715332,
+ "z": "fc522b47.df72a8",
+ "wires": [
+ [
+ "a0914fb9.6aa8d"
+ ]
+ ]
+ },
+ {
+ "id": "a0914fb9.6aa8d",
+ "type": "set",
+ "name": "set: dcae-error message",
+ "xml": "<set>\n <parameter name=\"dcae-error-message\" value=\"`$dcae-error-message + $tmp.vnfInfo.error-message` \"/>",
+ "comments": "",
+ "x": 1446.0554962158203,
+ "y": 303.22223472595215,
+ "z": "fc522b47.df72a8",
+ "wires": []
+ },
+ {
+ "id": "b0c09c76.678a4",
+ "type": "execute",
+ "name": "execute getVnfcReference",
+ "xml": "<execute plugin=\"org.onap.appc.data.services.node.ConfigResourceNode\" method=\"getVnfcReference\">\n<parameter name=\"responsePrefix\" value=\"vnfcReference[]\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 371.2777862548828,
+ "y": 218.80553340911865,
+ "z": "fc522b47.df72a8",
+ "wires": [
+ [
+ "c7965317.f93b8",
+ "f5513545.9ebe58",
+ "4e0097d1.637198"
+ ]
+ ]
+ },
+ {
+ "id": "c7965317.f93b8",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 604,
+ "y": 131.66666412353516,
+ "z": "fc522b47.df72a8",
+ "wires": [
+ [
+ "b2bfe106.18886"
+ ]
+ ]
+ },
+ {
+ "id": "f5513545.9ebe58",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 598,
+ "y": 175.66666412353516,
+ "z": "fc522b47.df72a8",
+ "wires": [
+ [
+ "195d6b48.f1dd15"
+ ]
+ ]
+ },
+ {
+ "id": "b2bfe106.18886",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 783,
+ "y": 113.66666412353516,
+ "z": "fc522b47.df72a8",
+ "wires": [
+ [
+ "509bacca.15cd24"
+ ]
+ ]
+ },
+ {
+ "id": "195d6b48.f1dd15",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 767,
+ "y": 166.66666412353516,
+ "z": "fc522b47.df72a8",
+ "wires": [
+ [
+ "db840e52.e49de"
+ ]
+ ]
+ },
+ {
+ "id": "4e0097d1.637198",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 584,
+ "y": 230.66665649414062,
+ "z": "fc522b47.df72a8",
+ "wires": [
+ [
+ "58a9e06a.4fd7b"
+ ]
+ ]
+ },
+ {
+ "id": "509bacca.15cd24",
+ "type": "set",
+ "name": "set: dcae-error message",
+ "xml": "<set>\n <parameter name=\"dcae-error-message\" value=\"Unable to Update A&amp;AI. Unable to read vnfc-reference data \"/>",
+ "comments": "",
+ "x": 1016,
+ "y": 111.66666412353516,
+ "z": "fc522b47.df72a8",
+ "wires": []
+ },
+ {
+ "id": "db840e52.e49de",
+ "type": "set",
+ "name": "set: dcae-error message",
+ "xml": "<set>\n <parameter name=\"dcae-error-message\" value=\"`'Unable to Update A&amp;AI. ' + $vnfc-reference[0].error-message` \"/>",
+ "comments": "",
+ "x": 1002,
+ "y": 170.66666412353516,
+ "z": "fc522b47.df72a8",
+ "wires": []
+ },
+ {
+ "id": "58a9e06a.4fd7b",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 729,
+ "y": 222.66666412353516,
+ "z": "fc522b47.df72a8",
+ "wires": [
+ [
+ "61838342.3eb0dc",
+ "7b50f281.3bd31c"
+ ]
+ ]
+ },
+ {
+ "id": "61838342.3eb0dc",
+ "type": "execute",
+ "name": "execute updateVnfVServer",
+ "xml": "<execute plugin=\"org.onap.appc.aai.client.node.AAIResourceNode\" method=\"updateVnfAndVServerStatus\">\n<parameter name=\"responsePrefix\" value=\"tmp.vnfInfo\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1021.5,
+ "y": 220.4166603088379,
+ "z": "fc522b47.df72a8",
+ "wires": [
+ [
+ "ba6a8b0c.35b0a8"
+ ]
+ ]
+ },
+ {
+ "id": "ba6a8b0c.35b0a8",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1234.5000038146973,
+ "y": 221.16666221618652,
+ "z": "fc522b47.df72a8",
+ "wires": [
+ [
+ "adfe125f.70063"
+ ]
+ ]
+ },
+ {
+ "id": "adfe125f.70063",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1386.2500076293945,
+ "y": 218.16666221618652,
+ "z": "fc522b47.df72a8",
+ "wires": [
+ [
+ "44dcf49d.ca985c"
+ ]
+ ]
+ },
+ {
+ "id": "44dcf49d.ca985c",
+ "type": "set",
+ "name": "set: dcae-error message",
+ "xml": "<set>\n <parameter name=\"dcae-error-message\" value=\"`$tmp.vnfInfo.error-message` \"/>",
+ "comments": "",
+ "x": 1605.250015258789,
+ "y": 219.6666603088379,
+ "z": "fc522b47.df72a8",
+ "wires": []
+ }
+] \ No newline at end of file
diff --git a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_VM_Start.json b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_VM_Start.json
index c6195da22..4e636f95e 100644
--- a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_VM_Start.json
+++ b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_VM_Start.json
@@ -1,257 +1,257 @@
-[
- {
- "id": "4c12a5c8.90ab7c",
- "name": "DGSTART",
- "outputs": 1,
- "type": "dgstart",
- "wires": [
- [
- "3f8e186b.788b58"
- ]
- ],
- "x": 179,
- "y": 322,
- "z": "3b333f3b.e62d"
- },
- {
- "comments": "",
- "id": "3f8e186b.788b58",
- "module": "APPC",
- "name": "APPC 2.0.0",
- "outputs": 1,
- "type": "service-logic",
- "version": "2.0.0",
- "wires": [
- [
- "e2b2f3.05197d1"
- ]
- ],
- "x": 362.0001220703125,
- "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='2.0.0'>",
- "y": 322.5666809082031,
- "z": "3b333f3b.e62d"
- },
- {
- "comments": "",
- "id": "e2b2f3.05197d1",
- "name": "VM_Start",
- "outputs": 1,
- "type": "method",
- "wires": [
- [
- "9c797c4b.fc3f8"
- ]
- ],
- "x": 311.75006103515625,
- "xml": "<method rpc='VM_Start' mode='sync'>\n",
- "y": 406.816650390625,
- "z": "3b333f3b.e62d"
- },
- {
- "comments": "",
- "id": "9c797c4b.fc3f8",
- "name": "Start",
- "outputs": 1,
- "type": "execute",
- "wires": [
- [
- "8ec37e81.db48b",
- "6a2f0d5b.f084e4"
- ]
- ],
- "x": 496,
- "xml": "<execute plugin='org.onap.appc.adapter.iaas.ProviderAdapter' method='startServer'>\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`\" />",
- "y": 406,
- "z": "3b333f3b.e62d"
- },
- {
- "comments": "",
- "id": "6a2f0d5b.f084e4",
- "name": "success",
- "outputs": 1,
- "type": "success",
- "wires": [
- [
- "51fd4bef.090064"
- ]
- ],
- "x": 675.9735107421875,
- "xml": "<outcome value='success'>\n",
- "y": 407.2143859863281,
- "z": "3b333f3b.e62d"
- },
- {
- "comments": "",
- "id": "8ec37e81.db48b",
- "name": "failure",
- "outputs": 1,
- "type": "failure",
- "wires": [
- [
- "8ccb55ea.a7c328"
- ]
- ],
- "x": 670.6187744140625,
- "xml": "<outcome value='failure'>\n",
- "y": 633.14306640625,
- "z": "3b333f3b.e62d"
- },
- {
- "comments": "",
- "id": "51fd4bef.090064",
- "name": "STATUS",
- "outputs": 1,
- "type": "switchNode",
- "wires": [
- [
- "8e71a1ab.2673b",
- "9153a9b0.79c868"
- ]
- ],
- "x": 823,
- "xml": "<switch test='`$START_STATUS`'>\n",
- "y": 407.0000305175781,
- "z": "3b333f3b.e62d"
- },
- {
- "comments": "",
- "id": "8e71a1ab.2673b",
- "name": "SUCCESS",
- "outputs": 1,
- "type": "other",
- "wires": [
- [
- "218c4c31.746404"
- ]
- ],
- "x": 997.7144775390625,
- "xml": "<outcome value='SUCCESS'>\n",
- "y": 405.4286193847656,
- "z": "3b333f3b.e62d"
- },
- {
- "comments": "",
- "id": "9153a9b0.79c868",
- "name": "ERROR",
- "outputs": 1,
- "type": "other",
- "wires": [
- [
- "d6c921e6.f062f"
- ]
- ],
- "x": 998.28564453125,
- "xml": "<outcome value='ERROR'>\n",
- "y": 474.71435546875,
- "z": "3b333f3b.e62d"
- },
- {
- "comments": "",
- "id": "91055b26.4540f8",
- "name": "return success",
- "type": "returnSuccess",
- "wires": [],
- "x": 1355.6666259765625,
- "xml": "<return status='success'>",
- "y": 452,
- "z": "3b333f3b.e62d"
- },
- {
- "comments": "",
- "id": "be1d8c86.5510c",
- "name": "return failure",
- "type": "returnFailure",
- "wires": [],
- "x": 1364.8734130859375,
- "xml": "<return status='failure'>\n",
- "y": 680.4286499023438,
- "z": "3b333f3b.e62d"
- },
- {
- "comments": "",
- "id": "55a5d83c.b56328",
- "name": "set success code and message",
- "type": "set",
- "wires": [],
- "x": 1404,
- "xml": "<set>\n<parameter name='error-code' value='400' />\n<parameter name='error-message' value='Success' />\n",
- "y": 408,
- "z": "3b333f3b.e62d"
- },
- {
- "comments": "",
- "id": "11e66810.229818",
- "name": "set error code and message",
- "type": "set",
- "wires": [],
- "x": 1117,
- "xml": "<set>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value='Start VM failed' />\n",
- "y": 602,
- "z": "3b333f3b.e62d"
- },
- {
- "comments": "",
- "id": "18420693.2d9f89",
- "name": "set error code and message",
- "type": "set",
- "wires": [],
- "x": 1398,
- "xml": "<set>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value='Start VM status is error' />\n",
- "y": 507,
- "z": "3b333f3b.e62d"
- },
- {
- "atomic": "true",
- "comments": "",
- "id": "218c4c31.746404",
- "name": "block : atomic",
- "outputs": 1,
- "type": "block",
- "wires": [
- [
- "55a5d83c.b56328",
- "91055b26.4540f8"
- ]
- ],
- "x": 1161,
- "xml": "<block atomic='true'>",
- "y": 407,
- "z": "3b333f3b.e62d"
- },
- {
- "atomic": "true",
- "comments": "",
- "id": "d6c921e6.f062f",
- "name": "block : atomic",
- "outputs": 1,
- "type": "block",
- "wires": [
- [
- "18420693.2d9f89",
- "be1d8c86.5510c"
- ]
- ],
- "x": 1154,
- "xml": "<block atomic='true'>",
- "y": 475,
- "z": "3b333f3b.e62d"
- },
- {
- "atomic": "true",
- "comments": "",
- "id": "8ccb55ea.a7c328",
- "name": "block : atomic",
- "outputs": 1,
- "type": "block",
- "wires": [
- [
- "11e66810.229818",
- "be1d8c86.5510c"
- ]
- ],
- "x": 873,
- "xml": "<block atomic='true'>",
- "y": 639,
- "z": "3b333f3b.e62d"
- }
-]
+[
+ {
+ "id": "4c12a5c8.90ab7c",
+ "type": "dgstart",
+ "name": "DGSTART",
+ "outputs": 1,
+ "x": 179,
+ "y": 322,
+ "z": "3b333f3b.e62d",
+ "wires": [
+ [
+ "3f8e186b.788b58"
+ ]
+ ]
+ },
+ {
+ "id": "3f8e186b.788b58",
+ "type": "service-logic",
+ "name": "APPC 2.0.0",
+ "module": "APPC",
+ "version": "2.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' version='2.0.0'>",
+ "outputs": 1,
+ "x": 362.0001220703125,
+ "y": 322.5666809082031,
+ "z": "3b333f3b.e62d",
+ "wires": [
+ [
+ "e2b2f3.05197d1"
+ ]
+ ]
+ },
+ {
+ "id": "e2b2f3.05197d1",
+ "type": "method",
+ "name": "VM_Start",
+ "xml": "<method rpc='VM_Start' mode='sync'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 311.75006103515625,
+ "y": 406.816650390625,
+ "z": "3b333f3b.e62d",
+ "wires": [
+ [
+ "9c797c4b.fc3f8"
+ ]
+ ]
+ },
+ {
+ "id": "9c797c4b.fc3f8",
+ "type": "execute",
+ "name": "Start",
+ "xml": "<execute plugin='org.onap.appc.adapter.iaas.ProviderAdapter' method='startServer'>\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`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 496,
+ "y": 406,
+ "z": "3b333f3b.e62d",
+ "wires": [
+ [
+ "8ec37e81.db48b",
+ "6a2f0d5b.f084e4"
+ ]
+ ]
+ },
+ {
+ "id": "6a2f0d5b.f084e4",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 675.9735107421875,
+ "y": 407.2143859863281,
+ "z": "3b333f3b.e62d",
+ "wires": [
+ [
+ "51fd4bef.090064"
+ ]
+ ]
+ },
+ {
+ "id": "8ec37e81.db48b",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 670.6187744140625,
+ "y": 633.14306640625,
+ "z": "3b333f3b.e62d",
+ "wires": [
+ [
+ "8ccb55ea.a7c328"
+ ]
+ ]
+ },
+ {
+ "id": "51fd4bef.090064",
+ "type": "switchNode",
+ "name": "STATUS",
+ "xml": "<switch test='`$START_STATUS`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 823,
+ "y": 407.0000305175781,
+ "z": "3b333f3b.e62d",
+ "wires": [
+ [
+ "8e71a1ab.2673b",
+ "9153a9b0.79c868"
+ ]
+ ]
+ },
+ {
+ "id": "8e71a1ab.2673b",
+ "type": "other",
+ "name": "SUCCESS",
+ "xml": "<outcome value='SUCCESS'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 997.7144775390625,
+ "y": 405.4286193847656,
+ "z": "3b333f3b.e62d",
+ "wires": [
+ [
+ "218c4c31.746404"
+ ]
+ ]
+ },
+ {
+ "id": "9153a9b0.79c868",
+ "type": "other",
+ "name": "ERROR",
+ "xml": "<outcome value='ERROR'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 998.28564453125,
+ "y": 474.71435546875,
+ "z": "3b333f3b.e62d",
+ "wires": [
+ [
+ "d6c921e6.f062f"
+ ]
+ ]
+ },
+ {
+ "id": "91055b26.4540f8",
+ "type": "returnSuccess",
+ "name": "return success",
+ "xml": "<return status='success'>",
+ "comments": "",
+ "x": 1355.6666259765625,
+ "y": 452,
+ "z": "3b333f3b.e62d",
+ "wires": []
+ },
+ {
+ "id": "be1d8c86.5510c",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n",
+ "comments": "",
+ "x": 1364.8734130859375,
+ "y": 680.4286499023438,
+ "z": "3b333f3b.e62d",
+ "wires": []
+ },
+ {
+ "id": "55a5d83c.b56328",
+ "type": "set",
+ "name": "set success code and message",
+ "xml": "<set>\n<parameter name='error-code' value='400' />\n<parameter name='error-message' value='Success' />\n",
+ "comments": "",
+ "x": 1404,
+ "y": 408,
+ "z": "3b333f3b.e62d",
+ "wires": []
+ },
+ {
+ "id": "11e66810.229818",
+ "type": "set",
+ "name": "set error code and message",
+ "xml": "<set>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value='Start VM failed' />\n",
+ "comments": "",
+ "x": 1117,
+ "y": 602,
+ "z": "3b333f3b.e62d",
+ "wires": []
+ },
+ {
+ "id": "18420693.2d9f89",
+ "type": "set",
+ "name": "set error code and message",
+ "xml": "<set>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value='Start VM status is error' />\n",
+ "comments": "",
+ "x": 1398,
+ "y": 507,
+ "z": "3b333f3b.e62d",
+ "wires": []
+ },
+ {
+ "id": "218c4c31.746404",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1161,
+ "y": 407,
+ "z": "3b333f3b.e62d",
+ "wires": [
+ [
+ "55a5d83c.b56328",
+ "91055b26.4540f8"
+ ]
+ ]
+ },
+ {
+ "id": "d6c921e6.f062f",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1154,
+ "y": 475,
+ "z": "3b333f3b.e62d",
+ "wires": [
+ [
+ "18420693.2d9f89",
+ "be1d8c86.5510c"
+ ]
+ ]
+ },
+ {
+ "id": "8ccb55ea.a7c328",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 873,
+ "y": 639,
+ "z": "3b333f3b.e62d",
+ "wires": [
+ [
+ "11e66810.229818",
+ "be1d8c86.5510c"
+ ]
+ ]
+ }
+] \ No newline at end of file
diff --git a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_VM_Stop.json b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_VM_Stop.json
index fd93d00a0..0ea358a0d 100644
--- a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_VM_Stop.json
+++ b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_VM_Stop.json
@@ -1,257 +1,257 @@
-[
- {
- "id": "a36507bd.9411a8",
- "name": "DGSTART",
- "outputs": 1,
- "type": "dgstart",
- "wires": [
- [
- "c156b4fa.66d0a8"
- ]
- ],
- "x": 129,
- "y": 66,
- "z": "602aa70d.a192e8"
- },
- {
- "comments": "",
- "id": "c156b4fa.66d0a8",
- "module": "APPC",
- "name": "APPC 2.0.0",
- "outputs": 1,
- "type": "service-logic",
- "version": "2.0.0",
- "wires": [
- [
- "6c3d7cf.b631784"
- ]
- ],
- "x": 306.0000915527344,
- "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='2.0.0'>",
- "y": 65.5666732788086,
- "z": "602aa70d.a192e8"
- },
- {
- "comments": "",
- "id": "6c3d7cf.b631784",
- "name": "VM_Stop",
- "outputs": 1,
- "type": "method",
- "wires": [
- [
- "8896d091.49bc2"
- ]
- ],
- "x": 248.46435165405273,
- "xml": "<method rpc='VM_Stop' mode='sync'>\n",
- "y": 157.3880786895752,
- "z": "602aa70d.a192e8"
- },
- {
- "comments": "",
- "id": "8896d091.49bc2",
- "name": "Stop",
- "outputs": 1,
- "type": "execute",
- "wires": [
- [
- "985b942b.ec64e8",
- "34939973.cf1fd6"
- ]
- ],
- "x": 409,
- "xml": "<execute plugin='org.onap.appc.adapter.iaas.ProviderAdapter' method='stopServer'>\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",
- "y": 158.50000762939453,
- "z": "602aa70d.a192e8"
- },
- {
- "comments": "",
- "id": "34939973.cf1fd6",
- "name": "success",
- "outputs": 1,
- "type": "success",
- "wires": [
- [
- "f35d3b53.86e768"
- ]
- ],
- "x": 582.1170654296875,
- "xml": "<outcome value='success'>\n",
- "y": 159.4286117553711,
- "z": "602aa70d.a192e8"
- },
- {
- "comments": "",
- "id": "f35d3b53.86e768",
- "name": "switch STATUS",
- "outputs": 1,
- "type": "switchNode",
- "wires": [
- [
- "885dbd51.87507",
- "10f2aa34.ea80d6"
- ]
- ],
- "x": 764.9102783203125,
- "xml": "<switch test='`$STOP_STATUS`'>\n",
- "y": 158.98406219482422,
- "z": "602aa70d.a192e8"
- },
- {
- "comments": "",
- "id": "985b942b.ec64e8",
- "name": "failure",
- "outputs": 1,
- "type": "failure",
- "wires": [
- [
- "28dfcdd7.ba3e32"
- ]
- ],
- "x": 589.9047241210938,
- "xml": "<outcome value='failure'>\n",
- "y": 342.07161712646484,
- "z": "602aa70d.a192e8"
- },
- {
- "comments": "",
- "id": "9d1c57f6.77ce08",
- "name": "return failure",
- "type": "returnFailure",
- "wires": [],
- "x": 1315,
- "xml": "<return status='failure'>\n",
- "y": 408.7500228881836,
- "z": "602aa70d.a192e8"
- },
- {
- "comments": "",
- "id": "885dbd51.87507",
- "name": "SUCCESS",
- "outputs": 1,
- "type": "success",
- "wires": [
- [
- "8b1c6f1d.bf4c"
- ]
- ],
- "x": 958.5,
- "xml": "<outcome value='SUCCESS'>\n",
- "y": 133.5,
- "z": "602aa70d.a192e8"
- },
- {
- "comments": "",
- "id": "10f2aa34.ea80d6",
- "name": "ERROR",
- "outputs": 1,
- "type": "other",
- "wires": [
- [
- "149167fb.227158"
- ]
- ],
- "x": 947.5713500976562,
- "xml": "<outcome value='ERROR'>\n",
- "y": 205.0000457763672,
- "z": "602aa70d.a192e8"
- },
- {
- "comments": "",
- "id": "ec5b4ab9.b62488",
- "name": "set success code and message",
- "type": "set",
- "wires": [],
- "x": 1361,
- "xml": "<set>\n<parameter name='error-code' value='400' />\n<parameter name='error-message' value='Success' />\n",
- "y": 109.5666732788086,
- "z": "602aa70d.a192e8"
- },
- {
- "comments": "",
- "id": "fdfee58d.d86908",
- "name": "return success",
- "type": "returnSuccess",
- "wires": [],
- "x": 1316,
- "xml": "<return status='success'>\n",
- "y": 173.56666564941406,
- "z": "602aa70d.a192e8"
- },
- {
- "atomic": "true",
- "comments": "",
- "id": "149167fb.227158",
- "name": "block : atomic",
- "outputs": 1,
- "type": "block",
- "wires": [
- [
- "32f7f639.b0517a",
- "9d1c57f6.77ce08"
- ]
- ],
- "x": 1119,
- "xml": "<block atomic='true'>",
- "y": 214.56666564941406,
- "z": "602aa70d.a192e8"
- },
- {
- "atomic": "true",
- "comments": "",
- "id": "28dfcdd7.ba3e32",
- "name": "block : atomic",
- "outputs": 1,
- "type": "block",
- "wires": [
- [
- "dcf150a2.8fa62",
- "9d1c57f6.77ce08"
- ]
- ],
- "x": 765,
- "xml": "<block atomic='true'>",
- "y": 341.5666732788086,
- "z": "602aa70d.a192e8"
- },
- {
- "comments": "",
- "id": "32f7f639.b0517a",
- "name": "set error code and message",
- "type": "set",
- "wires": [],
- "x": 1345,
- "xml": "<set>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value='Stop VM status is error' />\n",
- "y": 241.5666732788086,
- "z": "602aa70d.a192e8"
- },
- {
- "comments": "",
- "id": "dcf150a2.8fa62",
- "name": "set error code and message",
- "type": "set",
- "wires": [],
- "x": 1056,
- "xml": "<set>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value='Stop VM failed' />\n",
- "y": 309.5666732788086,
- "z": "602aa70d.a192e8"
- },
- {
- "atomic": "false",
- "comments": "",
- "id": "8b1c6f1d.bf4c",
- "name": "block : atomic",
- "outputs": 1,
- "type": "block",
- "wires": [
- [
- "ec5b4ab9.b62488",
- "fdfee58d.d86908"
- ]
- ],
- "x": 1120,
- "xml": "<block atomic='true'>\n",
- "y": 142,
- "z": "602aa70d.a192e8"
- }
-]
+[
+ {
+ "id": "a36507bd.9411a8",
+ "type": "dgstart",
+ "name": "DGSTART",
+ "outputs": 1,
+ "x": 129,
+ "y": 66,
+ "z": "602aa70d.a192e8",
+ "wires": [
+ [
+ "c156b4fa.66d0a8"
+ ]
+ ]
+ },
+ {
+ "id": "c156b4fa.66d0a8",
+ "type": "service-logic",
+ "name": "APPC 2.0.0",
+ "module": "APPC",
+ "version": "2.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' version='2.0.0'>",
+ "outputs": 1,
+ "x": 306.0000915527344,
+ "y": 65.5666732788086,
+ "z": "602aa70d.a192e8",
+ "wires": [
+ [
+ "6c3d7cf.b631784"
+ ]
+ ]
+ },
+ {
+ "id": "6c3d7cf.b631784",
+ "type": "method",
+ "name": "VM_Stop",
+ "xml": "<method rpc='VM_Stop' mode='sync'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 248.46435165405273,
+ "y": 157.3880786895752,
+ "z": "602aa70d.a192e8",
+ "wires": [
+ [
+ "8896d091.49bc2"
+ ]
+ ]
+ },
+ {
+ "id": "8896d091.49bc2",
+ "type": "execute",
+ "name": "Stop",
+ "xml": "<execute plugin='org.onap.appc.adapter.iaas.ProviderAdapter' method='stopServer'>\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",
+ "comments": "",
+ "outputs": 1,
+ "x": 409,
+ "y": 158.50000762939453,
+ "z": "602aa70d.a192e8",
+ "wires": [
+ [
+ "985b942b.ec64e8",
+ "34939973.cf1fd6"
+ ]
+ ]
+ },
+ {
+ "id": "34939973.cf1fd6",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 582.1170654296875,
+ "y": 159.4286117553711,
+ "z": "602aa70d.a192e8",
+ "wires": [
+ [
+ "f35d3b53.86e768"
+ ]
+ ]
+ },
+ {
+ "id": "f35d3b53.86e768",
+ "type": "switchNode",
+ "name": "switch STATUS",
+ "xml": "<switch test='`$STOP_STATUS`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 764.9102783203125,
+ "y": 158.98406219482422,
+ "z": "602aa70d.a192e8",
+ "wires": [
+ [
+ "885dbd51.87507",
+ "10f2aa34.ea80d6"
+ ]
+ ]
+ },
+ {
+ "id": "985b942b.ec64e8",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 589.9047241210938,
+ "y": 342.07161712646484,
+ "z": "602aa70d.a192e8",
+ "wires": [
+ [
+ "28dfcdd7.ba3e32"
+ ]
+ ]
+ },
+ {
+ "id": "9d1c57f6.77ce08",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n",
+ "comments": "",
+ "x": 1315,
+ "y": 408.7500228881836,
+ "z": "602aa70d.a192e8",
+ "wires": []
+ },
+ {
+ "id": "885dbd51.87507",
+ "type": "success",
+ "name": "SUCCESS",
+ "xml": "<outcome value='SUCCESS'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 958.5,
+ "y": 133.5,
+ "z": "602aa70d.a192e8",
+ "wires": [
+ [
+ "8b1c6f1d.bf4c"
+ ]
+ ]
+ },
+ {
+ "id": "10f2aa34.ea80d6",
+ "type": "other",
+ "name": "ERROR",
+ "xml": "<outcome value='ERROR'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 947.5713500976562,
+ "y": 205.0000457763672,
+ "z": "602aa70d.a192e8",
+ "wires": [
+ [
+ "149167fb.227158"
+ ]
+ ]
+ },
+ {
+ "id": "ec5b4ab9.b62488",
+ "type": "set",
+ "name": "set success code and message",
+ "xml": "<set>\n<parameter name='error-code' value='400' />\n<parameter name='error-message' value='Success' />\n",
+ "comments": "",
+ "x": 1361,
+ "y": 109.5666732788086,
+ "z": "602aa70d.a192e8",
+ "wires": []
+ },
+ {
+ "id": "fdfee58d.d86908",
+ "type": "returnSuccess",
+ "name": "return success",
+ "xml": "<return status='success'>\n",
+ "comments": "",
+ "x": 1316,
+ "y": 173.56666564941406,
+ "z": "602aa70d.a192e8",
+ "wires": []
+ },
+ {
+ "id": "149167fb.227158",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1119,
+ "y": 214.56666564941406,
+ "z": "602aa70d.a192e8",
+ "wires": [
+ [
+ "32f7f639.b0517a",
+ "9d1c57f6.77ce08"
+ ]
+ ]
+ },
+ {
+ "id": "28dfcdd7.ba3e32",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 765,
+ "y": 341.5666732788086,
+ "z": "602aa70d.a192e8",
+ "wires": [
+ [
+ "dcf150a2.8fa62",
+ "9d1c57f6.77ce08"
+ ]
+ ]
+ },
+ {
+ "id": "32f7f639.b0517a",
+ "type": "set",
+ "name": "set error code and message",
+ "xml": "<set>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value='Stop VM status is error' />\n",
+ "comments": "",
+ "x": 1345,
+ "y": 241.5666732788086,
+ "z": "602aa70d.a192e8",
+ "wires": []
+ },
+ {
+ "id": "dcf150a2.8fa62",
+ "type": "set",
+ "name": "set error code and message",
+ "xml": "<set>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value='Stop VM failed' />\n",
+ "comments": "",
+ "x": 1056,
+ "y": 309.5666732788086,
+ "z": "602aa70d.a192e8",
+ "wires": []
+ },
+ {
+ "id": "8b1c6f1d.bf4c",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1120,
+ "y": 142,
+ "z": "602aa70d.a192e8",
+ "wires": [
+ [
+ "ec5b4ab9.b62488",
+ "fdfee58d.d86908"
+ ]
+ ]
+ }
+]
diff --git a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_ansible-adapter-1.0.json b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_ansible-adapter-1.0.json
index 5f3e718a8..4e26c448a 100644
--- a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_ansible-adapter-1.0.json
+++ b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_ansible-adapter-1.0.json
@@ -1 +1,236 @@
-[{"id":"d048ba2a.84e2f8","type":"method","name":"ansible-adapter-1.0","xml":"<method rpc='ansible-adapter-1.0' mode='sync'>\n","comments":"","outputs":1,"x":477.6999816894531,"y":230.8833348751068,"z":"7d7da29a.2b7398","wires":[["13d8bcd3.33755f"]]},{"id":"750a91a2.96947","type":"service-logic","name":"APPC 2.0.1","module":"APPC","version":"2.0.1","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' version='2.0.1'>","outputs":1,"x":268.6999816894531,"y":308.8833348751068,"z":"7d7da29a.2b7398","wires":[["d048ba2a.84e2f8"]]},{"id":"53079a4f.559f84","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n<parameter name='error-code' value='200' />\n<parameter name='error-message' value='`$org.onap.appc.adapter.ansible.message`' />\n<parameter name='output.status.results' value='`$org.onap.appc.adapter.ansible.results`' />\n","comments":"","x":1218.6999816894531,"y":669.8833348751068,"z":"7d7da29a.2b7398","wires":[]},{"id":"13d8bcd3.33755f","type":"execute","name":"execute","xml":"<execute plugin='org.onap.appc.adapter.ansible.AnsibleAdapter' method='reqExec' >\n<parameter name='AgentUrl' value='`$AgentUrl`'/>\n <parameter name='User' value='`$User`'/>\n <parameter name='Password' value='`$Password`'/>\n <parameter name='LocalParameters' value='`$LocalParameters`'/>\n <parameter name='EnvParameters' value='`$EnvParameters`'/>\n <parameter name='NodeList' value='`$NodeList`'/>\n <parameter name='Timeout' value='`$Timeout`'/>\n <parameter name='Version' value='`$Version`'/>\n <parameter name='PlaybookName' value='`$PlaybookName`'/>\n","comments":"","outputs":1,"x":682.6999816894531,"y":228.8833348751068,"z":"7d7da29a.2b7398","wires":[["237110e5.33ae38","fe1ba4a5.cd6b68"]]},{"id":"30b13fff.531b44","type":"switchNode","name":"switch","xml":"<switch test=\"`$org.onap.appc.adapter.ansible.result.code`\">\n","comments":"","outputs":1,"x":472.6999816894531,"y":389.8833348751068,"z":"7d7da29a.2b7398","wires":[["f58c4f93.2bcb6","66fbd51d.685a14","c8a28d7.c69dd3"]]},{"id":"f58c4f93.2bcb6","type":"other","name":"outcome","xml":"<outcome value='500'>\n","comments":"","outputs":1,"x":659.6999816894531,"y":389.8833348751068,"z":"7d7da29a.2b7398","wires":[["53079a4f.559f84"]]},{"id":"66fbd51d.685a14","type":"other","name":"outcome","xml":"<outcome value='100'>\n","comments":"","outputs":1,"x":296.6999816894531,"y":477.8833348751068,"z":"7d7da29a.2b7398","wires":[["daab3eeb.acc3e8"]]},{"id":"daab3eeb.acc3e8","type":"execute","name":"execute","xml":"<execute plugin='org.onap.appc.adapter.ansible.AnsibleAdapter' method='reqExecResult' >\n <parameter name='message' value='`$org.onap.appc.adapter.ansible.message`'/>\n <parameter name='code' value='$org.onap.appc.adapter.ansible.result.code`'/>\n <parameter name='AgentUrl' value='`$AgentUrl`'/>\n <parameter name='User' value='`$User`'/>\n <parameter name='Password' value='`$Password`'/>\n <parameter name='Id' value='`$org.onap.appc.adapter.ansible.Id`'/>\n","comments":"","outputs":1,"x":474.6999816894531,"y":476.8833348751068,"z":"7d7da29a.2b7398","wires":[["415101d2.f995cc","98312eaf.163de8"]]},{"id":"237110e5.33ae38","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":936.6999816894531,"y":229.8833348751068,"z":"7d7da29a.2b7398","wires":[["53079a4f.559f84"]]},{"id":"fe1ba4a5.cd6b68","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":295.6999816894531,"y":390.8833348751068,"z":"7d7da29a.2b7398","wires":[["30b13fff.531b44"]]},{"id":"415101d2.f995cc","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":664.6999816894531,"y":477.8833348751068,"z":"7d7da29a.2b7398","wires":[["53079a4f.559f84"]]},{"id":"c8a28d7.c69dd3","type":"other","name":"outcome","xml":"<outcome value='101'>\n","comments":"","outputs":1,"x":283.6999816894531,"y":670.8833348751068,"z":"7d7da29a.2b7398","wires":[["53079a4f.559f84"]]},{"id":"98312eaf.163de8","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":662.6999816894531,"y":546.8833348751068,"z":"7d7da29a.2b7398","wires":[["2c831d15.81b10a"]]},{"id":"2c831d15.81b10a","type":"returnSuccess","name":"return success","xml":"<return status='success'>\n<parameter name='output.status.code' value='`$org.onap.appc.adapter.ansible.result.code`' />\n<parameter name='output.status.message' value='`$org.onap.appc.adapter.ansible.message`'/>\n<parameter name='output.status.results' value = '`$org.onap.appc.adapter.ansible.results`'/>\n","comments":"","x":814.6999816894531,"y":621.8833348751068,"z":"7d7da29a.2b7398","wires":[]},{"id":"f6dd55b0.6ce568","type":"dgstart","name":"DGSTART","outputs":1,"x":246.69998168945312,"y":208.8833348751068,"z":"7d7da29a.2b7398","wires":[["750a91a2.96947"]]}]
+[
+ {
+ "id": "d048ba2a.84e2f8",
+ "type": "method",
+ "name": "ansible-adapter-1.0",
+ "xml": "<method rpc='ansible-adapter-1.0' mode='sync'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 477.6999816894531,
+ "y": 230.8833348751068,
+ "z": "7d7da29a.2b7398",
+ "wires": [
+ [
+ "13d8bcd3.33755f"
+ ]
+ ]
+ },
+ {
+ "id": "750a91a2.96947",
+ "type": "service-logic",
+ "name": "APPC 2.0.1",
+ "module": "APPC",
+ "version": "2.0.1",
+ "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' version='2.0.1'>",
+ "outputs": 1,
+ "x": 268.6999816894531,
+ "y": 308.8833348751068,
+ "z": "7d7da29a.2b7398",
+ "wires": [
+ [
+ "d048ba2a.84e2f8"
+ ]
+ ]
+ },
+ {
+ "id": "53079a4f.559f84",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='200' />\n<parameter name='error-message' value='`$org.onap.appc.adapter.ansible.message`' />\n<parameter name='output.status.results' value='`$org.onap.appc.adapter.ansible.results`' />\n",
+ "comments": "",
+ "x": 1218.6999816894531,
+ "y": 669.8833348751068,
+ "z": "7d7da29a.2b7398",
+ "wires": []
+ },
+ {
+ "id": "13d8bcd3.33755f",
+ "type": "execute",
+ "name": "execute",
+ "xml": "<execute plugin='org.onap.appc.adapter.ansible.AnsibleAdapter' method='reqExec' >\n<parameter name='AgentUrl' value='`$AgentUrl`'/>\n <parameter name='User' value='`$User`'/>\n <parameter name='Password' value='`$Password`'/>\n <parameter name='LocalParameters' value='`$LocalParameters`'/>\n <parameter name='EnvParameters' value='`$EnvParameters`'/>\n <parameter name='NodeList' value='`$NodeList`'/>\n <parameter name='Timeout' value='`$Timeout`'/>\n <parameter name='Version' value='`$Version`'/>\n <parameter name='PlaybookName' value='`$PlaybookName`'/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 682.6999816894531,
+ "y": 228.8833348751068,
+ "z": "7d7da29a.2b7398",
+ "wires": [
+ [
+ "237110e5.33ae38",
+ "fe1ba4a5.cd6b68"
+ ]
+ ]
+ },
+ {
+ "id": "30b13fff.531b44",
+ "type": "switchNode",
+ "name": "switch",
+ "xml": "<switch test=\"`$org.onap.appc.adapter.ansible.result.code`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 472.6999816894531,
+ "y": 389.8833348751068,
+ "z": "7d7da29a.2b7398",
+ "wires": [
+ [
+ "f58c4f93.2bcb6",
+ "66fbd51d.685a14",
+ "c8a28d7.c69dd3"
+ ]
+ ]
+ },
+ {
+ "id": "f58c4f93.2bcb6",
+ "type": "other",
+ "name": "outcome",
+ "xml": "<outcome value='500'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 659.6999816894531,
+ "y": 389.8833348751068,
+ "z": "7d7da29a.2b7398",
+ "wires": [
+ [
+ "53079a4f.559f84"
+ ]
+ ]
+ },
+ {
+ "id": "66fbd51d.685a14",
+ "type": "other",
+ "name": "outcome",
+ "xml": "<outcome value='100'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 296.6999816894531,
+ "y": 477.8833348751068,
+ "z": "7d7da29a.2b7398",
+ "wires": [
+ [
+ "daab3eeb.acc3e8"
+ ]
+ ]
+ },
+ {
+ "id": "daab3eeb.acc3e8",
+ "type": "execute",
+ "name": "execute",
+ "xml": "<execute plugin='org.onap.appc.adapter.ansible.AnsibleAdapter' method='reqExecResult' >\n <parameter name='message' value='`$org.onap.appc.adapter.ansible.message`'/>\n <parameter name='code' value='$org.onap.appc.adapter.ansible.result.code`'/>\n <parameter name='AgentUrl' value='`$AgentUrl`'/>\n <parameter name='User' value='`$User`'/>\n <parameter name='Password' value='`$Password`'/>\n <parameter name='Id' value='`$org.onap.appc.adapter.ansible.Id`'/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 474.6999816894531,
+ "y": 476.8833348751068,
+ "z": "7d7da29a.2b7398",
+ "wires": [
+ [
+ "415101d2.f995cc",
+ "98312eaf.163de8"
+ ]
+ ]
+ },
+ {
+ "id": "237110e5.33ae38",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 936.6999816894531,
+ "y": 229.8833348751068,
+ "z": "7d7da29a.2b7398",
+ "wires": [
+ [
+ "53079a4f.559f84"
+ ]
+ ]
+ },
+ {
+ "id": "fe1ba4a5.cd6b68",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 295.6999816894531,
+ "y": 390.8833348751068,
+ "z": "7d7da29a.2b7398",
+ "wires": [
+ [
+ "30b13fff.531b44"
+ ]
+ ]
+ },
+ {
+ "id": "415101d2.f995cc",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 664.6999816894531,
+ "y": 477.8833348751068,
+ "z": "7d7da29a.2b7398",
+ "wires": [
+ [
+ "53079a4f.559f84"
+ ]
+ ]
+ },
+ {
+ "id": "c8a28d7.c69dd3",
+ "type": "other",
+ "name": "outcome",
+ "xml": "<outcome value='101'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 283.6999816894531,
+ "y": 670.8833348751068,
+ "z": "7d7da29a.2b7398",
+ "wires": [
+ [
+ "53079a4f.559f84"
+ ]
+ ]
+ },
+ {
+ "id": "98312eaf.163de8",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 662.6999816894531,
+ "y": 546.8833348751068,
+ "z": "7d7da29a.2b7398",
+ "wires": [
+ [
+ "2c831d15.81b10a"
+ ]
+ ]
+ },
+ {
+ "id": "2c831d15.81b10a",
+ "type": "returnSuccess",
+ "name": "return success",
+ "xml": "<return status='success'>\n<parameter name='output.status.code' value='`$org.onap.appc.adapter.ansible.result.code`' />\n<parameter name='output.status.message' value='`$org.onap.appc.adapter.ansible.message`'/>\n<parameter name='output.status.results' value = '`$org.onap.appc.adapter.ansible.results`'/>\n",
+ "comments": "",
+ "x": 814.6999816894531,
+ "y": 621.8833348751068,
+ "z": "7d7da29a.2b7398",
+ "wires": []
+ },
+ {
+ "id": "f6dd55b0.6ce568",
+ "type": "dgstart",
+ "name": "DGSTART",
+ "outputs": 1,
+ "x": 246.69998168945312,
+ "y": 208.8833348751068,
+ "z": "7d7da29a.2b7398",
+ "wires": [
+ [
+ "750a91a2.96947"
+ ]
+ ]
+ }
+]
diff --git a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_chef.json b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_chef.json
index 90ad59d5b..3540df95d 100644
--- a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_chef.json
+++ b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_chef.json
@@ -1 +1,1077 @@
-[{"id":"140af023.c01a74","type":"set","name":"chef server set","xml":"<set>\n<parameter name='chef-server-address' value='`$chef-server-address`' />\n<parameter name='chef-username' value='`$chef-username`' />\n<parameter name='chef-organization' value='`$chef-organization`'/>\n","comments":"","x":365.45452880859375,"y":189.45455932617187,"z":"d01d9ed1.ef0e3","wires":[]},{"id":"2b2e3f8.1e4be4","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":180,"y":435.99999237060547,"z":"d01d9ed1.ef0e3","wires":[["435fc781.218d3","4721f95d.96aacc"]]},{"id":"435fc781.218d3","type":"execute","name":"Environment","xml":"<execute plugin='org.onap.appc.adapter.chef.ChefAdapter' method='VnfcEnvironment' >\n<parameter name='organizations' value='`$chef-organization`'/> \n<parameter name='serverAddress' value='`$chef-server-address`'/> \n<parameter name='username' value='`$chef-username`'/> \n<parameter name='Environment' value='`$Environment`'/>","comments":"","outputs":1,"x":371.3636474609375,"y":361.27272033691406,"z":"d01d9ed1.ef0e3","wires":[[]]},{"id":"5557f4f3.12a834","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":778.3636322021484,"y":359.7272529602051,"z":"d01d9ed1.ef0e3","wires":[["bfed75ec.2b8ab8","7b9b653d.d895bc"]]},{"id":"bfed75ec.2b8ab8","type":"execute","name":"VnfcNodeobjects","xml":"<execute plugin='org.onap.appc.adapter.chef.ChefAdapter' method='VnfcNodeobjects' >\n<parameter name='organizations' value='`$chef-organization`'/> \n<parameter name='serverAddress' value='`$chef-server-address`'/> \n<parameter name='username' value='`$chef-username`'/> \n<parameter name='NodeList' value='`$NodeList`'/>\n<parameter name='Node' value='`$Node`'/>","comments":"","outputs":1,"x":1011.54541015625,"y":317.99999618530273,"z":"d01d9ed1.ef0e3","wires":[[]]},{"id":"7b9b653d.d895bc","type":"switchNode","name":"switch","xml":"<switch test='`$chefServerResult.code`'>","comments":"","outputs":1,"x":1024.54541015625,"y":421.99999618530273,"z":"d01d9ed1.ef0e3","wires":[["bba9eac6.8963","5201322b.f4fb04"]]},{"id":"5201322b.f4fb04","type":"other","name":"outcome","xml":"<outcome value='200'>\n","comments":"","outputs":1,"x":1212.54541015625,"y":404.99999237060547,"z":"d01d9ed1.ef0e3","wires":[["f4945dcf.a990c"]]},{"id":"bba9eac6.8963","type":"other","name":"outcome","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":1122.54541015625,"y":537.9999961853027,"z":"d01d9ed1.ef0e3","wires":[["55c99e5b.134484"]]},{"id":"e39566b4.a3d428","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1642.636474609375,"y":150.09090423583984,"z":"d01d9ed1.ef0e3","wires":[["869b2999.23ad9","de7cd48.8c432a8"]]},{"id":"89f57d06.98e65","type":"execute","name":"checkPushJob","xml":"<execute plugin='org.onap.appc.adapter.chef.ChefAdapter' method='checkPushJob' >\n\t<parameter name='organizations' value='`$chef-organization`'/> \n\t<parameter name='serverAddress' value='`$chef-server-address`'/> \n\t<parameter name='username' value='`$chef-username`'/> \n\t<parameter name='jobid' value='`$jobID`'/>\n\t<parameter name='retryTimes' value='`$retryTimes`'/>\n\t<parameter name='retryInterval' value='`$retryInterval`'/>","comments":"","outputs":1,"x":2304.908920288086,"y":680.9999189376831,"z":"d01d9ed1.ef0e3","wires":[[]]},{"id":"7e919e85.903df","type":"other","name":"outcome","xml":"<outcome value='201'>\n","comments":"","outputs":1,"x":1839.5453491210937,"y":532.1817626953125,"z":"d01d9ed1.ef0e3","wires":[["c405481b.6960d8"]]},{"id":"bc2f0cc3.e72f4","type":"other","name":"outcome","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":1842.6362609863281,"y":377.9090385437012,"z":"d01d9ed1.ef0e3","wires":[["e59aab7c.9268a8"]]},{"id":"de7cd48.8c432a8","type":"switchNode","name":"switch","xml":"<switch test='`$chefServerResult.code`'>\n","comments":"","outputs":1,"x":1681.8181495666504,"y":437.54541778564453,"z":"d01d9ed1.ef0e3","wires":[["7e919e85.903df","bc2f0cc3.e72f4"]]},{"id":"869b2999.23ad9","type":"execute","name":"pushJob","xml":"<execute plugin='org.onap.appc.adapter.chef.ChefAdapter' method='VnfcPushJob'>\n\t<parameter name='organizations' value='`$chef-organization`'/> \n\t<parameter name='serverAddress' value='`$chef-server-address`'/> \n\t<parameter name='username' value='`$chef-username`'/> \n\t<parameter name='NodeList' value='`$NodeList`'/>\n\t<parameter name='CallbackCapable' value='`$CallbackCapable`'/>\n\t<parameter name='RequestId' value='`$RequestId`'/>\n\t<parameter name='CallbackUrl' value='`$CallbackUrl`'/>","comments":"","outputs":1,"x":1823.727294921875,"y":132.63634490966797,"z":"d01d9ed1.ef0e3","wires":[[]]},{"id":"a34166a1.34cb58","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":524,"y":539.9999923706055,"z":"d01d9ed1.ef0e3","wires":[["e58c4075.ed393"]]},{"id":"2e7b281e.16947","type":"other","name":"outcome","xml":"<outcome value='200'>\n","comments":"","outputs":1,"x":539,"y":390.99999237060547,"z":"d01d9ed1.ef0e3","wires":[["5557f4f3.12a834"]]},{"id":"4721f95d.96aacc","type":"switchNode","name":"switch","xml":"<switch test='`$chefServerResult.code`'>","comments":"","outputs":1,"x":341.81817626953125,"y":585.5454635620117,"z":"d01d9ed1.ef0e3","wires":[["a34166a1.34cb58","2e7b281e.16947","c922487b.69f3f8"]]},{"id":"55c99e5b.134484","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n<parameter name='error-code' value='200' />\n<parameter name='error-message' value='`$chefServerResult.message`' />\n","comments":"","x":1296.54541015625,"y":543.9999961853027,"z":"d01d9ed1.ef0e3","wires":[]},{"id":"e58c4075.ed393","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n<parameter name='error-code' value='200' />\n<parameter name='error-message' value='`$chefServerResult.message`' />\n","comments":"","x":748,"y":548.9999923706055,"z":"d01d9ed1.ef0e3","wires":[]},{"id":"c922487b.69f3f8","type":"other","name":"outcome","xml":"<outcome value='201'>\n","comments":"","outputs":1,"x":539.9090576171875,"y":460.27269744873047,"z":"d01d9ed1.ef0e3","wires":[["5557f4f3.12a834"]]},{"id":"c891e16f.0bcab","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":55,"y":288.99999237060547,"z":"d01d9ed1.ef0e3","wires":[["140af023.c01a74","2b2e3f8.1e4be4","2e05211e.aedffa"]]},{"id":"e59aab7c.9268a8","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n<parameter name='error-code' value='200' />\n<parameter name='error-message' value='`$chefServerResult.message`' />\n","comments":"","x":2045,"y":376.99999237060547,"z":"d01d9ed1.ef0e3","wires":[]},{"id":"c405481b.6960d8","type":"switchNode","name":"switch","xml":"<switch test='`$CallbackCapable`'>\n","comments":"","outputs":1,"x":1915,"y":638.9999923706055,"z":"d01d9ed1.ef0e3","wires":[["ed08562b.daacc8","b2d207f7.541de8"]]},{"id":"b2d207f7.541de8","type":"other","name":"outcome","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":2076,"y":691.9999923706055,"z":"d01d9ed1.ef0e3","wires":[["31229535.42d75e"]]},{"id":"ed08562b.daacc8","type":"outcomeTrue","name":"outcome","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":2079.0909118652344,"y":537.7272682189941,"z":"d01d9ed1.ef0e3","wires":[["32d473d9.6462a4"]]},{"id":"32d473d9.6462a4","type":"returnSuccess","name":"return success","xml":"<return status='success'>\n<parameter name='output.status.code' value='400' />\n<parameter name='output.status.message' value='chef success, waiting for callback' />","comments":"","x":2262,"y":538.9999923706055,"z":"d01d9ed1.ef0e3","wires":[]},{"id":"9ca9daea.6acd88","type":"other","name":"outcome","xml":"<outcome value='200'>\n","comments":"","outputs":1,"x":2413,"y":935.9999923706055,"z":"d01d9ed1.ef0e3","wires":[["4eef569.fb26f68"]]},{"id":"c6d62c0a.3f9b9","type":"other","name":"outcome","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":2416.0909118652344,"y":781.7272682189941,"z":"d01d9ed1.ef0e3","wires":[["ca8973b0.029ee"]]},{"id":"e96f044b.63d178","type":"switchNode","name":"switch","xml":"<switch test='`$chefServerResult.code`'>\n","comments":"","outputs":1,"x":2255.2728004455566,"y":841.3636474609375,"z":"d01d9ed1.ef0e3","wires":[["9ca9daea.6acd88","c6d62c0a.3f9b9"]]},{"id":"ca8973b0.029ee","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n<parameter name='error-code' value='200' />\n<parameter name='error-message' value='`$chefServerResult.message`' />","comments":"","x":2635.363525390625,"y":732.9999923706055,"z":"d01d9ed1.ef0e3","wires":[]},{"id":"87c5419b.6dab8","type":"execute","name":"fetchResults","xml":"<execute plugin='org.onap.appc.adapter.chef.ChefAdapter' method='fetchResults' >\n\t<parameter name='organizations' value='`$chef-organization`'/> \n\t<parameter name='serverAddress' value='`$chef-server-address`'/> \n\t<parameter name='username' value='`$chef-username`'/> \n\t<parameter name='NodeList' value='`$NodeList`'/>","comments":"","outputs":1,"x":2940.181640625,"y":1173.1818771362304,"z":"d01d9ed1.ef0e3","wires":[[]]},{"id":"31229535.42d75e","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":2078.9999999999995,"y":794.9999923706052,"z":"d01d9ed1.ef0e3","wires":[["89f57d06.98e65","e96f044b.63d178"]]},{"id":"a02c4706.79bfd","type":"switchNode","name":"switch","xml":"<switch test='`$chefServerResult.code`'>\n","comments":"","outputs":1,"x":2927.0000000000004,"y":1316.9999923706057,"z":"d01d9ed1.ef0e3","wires":[["1aaf2aa6.4b2ed5","5442d73e.8a3dbc"]]},{"id":"5442d73e.8a3dbc","type":"other","name":"outcome","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":3200.0909156799316,"y":1434.0000219345095,"z":"d01d9ed1.ef0e3","wires":[["cd3ecae3.6d4fe"]]},{"id":"1aaf2aa6.4b2ed5","type":"other","name":"outcome","xml":"<outcome value='200'>\n","comments":"","outputs":1,"x":3201.181884765625,"y":1281.7272872924807,"z":"d01d9ed1.ef0e3","wires":[["af3c7cd7.ce071"]]},{"id":"af3c7cd7.ce071","type":"returnSuccess","name":"return success","xml":"<return status='success'>\n<parameter name='output.status.code' value='400' />\n<parameter name='output.status.message' value='finish' />\n<parameter name='output.status.results' value='`$chefServerResult.message`' />","comments":"","x":3429.36376953125,"y":1282.4545822143557,"z":"d01d9ed1.ef0e3","wires":[]},{"id":"cd3ecae3.6d4fe","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n<parameter name='error-code' value='200' />\n<parameter name='error-message' value='`$chefServerResult.message`' />\n","comments":"","x":3435.181884765625,"y":1442.727165222168,"z":"d01d9ed1.ef0e3","wires":[]},{"id":"adaf20bf.bee18","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":2777,"y":1236.9999923706054,"z":"d01d9ed1.ef0e3","wires":[["87c5419b.6dab8","a02c4706.79bfd"]]},{"id":"4eef569.fb26f68","type":"switchNode","name":"switch","xml":"<switch test='`$GetOutputFlag`'>\n","comments":"","outputs":1,"x":2581,"y":1014.9999923706055,"z":"d01d9ed1.ef0e3","wires":[["dc3b0064.30c57","549d03c6.e67ec4"]]},{"id":"549d03c6.e67ec4","type":"outcomeTrue","name":"outcome","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":2780.0909156799316,"y":1072.0000219345092,"z":"d01d9ed1.ef0e3","wires":[["adaf20bf.bee18"]]},{"id":"dc3b0064.30c57","type":"other","name":"outcome","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":2783.181827545166,"y":917.727297782898,"z":"d01d9ed1.ef0e3","wires":[["860f1f7c.8abfe"]]},{"id":"860f1f7c.8abfe","type":"returnSuccess","name":"return success","xml":"<return status='success'>\n<parameter name='output.status.code' value='400' />\n<parameter name='output.status.message' value='`$chefServerResult.message`' />","comments":"","x":2967.36376953125,"y":920.4545211791992,"z":"d01d9ed1.ef0e3","wires":[]},{"id":"818dcbdc.5b35d8","type":"dgstart","name":"DGSTART","outputs":1,"x":110,"y":31.99999237060547,"z":"d01d9ed1.ef0e3","wires":[["2bdc7277.2d4bae"]]},{"id":"2a671177.11d28e","type":"method","name":"chef","xml":"<method rpc='chef' mode='sync'>\n","comments":"","outputs":1,"x":88,"y":192.99999237060547,"z":"d01d9ed1.ef0e3","wires":[["c891e16f.0bcab"]]},{"id":"f4945dcf.a990c","type":"switchNode","name":"switch","xml":"<switch test='`$PushJobFlag`'>\n","comments":"","outputs":1,"x":1318,"y":241.99999237060547,"z":"d01d9ed1.ef0e3","wires":[["45a18d9c.fae008","34db35c3.1ebd66"]]},{"id":"34db35c3.1ebd66","type":"other","name":"outcome","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":1438,"y":298.99999237060547,"z":"d01d9ed1.ef0e3","wires":[["638a8115.b9ed04"]]},{"id":"45a18d9c.fae008","type":"outcomeTrue","name":"outcome","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":1441.0909118652343,"y":144.72726821899414,"z":"d01d9ed1.ef0e3","wires":[["e39566b4.a3d428"]]},{"id":"638a8115.b9ed04","type":"returnSuccess","name":"return success","xml":"<return status='success'>\n<parameter name='output.status.code' value='400' />\n<parameter name='output.status.message' value='chef success, do not need push job ' />","comments":"","x":1480,"y":418.99999237060547,"z":"d01d9ed1.ef0e3","wires":[]},{"id":"2bdc7277.2d4bae","type":"service-logic","name":"APPC 3.0.0","module":"APPC","version":"3.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' version='3.0.0'>","outputs":1,"x":108.45452117919922,"y":113.99999237060547,"z":"d01d9ed1.ef0e3","wires":[["2a671177.11d28e"]]},{"id":"2e05211e.aedffa","type":"record","name":"record","xml":"<record plugin=\"org.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=\"`$request-action`\"/>\n<parameter name=\"field3\" value=\"`$input.action`\"/>\n\n","comments":"","outputs":1,"x":298.00000762939453,"y":280.5713939666748,"z":"d01d9ed1.ef0e3","wires":[[]]}]
+[
+ {
+ "id": "268bc833.2bcdc",
+ "type": "set",
+ "name": "chef server set",
+ "xml": "<set>\n<parameter name='chef-server-address' value='`$chef-server-address`' />\n<parameter name='chef-username' value='`$chef-username`' />\n<parameter name='chef-organization' value='`$chef-organization`'/>\n",
+ "comments": "",
+ "x": 365.45452880859375,
+ "y": 236.4545669555664,
+ "z": "32a8c078.80f678",
+ "wires": []
+ },
+ {
+ "id": "4d9e5931.ad8ff8",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 180,
+ "y": 483,
+ "z": "32a8c078.80f678",
+ "wires": [
+ [
+ "1d0bb40c.e8fb94",
+ "f71077c7.09c62"
+ ]
+ ]
+ },
+ {
+ "id": "1d0bb40c.e8fb94",
+ "type": "execute",
+ "name": "Environment",
+ "xml": "<execute plugin='org.onap.appc.adapter.chef.ChefAdapter' method='VnfcEnvironment' >\n<parameter name='organizations' value='`$chef-organization`'/> \n<parameter name='serverAddress' value='`$chef-server-address`'/> \n<parameter name='username' value='`$chef-username`'/> \n<parameter name='Environment' value='`$Environment`'/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 310.3636474609375,
+ "y": 392.2727355957031,
+ "z": "32a8c078.80f678",
+ "wires": [
+ [
+ "ad005deb.efd5d",
+ "61c37e7b.1c8998"
+ ]
+ ]
+ },
+ {
+ "id": "27520470.189854",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 737.3636169433594,
+ "y": 438.727294921875,
+ "z": "32a8c078.80f678",
+ "wires": [
+ [
+ "1758c3a6.d6b804",
+ "265e585e.2c59a"
+ ]
+ ]
+ },
+ {
+ "id": "1758c3a6.d6b804",
+ "type": "execute",
+ "name": "VnfcNodeobjects",
+ "xml": "<execute plugin='org.onap.appc.adapter.chef.ChefAdapter' method='VnfcNodeobjects' >\n<parameter name='organizations' value='`$chef-organization`'/> \n<parameter name='serverAddress' value='`$chef-server-address`'/> \n<parameter name='username' value='`$chef-username`'/> \n<parameter name='NodeList' value='`$NodeList`'/>\n<parameter name='Node' value='`$Node`'/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 860.54541015625,
+ "y": 359,
+ "z": "32a8c078.80f678",
+ "wires": [
+ [
+ "f2f302f1.564ef8",
+ "2e22f32b.8ad61c"
+ ]
+ ]
+ },
+ {
+ "id": "265e585e.2c59a",
+ "type": "switchNode",
+ "name": "switch",
+ "xml": "<switch test='`$chefServerResult.code`'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 922.54541015625,
+ "y": 475,
+ "z": "32a8c078.80f678",
+ "wires": [
+ [
+ "620c80b3.7f0078",
+ "ba92b262.54ae5"
+ ]
+ ]
+ },
+ {
+ "id": "ba92b262.54ae5",
+ "type": "other",
+ "name": "outcome",
+ "xml": "<outcome value='200'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1212.54541015625,
+ "y": 452,
+ "z": "32a8c078.80f678",
+ "wires": [
+ [
+ "a57b4dcf.995eb"
+ ]
+ ]
+ },
+ {
+ "id": "620c80b3.7f0078",
+ "type": "other",
+ "name": "outcome",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1122.54541015625,
+ "y": 585.0000038146973,
+ "z": "32a8c078.80f678",
+ "wires": [
+ [
+ "f9860af0.5410b"
+ ]
+ ]
+ },
+ {
+ "id": "992cf3e0.82ef5",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1642.636474609375,
+ "y": 197.09091186523438,
+ "z": "32a8c078.80f678",
+ "wires": [
+ [
+ "acec1dfa.289128",
+ "60a0a433.bb9fbc"
+ ]
+ ]
+ },
+ {
+ "id": "928db1c5.f159f",
+ "type": "execute",
+ "name": "checkPushJob",
+ "xml": "<execute plugin='org.onap.appc.adapter.chef.ChefAdapter' method='checkPushJob' >\n\t<parameter name='organizations' value='`$chef-organization`'/> \n\t<parameter name='serverAddress' value='`$chef-server-address`'/> \n\t<parameter name='username' value='`$chef-username`'/> \n\t<parameter name='jobid' value='`$jobID`'/>\n\t<parameter name='retryTimes' value='`$retryTimes`'/>\n\t<parameter name='retryInterval' value='`$retryInterval`'/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2304.908920288086,
+ "y": 727.9999265670776,
+ "z": "32a8c078.80f678",
+ "wires": [
+ [
+ "17d66cb5.7d5913",
+ "4d99603b.eb0f6"
+ ]
+ ]
+ },
+ {
+ "id": "e8fad214.945f2",
+ "type": "other",
+ "name": "outcome",
+ "xml": "<outcome value='201'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1839.5453491210938,
+ "y": 579.181770324707,
+ "z": "32a8c078.80f678",
+ "wires": [
+ [
+ "1e453a5e.71d0ee"
+ ]
+ ]
+ },
+ {
+ "id": "33acbf01.e38198",
+ "type": "other",
+ "name": "outcome",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1842.6362609863281,
+ "y": 424.9090461730957,
+ "z": "32a8c078.80f678",
+ "wires": [
+ [
+ "1090a1de.22ce0e"
+ ]
+ ]
+ },
+ {
+ "id": "60a0a433.bb9fbc",
+ "type": "switchNode",
+ "name": "switch",
+ "xml": "<switch test='`$chefServerResult.code`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1681.8181495666504,
+ "y": 484.54542541503906,
+ "z": "32a8c078.80f678",
+ "wires": [
+ [
+ "e8fad214.945f2",
+ "33acbf01.e38198"
+ ]
+ ]
+ },
+ {
+ "id": "acec1dfa.289128",
+ "type": "execute",
+ "name": "pushJob",
+ "xml": "<execute plugin='org.onap.appc.adapter.chef.ChefAdapter' method='VnfcPushJob'>\n\t<parameter name='organizations' value='`$chef-organization`'/> \n\t<parameter name='serverAddress' value='`$chef-server-address`'/> \n\t<parameter name='username' value='`$chef-username`'/> \n\t<parameter name='NodeList' value='`$NodeList`'/>\n\t<parameter name='CallbackCapable' value='`$CallbackCapable`'/>\n\t<parameter name='RequestId' value='`$RequestId`'/>\n\t<parameter name='CallbackUrl' value='`$CallbackUrl`'/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1823.727294921875,
+ "y": 179.6363525390625,
+ "z": "32a8c078.80f678",
+ "wires": [
+ [
+ "95f78902.da524",
+ "5bf3d0a7.3bf3c"
+ ]
+ ]
+ },
+ {
+ "id": "53dcbaea.726524",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 524,
+ "y": 587,
+ "z": "32a8c078.80f678",
+ "wires": [
+ [
+ "ee180522.96738"
+ ]
+ ]
+ },
+ {
+ "id": "c01fa581.5717c8",
+ "type": "other",
+ "name": "outcome",
+ "xml": "<outcome value='200'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 539,
+ "y": 438,
+ "z": "32a8c078.80f678",
+ "wires": [
+ [
+ "27520470.189854"
+ ]
+ ]
+ },
+ {
+ "id": "f71077c7.09c62",
+ "type": "switchNode",
+ "name": "switch",
+ "xml": "<switch test='`$chefServerResult.code`'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 341.81817626953125,
+ "y": 632.5454711914062,
+ "z": "32a8c078.80f678",
+ "wires": [
+ [
+ "53dcbaea.726524",
+ "c01fa581.5717c8",
+ "8b0312ec.df07d"
+ ]
+ ]
+ },
+ {
+ "id": "f9860af0.5410b",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='200' />\n<parameter name='error-message' value='`$chefServerResult.message`' />\n",
+ "comments": "",
+ "x": 1296.54541015625,
+ "y": 591.0000038146973,
+ "z": "32a8c078.80f678",
+ "wires": []
+ },
+ {
+ "id": "ee180522.96738",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='200' />\n<parameter name='error-message' value='`$chefServerResult.message`' />\n",
+ "comments": "",
+ "x": 748,
+ "y": 596,
+ "z": "32a8c078.80f678",
+ "wires": []
+ },
+ {
+ "id": "8b0312ec.df07d",
+ "type": "other",
+ "name": "outcome",
+ "xml": "<outcome value='201'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 539.9090576171875,
+ "y": 507.272705078125,
+ "z": "32a8c078.80f678",
+ "wires": [
+ [
+ "27520470.189854"
+ ]
+ ]
+ },
+ {
+ "id": "d619807.336528",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 55,
+ "y": 336,
+ "z": "32a8c078.80f678",
+ "wires": [
+ [
+ "268bc833.2bcdc",
+ "4d9e5931.ad8ff8",
+ "2b36d220.581866"
+ ]
+ ]
+ },
+ {
+ "id": "1090a1de.22ce0e",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='200' />\n<parameter name='error-message' value='`$chefServerResult.message`' />\n",
+ "comments": "",
+ "x": 2045,
+ "y": 424,
+ "z": "32a8c078.80f678",
+ "wires": []
+ },
+ {
+ "id": "1e453a5e.71d0ee",
+ "type": "switchNode",
+ "name": "switch",
+ "xml": "<switch test='`$CallbackCapable`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1915,
+ "y": 686,
+ "z": "32a8c078.80f678",
+ "wires": [
+ [
+ "cf8d37e5.b934e",
+ "3ae83601.4a5f12"
+ ]
+ ]
+ },
+ {
+ "id": "3ae83601.4a5f12",
+ "type": "other",
+ "name": "outcome",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2076,
+ "y": 739,
+ "z": "32a8c078.80f678",
+ "wires": [
+ [
+ "6a3ee507.aff7e4"
+ ]
+ ]
+ },
+ {
+ "id": "cf8d37e5.b934e",
+ "type": "outcomeTrue",
+ "name": "outcome",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2079.0909118652344,
+ "y": 584.7272758483887,
+ "z": "32a8c078.80f678",
+ "wires": [
+ [
+ "9739af2a.8fc628"
+ ]
+ ]
+ },
+ {
+ "id": "9739af2a.8fc628",
+ "type": "returnSuccess",
+ "name": "return success",
+ "xml": "<return status='success'>\n<parameter name='output.status.code' value='400' />\n<parameter name='output.status.message' value='chef success, waiting for callback' />",
+ "comments": "",
+ "x": 2262,
+ "y": 586,
+ "z": "32a8c078.80f678",
+ "wires": []
+ },
+ {
+ "id": "d70d7372.ad968",
+ "type": "other",
+ "name": "outcome",
+ "xml": "<outcome value='200'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2413,
+ "y": 983,
+ "z": "32a8c078.80f678",
+ "wires": [
+ [
+ "53263d86.6d04a4"
+ ]
+ ]
+ },
+ {
+ "id": "5751e659.30435",
+ "type": "other",
+ "name": "outcome",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2416.0909118652344,
+ "y": 828.7272758483887,
+ "z": "32a8c078.80f678",
+ "wires": [
+ [
+ "a6cd4b1f.6b3ca"
+ ]
+ ]
+ },
+ {
+ "id": "b9442234.fd6d1",
+ "type": "switchNode",
+ "name": "switch",
+ "xml": "<switch test='`$chefServerResult.code`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2255.2728004455566,
+ "y": 888.363655090332,
+ "z": "32a8c078.80f678",
+ "wires": [
+ [
+ "d70d7372.ad968",
+ "5751e659.30435"
+ ]
+ ]
+ },
+ {
+ "id": "a6cd4b1f.6b3ca",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='200' />\n<parameter name='error-message' value='`$chefServerResult.message`' />",
+ "comments": "",
+ "x": 2635.363525390625,
+ "y": 780,
+ "z": "32a8c078.80f678",
+ "wires": []
+ },
+ {
+ "id": "81b685cf.efce7",
+ "type": "execute",
+ "name": "fetchResults",
+ "xml": "<execute plugin='org.onap.appc.adapter.chef.ChefAdapter' method='fetchResults' >\n\t<parameter name='organizations' value='`$chef-organization`'/> \n\t<parameter name='serverAddress' value='`$chef-server-address`'/> \n\t<parameter name='username' value='`$chef-username`'/> \n\t<parameter name='NodeList' value='`$NodeList`'/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2919.181640625,
+ "y": 1201.181884765625,
+ "z": "32a8c078.80f678",
+ "wires": [
+ [
+ "7743de59.6d45b8",
+ "90810365.5c9bb"
+ ]
+ ]
+ },
+ {
+ "id": "6a3ee507.aff7e4",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 2078.9999999999995,
+ "y": 841.9999999999998,
+ "z": "32a8c078.80f678",
+ "wires": [
+ [
+ "928db1c5.f159f",
+ "b9442234.fd6d1"
+ ]
+ ]
+ },
+ {
+ "id": "402bf5e7.3a9a94",
+ "type": "switchNode",
+ "name": "switch",
+ "xml": "<switch test='`$chefServerResult.code`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2927.0000000000005,
+ "y": 1364.0000000000002,
+ "z": "32a8c078.80f678",
+ "wires": [
+ [
+ "fe787c7a.590a6",
+ "50de5985.88821"
+ ]
+ ]
+ },
+ {
+ "id": "50de5985.88821",
+ "type": "other",
+ "name": "outcome",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3200.0909156799316,
+ "y": 1481.000029563904,
+ "z": "32a8c078.80f678",
+ "wires": [
+ [
+ "b155dcd5.a2f798"
+ ]
+ ]
+ },
+ {
+ "id": "fe787c7a.590a6",
+ "type": "other",
+ "name": "outcome",
+ "xml": "<outcome value='200'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3201.181884765625,
+ "y": 1328.7272949218752,
+ "z": "32a8c078.80f678",
+ "wires": [
+ [
+ "f0fee5cd.9a1e1"
+ ]
+ ]
+ },
+ {
+ "id": "f0fee5cd.9a1e1",
+ "type": "returnSuccess",
+ "name": "return success",
+ "xml": "<return status='success'>\n<parameter name='output.status.code' value='400' />\n<parameter name='output.status.message' value='finish' />\n<parameter name='output.status.results' value='`$chefServerResult.message`' />",
+ "comments": "",
+ "x": 3429.36376953125,
+ "y": 1329.4545898437502,
+ "z": "32a8c078.80f678",
+ "wires": []
+ },
+ {
+ "id": "b155dcd5.a2f798",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='200' />\n<parameter name='error-message' value='`$chefServerResult.message`' />\n",
+ "comments": "",
+ "x": 3435.181884765625,
+ "y": 1489.7271728515625,
+ "z": "32a8c078.80f678",
+ "wires": []
+ },
+ {
+ "id": "9b5759e0.664b4",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 2777,
+ "y": 1284,
+ "z": "32a8c078.80f678",
+ "wires": [
+ [
+ "81b685cf.efce7",
+ "402bf5e7.3a9a94"
+ ]
+ ]
+ },
+ {
+ "id": "53263d86.6d04a4",
+ "type": "switchNode",
+ "name": "switch",
+ "xml": "<switch test='`$GetOutputFlag`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2581,
+ "y": 1062,
+ "z": "32a8c078.80f678",
+ "wires": [
+ [
+ "1746d9ac.f7a566",
+ "a66d8da2.7302b8"
+ ]
+ ]
+ },
+ {
+ "id": "a66d8da2.7302b8",
+ "type": "outcomeTrue",
+ "name": "outcome",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2780.0909156799316,
+ "y": 1119.0000295639038,
+ "z": "32a8c078.80f678",
+ "wires": [
+ [
+ "9b5759e0.664b4"
+ ]
+ ]
+ },
+ {
+ "id": "1746d9ac.f7a566",
+ "type": "other",
+ "name": "outcome",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2783.181827545166,
+ "y": 964.7273054122925,
+ "z": "32a8c078.80f678",
+ "wires": [
+ [
+ "81c2bb20.f42938"
+ ]
+ ]
+ },
+ {
+ "id": "81c2bb20.f42938",
+ "type": "returnSuccess",
+ "name": "return success",
+ "xml": "<return status='success'>\n<parameter name='output.status.code' value='400' />\n<parameter name='output.status.message' value='`$chefServerResult.message`' />",
+ "comments": "",
+ "x": 2967.36376953125,
+ "y": 967.4545288085938,
+ "z": "32a8c078.80f678",
+ "wires": []
+ },
+ {
+ "id": "8e99a54b.f8e3a8",
+ "type": "dgstart",
+ "name": "DGSTART",
+ "outputs": 1,
+ "x": 110,
+ "y": 79,
+ "z": "32a8c078.80f678",
+ "wires": [
+ [
+ "b8806b89.43add8"
+ ]
+ ]
+ },
+ {
+ "id": "9c19b794.d4a098",
+ "type": "method",
+ "name": "chef",
+ "xml": "<method rpc='chef' mode='sync'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 88,
+ "y": 240,
+ "z": "32a8c078.80f678",
+ "wires": [
+ [
+ "d619807.336528"
+ ]
+ ]
+ },
+ {
+ "id": "a57b4dcf.995eb",
+ "type": "switchNode",
+ "name": "switch",
+ "xml": "<switch test='`$PushJobFlag`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1318,
+ "y": 289,
+ "z": "32a8c078.80f678",
+ "wires": [
+ [
+ "39db64f2.3ef97c",
+ "d6057cb7.d4b05"
+ ]
+ ]
+ },
+ {
+ "id": "d6057cb7.d4b05",
+ "type": "other",
+ "name": "outcome",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1438,
+ "y": 346,
+ "z": "32a8c078.80f678",
+ "wires": [
+ [
+ "7aab0708.492ae"
+ ]
+ ]
+ },
+ {
+ "id": "39db64f2.3ef97c",
+ "type": "outcomeTrue",
+ "name": "outcome",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1441.0909118652344,
+ "y": 191.72727584838867,
+ "z": "32a8c078.80f678",
+ "wires": [
+ [
+ "992cf3e0.82ef5"
+ ]
+ ]
+ },
+ {
+ "id": "7aab0708.492ae",
+ "type": "returnSuccess",
+ "name": "return success",
+ "xml": "<return status='success'>\n<parameter name='output.status.code' value='400' />\n<parameter name='output.status.message' value='chef success, do not need push job ' />",
+ "comments": "",
+ "x": 1480,
+ "y": 466,
+ "z": "32a8c078.80f678",
+ "wires": []
+ },
+ {
+ "id": "b8806b89.43add8",
+ "type": "service-logic",
+ "name": "APPC 3.0.0",
+ "module": "APPC",
+ "version": "3.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' version='3.0.0'>",
+ "outputs": 1,
+ "x": 108.45452117919922,
+ "y": 161,
+ "z": "32a8c078.80f678",
+ "wires": [
+ [
+ "9c19b794.d4a098"
+ ]
+ ]
+ },
+ {
+ "id": "2b36d220.581866",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.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=\"`$request-action`\"/>\n<parameter name=\"field3\" value=\"`$input.action`\"/>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 298.00000762939453,
+ "y": 327.57140159606934,
+ "z": "32a8c078.80f678",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "ad005deb.efd5d",
+ "type": "failure",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 461.11669921875,
+ "y": 314.3833465576172,
+ "z": "32a8c078.80f678",
+ "wires": [
+ [
+ "f94b3c0d.ace49"
+ ]
+ ]
+ },
+ {
+ "id": "f94b3c0d.ace49",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 633.1166687011719,
+ "y": 307.38336181640625,
+ "z": "32a8c078.80f678",
+ "wires": [
+ [
+ "631da957.9a738"
+ ]
+ ]
+ },
+ {
+ "id": "631da957.9a738",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value='`$chefServerResult.message`' />\n",
+ "comments": "",
+ "x": 794.11669921875,
+ "y": 294.38336181640625,
+ "z": "32a8c078.80f678",
+ "wires": []
+ },
+ {
+ "id": "61c37e7b.1c8998",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 479.1166687011719,
+ "y": 355.38336181640625,
+ "z": "32a8c078.80f678",
+ "wires": [
+ [
+ "f94b3c0d.ace49"
+ ]
+ ]
+ },
+ {
+ "id": "edbe88bf.06b878",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value='`$chefServerResult.message`' />\n",
+ "comments": "",
+ "x": 1276.949951171875,
+ "y": 244.5500030517578,
+ "z": "32a8c078.80f678",
+ "wires": []
+ },
+ {
+ "id": "bf7d1a3a.7c00e",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value='`$chefServerResult.message`' />\n",
+ "comments": "",
+ "x": 2289.949951171875,
+ "y": 179.31666564941406,
+ "z": "32a8c078.80f678",
+ "wires": []
+ },
+ {
+ "id": "f2f302f1.564ef8",
+ "type": "failure",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1036.316650390625,
+ "y": 286.7666778564453,
+ "z": "32a8c078.80f678",
+ "wires": [
+ [
+ "6332cc4d.5066f4"
+ ]
+ ]
+ },
+ {
+ "id": "2e22f32b.8ad61c",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1036.3167114257812,
+ "y": 358.76666259765625,
+ "z": "32a8c078.80f678",
+ "wires": [
+ [
+ "6332cc4d.5066f4"
+ ]
+ ]
+ },
+ {
+ "id": "6332cc4d.5066f4",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1155.3167114257812,
+ "y": 317.7666778564453,
+ "z": "32a8c078.80f678",
+ "wires": [
+ [
+ "edbe88bf.06b878"
+ ]
+ ]
+ },
+ {
+ "id": "95f78902.da524",
+ "type": "failure",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1974.433349609375,
+ "y": 159.8000030517578,
+ "z": "32a8c078.80f678",
+ "wires": [
+ [
+ "48c4c709.b3e23"
+ ]
+ ]
+ },
+ {
+ "id": "5bf3d0a7.3bf3c",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1968.4333190917969,
+ "y": 215.8000030517578,
+ "z": "32a8c078.80f678",
+ "wires": [
+ [
+ "48c4c709.b3e23"
+ ]
+ ]
+ },
+ {
+ "id": "48c4c709.b3e23",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 2138.433349609375,
+ "y": 187.8000030517578,
+ "z": "32a8c078.80f678",
+ "wires": [
+ [
+ "bf7d1a3a.7c00e"
+ ]
+ ]
+ },
+ {
+ "id": "17d66cb5.7d5913",
+ "type": "failure",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2469.216796875,
+ "y": 655.0833740234375,
+ "z": "32a8c078.80f678",
+ "wires": [
+ [
+ "a2d52572.e1808"
+ ]
+ ]
+ },
+ {
+ "id": "4d99603b.eb0f6",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2485.2169189453125,
+ "y": 726.0834045410156,
+ "z": "32a8c078.80f678",
+ "wires": [
+ [
+ "a2d52572.e1808"
+ ]
+ ]
+ },
+ {
+ "id": "a2d52572.e1808",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 2633.216796875,
+ "y": 683.0833740234375,
+ "z": "32a8c078.80f678",
+ "wires": [
+ [
+ "e00474cb.f1ec1"
+ ]
+ ]
+ },
+ {
+ "id": "7743de59.6d45b8",
+ "type": "failure",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3099.816650390625,
+ "y": 1137.666748046875,
+ "z": "32a8c078.80f678",
+ "wires": [
+ [
+ "a13be0b.ff7a7a"
+ ]
+ ]
+ },
+ {
+ "id": "90810365.5c9bb",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3093.816619873047,
+ "y": 1193.666748046875,
+ "z": "32a8c078.80f678",
+ "wires": [
+ [
+ "a13be0b.ff7a7a"
+ ]
+ ]
+ },
+ {
+ "id": "a13be0b.ff7a7a",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 3263.816650390625,
+ "y": 1165.666748046875,
+ "z": "32a8c078.80f678",
+ "wires": [
+ [
+ "19c18339.f159e5"
+ ]
+ ]
+ },
+ {
+ "id": "e00474cb.f1ec1",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value='`$chefServerResult.message`' />\n",
+ "comments": "",
+ "x": 2823.7333984375,
+ "y": 665.8333740234375,
+ "z": "32a8c078.80f678",
+ "wires": []
+ },
+ {
+ "id": "19c18339.f159e5",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value='`$chefServerResult.message`' />\n",
+ "comments": "",
+ "x": 3427.050048828125,
+ "y": 1151.7166748046875,
+ "z": "32a8c078.80f678",
+ "wires": []
+ }
+]
diff --git a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_healthcheck.json b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_healthcheck.json
index bc683f16c..154145582 100644
--- a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_healthcheck.json
+++ b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_healthcheck.json
@@ -1 +1,229 @@
-[{"id":"eb339652.aa1bb","type":"dgstart","name":"DGSTART","outputs":1,"x":361.8833312988281,"y":294.5666790008545,"z":"8fbf021e.b75288","wires":[["6a6b9cbd.5c5064"]]},{"id":"6a6b9cbd.5c5064","type":"service-logic","name":"APPC 4.0.0","module":"APPC","version":"4.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' version='4.0.0'>","outputs":1,"x":520.8833312988281,"y":290.5666790008545,"z":"8fbf021e.b75288","wires":[["ad9ed23f.8f9c68"]]},{"id":"ad9ed23f.8f9c68","type":"method","name":"method healthcheck","xml":"<method rpc='healthcheck' mode='sync'>\n","comments":"","outputs":1,"x":725.8833389282227,"y":289.5666809082031,"z":"8fbf021e.b75288","wires":[["23912012.6a432"]]},{"id":"23912012.6a432","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","comments":"","outputs":1,"x":385.8833312988281,"y":398.5666790008545,"z":"8fbf021e.b75288","wires":[["96f48524.be9e1","d37d976d.cb8ed"]]},{"id":"96f48524.be9e1","type":"execute","name":"execute get and executeFlowSequence","xml":"<execute plugin=\"org.onap.appc.flow.controller.node.RestServiceNode\" method=\"sendRequest\">\n<parameter name=\"responsePrefix\" value=\"APPC.healthcheck\" />\n\n","comments":"","outputs":1,"x":438.8832702636719,"y":497.01111030578613,"z":"8fbf021e.b75288","wires":[["6be528f6.12212","d4a71709.a43268","c328bc28.cc53f"]]},{"id":"6be528f6.12212","type":"failure","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":737.994457244873,"y":469.34446811676025,"z":"8fbf021e.b75288","wires":[["248dee55.40e1d2"]]},{"id":"248dee55.40e1d2","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":891.4388961791992,"y":456.5666694641113,"z":"8fbf021e.b75288","wires":[["31d502fd.89de4e"]]},{"id":"31d502fd.89de4e","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value=\"Unable to find Execute Node DG sendRequest\" />\n\n\n\t","comments":"","x":1059.9667205810547,"y":443.9000587463379,"z":"8fbf021e.b75288","wires":[]},{"id":"d4a71709.a43268","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":739.6610946655273,"y":514.1222286224365,"z":"8fbf021e.b75288","wires":[["1d2f2a87.475dc5"]]},{"id":"1d2f2a87.475dc5","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":891.2166862487793,"y":507.34448051452637,"z":"8fbf021e.b75288","wires":[["bc79231c.35d1f"]]},{"id":"bc79231c.35d1f","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value=\"`$APPC.healthcheck.error-message`\" />\n\n\n\t","comments":"","x":1053.2723236083984,"y":500.5111427307129,"z":"8fbf021e.b75288","wires":[]},{"id":"d37d976d.cb8ed","type":"set","name":"set Context params","xml":"<set>\n<parameter name='vnf-id' value='`$input.action-identifiers.vnf-id`' /> \n<parameter name='service-instance-id' value='`$input.action-identifiers.service-instance-id`' /> \n\n<parameter name='request-id' value='`$input.common-header.request-id`' />\n\n<parameter name='originator-id' value='`$input.common-header.originator-id`' /> \n\n<!-- Not required in Get request<parameter name='payload' value='`$input.payload`' /> -->\n\n<parameter name='request-action-type' value= 'GET' /> \n\n\n\n","comments":"","x":1149.0261611938477,"y":373.67383003234863,"z":"8fbf021e.b75288","wires":[]},{"id":"c328bc28.cc53f","type":"success","name":"outcome: Other","xml":"<outcome value=\"Other\">","comments":"","outputs":1,"x":749.9944763183594,"y":571.9000425338745,"z":"8fbf021e.b75288","wires":[["a4c92174.a2ada8"]]},{"id":"a4c92174.a2ada8","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","comments":"","outputs":1,"x":931.3277626037598,"y":570.2333450317383,"z":"8fbf021e.b75288","wires":[["f6918f40.5299c"]]},{"id":"f6918f40.5299c","type":"set","name":"set payloadResponse","xml":"<set>\n<parameter name='output.payload' value='`$APPC.healthcheck.status-message`' /> \n\n\n\n\n","comments":"","x":1175.8833465576172,"y":561.3166847229004,"z":"8fbf021e.b75288","wires":[]}]
+[
+ {
+ "id": "eb339652.aa1bb",
+ "type": "dgstart",
+ "name": "DGSTART",
+ "outputs": 1,
+ "x": 361.8833312988281,
+ "y": 294.5666790008545,
+ "z": "8fbf021e.b75288",
+ "wires": [
+ [
+ "6a6b9cbd.5c5064"
+ ]
+ ]
+ },
+ {
+ "id": "6a6b9cbd.5c5064",
+ "type": "service-logic",
+ "name": "APPC 4.0.0",
+ "module": "APPC",
+ "version": "4.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' version='4.0.0'>",
+ "outputs": 1,
+ "x": 520.8833312988281,
+ "y": 290.5666790008545,
+ "z": "8fbf021e.b75288",
+ "wires": [
+ [
+ "ad9ed23f.8f9c68"
+ ]
+ ]
+ },
+ {
+ "id": "ad9ed23f.8f9c68",
+ "type": "method",
+ "name": "method healthcheck",
+ "xml": "<method rpc='healthcheck' mode='sync'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 725.8833389282227,
+ "y": 289.5666809082031,
+ "z": "8fbf021e.b75288",
+ "wires": [
+ [
+ "23912012.6a432"
+ ]
+ ]
+ },
+ {
+ "id": "23912012.6a432",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 385.8833312988281,
+ "y": 398.5666790008545,
+ "z": "8fbf021e.b75288",
+ "wires": [
+ [
+ "96f48524.be9e1",
+ "d37d976d.cb8ed"
+ ]
+ ]
+ },
+ {
+ "id": "96f48524.be9e1",
+ "type": "execute",
+ "name": "execute get and executeFlowSequence",
+ "xml": "<execute plugin=\"org.onap.appc.flow.controller.node.RestServiceNode\" method=\"sendRequest\">\n<parameter name=\"responsePrefix\" value=\"APPC.healthcheck\" />\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 438.8832702636719,
+ "y": 497.01111030578613,
+ "z": "8fbf021e.b75288",
+ "wires": [
+ [
+ "6be528f6.12212",
+ "d4a71709.a43268",
+ "c328bc28.cc53f"
+ ]
+ ]
+ },
+ {
+ "id": "6be528f6.12212",
+ "type": "failure",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 737.994457244873,
+ "y": 469.34446811676025,
+ "z": "8fbf021e.b75288",
+ "wires": [
+ [
+ "248dee55.40e1d2"
+ ]
+ ]
+ },
+ {
+ "id": "248dee55.40e1d2",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 891.4388961791992,
+ "y": 456.5666694641113,
+ "z": "8fbf021e.b75288",
+ "wires": [
+ [
+ "31d502fd.89de4e"
+ ]
+ ]
+ },
+ {
+ "id": "31d502fd.89de4e",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status=\"failure\">\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value=\"Unable to find Execute Node DG sendRequest\" />\n\n\n\t",
+ "comments": "",
+ "x": 1059.9667205810547,
+ "y": 443.9000587463379,
+ "z": "8fbf021e.b75288",
+ "wires": []
+ },
+ {
+ "id": "d4a71709.a43268",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 739.6610946655273,
+ "y": 514.1222286224365,
+ "z": "8fbf021e.b75288",
+ "wires": [
+ [
+ "1d2f2a87.475dc5"
+ ]
+ ]
+ },
+ {
+ "id": "1d2f2a87.475dc5",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 891.2166862487793,
+ "y": 507.34448051452637,
+ "z": "8fbf021e.b75288",
+ "wires": [
+ [
+ "bc79231c.35d1f"
+ ]
+ ]
+ },
+ {
+ "id": "bc79231c.35d1f",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status=\"failure\">\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value=\"`$APPC.healthcheck.error-message`\" />\n\n\n\t",
+ "comments": "",
+ "x": 1053.2723236083984,
+ "y": 500.5111427307129,
+ "z": "8fbf021e.b75288",
+ "wires": []
+ },
+ {
+ "id": "d37d976d.cb8ed",
+ "type": "set",
+ "name": "set Context params",
+ "xml": "<set>\n<parameter name='vnf-id' value='`$input.action-identifiers.vnf-id`' /> \n<parameter name='service-instance-id' value='`$input.action-identifiers.service-instance-id`' /> \n\n<parameter name='request-id' value='`$input.common-header.request-id`' />\n\n<parameter name='originator-id' value='`$input.common-header.originator-id`' /> \n\n<!-- Not required in Get request<parameter name='payload' value='`$input.payload`' /> -->\n\n<parameter name='request-action-type' value= 'GET' /> \n\n\n\n",
+ "comments": "",
+ "x": 1149.0261611938477,
+ "y": 373.67383003234863,
+ "z": "8fbf021e.b75288",
+ "wires": []
+ },
+ {
+ "id": "c328bc28.cc53f",
+ "type": "success",
+ "name": "outcome: Other",
+ "xml": "<outcome value=\"Other\">",
+ "comments": "",
+ "outputs": 1,
+ "x": 749.9944763183594,
+ "y": 571.9000425338745,
+ "z": "8fbf021e.b75288",
+ "wires": [
+ [
+ "a4c92174.a2ada8"
+ ]
+ ]
+ },
+ {
+ "id": "a4c92174.a2ada8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 931.3277626037598,
+ "y": 570.2333450317383,
+ "z": "8fbf021e.b75288",
+ "wires": [
+ [
+ "f6918f40.5299c"
+ ]
+ ]
+ },
+ {
+ "id": "f6918f40.5299c",
+ "type": "set",
+ "name": "set payloadResponse",
+ "xml": "<set>\n<parameter name='output.payload' value='`$APPC.healthcheck.status-message`' /> \n\n\n\n\n",
+ "comments": "",
+ "x": 1175.8833465576172,
+ "y": 561.3166847229004,
+ "z": "8fbf021e.b75288",
+ "wires": []
+ }
+]
diff --git a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_loadTeamplate.json b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_loadTeamplate.json
index 83ba4e65d..5e779a0ff 100644
--- a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_loadTeamplate.json
+++ b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_loadTeamplate.json
@@ -1,546 +1,546 @@
-[
- {
- "comments": "",
- "id": "8a734c47.1723c",
- "name": "switch configuration.configuration-string",
- "outputs": 1,
- "type": "switchNode",
- "wires": [
- [
- "c8ed4e80.c1e15",
- "afcf1c9f.7013b"
- ]
- ],
- "x": 354,
- "xml": "<switch test='`$block_configuration.configuration-string`'>\n",
- "y": 288,
- "z": "1e8e0db6.7d4d12"
- },
- {
- "atomic": "false",
- "comments": "",
- "id": "17d29498.a5c0ab",
- "name": "block",
- "outputs": 1,
- "type": "block",
- "wires": [
- []
- ],
- "x": 791.9999923706055,
- "xml": "<block>\n",
- "y": 270.49999046325684,
- "z": "1e8e0db6.7d4d12"
- },
- {
- "comments": "",
- "id": "c8ed4e80.c1e15",
- "name": "outcome: Other",
- "outputs": 1,
- "type": "success",
- "wires": [
- [
- "70cd567f.e08958"
- ]
- ],
- "x": 627.9999923706055,
- "xml": "<outcome value=\"Other\">",
- "y": 310.49999046325684,
- "z": "1e8e0db6.7d4d12"
- },
- {
- "atomic": "false",
- "comments": "",
- "id": "70cd567f.e08958",
- "name": "block",
- "outputs": 1,
- "type": "block",
- "wires": [
- [
- "a0f3ae02.cc3fc"
- ]
- ],
- "x": 800.9999923706055,
- "xml": "<block>\n",
- "y": 309.49999046325684,
- "z": "1e8e0db6.7d4d12"
- },
- {
- "comments": "",
- "id": "a0f3ae02.cc3fc",
- "name": "set configuration",
- "type": "set",
- "wires": [],
- "x": 973.9999923706055,
- "xml": "<set>\n<parameter name='configuration' value='`$block_configuration.configuration-string`' />\n",
- "y": 310.49999046325684,
- "z": "1e8e0db6.7d4d12"
- },
- {
- "comments": "",
- "id": "e92ebc2.c77764",
- "info": "",
- "name": "CLI/XML",
- "type": "comment",
- "wires": [],
- "x": 1143.9999923706055,
- "y": 287.49999046325684,
- "z": "1e8e0db6.7d4d12"
- },
- {
- "comments": "",
- "id": "9f19e98d.ef3a08",
- "name": "switch configuration.configuration-json",
- "outputs": 1,
- "type": "switchNode",
- "wires": [
- [
- "da9c7e5c.d969d",
- "5b4a2e9f.a0e1c"
- ]
- ],
- "x": 334.49999237060547,
- "xml": "<switch test='`$block_configuration.configuration-json`'>\n",
- "y": 363.49999046325684,
- "z": "1e8e0db6.7d4d12"
- },
- {
- "comments": "",
- "id": "da9c7e5c.d969d",
- "name": "outcome: Other",
- "outputs": 1,
- "type": "success",
- "wires": [
- [
- "81a5922d.d1697"
- ]
- ],
- "x": 618.4999923706055,
- "xml": "<outcome value=\"Other\">",
- "y": 407.49999046325684,
- "z": "1e8e0db6.7d4d12"
- },
- {
- "atomic": "false",
- "comments": "",
- "id": "890a9568.ab8478",
- "name": "block",
- "outputs": 1,
- "type": "block",
- "wires": [
- []
- ],
- "x": 794.4999923706055,
- "xml": "<block>\n",
- "y": 365.49999046325684,
- "z": "1e8e0db6.7d4d12"
- },
- {
- "atomic": "false",
- "comments": "",
- "id": "81a5922d.d1697",
- "name": "block",
- "outputs": 1,
- "type": "block",
- "wires": [
- [
- "df609a35.996668"
- ]
- ],
- "x": 791.4999923706055,
- "xml": "<block>\n",
- "y": 404.49999046325684,
- "z": "1e8e0db6.7d4d12"
- },
- {
- "comments": "",
- "id": "df609a35.996668",
- "name": "set configuration",
- "type": "set",
- "wires": [],
- "x": 964.4999923706055,
- "xml": "<set>\n<parameter name='configuration' value='`$block_configuration.configuration-json`' />\n",
- "y": 404.49999046325684,
- "z": "1e8e0db6.7d4d12"
- },
- {
- "comments": "",
- "id": "35ca0cd5.ff4b24",
- "info": "",
- "name": "JSON",
- "type": "comment",
- "wires": [],
- "x": 1119.9999923706055,
- "y": 401.49999046325684,
- "z": "1e8e0db6.7d4d12"
- },
- {
- "comments": "",
- "id": "8cadc66e.8c2928",
- "name": "switch template-name",
- "outputs": 1,
- "type": "switchNode",
- "wires": [
- [
- "8c74334f.a12cd",
- "9098550c.520648"
- ]
- ],
- "x": 324,
- "xml": "<switch test='`$template-name`'>\n",
- "y": 209.99999809265137,
- "z": "1e8e0db6.7d4d12"
- },
- {
- "comments": "",
- "id": "8c74334f.a12cd",
- "name": "outcome: null",
- "outputs": 1,
- "type": "success",
- "wires": [
- [
- "1e8340f1.e284ef"
- ]
- ],
- "x": 544.9999923706055,
- "xml": "<outcome value=''>",
- "y": 176.49999046325684,
- "z": "1e8e0db6.7d4d12"
- },
- {
- "comments": "",
- "id": "9098550c.520648",
- "name": "outcome: Other",
- "outputs": 1,
- "type": "success",
- "wires": [
- [
- "a871d64a.f62008"
- ]
- ],
- "x": 549.9999923706055,
- "xml": "<outcome value=\"Other\">",
- "y": 218.49999046325684,
- "z": "1e8e0db6.7d4d12"
- },
- {
- "atomic": "false",
- "comments": "",
- "id": "a871d64a.f62008",
- "name": "block",
- "outputs": 1,
- "type": "block",
- "wires": [
- [
- "e962b510.094fe8"
- ]
- ],
- "x": 722.9999923706055,
- "xml": "<block>\n",
- "y": 215.49999046325684,
- "z": "1e8e0db6.7d4d12"
- },
- {
- "comments": "",
- "id": "e962b510.094fe8",
- "name": "set config-type",
- "type": "set",
- "wires": [],
- "x": 894.9999923706055,
- "xml": "<set>\n<parameter name='config-type' value='template' />\n",
- "y": 217.49999046325684,
- "z": "1e8e0db6.7d4d12"
- },
- {
- "comments": "",
- "id": "a0b81149.4795d",
- "name": "switch configuration",
- "outputs": 1,
- "type": "switchNode",
- "wires": [
- [
- "943cf1ce.98525",
- "cdc3e844.a7c458"
- ]
- ],
- "x": 300.99999237060547,
- "xml": "<switch test='`$configuration`'>\n",
- "y": 453.49999046325684,
- "z": "1e8e0db6.7d4d12"
- },
- {
- "comments": "",
- "id": "943cf1ce.98525",
- "name": "outcome: Other",
- "outputs": 1,
- "type": "success",
- "wires": [
- [
- "a19a2b30.148618"
- ]
- ],
- "x": 402.99999237060547,
- "xml": "<outcome value=\"Other\">",
- "y": 540.4999904632568,
- "z": "1e8e0db6.7d4d12"
- },
- {
- "atomic": "false",
- "comments": "",
- "id": "43d7a3.9a55285c",
- "name": "block",
- "outputs": 1,
- "type": "block",
- "wires": [
- [
- "6d3d4815.8d0ec8"
- ]
- ],
- "x": 704.9999923706055,
- "xml": "<block>\n",
- "y": 466.49999046325684,
- "z": "1e8e0db6.7d4d12"
- },
- {
- "comments": "",
- "id": "6795360d.03fc98",
- "name": "set config-type",
- "type": "set",
- "wires": [],
- "x": 1184.9999923706055,
- "xml": "<set>\n<parameter name='config-type' value='template' />\n",
- "y": 555.4999904632568,
- "z": "1e8e0db6.7d4d12"
- },
- {
- "comments": "",
- "id": "6d3d4815.8d0ec8",
- "name": "switch Configuration params exists",
- "outputs": 1,
- "type": "switchNode",
- "wires": [
- [
- "4aa0db36.34f564",
- "4e107546.e832ec"
- ]
- ],
- "x": 928.666633605957,
- "xml": "<switch test='`$configuration-params`'>\n",
- "y": 466.50000190734863,
- "z": "1e8e0db6.7d4d12"
- },
- {
- "comments": "",
- "id": "4aa0db36.34f564",
- "name": "outcome: Other",
- "outputs": 1,
- "type": "success",
- "wires": [
- [
- "808f193e.7004c8"
- ]
- ],
- "x": 865.9999923706055,
- "xml": "<outcome value=\"Other\">",
- "y": 553.4999904632568,
- "z": "1e8e0db6.7d4d12"
- },
- {
- "atomic": "false",
- "comments": "",
- "id": "808f193e.7004c8",
- "name": "block",
- "outputs": 1,
- "type": "block",
- "wires": [
- [
- "6795360d.03fc98"
- ]
- ],
- "x": 1029.9999923706055,
- "xml": "<block>\n",
- "y": 555.4999904632568,
- "z": "1e8e0db6.7d4d12"
- },
- {
- "comments": "",
- "id": "2a881c0c.cfc134",
- "info": "",
- "name": "Specific Template",
- "type": "comment",
- "wires": [],
- "x": 1085.9999923706055,
- "y": 209.49999046325684,
- "z": "1e8e0db6.7d4d12"
- },
- {
- "atomic": "false",
- "comments": "",
- "id": "1e8340f1.e284ef",
- "name": "block",
- "outputs": 1,
- "type": "block",
- "wires": [
- []
- ],
- "x": 731.9999923706055,
- "xml": "<block>\n",
- "y": 155.49999046325684,
- "z": "1e8e0db6.7d4d12"
- },
- {
- "atomic": "false",
- "comments": "",
- "id": "a19a2b30.148618",
- "name": "block",
- "outputs": 1,
- "type": "block",
- "wires": [
- []
- ],
- "x": 561.9999923706055,
- "xml": "<block>\n",
- "y": 543.4999904632568,
- "z": "1e8e0db6.7d4d12"
- },
- {
- "comments": "",
- "id": "afcf1c9f.7013b",
- "name": "outcome: null",
- "outputs": 1,
- "type": "success",
- "wires": [
- [
- "17d29498.a5c0ab"
- ]
- ],
- "x": 629.9999923706055,
- "xml": "<outcome value=''>",
- "y": 266.49999046325684,
- "z": "1e8e0db6.7d4d12"
- },
- {
- "comments": "",
- "id": "5b4a2e9f.a0e1c",
- "name": "outcome: null",
- "outputs": 1,
- "type": "success",
- "wires": [
- [
- "890a9568.ab8478"
- ]
- ],
- "x": 622.9999923706055,
- "xml": "<outcome value=''>",
- "y": 358.49999046325684,
- "z": "1e8e0db6.7d4d12"
- },
- {
- "comments": "",
- "id": "cdc3e844.a7c458",
- "name": "outcome: null",
- "outputs": 1,
- "type": "success",
- "wires": [
- [
- "43d7a3.9a55285c"
- ]
- ],
- "x": 531.6666641235352,
- "xml": "<outcome value=''>",
- "y": 459.8333339691162,
- "z": "1e8e0db6.7d4d12"
- },
- {
- "comments": "",
- "id": "4e107546.e832ec",
- "name": "outcome: null",
- "outputs": 1,
- "type": "success",
- "wires": [
- []
- ],
- "x": 1207.9999923706055,
- "xml": "<outcome value=''>",
- "y": 456.49999046325684,
- "z": "1e8e0db6.7d4d12"
- },
- {
- "comments": "",
- "id": "6c17615f.a5824",
- "info": "",
- "name": "Search template from the input request",
- "type": "comment",
- "wires": [],
- "x": 355.66661834716797,
- "y": 131.83327293395996,
- "z": "1e8e0db6.7d4d12"
- },
- {
- "id": "d4d3f195.d6269",
- "name": "DGSTART",
- "outputs": 1,
- "type": "dgstart",
- "wires": [
- [
- "32e28f93.3cb14"
- ]
- ],
- "x": 124,
- "y": 65,
- "z": "1e8e0db6.7d4d12"
- },
- {
- "comments": "",
- "id": "32e28f93.3cb14",
- "module": "APPC",
- "name": "APPC 4.0.0",
- "outputs": 1,
- "type": "service-logic",
- "version": "4.0.0",
- "wires": [
- [
- "12244989.1a1e56"
- ]
- ],
- "x": 269.4285583496094,
- "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'>",
- "y": 64,
- "z": "1e8e0db6.7d4d12"
- },
- {
- "comments": "",
- "id": "12244989.1a1e56",
- "name": "method loadTeamplate",
- "outputs": 1,
- "type": "method",
- "wires": [
- [
- "88db856e.7f2968"
- ]
- ],
- "x": 472.72618103027344,
- "xml": "<method rpc='loadTeamplate' mode='sync'>\n",
- "y": 63.5,
- "z": "1e8e0db6.7d4d12"
- },
- {
- "atomic": "true",
- "comments": "",
- "id": "88db856e.7f2968",
- "name": "block : atomic",
- "outputs": 1,
- "type": "block",
- "wires": [
- [
- "8cadc66e.8c2928",
- "8a734c47.1723c",
- "9f19e98d.ef3a08",
- "a0b81149.4795d"
- ]
- ],
- "x": 98.8809814453125,
- "xml": "<block atomic=\"true\">",
- "y": 190.03570556640625,
- "z": "1e8e0db6.7d4d12"
- }
-]
+[
+ {
+ "id": "8a734c47.1723c",
+ "type": "switchNode",
+ "name": "switch configuration.configuration-string",
+ "xml": "<switch test='`$block_configuration.configuration-string`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 354,
+ "y": 288,
+ "z": "1e8e0db6.7d4d12",
+ "wires": [
+ [
+ "c8ed4e80.c1e15",
+ "afcf1c9f.7013b"
+ ]
+ ]
+ },
+ {
+ "id": "17d29498.a5c0ab",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 791.9999923706055,
+ "y": 270.49999046325684,
+ "z": "1e8e0db6.7d4d12",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "c8ed4e80.c1e15",
+ "type": "success",
+ "name": "outcome: Other",
+ "xml": "<outcome value=\"Other\">",
+ "comments": "",
+ "outputs": 1,
+ "x": 627.9999923706055,
+ "y": 310.49999046325684,
+ "z": "1e8e0db6.7d4d12",
+ "wires": [
+ [
+ "70cd567f.e08958"
+ ]
+ ]
+ },
+ {
+ "id": "70cd567f.e08958",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 800.9999923706055,
+ "y": 309.49999046325684,
+ "z": "1e8e0db6.7d4d12",
+ "wires": [
+ [
+ "a0f3ae02.cc3fc"
+ ]
+ ]
+ },
+ {
+ "id": "a0f3ae02.cc3fc",
+ "type": "set",
+ "name": "set configuration",
+ "xml": "<set>\n<parameter name='configuration' value='`$block_configuration.configuration-string`' />\n",
+ "comments": "",
+ "x": 973.9999923706055,
+ "y": 310.49999046325684,
+ "z": "1e8e0db6.7d4d12",
+ "wires": []
+ },
+ {
+ "id": "e92ebc2.c77764",
+ "type": "comment",
+ "name": "CLI/XML",
+ "info": "",
+ "comments": "",
+ "x": 1143.9999923706055,
+ "y": 287.49999046325684,
+ "z": "1e8e0db6.7d4d12",
+ "wires": []
+ },
+ {
+ "id": "9f19e98d.ef3a08",
+ "type": "switchNode",
+ "name": "switch configuration.configuration-json",
+ "xml": "<switch test='`$block_configuration.configuration-json`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 334.49999237060547,
+ "y": 363.49999046325684,
+ "z": "1e8e0db6.7d4d12",
+ "wires": [
+ [
+ "da9c7e5c.d969d",
+ "5b4a2e9f.a0e1c"
+ ]
+ ]
+ },
+ {
+ "id": "da9c7e5c.d969d",
+ "type": "success",
+ "name": "outcome: Other",
+ "xml": "<outcome value=\"Other\">",
+ "comments": "",
+ "outputs": 1,
+ "x": 618.4999923706055,
+ "y": 407.49999046325684,
+ "z": "1e8e0db6.7d4d12",
+ "wires": [
+ [
+ "81a5922d.d1697"
+ ]
+ ]
+ },
+ {
+ "id": "890a9568.ab8478",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 794.4999923706055,
+ "y": 365.49999046325684,
+ "z": "1e8e0db6.7d4d12",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "81a5922d.d1697",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 791.4999923706055,
+ "y": 404.49999046325684,
+ "z": "1e8e0db6.7d4d12",
+ "wires": [
+ [
+ "df609a35.996668"
+ ]
+ ]
+ },
+ {
+ "id": "df609a35.996668",
+ "type": "set",
+ "name": "set configuration",
+ "xml": "<set>\n<parameter name='configuration' value='`$block_configuration.configuration-json`' />\n",
+ "comments": "",
+ "x": 964.4999923706055,
+ "y": 404.49999046325684,
+ "z": "1e8e0db6.7d4d12",
+ "wires": []
+ },
+ {
+ "id": "35ca0cd5.ff4b24",
+ "type": "comment",
+ "name": "JSON",
+ "info": "",
+ "comments": "",
+ "x": 1119.9999923706055,
+ "y": 401.49999046325684,
+ "z": "1e8e0db6.7d4d12",
+ "wires": []
+ },
+ {
+ "id": "8cadc66e.8c2928",
+ "type": "switchNode",
+ "name": "switch template-name",
+ "xml": "<switch test='`$template-name`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 324,
+ "y": 209.99999809265137,
+ "z": "1e8e0db6.7d4d12",
+ "wires": [
+ [
+ "8c74334f.a12cd",
+ "9098550c.520648"
+ ]
+ ]
+ },
+ {
+ "id": "8c74334f.a12cd",
+ "type": "success",
+ "name": "outcome: null",
+ "xml": "<outcome value=''>",
+ "comments": "",
+ "outputs": 1,
+ "x": 544.9999923706055,
+ "y": 176.49999046325684,
+ "z": "1e8e0db6.7d4d12",
+ "wires": [
+ [
+ "1e8340f1.e284ef"
+ ]
+ ]
+ },
+ {
+ "id": "9098550c.520648",
+ "type": "success",
+ "name": "outcome: Other",
+ "xml": "<outcome value=\"Other\">",
+ "comments": "",
+ "outputs": 1,
+ "x": 549.9999923706055,
+ "y": 218.49999046325684,
+ "z": "1e8e0db6.7d4d12",
+ "wires": [
+ [
+ "a871d64a.f62008"
+ ]
+ ]
+ },
+ {
+ "id": "a871d64a.f62008",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 722.9999923706055,
+ "y": 215.49999046325684,
+ "z": "1e8e0db6.7d4d12",
+ "wires": [
+ [
+ "e962b510.094fe8"
+ ]
+ ]
+ },
+ {
+ "id": "e962b510.094fe8",
+ "type": "set",
+ "name": "set config-type",
+ "xml": "<set>\n<parameter name='config-type' value='template' />\n",
+ "comments": "",
+ "x": 894.9999923706055,
+ "y": 217.49999046325684,
+ "z": "1e8e0db6.7d4d12",
+ "wires": []
+ },
+ {
+ "id": "a0b81149.4795d",
+ "type": "switchNode",
+ "name": "switch configuration",
+ "xml": "<switch test='`$configuration`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 300.99999237060547,
+ "y": 453.49999046325684,
+ "z": "1e8e0db6.7d4d12",
+ "wires": [
+ [
+ "943cf1ce.98525",
+ "cdc3e844.a7c458"
+ ]
+ ]
+ },
+ {
+ "id": "943cf1ce.98525",
+ "type": "success",
+ "name": "outcome: Other",
+ "xml": "<outcome value=\"Other\">",
+ "comments": "",
+ "outputs": 1,
+ "x": 402.99999237060547,
+ "y": 540.4999904632568,
+ "z": "1e8e0db6.7d4d12",
+ "wires": [
+ [
+ "a19a2b30.148618"
+ ]
+ ]
+ },
+ {
+ "id": "43d7a3.9a55285c",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 704.9999923706055,
+ "y": 466.49999046325684,
+ "z": "1e8e0db6.7d4d12",
+ "wires": [
+ [
+ "6d3d4815.8d0ec8"
+ ]
+ ]
+ },
+ {
+ "id": "6795360d.03fc98",
+ "type": "set",
+ "name": "set config-type",
+ "xml": "<set>\n<parameter name='config-type' value='template' />\n",
+ "comments": "",
+ "x": 1184.9999923706055,
+ "y": 555.4999904632568,
+ "z": "1e8e0db6.7d4d12",
+ "wires": []
+ },
+ {
+ "id": "6d3d4815.8d0ec8",
+ "type": "switchNode",
+ "name": "switch Configuration params exists",
+ "xml": "<switch test='`$configuration-params`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 928.666633605957,
+ "y": 466.50000190734863,
+ "z": "1e8e0db6.7d4d12",
+ "wires": [
+ [
+ "4aa0db36.34f564",
+ "4e107546.e832ec"
+ ]
+ ]
+ },
+ {
+ "id": "4aa0db36.34f564",
+ "type": "success",
+ "name": "outcome: Other",
+ "xml": "<outcome value=\"Other\">",
+ "comments": "",
+ "outputs": 1,
+ "x": 865.9999923706055,
+ "y": 553.4999904632568,
+ "z": "1e8e0db6.7d4d12",
+ "wires": [
+ [
+ "808f193e.7004c8"
+ ]
+ ]
+ },
+ {
+ "id": "808f193e.7004c8",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1029.9999923706055,
+ "y": 555.4999904632568,
+ "z": "1e8e0db6.7d4d12",
+ "wires": [
+ [
+ "6795360d.03fc98"
+ ]
+ ]
+ },
+ {
+ "id": "2a881c0c.cfc134",
+ "type": "comment",
+ "name": "Specific Template",
+ "info": "",
+ "comments": "",
+ "x": 1085.9999923706055,
+ "y": 209.49999046325684,
+ "z": "1e8e0db6.7d4d12",
+ "wires": []
+ },
+ {
+ "id": "1e8340f1.e284ef",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 731.9999923706055,
+ "y": 155.49999046325684,
+ "z": "1e8e0db6.7d4d12",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a19a2b30.148618",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 561.9999923706055,
+ "y": 543.4999904632568,
+ "z": "1e8e0db6.7d4d12",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "afcf1c9f.7013b",
+ "type": "success",
+ "name": "outcome: null",
+ "xml": "<outcome value=''>",
+ "comments": "",
+ "outputs": 1,
+ "x": 629.9999923706055,
+ "y": 266.49999046325684,
+ "z": "1e8e0db6.7d4d12",
+ "wires": [
+ [
+ "17d29498.a5c0ab"
+ ]
+ ]
+ },
+ {
+ "id": "5b4a2e9f.a0e1c",
+ "type": "success",
+ "name": "outcome: null",
+ "xml": "<outcome value=''>",
+ "comments": "",
+ "outputs": 1,
+ "x": 622.9999923706055,
+ "y": 358.49999046325684,
+ "z": "1e8e0db6.7d4d12",
+ "wires": [
+ [
+ "890a9568.ab8478"
+ ]
+ ]
+ },
+ {
+ "id": "cdc3e844.a7c458",
+ "type": "success",
+ "name": "outcome: null",
+ "xml": "<outcome value=''>",
+ "comments": "",
+ "outputs": 1,
+ "x": 531.6666641235352,
+ "y": 459.8333339691162,
+ "z": "1e8e0db6.7d4d12",
+ "wires": [
+ [
+ "43d7a3.9a55285c"
+ ]
+ ]
+ },
+ {
+ "id": "4e107546.e832ec",
+ "type": "success",
+ "name": "outcome: null",
+ "xml": "<outcome value=''>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1207.9999923706055,
+ "y": 456.49999046325684,
+ "z": "1e8e0db6.7d4d12",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "6c17615f.a5824",
+ "type": "comment",
+ "name": "Search template from the input request",
+ "info": "",
+ "comments": "",
+ "x": 355.66661834716797,
+ "y": 131.83327293395996,
+ "z": "1e8e0db6.7d4d12",
+ "wires": []
+ },
+ {
+ "id": "d4d3f195.d6269",
+ "type": "dgstart",
+ "name": "DGSTART",
+ "outputs": 1,
+ "x": 124,
+ "y": 65,
+ "z": "1e8e0db6.7d4d12",
+ "wires": [
+ [
+ "32e28f93.3cb14"
+ ]
+ ]
+ },
+ {
+ "id": "32e28f93.3cb14",
+ "type": "service-logic",
+ "name": "APPC 4.0.0",
+ "module": "APPC",
+ "version": "4.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' version='4.0.0'>",
+ "outputs": 1,
+ "x": 269.4285583496094,
+ "y": 64,
+ "z": "1e8e0db6.7d4d12",
+ "wires": [
+ [
+ "12244989.1a1e56"
+ ]
+ ]
+ },
+ {
+ "id": "12244989.1a1e56",
+ "type": "method",
+ "name": "method loadTeamplate",
+ "xml": "<method rpc='loadTeamplate' mode='sync'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 472.72618103027344,
+ "y": 63.5,
+ "z": "1e8e0db6.7d4d12",
+ "wires": [
+ [
+ "88db856e.7f2968"
+ ]
+ ]
+ },
+ {
+ "id": "88db856e.7f2968",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 98.8809814453125,
+ "y": 190.03570556640625,
+ "z": "1e8e0db6.7d4d12",
+ "wires": [
+ [
+ "8cadc66e.8c2928",
+ "8a734c47.1723c",
+ "9f19e98d.ef3a08",
+ "a0b81149.4795d"
+ ]
+ ]
+ }
+]
diff --git a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_method_DownloadvIRCChefConfig_4.0.0.json b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_method_DownloadvIRCChefConfig_4.0.0.json
index 01bfe71a0..8cceeced6 100644
--- a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_method_DownloadvIRCChefConfig_4.0.0.json
+++ b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_method_DownloadvIRCChefConfig_4.0.0.json
@@ -1 +1,315 @@
-[{"id":"7429c878.5abe38","type":"dgstart","name":"DGSTART","outputs":1,"x":136,"y":73,"z":"f809d11d.5015c","wires":[["2a4f05d6.88a89a"]]},{"id":"2a4f05d6.88a89a","type":"service-logic","name":"APPC 4.0.0","module":"APPC","version":"4.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' version='4.0.0'>","outputs":1,"x":125,"y":141,"z":"f809d11d.5015c","wires":[["aa94c1db.ebfc"]]},{"id":"aa94c1db.ebfc","type":"method","name":"method","xml":"<method rpc='DownloadvIRCChefConfig' mode='sync'>\n","comments":"","outputs":1,"x":124,"y":216,"z":"f809d11d.5015c","wires":[["ea7c5ec6.16476"]]},{"id":"ea7c5ec6.16476","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":113,"y":315,"z":"f809d11d.5015c","wires":[["d3e04c9b.c07be","d1b241f6.8c179","9c35834d.a01fa","da9b7cd9.09d6f","bf9d85fc.805698"]]},{"id":"d3e04c9b.c07be","type":"execute","name":"execute","xml":"<execute plugin='org.onap.appc.adapter.chef.ChefAdapter' method='retrieveData'>\n <parameter name='org.onap.appc.instance.dgContext' value='environment-name'/>\n <parameter name='org.onap.appc.instance.allConfig' value='`$virc-environment`'/>\n <parameter name='org.onap.appc.instance.key' value='name'/>\n","comments":"","outputs":1,"x":409,"y":126,"z":"f809d11d.5015c","wires":[[]]},{"id":"d1b241f6.8c179","type":"execute","name":"execute","xml":"<execute plugin='org.onap.appc.adapter.chef.ChefAdapter' method='combineStrings' >\n <parameter name='org.onap.appc.instance.dgContext' value='chef-action'/>\n <parameter name='org.onap.appc.instance.String1' value='/environments/'/>\n <parameter name='org.onap.appc.instance.String2' value='`$environment-name`'/>","comments":"","outputs":1,"x":399,"y":183,"z":"f809d11d.5015c","wires":[[]]},{"id":"9c35834d.a01fa","type":"execute","name":"execute","xml":"<execute plugin='org.onap.appc.adapter.chef.ChefAdapter' method='chefPut' >\n<parameter name='org.onap.appc.instance.organizations' value='`$chef-organization`'/> \n<parameter name='org.onap.appc.instance.serverAddress' value='`$chef-server-address`'/> \n<parameter name='org.onap.appc.instance.username' value='`$chef-username`'/> \n<parameter name='org.onap.appc.instance.chefAction' value='`$chef-action`'/> \n<parameter name='org.onap.appc.instance.chefRequestBody' value='`$virc-environment`'/>","comments":"","outputs":1,"x":405,"y":244,"z":"f809d11d.5015c","wires":[[]]},{"id":"da9b7cd9.09d6f","type":"switchNode","name":"switch","xml":"<switch test='`$org.onap.appc.chefServerResult.code`'>\n","comments":"","outputs":1,"x":252,"y":453,"z":"f809d11d.5015c","wires":[["374e8d98.aebe72","616a3c9c.5953a4","41e33222.25d1ec"]]},{"id":"374e8d98.aebe72","type":"outcome","name":"outcome","xml":"<outcome value='404'>\n","comments":"","outputs":1,"x":456,"y":329,"z":"f809d11d.5015c","wires":[["15bca697.807fd9"]]},{"id":"eb531a20.afbbd8","type":"execute","name":"execute","xml":"<execute plugin='org.onap.appc.adapter.chef.ChefAdapter' method='chefPost' >\n<parameter name='org.onap.appc.instance.organizations' value='`$chef-organization`'/> \n<parameter name='org.onap.appc.instance.serverAddress' value='`$chef-server-address`'/> \n<parameter name='org.onap.appc.instance.username' value='`$chef-username`'/> \n<parameter name='org.onap.appc.instance.chefAction' value='/environments'/> \n<parameter name='org.onap.appc.instance.chefRequestBody' value='`$virc-environment`'/>\n","comments":"","outputs":1,"x":789,"y":228,"z":"f809d11d.5015c","wires":[[]]},{"id":"11e5058e.84b97a","type":"outcome","name":"outcome","xml":"<outcome value='201'>\n","comments":"","outputs":1,"x":1083,"y":534,"z":"f809d11d.5015c","wires":[["6ded9d24.0dbaa4"]]},{"id":"f5ae799f.bf25a8","type":"outcome","name":"outcome","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":1081,"y":352,"z":"f809d11d.5015c","wires":[["1f394e1f.056dd2"]]},{"id":"23cc137a.1b7dfc","type":"switchNode","name":"switch","xml":"<switch test='`$org.onap.appc.chefServerResult.code`'>\n","comments":"","outputs":1,"x":803,"y":410,"z":"f809d11d.5015c","wires":[["11e5058e.84b97a","f5ae799f.bf25a8"]]},{"id":"15bca697.807fd9","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":615,"y":329,"z":"f809d11d.5015c","wires":[["eb531a20.afbbd8","23cc137a.1b7dfc"]]},{"id":"616a3c9c.5953a4","type":"outcome","name":"outcome","xml":"<outcome value='200'>\n","comments":"","outputs":1,"x":591,"y":565,"z":"f809d11d.5015c","wires":[["5abbe56e.76c5cc"]]},{"id":"41e33222.25d1ec","type":"outcome","name":"outcome","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":606,"y":667,"z":"f809d11d.5015c","wires":[["b231a35d.86656"]]},{"id":"6ded9d24.0dbaa4","type":"returnSuccess","name":"return success","xml":"<return status='success'>\n<parameter name='error-code' value='400' />\n<parameter name='error-message' value='successfully create the chef environment'/>\n","comments":"","x":1289,"y":529,"z":"f809d11d.5015c","wires":[]},{"id":"1f394e1f.056dd2","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.chefServerResult.message`' />\n","comments":"","x":1292,"y":350,"z":"f809d11d.5015c","wires":[]},{"id":"b231a35d.86656","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.chefServerResult.message`' />\n","comments":"","x":793,"y":669,"z":"f809d11d.5015c","wires":[]},{"id":"5abbe56e.76c5cc","type":"returnSuccess","name":"return success","xml":"<return status='success'>\n<parameter name='error-code' value='400' />\n<parameter name='error-message' value='successfully updated the chef environment'/>\n","comments":"","x":808,"y":567,"z":"f809d11d.5015c","wires":[]},{"id":"bf9d85fc.805698","type":"set","name":"set","xml":"<set>\n<parameter name='chef-server-address' value='`$vnf-host-ip-address`' />\n<parameter name='chef-username' value='`$device-authentication.USER-NAME`' />\n<parameter name='chef-organization' value='virc'/>\n<parameter name='virc-environment' value='`$deviceconfig-file-content`' />","comments":"","x":419,"y":68,"z":"f809d11d.5015c","wires":[]}]
+[
+ {
+ "id": "7429c878.5abe38",
+ "type": "dgstart",
+ "name": "DGSTART",
+ "outputs": 1,
+ "x": 136,
+ "y": 73,
+ "z": "f809d11d.5015c",
+ "wires": [
+ [
+ "2a4f05d6.88a89a"
+ ]
+ ]
+ },
+ {
+ "id": "2a4f05d6.88a89a",
+ "type": "service-logic",
+ "name": "APPC 4.0.0",
+ "module": "APPC",
+ "version": "4.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' version='4.0.0'>",
+ "outputs": 1,
+ "x": 125,
+ "y": 141,
+ "z": "f809d11d.5015c",
+ "wires": [
+ [
+ "aa94c1db.ebfc"
+ ]
+ ]
+ },
+ {
+ "id": "aa94c1db.ebfc",
+ "type": "method",
+ "name": "method",
+ "xml": "<method rpc='DownloadvIRCChefConfig' mode='sync'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 124,
+ "y": 216,
+ "z": "f809d11d.5015c",
+ "wires": [
+ [
+ "ea7c5ec6.16476"
+ ]
+ ]
+ },
+ {
+ "id": "ea7c5ec6.16476",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 113,
+ "y": 315,
+ "z": "f809d11d.5015c",
+ "wires": [
+ [
+ "d3e04c9b.c07be",
+ "d1b241f6.8c179",
+ "9c35834d.a01fa",
+ "da9b7cd9.09d6f",
+ "bf9d85fc.805698"
+ ]
+ ]
+ },
+ {
+ "id": "d3e04c9b.c07be",
+ "type": "execute",
+ "name": "execute",
+ "xml": "<execute plugin='org.onap.appc.adapter.chef.ChefAdapter' method='retrieveData'>\n <parameter name='org.onap.appc.instance.dgContext' value='environment-name'/>\n <parameter name='org.onap.appc.instance.allConfig' value='`$virc-environment`'/>\n <parameter name='org.onap.appc.instance.key' value='name'/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 409,
+ "y": 126,
+ "z": "f809d11d.5015c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d1b241f6.8c179",
+ "type": "execute",
+ "name": "execute",
+ "xml": "<execute plugin='org.onap.appc.adapter.chef.ChefAdapter' method='combineStrings' >\n <parameter name='org.onap.appc.instance.dgContext' value='chef-action'/>\n <parameter name='org.onap.appc.instance.String1' value='/environments/'/>\n <parameter name='org.onap.appc.instance.String2' value='`$environment-name`'/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 399,
+ "y": 183,
+ "z": "f809d11d.5015c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "9c35834d.a01fa",
+ "type": "execute",
+ "name": "execute",
+ "xml": "<execute plugin='org.onap.appc.adapter.chef.ChefAdapter' method='chefPut' >\n<parameter name='org.onap.appc.instance.organizations' value='`$chef-organization`'/> \n<parameter name='org.onap.appc.instance.serverAddress' value='`$chef-server-address`'/> \n<parameter name='org.onap.appc.instance.username' value='`$chef-username`'/> \n<parameter name='org.onap.appc.instance.chefAction' value='`$chef-action`'/> \n<parameter name='org.onap.appc.instance.chefRequestBody' value='`$virc-environment`'/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 405,
+ "y": 244,
+ "z": "f809d11d.5015c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "da9b7cd9.09d6f",
+ "type": "switchNode",
+ "name": "switch",
+ "xml": "<switch test='`$org.onap.appc.chefServerResult.code`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 252,
+ "y": 453,
+ "z": "f809d11d.5015c",
+ "wires": [
+ [
+ "374e8d98.aebe72",
+ "616a3c9c.5953a4",
+ "41e33222.25d1ec"
+ ]
+ ]
+ },
+ {
+ "id": "374e8d98.aebe72",
+ "type": "outcome",
+ "name": "outcome",
+ "xml": "<outcome value='404'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 456,
+ "y": 329,
+ "z": "f809d11d.5015c",
+ "wires": [
+ [
+ "15bca697.807fd9"
+ ]
+ ]
+ },
+ {
+ "id": "eb531a20.afbbd8",
+ "type": "execute",
+ "name": "execute",
+ "xml": "<execute plugin='org.onap.appc.adapter.chef.ChefAdapter' method='chefPost' >\n<parameter name='org.onap.appc.instance.organizations' value='`$chef-organization`'/> \n<parameter name='org.onap.appc.instance.serverAddress' value='`$chef-server-address`'/> \n<parameter name='org.onap.appc.instance.username' value='`$chef-username`'/> \n<parameter name='org.onap.appc.instance.chefAction' value='/environments'/> \n<parameter name='org.onap.appc.instance.chefRequestBody' value='`$virc-environment`'/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 789,
+ "y": 228,
+ "z": "f809d11d.5015c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "11e5058e.84b97a",
+ "type": "outcome",
+ "name": "outcome",
+ "xml": "<outcome value='201'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1083,
+ "y": 534,
+ "z": "f809d11d.5015c",
+ "wires": [
+ [
+ "6ded9d24.0dbaa4"
+ ]
+ ]
+ },
+ {
+ "id": "f5ae799f.bf25a8",
+ "type": "outcome",
+ "name": "outcome",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1081,
+ "y": 352,
+ "z": "f809d11d.5015c",
+ "wires": [
+ [
+ "1f394e1f.056dd2"
+ ]
+ ]
+ },
+ {
+ "id": "23cc137a.1b7dfc",
+ "type": "switchNode",
+ "name": "switch",
+ "xml": "<switch test='`$org.onap.appc.chefServerResult.code`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 803,
+ "y": 410,
+ "z": "f809d11d.5015c",
+ "wires": [
+ [
+ "11e5058e.84b97a",
+ "f5ae799f.bf25a8"
+ ]
+ ]
+ },
+ {
+ "id": "15bca697.807fd9",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 615,
+ "y": 329,
+ "z": "f809d11d.5015c",
+ "wires": [
+ [
+ "eb531a20.afbbd8",
+ "23cc137a.1b7dfc"
+ ]
+ ]
+ },
+ {
+ "id": "616a3c9c.5953a4",
+ "type": "outcome",
+ "name": "outcome",
+ "xml": "<outcome value='200'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 591,
+ "y": 565,
+ "z": "f809d11d.5015c",
+ "wires": [
+ [
+ "5abbe56e.76c5cc"
+ ]
+ ]
+ },
+ {
+ "id": "41e33222.25d1ec",
+ "type": "outcome",
+ "name": "outcome",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 606,
+ "y": 667,
+ "z": "f809d11d.5015c",
+ "wires": [
+ [
+ "b231a35d.86656"
+ ]
+ ]
+ },
+ {
+ "id": "6ded9d24.0dbaa4",
+ "type": "returnSuccess",
+ "name": "return success",
+ "xml": "<return status='success'>\n<parameter name='error-code' value='400' />\n<parameter name='error-message' value='successfully create the chef environment'/>\n",
+ "comments": "",
+ "x": 1289,
+ "y": 529,
+ "z": "f809d11d.5015c",
+ "wires": []
+ },
+ {
+ "id": "1f394e1f.056dd2",
+ "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.chefServerResult.message`' />\n",
+ "comments": "",
+ "x": 1292,
+ "y": 350,
+ "z": "f809d11d.5015c",
+ "wires": []
+ },
+ {
+ "id": "b231a35d.86656",
+ "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.chefServerResult.message`' />\n",
+ "comments": "",
+ "x": 793,
+ "y": 669,
+ "z": "f809d11d.5015c",
+ "wires": []
+ },
+ {
+ "id": "5abbe56e.76c5cc",
+ "type": "returnSuccess",
+ "name": "return success",
+ "xml": "<return status='success'>\n<parameter name='error-code' value='400' />\n<parameter name='error-message' value='successfully updated the chef environment'/>\n",
+ "comments": "",
+ "x": 808,
+ "y": 567,
+ "z": "f809d11d.5015c",
+ "wires": []
+ },
+ {
+ "id": "bf9d85fc.805698",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n<parameter name='chef-server-address' value='`$vnf-host-ip-address`' />\n<parameter name='chef-username' value='`$device-authentication.USER-NAME`' />\n<parameter name='chef-organization' value='virc'/>\n<parameter name='virc-environment' value='`$deviceconfig-file-content`' />",
+ "comments": "",
+ "x": 419,
+ "y": 68,
+ "z": "f809d11d.5015c",
+ "wires": []
+ }
+]
diff --git a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_method_Generic_Restart.json b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_method_Generic_Restart.json
index d2c8a0066..1833938c6 100644
--- a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_method_Generic_Restart.json
+++ b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_method_Generic_Restart.json
@@ -1,1866 +1,979 @@
-[
- {
- "id": "77efa2fe.5906a4",
- "type": "method",
- "name": "Generic_Restart_2.0.1",
- "xml": "<method rpc='Generic_Restart' mode='sync'>\n",
- "comments": "",
- "outputs": 1,
- "x": 114,
- "y": 119,
- "z": "f3233724.949d7",
- "wires": [
- [
- "d57f60ae.3596c8"
- ]
- ]
- },
- {
- "id": "f3fc277b.fcf008",
- "type": "service-logic",
- "name": "APPC 2.0.1",
- "module": "APPC",
- "version": "2.0.1",
- "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' version='2.0.1'>",
- "outputs": 1,
- "x": 97,
- "y": 70,
- "z": "f3233724.949d7",
- "wires": [
- [
- "77efa2fe.5906a4"
- ]
- ]
- },
- {
- "id": "f74c7201.958e3",
- "type": "dgstart",
- "name": "DGSTART",
- "outputs": 1,
- "x": 89,
- "y": 20,
- "z": "f3233724.949d7",
- "wires": [
- [
- "f3fc277b.fcf008"
- ]
- ]
- },
- {
- "id": "3569147a.725ba4",
- "type": "execute",
- "name": "execute_getVNF_Hierarchy",
- "xml": "<execute plugin='org.onap.appc.dg.util.ExecuteNodeAction' method='getVnfHierarchy'>\n<parameter name=\"resourceKey\" value=\"`$input.action-identifiers.vnf-id`\" />",
- "comments": "",
- "outputs": 1,
- "x": 285,
- "y": 255,
- "z": "f3233724.949d7",
- "wires": [
- [
- "4078cbb6.058144",
- "85bd466a.1b45c8"
- ]
- ]
- },
- {
- "id": "4078cbb6.058144",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 520.2857208251953,
- "y": 251.85713386535645,
- "z": "f3233724.949d7",
- "wires": [
- [
- "39e4ac19.01b06c"
- ]
- ]
- },
- {
- "id": "4e5804f3.f136ec",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>\n",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 1345.8573913574219,
- "y": 246.5713963508606,
- "z": "f3233724.949d7",
- "wires": [
- [
- "a4d10066.c8a438",
- "2da822c4.8d41b6"
- ]
- ]
- },
- {
- "id": "a4d10066.c8a438",
- "type": "for",
- "name": "for_each_VMs",
- "xml": "<for index=\"i\" start=\"0\" end=\"`$VNF.VMCount`\" >",
- "comments": "",
- "outputs": 1,
- "x": 1538.5717239379883,
- "y": 256.42853116989136,
- "z": "f3233724.949d7",
- "wires": [
- [
- "e1242460.1b48"
- ]
- ]
- },
- {
- "id": "e1242460.1b48",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>\n",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 1650.5717010498047,
- "y": 189.7142515182495,
- "z": "f3233724.949d7",
- "wires": [
- [
- "89f6a89.5a2f1d8"
- ]
- ]
- },
- {
- "id": "89f6a89.5a2f1d8",
- "type": "execute",
- "name": "execute_UpdateAA&I",
- "xml": "<execute plugin='org.onap.appc.dg.util.ExecuteNodeAction' method='postResource'>\n<parameter name=\"resourceType\" value=\"vnfc\" />\n<parameter name=\"prefix\" value=\"vnfc\" />\n<parameter name=\"resourceKey\" value='vnfc-name = $VNF.VM[$i].VNFC' />\n<parameter name=\"attributeName\" value=\"orchestration-status\" />\n<parameter name=\"attributeValue\" value=\"Restarting\" />\n",
- "comments": "",
- "outputs": 1,
- "x": 1759.286018371582,
- "y": 256.42854022979736,
- "z": "f3233724.949d7",
- "wires": [
- [
- "f889439d.898128",
- "112a7308.0a5275"
- ]
- ]
- },
- {
- "id": "f889439d.898128",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2022.4285888671875,
- "y": 257.57142639160156,
- "z": "f3233724.949d7",
- "wires": [
- [
- "29ba3770.c1f3c8"
- ]
- ]
- },
- {
- "id": "2da822c4.8d41b6",
- "type": "returnSuccess",
- "name": "return success",
- "xml": "<return status='success'>\n",
- "comments": "",
- "x": 1532.2859420776367,
- "y": 313.71416425704956,
- "z": "f3233724.949d7",
- "wires": []
- },
- {
- "id": "85bd466a.1b45c8",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 517.28564453125,
- "y": 29.28571319580078,
- "z": "f3233724.949d7",
- "wires": [
- [
- "c3caa195.b3d0f8"
- ]
- ]
- },
- {
- "id": "fd3ec61c.d74f5",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status='failure'>\n",
- "comments": "",
- "x": 886.5714340209961,
- "y": 78.57142579555511,
- "z": "f3233724.949d7",
- "wires": []
- },
- {
- "id": "3f21932e.ae5b5c",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 3470.0000076293945,
- "y": 368.5714588165283,
- "z": "f3233724.949d7",
- "wires": [
- [
- "96461915.52e788"
- ]
- ]
- },
- {
- "id": "33439619.cba012",
- "type": "execute",
- "name": "execute_update_AA&I",
- "xml": "<execute plugin='org.onap.appc.dg.util.ExecuteNodeAction' method='postResource'>\n<parameter name=\"resourceType\" value=\"vnfc\" />\n<parameter name=\"prefix\" value=\"vnfc\" />\n<parameter name=\"resourceKey\" value='vnfc-name = $VNF.VM[$i].VNFC' />\n<parameter name=\"attributeName\" value=\"orchestration-status\" />\n<parameter name=\"attributeValue\" value=\"Restarted\" />\n",
- "comments": "",
- "outputs": 1,
- "x": 4306.71378326416,
- "y": 917.1429214477539,
- "z": "f3233724.949d7",
- "wires": [
- [
- "9dc27e7a.e97958",
- "223bf714.c63b38"
- ]
- ]
- },
- {
- "id": "9dc27e7a.e97958",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 4500.142219543457,
- "y": 1022.2858295440674,
- "z": "f3233724.949d7",
- "wires": [
- [
- "ad2a7678.0ff04"
- ]
- ]
- },
- {
- "id": "7524bbc6.5b1bd4",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status='failure'>\n",
- "comments": "",
- "x": 4847.142219543457,
- "y": 1073.2858295440674,
- "z": "f3233724.949d7",
- "wires": []
- },
- {
- "id": "223bf714.c63b38",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 4499.428039550781,
- "y": 825.0000867843628,
- "z": "f3233724.949d7",
- "wires": [
- [
- "33c4bf37.aa002"
- ]
- ]
- },
- {
- "id": "112a7308.0a5275",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1834.0000381469727,
- "y": 549.571478843689,
- "z": "f3233724.949d7",
- "wires": [
- [
- "ae268e7b.227458"
- ]
- ]
- },
- {
- "id": "6a0490e7.9a9978",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status='failure'>\n",
- "comments": "",
- "x": 2157.57137298584,
- "y": 638.4286470413208,
- "z": "f3233724.949d7",
- "wires": []
- },
- {
- "id": "dab9037a.73cc8",
- "type": "execute",
- "name": "execute_Update_AA&I",
- "xml": "<execute plugin='org.onap.appc.dg.util.ExecuteNodeAction' method='postResource'>\n<parameter name=\"resourceType\" value=\"vnfc\" />\n<parameter name=\"prefix\" value=\"vnfc\" />\n<parameter name=\"resourceKey\" value='vnfc-name = $VNF.VM[$i].VNFC' />\n<parameter name=\"attributeName\" value=\"orchestration-status\" />\n<parameter name=\"attributeValue\" value=\"Error\" />\n",
- "comments": "",
- "outputs": 1,
- "x": 4832.285980224609,
- "y": 531.7143478393555,
- "z": "f3233724.949d7",
- "wires": [
- [
- "437746e2.a8208",
- "87adabfd.985408"
- ]
- ]
- },
- {
- "id": "437746e2.a8208",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 5103.999912261963,
- "y": 266.00002574920654,
- "z": "f3233724.949d7",
- "wires": [
- [
- "233c297.2dd7356"
- ]
- ]
- },
- {
- "id": "296c8838.727ac8",
- "type": "comment",
- "name": "update VNFCs to Restarting",
- "info": "",
- "comments": "",
- "x": 1839.8574600219727,
- "y": 218.71423721313477,
- "z": "f3233724.949d7",
- "wires": []
- },
- {
- "id": "61ae8f41.05e9e",
- "type": "comment",
- "name": "call south bound to Restart VMs",
- "info": "",
- "comments": "",
- "x": 3296.4278717041016,
- "y": 189.4285831451416,
- "z": "f3233724.949d7",
- "wires": []
- },
- {
- "id": "5e33f37e.9d54bc",
- "type": "comment",
- "name": "if failure from south bound then update as Error",
- "info": "",
- "comments": "",
- "x": 4827.571907043457,
- "y": 601.1428642272949,
- "z": "f3233724.949d7",
- "wires": []
- },
- {
- "id": "9d3cd0b7.0545b",
- "type": "comment",
- "name": "Restarted VNFCs in AA&I",
- "info": "",
- "comments": "",
- "x": 4337.571113586426,
- "y": 954.714334487915,
- "z": "f3233724.949d7",
- "wires": []
- },
- {
- "id": "7ee87617.54b68",
- "type": "comment",
- "name": "Fetch all VMs and VNFCs from AA&I for given VNF_ID",
- "info": "",
- "comments": "",
- "x": 855.7142944335938,
- "y": 109.85714149475098,
- "z": "f3233724.949d7",
- "wires": []
- },
- {
- "id": "87adabfd.985408",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 5095.857753753662,
- "y": 359.14294624328613,
- "z": "f3233724.949d7",
- "wires": [
- [
- "cf6d241.f3ffb58"
- ]
- ]
- },
- {
- "id": "fc9c6442.f66668",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 3434.285758972168,
- "y": 39.85716247558594,
- "z": "f3233724.949d7",
- "wires": [
- [
- "f38fb44e.7e9a2"
- ]
- ]
- },
- {
- "id": "75d96b60.4e9e54",
- "type": "switchNode",
- "name": "switch",
- "xml": "<switch test='`$VNF.VMCount`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 962.857421875,
- "y": 249.28571701049805,
- "z": "f3233724.949d7",
- "wires": [
- [
- "5e4b3ef1.333968",
- "7a443d49.8b5ba4"
- ]
- ]
- },
- {
- "id": "5e4b3ef1.333968",
- "type": "other",
- "name": "outcome_0",
- "xml": "<outcome value='0'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1231.2858276367188,
- "y": 29.428585052490234,
- "z": "f3233724.949d7",
- "wires": [
- [
- "603266f2.4e3b68"
- ]
- ]
- },
- {
- "id": "7a443d49.8b5ba4",
- "type": "other",
- "name": "other",
- "xml": "<outcome value='Other'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1180.1430282592773,
- "y": 245.14288139343262,
- "z": "f3233724.949d7",
- "wires": [
- [
- "4e5804f3.f136ec"
- ]
- ]
- },
- {
- "id": "96461915.52e788",
- "type": "switchNode",
- "name": "switch",
- "xml": "<switch test='`$RESTART_STATUS`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 3652.0000076293945,
- "y": 367.5714588165283,
- "z": "f3233724.949d7",
- "wires": [
- [
- "a5b69edc.1371e",
- "921d5fa7.b64fd",
- "c1dede1c.287e1"
- ]
- ]
- },
- {
- "id": "c1dede1c.287e1",
- "type": "success",
- "name": "outcome_SUCCESS",
- "xml": "<outcome value='SUCCESS'>\n",
- "comments": "",
- "outputs": 1,
- "x": 3939.4285583496094,
- "y": 704.0000228881836,
- "z": "f3233724.949d7",
- "wires": [
- [
- "5f0bb2d7.73d944"
- ]
- ]
- },
- {
- "id": "a5b69edc.1371e",
- "type": "other",
- "name": "outcome_CONTEXT_NOT_FOUND",
- "xml": "<outcome value='CONTEXT_NOT_FOUND'>\n",
- "comments": "",
- "outputs": 1,
- "x": 3954.857635498047,
- "y": 563.4286317825317,
- "z": "f3233724.949d7",
- "wires": [
- [
- "c015eed1.b1284"
- ]
- ]
- },
- {
- "id": "921d5fa7.b64fd",
- "type": "other",
- "name": "outcome_ERROR",
- "xml": "<outcome value='ERROR'>\n",
- "comments": "",
- "outputs": 1,
- "x": 3851.9998474121094,
- "y": 321.0000534057617,
- "z": "f3233724.949d7",
- "wires": [
- [
- "fb86a599.d6e52"
- ]
- ]
- },
- {
- "id": "5fc462ef.902c24",
- "type": "execute",
- "name": "execute_Restart",
- "xml": "<execute plugin='org.onap.appc.adapter.iaas.ProviderAdapter' method='restartServer'>\n<parameter name=\"org.onap.appc.provider.name\" value=\"OpenStack\"/>\n<parameter name=\"org.onap.appc.instance.url\" value=\"`$VNF.VM[$i].URL`\" />\n<parameter name=\"org.onap.appc.identity.url\" value=\"`$AICIdentity`\" />\n\n",
- "comments": "",
- "outputs": 1,
- "x": 3294.2858657836914,
- "y": 256.8571901321411,
- "z": "f3233724.949d7",
- "wires": [
- [
- "3f21932e.ae5b5c",
- "fc9c6442.f66668"
- ]
- ]
- },
- {
- "id": "39e4ac19.01b06c",
- "type": "switchNode",
- "name": "switch",
- "xml": "<switch test='`$getVnfHierarchy_result`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 670.5714340209961,
- "y": 249.85720825195312,
- "z": "f3233724.949d7",
- "wires": [
- [
- "cf51ca13.06e278",
- "72819038.6fa4c8"
- ]
- ]
- },
- {
- "id": "72819038.6fa4c8",
- "type": "outcome",
- "name": "FAILURE",
- "xml": "<outcome value='FAILURE'>\n",
- "comments": "",
- "outputs": 1,
- "x": 818.7858428955078,
- "y": 520.5714192390442,
- "z": "f3233724.949d7",
- "wires": [
- [
- "a5478728.ff0ec"
- ]
- ]
- },
- {
- "id": "34e62453.208ac4",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status='failure'>\n",
- "comments": "",
- "x": 1299.3571891784668,
- "y": 597.285737991333,
- "z": "f3233724.949d7",
- "wires": []
- },
- {
- "id": "cf51ca13.06e278",
- "type": "outcome",
- "name": "SUCCESS",
- "xml": "<outcome value='SUCCESS'>\n",
- "comments": "",
- "outputs": 1,
- "x": 822.9999771118164,
- "y": 250.14290809631348,
- "z": "f3233724.949d7",
- "wires": [
- [
- "75d96b60.4e9e54"
- ]
- ]
- },
- {
- "id": "ffc6f747.0a0218",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status='failure'>\n",
- "comments": "",
- "x": 1585.5717468261719,
- "y": 83.85710144042969,
- "z": "f3233724.949d7",
- "wires": []
- },
- {
- "id": "29ba3770.c1f3c8",
- "type": "switchNode",
- "name": "switch",
- "xml": "<switch test='`$postResource_result`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2357.4286003112793,
- "y": 250.4285650253296,
- "z": "f3233724.949d7",
- "wires": [
- [
- "8dd97536.3861",
- "298028ac.19fed8",
- "5a5aa624.6ed6f8"
- ]
- ]
- },
- {
- "id": "8dd97536.3861",
- "type": "outcome",
- "name": "SUCCESS",
- "xml": "<outcome value='SUCCESS'>\n",
- "comments": "",
- "outputs": 1,
- "x": 3083.0001907348633,
- "y": 261.7142677307129,
- "z": "f3233724.949d7",
- "wires": [
- [
- "5fc462ef.902c24"
- ]
- ]
- },
- {
- "id": "298028ac.19fed8",
- "type": "outcome",
- "name": "NOT_FOUND",
- "xml": "<outcome value='NOT_FOUND'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2462.1429176330566,
- "y": 33.428611755371094,
- "z": "f3233724.949d7",
- "wires": [
- [
- "73a1e1e1.3f12d8"
- ]
- ]
- },
- {
- "id": "31507432.c47354",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status='failure'>\n",
- "comments": "",
- "x": 2853.142868041992,
- "y": 125.42854309082031,
- "z": "f3233724.949d7",
- "wires": []
- },
- {
- "id": "5a5aa624.6ed6f8",
- "type": "outcome",
- "name": "FAILURE",
- "xml": "<outcome value='FAILURE'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2474.7142753601074,
- "y": 541.857063293457,
- "z": "f3233724.949d7",
- "wires": [
- [
- "92e5a6d6.1d8d2"
- ]
- ]
- },
- {
- "id": "e0f4b3fe.b8cd18",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status='failure'>\n",
- "comments": "",
- "x": 2794.5710678100586,
- "y": 637.2857112884521,
- "z": "f3233724.949d7",
- "wires": []
- },
- {
- "id": "33c4bf37.aa002",
- "type": "switchNode",
- "name": "switch",
- "xml": "<switch test='`$postResource_result`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 4662.142288208008,
- "y": 825.428671836853,
- "z": "f3233724.949d7",
- "wires": [
- [
- "4d8b21a6.9f2a08",
- "8347ff07.484e9",
- "664cf859.147678"
- ]
- ]
- },
- {
- "id": "4d8b21a6.9f2a08",
- "type": "outcome",
- "name": "SUCCESS",
- "xml": "<outcome value='SUCCESS'>\n",
- "comments": "",
- "outputs": 1,
- "x": 4847.856781005859,
- "y": 824.1429166793823,
- "z": "f3233724.949d7",
- "wires": [
- []
- ]
- },
- {
- "id": "8347ff07.484e9",
- "type": "outcome",
- "name": "NOT_FOUND",
- "xml": "<outcome value='NOT_FOUND'>\n",
- "comments": "",
- "outputs": 1,
- "x": 4852.856986999512,
- "y": 756.2857484817505,
- "z": "f3233724.949d7",
- "wires": [
- [
- "a2d56bc1.16762"
- ]
- ]
- },
- {
- "id": "664cf859.147678",
- "type": "outcome",
- "name": "FAILURE",
- "xml": "<outcome value='FAILURE'>\n",
- "comments": "",
- "outputs": 1,
- "x": 4835.856498718262,
- "y": 890.142897605896,
- "z": "f3233724.949d7",
- "wires": [
- [
- "afa5d8ee.9872e"
- ]
- ]
- },
- {
- "id": "67272fcc.070ee",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status='failure'>\n",
- "comments": "",
- "x": 5216.285415649414,
- "y": 818.8571405410767,
- "z": "f3233724.949d7",
- "wires": []
- },
- {
- "id": "90242f4f.02c65",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status='failure'>\n",
- "comments": "",
- "x": 5243.714195251465,
- "y": 940.4285669326782,
- "z": "f3233724.949d7",
- "wires": []
- },
- {
- "id": "233c297.2dd7356",
- "type": "switchNode",
- "name": "switch",
- "xml": "<switch test='`$postResource_result`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 5230.429107666016,
- "y": 259.8571615219116,
- "z": "f3233724.949d7",
- "wires": [
- [
- "1d50340e.419374",
- "10f7012f.31d01f",
- "59e82f88.e7b6b"
- ]
- ]
- },
- {
- "id": "1d50340e.419374",
- "type": "outcome",
- "name": "SUCCESS",
- "xml": "<outcome value='SUCCESS'>\n",
- "comments": "",
- "outputs": 1,
- "x": 5478.142833709717,
- "y": 206.0000228881836,
- "z": "f3233724.949d7",
- "wires": [
- [
- "4761e71e.e2f208"
- ]
- ]
- },
- {
- "id": "4761e71e.e2f208",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status='failure'>\n",
- "comments": "",
- "x": 5730.000324249268,
- "y": 205.00002098083496,
- "z": "f3233724.949d7",
- "wires": []
- },
- {
- "id": "10f7012f.31d01f",
- "type": "outcome",
- "name": "NOT_FOUND",
- "xml": "<outcome value='NOT_FOUND'>\n",
- "comments": "",
- "outputs": 1,
- "x": 5480.143047332764,
- "y": 260.85716438293457,
- "z": "f3233724.949d7",
- "wires": [
- [
- "51906d2a.ba1574"
- ]
- ]
- },
- {
- "id": "59e82f88.e7b6b",
- "type": "outcome",
- "name": "FAILURE",
- "xml": "<outcome value='FAILURE'>\n",
- "comments": "",
- "outputs": 1,
- "x": 5473.000049591064,
- "y": 326.42859840393066,
- "z": "f3233724.949d7",
- "wires": [
- [
- "892ff529.01f29"
- ]
- ]
- },
- {
- "id": "c3caa195.b3d0f8",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 681.2856864929199,
- "y": 28.99999713897705,
- "z": "f3233724.949d7",
- "wires": [
- [
- "2bab1708.35229",
- "fd3ec61c.d74f5"
- ]
- ]
- },
- {
- "id": "2bab1708.35229",
- "type": "execute",
- "name": "execute",
- "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=\"output.status.message\" value=\"Exception in getting VNF Hierachy\" />\n\n",
- "comments": "",
- "outputs": 1,
- "x": 886.4285926818848,
- "y": 27.857141494750977,
- "z": "f3233724.949d7",
- "wires": [
- [
- "4f2e980a.047948"
- ]
- ]
- },
- {
- "id": "4f2e980a.047948",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1033.1428756713867,
- "y": 24.14285659790039,
- "z": "f3233724.949d7",
- "wires": [
- []
- ]
- },
- {
- "id": "a5478728.ff0ec",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 1088.023910522461,
- "y": 522.7620143890381,
- "z": "f3233724.949d7",
- "wires": [
- [
- "34e62453.208ac4",
- "587f4ad0.9d068c"
- ]
- ]
- },
- {
- "id": "587f4ad0.9d068c",
- "type": "execute",
- "name": "execute",
- "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=\"output.status.message\" value=\"Failure in getting VNF Hierachy\" />",
- "comments": "",
- "outputs": 1,
- "x": 1280.928638458252,
- "y": 522.1429443359375,
- "z": "f3233724.949d7",
- "wires": [
- [
- "617e8a47.dee6d4"
- ]
- ]
- },
- {
- "id": "617e8a47.dee6d4",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1462.2144165039062,
- "y": 521.5715417861938,
- "z": "f3233724.949d7",
- "wires": [
- []
- ]
- },
- {
- "id": "603266f2.4e3b68",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 1411.571662902832,
- "y": 30.857173919677734,
- "z": "f3233724.949d7",
- "wires": [
- [
- "ffc6f747.0a0218",
- "1b7172ec.01ee45"
- ]
- ]
- },
- {
- "id": "1b7172ec.01ee45",
- "type": "execute",
- "name": "execute",
- "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=\"output.status.message\" value=\"VM Count is 0\" />\n",
- "comments": "",
- "outputs": 1,
- "x": 1595.0003547668457,
- "y": 27.857142448425293,
- "z": "f3233724.949d7",
- "wires": [
- [
- "558b37ad.8521a"
- ]
- ]
- },
- {
- "id": "558b37ad.8521a",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1768.8574447631836,
- "y": 29.57139015197754,
- "z": "f3233724.949d7",
- "wires": [
- []
- ]
- },
- {
- "id": "ae268e7b.227458",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 1981.571434020996,
- "y": 548.1428813934326,
- "z": "f3233724.949d7",
- "wires": [
- [
- "4ee323c7.76dfa4",
- "6a0490e7.9a9978"
- ]
- ]
- },
- {
- "id": "4ee323c7.76dfa4",
- "type": "execute",
- "name": "execute",
- "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=\"output.status.message\" value=\"`'Failure in updating AAI for' + $VNF.VM[$i].VNFC`\" />\n",
- "comments": "",
- "outputs": 1,
- "x": 2153.000244140625,
- "y": 545.0000610351562,
- "z": "f3233724.949d7",
- "wires": [
- [
- "fbf65c23.908008"
- ]
- ]
- },
- {
- "id": "fbf65c23.908008",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2286.28564453125,
- "y": 544.857177734375,
- "z": "f3233724.949d7",
- "wires": [
- []
- ]
- },
- {
- "id": "92e5a6d6.1d8d2",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 2639.2854232788086,
- "y": 539.2856788635254,
- "z": "f3233724.949d7",
- "wires": [
- [
- "aa960cd9.883948",
- "e0f4b3fe.b8cd18"
- ]
- ]
- },
- {
- "id": "aa960cd9.883948",
- "type": "execute",
- "name": "execute",
- "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=\"output.status.message\" value=\"`'Exception in AAI Update for vnfc ' + $VNF.VM[$i].VNFC`\" />\n\n",
- "comments": "",
- "outputs": 1,
- "x": 2796.28564453125,
- "y": 540.142822265625,
- "z": "f3233724.949d7",
- "wires": [
- [
- "81652814.1359b"
- ]
- ]
- },
- {
- "id": "81652814.1359b",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2923.428066253662,
- "y": 539.8570718765259,
- "z": "f3233724.949d7",
- "wires": [
- []
- ]
- },
- {
- "id": "73a1e1e1.3f12d8",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 2650.714412689209,
- "y": 29.42860984802246,
- "z": "f3233724.949d7",
- "wires": [
- [
- "e89f00f2.e11a58",
- "31507432.c47354"
- ]
- ]
- },
- {
- "id": "e89f00f2.e11a58",
- "type": "execute",
- "name": "execute",
- "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=\"output.status.message\" value=\"`'VNFC not found in AAI : ' + $VNF.VM[$i].VNFC`\" />\n",
- "comments": "",
- "outputs": 1,
- "x": 2850.4287300109863,
- "y": 28.857165336608887,
- "z": "f3233724.949d7",
- "wires": [
- [
- "62a54c9a.9e4184"
- ]
- ]
- },
- {
- "id": "62a54c9a.9e4184",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 3009.8572311401367,
- "y": 28.00004768371582,
- "z": "f3233724.949d7",
- "wires": [
- []
- ]
- },
- {
- "id": "f38fb44e.7e9a2",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 4662.856857299805,
- "y": 41.57143783569336,
- "z": "f3233724.949d7",
- "wires": [
- [
- "3e633dc7.8349aa",
- "dab9037a.73cc8"
- ]
- ]
- },
- {
- "id": "3e633dc7.8349aa",
- "type": "execute",
- "name": "Report_Failure_in_Restart",
- "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=\"output.status.message\" value=\"`'Failure in restart for:' + $VNF.VM[$i].URL`\" />",
- "comments": "",
- "outputs": 1,
- "x": 4882.428768157959,
- "y": 68.28573799133301,
- "z": "f3233724.949d7",
- "wires": [
- [
- "21eabfb9.c71688"
- ]
- ]
- },
- {
- "id": "21eabfb9.c71688",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 5066.428413391113,
- "y": 70.2857437133789,
- "z": "f3233724.949d7",
- "wires": [
- []
- ]
- },
- {
- "id": "c015eed1.b1284",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 4237.428771972656,
- "y": 557.5714626312256,
- "z": "f3233724.949d7",
- "wires": [
- [
- "dab9037a.73cc8",
- "44f3a34b.72d604"
- ]
- ]
- },
- {
- "id": "44f3a34b.72d604",
- "type": "execute",
- "name": "Report_Context_not_found",
- "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=\"output.status.message\" value=\"`'Stop : Context not found:' + $VNF.VM[$i].URL`\" />",
- "comments": "",
- "outputs": 1,
- "x": 4446.571556091309,
- "y": 302.571475982666,
- "z": "f3233724.949d7",
- "wires": [
- [
- "c42b52c.ae354b"
- ]
- ]
- },
- {
- "id": "c42b52c.ae354b",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 4814.430023193359,
- "y": 313.1428756713867,
- "z": "f3233724.949d7",
- "wires": [
- []
- ]
- },
- {
- "id": "fb86a599.d6e52",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 4069.4290466308594,
- "y": 297.0000228881836,
- "z": "f3233724.949d7",
- "wires": [
- [
- "dab9037a.73cc8",
- "5592e4e8.e05cac"
- ]
- ]
- },
- {
- "id": "5592e4e8.e05cac",
- "type": "execute",
- "name": "Report_Error_occoured_while_restarting_the_server",
- "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=\"output.status.message\" value=\"`'Stop : Error occoured while restarting the server:' + $VNF.VM[$i].URL`\" />",
- "comments": "",
- "outputs": 1,
- "x": 4264.857406616211,
- "y": 157.85715770721436,
- "z": "f3233724.949d7",
- "wires": [
- [
- "a4cef39e.6a4a08"
- ]
- ]
- },
- {
- "id": "a4cef39e.6a4a08",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 4607.429046630859,
- "y": 134.99999237060547,
- "z": "f3233724.949d7",
- "wires": [
- []
- ]
- },
- {
- "id": "a2d56bc1.16762",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 5049.857124328613,
- "y": 754.7143201828003,
- "z": "f3233724.949d7",
- "wires": [
- [
- "7391fda3.691d64",
- "67272fcc.070ee"
- ]
- ]
- },
- {
- "id": "afa5d8ee.9872e",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 5046.713916778564,
- "y": 886.8571300506592,
- "z": "f3233724.949d7",
- "wires": [
- [
- "740c3416.6b040c",
- "90242f4f.02c65"
- ]
- ]
- },
- {
- "id": "ad2a7678.0ff04",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 4637.142219543457,
- "y": 1018.2858295440674,
- "z": "f3233724.949d7",
- "wires": [
- [
- "e598f194.bdfb48",
- "7524bbc6.5b1bd4"
- ]
- ]
- },
- {
- "id": "7391fda3.691d64",
- "type": "execute",
- "name": "execute",
- "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=\"output.status.message\" value=\"`'VNFC not found in AAI : ' + $VNF.VM[$i].VNFC`\" />",
- "comments": "",
- "outputs": 1,
- "x": 5214.142913818359,
- "y": 753.5714340209961,
- "z": "f3233724.949d7",
- "wires": [
- [
- "fd1d078.c828b78"
- ]
- ]
- },
- {
- "id": "740c3416.6b040c",
- "type": "execute",
- "name": "execute",
- "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=\"output.status.message\" value=\"`'Exception in AAI Update for vnfc' + $VNF.VM[$i].VNFC`\" />",
- "comments": "",
- "outputs": 1,
- "x": 5229.999771118164,
- "y": 885.5713906288147,
- "z": "f3233724.949d7",
- "wires": [
- [
- "aee3e63f.bf945"
- ]
- ]
- },
- {
- "id": "fd1d078.c828b78",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 5387.142486572266,
- "y": 758.2857761383057,
- "z": "f3233724.949d7",
- "wires": [
- []
- ]
- },
- {
- "id": "aee3e63f.bf945",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 5397.285621643066,
- "y": 883.857105255127,
- "z": "f3233724.949d7",
- "wires": [
- []
- ]
- },
- {
- "id": "e598f194.bdfb48",
- "type": "execute",
- "name": "execute",
- "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=\"output.status.message\" value=\"`'Failure in updating AAI for' + $VNF.VM[$i].VNFC`\" />",
- "comments": "",
- "outputs": 1,
- "x": 4839.428146362305,
- "y": 1014.1429538726807,
- "z": "f3233724.949d7",
- "wires": [
- [
- "56657801.8f8888"
- ]
- ]
- },
- {
- "id": "56657801.8f8888",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 4996.999572753906,
- "y": 1008.1429538726807,
- "z": "f3233724.949d7",
- "wires": [
- []
- ]
- },
- {
- "id": "2bba13e0.e34864",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 83,
- "y": 257.8888854980469,
- "z": "f3233724.949d7",
- "wires": [
- [
- "3569147a.725ba4"
- ]
- ]
- },
- {
- "id": "d57f60ae.3596c8",
- "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": 131,
- "y": 182.99999237060547,
- "z": "f3233724.949d7",
- "wires": [
- [
- "2bba13e0.e34864",
- "16ffb706.800841",
- "88c60367.bb96e"
- ]
- ]
- },
- {
- "id": "ba028240.e7a8a",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status='failure'>\n",
- "comments": "",
- "x": 5391.999938964844,
- "y": 626.9999990463257,
- "z": "f3233724.949d7",
- "wires": []
- },
- {
- "id": "cf6d241.f3ffb58",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 5216,
- "y": 536.7142333984375,
- "z": "f3233724.949d7",
- "wires": [
- [
- "322113ac.4683e4",
- "ba028240.e7a8a"
- ]
- ]
- },
- {
- "id": "322113ac.4683e4",
- "type": "execute",
- "name": "execute",
- "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=\"output.status.message\" value=\"`'Failure in updating AAI for' + $VNF.VM[$i].VNFC`\" />\n",
- "comments": "",
- "outputs": 1,
- "x": 5387.428810119629,
- "y": 533.571403503418,
- "z": "f3233724.949d7",
- "wires": [
- [
- "43a18246.8cfea4"
- ]
- ]
- },
- {
- "id": "43a18246.8cfea4",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 5520.714210510254,
- "y": 533.4285297393799,
- "z": "f3233724.949d7",
- "wires": [
- []
- ]
- },
- {
- "id": "b53ebe9c.be94d8",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status='failure'>\n",
- "comments": "",
- "x": 6101,
- "y": 345,
- "z": "f3233724.949d7",
- "wires": []
- },
- {
- "id": "51906d2a.ba1574",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 5893.57177734375,
- "y": 265.00006103515625,
- "z": "f3233724.949d7",
- "wires": [
- [
- "472e9f56.80f4f8",
- "b53ebe9c.be94d8"
- ]
- ]
- },
- {
- "id": "472e9f56.80f4f8",
- "type": "execute",
- "name": "execute",
- "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=\"output.status.message\" value=\"`'VNFC not found in AAI : ' + $VNF.VM[$i].VNFC`\" />\n",
- "comments": "",
- "outputs": 1,
- "x": 6098.285861968994,
- "y": 248.42862224578857,
- "z": "f3233724.949d7",
- "wires": [
- [
- "82130f17.965c48"
- ]
- ]
- },
- {
- "id": "82130f17.965c48",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 6257.7143630981445,
- "y": 247.5715045928955,
- "z": "f3233724.949d7",
- "wires": [
- []
- ]
- },
- {
- "id": "8db8f4e2.db5058",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status='failure'>\n",
- "comments": "",
- "x": 5834,
- "y": 519,
- "z": "f3233724.949d7",
- "wires": []
- },
- {
- "id": "892ff529.01f29",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 5678.71435546875,
- "y": 420.99996757507324,
- "z": "f3233724.949d7",
- "wires": [
- [
- "af2136b6.655e3",
- "8db8f4e2.db5058"
- ]
- ]
- },
- {
- "id": "af2136b6.655e3",
- "type": "execute",
- "name": "execute",
- "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=\"output.status.message\" value='Exception in AAI Update for vnfc $VNF.VM[$i].VNFC' />\n",
- "comments": "",
- "outputs": 1,
- "x": 5835.714576721191,
- "y": 421.85711097717285,
- "z": "f3233724.949d7",
- "wires": [
- [
- "39fcdeee.9b20a2"
- ]
- ]
- },
- {
- "id": "39fcdeee.9b20a2",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 5962.8569984436035,
- "y": 421.57136058807373,
- "z": "f3233724.949d7",
- "wires": [
- []
- ]
- },
- {
- "id": "31af661a.87d042",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status='failure'>\n<parameter name=\"output.status.message\" value=\"Failure in flattening payload Json\" />",
- "comments": "",
- "x": 452.9999694824219,
- "y": 461.66674041748047,
- "z": "f3233724.949d7",
- "wires": []
- },
- {
- "id": "9fe0dada.80a3d8",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 239.66671752929688,
- "y": 416.1429672241211,
- "z": "f3233724.949d7",
- "wires": [
- [
- "31af661a.87d042",
- "60ae25ab.2f83ec"
- ]
- ]
- },
- {
- "id": "60ae25ab.2f83ec",
- "type": "execute",
- "name": "Report_Error_Flattening_Payload_Json",
- "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=\"output.status.message\" value=\"Failure in flattening payload Json\" />",
- "comments": "",
- "outputs": 1,
- "x": 528.5714111328125,
- "y": 343.52388763427734,
- "z": "f3233724.949d7",
- "wires": [
- [
- "2d8913a1.9de424"
- ]
- ]
- },
- {
- "id": "2d8913a1.9de424",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 613.8572235107422,
- "y": 414.95249462127686,
- "z": "f3233724.949d7",
- "wires": [
- []
- ]
- },
- {
- "id": "16ffb706.800841",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 64,
- "y": 417.66666412353516,
- "z": "f3233724.949d7",
- "wires": [
- [
- "9fe0dada.80a3d8"
- ]
- ]
- },
- {
- "id": "37fd60d7.04ebb8",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status='failure'>\n<parameter name=\"output.status.message\" value=\"Failure in loading Json flattening plugin\" />",
- "comments": "",
- "x": 435,
- "y": 677.6666793823242,
- "z": "f3233724.949d7",
- "wires": []
- },
- {
- "id": "ad612df9.15d468",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 246.66672134399414,
- "y": 639.1429634094238,
- "z": "f3233724.949d7",
- "wires": [
- [
- "37fd60d7.04ebb8",
- "2e5d2a6.945f0d6"
- ]
- ]
- },
- {
- "id": "2e5d2a6.945f0d6",
- "type": "execute",
- "name": "Report_Error_Loading_Json_Flattening_Plugin",
- "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=\"output.status.message\" value=\"Failure in loading Json flattening plugin\" />",
- "comments": "",
- "outputs": 1,
- "x": 535.5714149475098,
- "y": 566.5238838195801,
- "z": "f3233724.949d7",
- "wires": [
- [
- "5ad01465.ced2dc"
- ]
- ]
- },
- {
- "id": "5ad01465.ced2dc",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 620.8572273254395,
- "y": 637.9524908065796,
- "z": "f3233724.949d7",
- "wires": [
- []
- ]
- },
- {
- "id": "88c60367.bb96e",
- "type": "not-found",
- "name": "not-found",
- "xml": "<outcome value='not-found'>\n",
- "comments": "",
- "outputs": 1,
- "x": 71,
- "y": 637.6666641235352,
- "z": "f3233724.949d7",
- "wires": [
- [
- "ad612df9.15d468"
- ]
- ]
- },
- {
- "id": "5f0bb2d7.73d944",
- "type": "execute",
- "name": "Report_Success_in_Restart",
- "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=\"`'Restart event executed successfully for ' + $VNF.VM[$i].URL`\" />\n",
- "comments": "",
- "outputs": 1,
- "x": 3797.3333435058594,
- "y": 911.6667098999023,
- "z": "f3233724.949d7",
- "wires": [
- [
- "63c7e096.1a801",
- "4ed44065.488a58"
- ]
- ]
- },
- {
- "id": "63c7e096.1a801",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 4023.333333333334,
- "y": 953.6666641235352,
- "z": "f3233724.949d7",
- "wires": [
- [
- "33439619.cba012"
- ]
- ]
- },
- {
- "id": "4ed44065.488a58",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 4057.333333333334,
- "y": 845.6666641235352,
- "z": "f3233724.949d7",
- "wires": [
- []
- ]
- }
-]
+[
+ {
+ "id": "af6a33f9.dc3c3",
+ "type": "method",
+ "name": "Generic_Restart_2.0.1",
+ "xml": "<method rpc='Generic_Restart' mode='sync'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 157.515625,
+ "y": 178.99999749660492,
+ "z": "552bc61c.5a6cf8",
+ "wires": [
+ [
+ "9395984d.615e28"
+ ]
+ ]
+ },
+ {
+ "id": "79060c35.dc7f14",
+ "type": "service-logic",
+ "name": "APPC 2.0.1",
+ "module": "APPC",
+ "version": "2.0.1",
+ "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' version='2.0.1'>",
+ "outputs": 1,
+ "x": 140.515625,
+ "y": 129.99999749660492,
+ "z": "552bc61c.5a6cf8",
+ "wires": [
+ [
+ "af6a33f9.dc3c3"
+ ]
+ ]
+ },
+ {
+ "id": "fe1d53a6.8c464",
+ "type": "dgstart",
+ "name": "DGSTART",
+ "outputs": 1,
+ "x": 132.515625,
+ "y": 79.99999749660492,
+ "z": "552bc61c.5a6cf8",
+ "wires": [
+ [
+ "79060c35.dc7f14"
+ ]
+ ]
+ },
+ {
+ "id": "aef52fb.8daedd",
+ "type": "execute",
+ "name": "execute_getVNF_Hierarchy",
+ "xml": "<execute plugin='org.onap.appc.dg.util.ExecuteNodeAction' method='getVnfHierarchy'>\n<parameter name=\"resourceKey\" value=\"`$input.action-identifiers.vnf-id`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 328.515625,
+ "y": 314.9999974966049,
+ "z": "552bc61c.5a6cf8",
+ "wires": [
+ [
+ "1f8913a9.8ae10c",
+ "c0153585.a3f598"
+ ]
+ ]
+ },
+ {
+ "id": "1f8913a9.8ae10c",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 563.8013458251953,
+ "y": 311.85713136196136,
+ "z": "552bc61c.5a6cf8",
+ "wires": [
+ [
+ "52b0bec9.4c371"
+ ]
+ ]
+ },
+ {
+ "id": "81620c9e.a3735",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>\n",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1389.3730163574219,
+ "y": 306.5713938474655,
+ "z": "552bc61c.5a6cf8",
+ "wires": [
+ [
+ "56897be6.6401b4",
+ "f5b43313.3ca52"
+ ]
+ ]
+ },
+ {
+ "id": "56897be6.6401b4",
+ "type": "for",
+ "name": "for_each_VMs",
+ "xml": "<for index=\"i\" start=\"0\" end=\"`$VNF.VMCount`\" >",
+ "comments": "",
+ "outputs": 1,
+ "x": 1582.0873489379883,
+ "y": 316.4285286664963,
+ "z": "552bc61c.5a6cf8",
+ "wires": [
+ [
+ "320b17c2.41ca48"
+ ]
+ ]
+ },
+ {
+ "id": "320b17c2.41ca48",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>\n",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1806.0872421264648,
+ "y": 309.71425342559814,
+ "z": "552bc61c.5a6cf8",
+ "wires": [
+ [
+ "d7583b82.ca48a8"
+ ]
+ ]
+ },
+ {
+ "id": "f5b43313.3ca52",
+ "type": "returnSuccess",
+ "name": "return success",
+ "xml": "<return status='success'>\n",
+ "comments": "",
+ "x": 1575.8015670776367,
+ "y": 373.7141617536545,
+ "z": "552bc61c.5a6cf8",
+ "wires": []
+ },
+ {
+ "id": "c0153585.a3f598",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 560.80126953125,
+ "y": 89.2857106924057,
+ "z": "552bc61c.5a6cf8",
+ "wires": [
+ [
+ "8944e410.f05578"
+ ]
+ ]
+ },
+ {
+ "id": "14ed926a.f1008e",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n",
+ "comments": "",
+ "x": 930.0870590209961,
+ "y": 138.57142329216003,
+ "z": "552bc61c.5a6cf8",
+ "wires": []
+ },
+ {
+ "id": "7480a7be.e83688",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2302.5163497924805,
+ "y": 340.5714693069458,
+ "z": "552bc61c.5a6cf8",
+ "wires": [
+ [
+ "cfcc7195.d7b1c"
+ ]
+ ]
+ },
+ {
+ "id": "e7898ad9.fecd98",
+ "type": "comment",
+ "name": "call south bound to Restart VMs",
+ "info": "",
+ "comments": "",
+ "x": 2136.9437408447266,
+ "y": 256.42858695983887,
+ "z": "552bc61c.5a6cf8",
+ "wires": []
+ },
+ {
+ "id": "e9132973.e97d28",
+ "type": "comment",
+ "name": "Fetch all VMs and VNFCs from AA&I for given VNF_ID",
+ "info": "",
+ "comments": "",
+ "x": 899.2299194335938,
+ "y": 169.8571389913559,
+ "z": "552bc61c.5a6cf8",
+ "wires": []
+ },
+ {
+ "id": "4033070f.087248",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2343.8015327453613,
+ "y": 220.85716438293457,
+ "z": "552bc61c.5a6cf8",
+ "wires": [
+ [
+ "a4067085.ee7b4"
+ ]
+ ]
+ },
+ {
+ "id": "54514bc5.74c594",
+ "type": "switchNode",
+ "name": "switch",
+ "xml": "<switch test='`$VNF.VMCount`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1006.373046875,
+ "y": 309.28571450710297,
+ "z": "552bc61c.5a6cf8",
+ "wires": [
+ [
+ "5e3eef25.c40b4",
+ "410f290.be2b4d8"
+ ]
+ ]
+ },
+ {
+ "id": "5e3eef25.c40b4",
+ "type": "other",
+ "name": "outcome_0",
+ "xml": "<outcome value='0'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1274.8014526367188,
+ "y": 89.42858254909515,
+ "z": "552bc61c.5a6cf8",
+ "wires": [
+ [
+ "24a33f0c.5c66d"
+ ]
+ ]
+ },
+ {
+ "id": "410f290.be2b4d8",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1223.6586532592773,
+ "y": 305.14287889003754,
+ "z": "552bc61c.5a6cf8",
+ "wires": [
+ [
+ "81620c9e.a3735"
+ ]
+ ]
+ },
+ {
+ "id": "cfcc7195.d7b1c",
+ "type": "switchNode",
+ "name": "switch",
+ "xml": "<switch test='`$RESTART_STATUS`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2378.5162963867188,
+ "y": 696.5714845657349,
+ "z": "552bc61c.5a6cf8",
+ "wires": [
+ [
+ "53d1ef1b.d4ccd",
+ "ddf1bec4.e5768",
+ "93038779.082858"
+ ]
+ ]
+ },
+ {
+ "id": "93038779.082858",
+ "type": "success",
+ "name": "outcome_SUCCESS",
+ "xml": "<outcome value='SUCCESS'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2650.944465637207,
+ "y": 812.0000534057617,
+ "z": "552bc61c.5a6cf8",
+ "wires": [
+ [
+ "2ff43640.be312a"
+ ]
+ ]
+ },
+ {
+ "id": "53d1ef1b.d4ccd",
+ "type": "other",
+ "name": "outcome_CONTEXT_NOT_FOUND",
+ "xml": "<outcome value='CONTEXT_NOT_FOUND'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2653.3734130859375,
+ "y": 704.4287443161011,
+ "z": "552bc61c.5a6cf8",
+ "wires": [
+ [
+ "e8979745.ebc758"
+ ]
+ ]
+ },
+ {
+ "id": "ddf1bec4.e5768",
+ "type": "other",
+ "name": "outcome_ERROR",
+ "xml": "<outcome value='ERROR'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2632.5158767700195,
+ "y": 607.0000715255737,
+ "z": "552bc61c.5a6cf8",
+ "wires": [
+ [
+ "b89b10f8.54c03"
+ ]
+ ]
+ },
+ {
+ "id": "d7583b82.ca48a8",
+ "type": "execute",
+ "name": "execute_Restart",
+ "xml": "<execute plugin='org.onap.appc.adapter.iaas.ProviderAdapter' method='restartServer'>\n<parameter name=\"org.onap.appc.provider.name\" value=\"OpenStack\"/>\n<parameter name=\"org.onap.appc.instance.url\" value=\"`$VNF.VM[$i].URL`\" />\n<parameter name=\"org.onap.appc.identity.url\" value=\"`$AICIdentity`\" />\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2052.801918029785,
+ "y": 301.85722255706787,
+ "z": "552bc61c.5a6cf8",
+ "wires": [
+ [
+ "7480a7be.e83688",
+ "4033070f.087248"
+ ]
+ ]
+ },
+ {
+ "id": "52b0bec9.4c371",
+ "type": "switchNode",
+ "name": "switch",
+ "xml": "<switch test='`$getVnfHierarchy_result`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 714.0870590209961,
+ "y": 309.85720574855804,
+ "z": "552bc61c.5a6cf8",
+ "wires": [
+ [
+ "dc9fcbbd.45f078",
+ "421fac7b.b6dc54"
+ ]
+ ]
+ },
+ {
+ "id": "421fac7b.b6dc54",
+ "type": "outcome",
+ "name": "FAILURE",
+ "xml": "<outcome value='FAILURE'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 862.3014678955078,
+ "y": 580.5714167356491,
+ "z": "552bc61c.5a6cf8",
+ "wires": [
+ [
+ "6d512cc6.dfb4f4"
+ ]
+ ]
+ },
+ {
+ "id": "3c5fe469.391bec",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n",
+ "comments": "",
+ "x": 1342.8728141784668,
+ "y": 657.2857354879379,
+ "z": "552bc61c.5a6cf8",
+ "wires": []
+ },
+ {
+ "id": "dc9fcbbd.45f078",
+ "type": "outcome",
+ "name": "SUCCESS",
+ "xml": "<outcome value='SUCCESS'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 866.5156021118164,
+ "y": 310.1429055929184,
+ "z": "552bc61c.5a6cf8",
+ "wires": [
+ [
+ "54514bc5.74c594"
+ ]
+ ]
+ },
+ {
+ "id": "7c57afb3.7065c",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n",
+ "comments": "",
+ "x": 1629.0873718261719,
+ "y": 143.8570989370346,
+ "z": "552bc61c.5a6cf8",
+ "wires": []
+ },
+ {
+ "id": "8944e410.f05578",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 724.8013114929199,
+ "y": 88.99999463558197,
+ "z": "552bc61c.5a6cf8",
+ "wires": [
+ [
+ "2d4b92a0.39884e",
+ "14ed926a.f1008e"
+ ]
+ ]
+ },
+ {
+ "id": "2d4b92a0.39884e",
+ "type": "execute",
+ "name": "execute",
+ "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=\"output.status.message\" value=\"Exception in getting VNF Hierachy\" />\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 929.9442176818848,
+ "y": 87.8571389913559,
+ "z": "552bc61c.5a6cf8",
+ "wires": [
+ [
+ "f85ab919.b77d18"
+ ]
+ ]
+ },
+ {
+ "id": "f85ab919.b77d18",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1076.6585006713867,
+ "y": 84.14285409450531,
+ "z": "552bc61c.5a6cf8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "6d512cc6.dfb4f4",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1131.539535522461,
+ "y": 582.762011885643,
+ "z": "552bc61c.5a6cf8",
+ "wires": [
+ [
+ "3c5fe469.391bec",
+ "1243c742.ab67a9"
+ ]
+ ]
+ },
+ {
+ "id": "1243c742.ab67a9",
+ "type": "execute",
+ "name": "execute",
+ "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=\"output.status.message\" value=\"Failure in getting VNF Hierachy\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1324.444263458252,
+ "y": 582.1429418325424,
+ "z": "552bc61c.5a6cf8",
+ "wires": [
+ [
+ "b53d39a2.379b98"
+ ]
+ ]
+ },
+ {
+ "id": "b53d39a2.379b98",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1505.7300415039062,
+ "y": 581.5715392827988,
+ "z": "552bc61c.5a6cf8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "24a33f0c.5c66d",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1455.087287902832,
+ "y": 90.85717141628265,
+ "z": "552bc61c.5a6cf8",
+ "wires": [
+ [
+ "7c57afb3.7065c",
+ "a7039c76.e8bc"
+ ]
+ ]
+ },
+ {
+ "id": "a7039c76.e8bc",
+ "type": "execute",
+ "name": "execute",
+ "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=\"output.status.message\" value=\"VM Count is 0\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1638.5159797668457,
+ "y": 87.85713994503021,
+ "z": "552bc61c.5a6cf8",
+ "wires": [
+ [
+ "4a8bce0d.ce1b2"
+ ]
+ ]
+ },
+ {
+ "id": "4a8bce0d.ce1b2",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1812.3730697631836,
+ "y": 89.57138764858246,
+ "z": "552bc61c.5a6cf8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a4067085.ee7b4",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2535.372848510742,
+ "y": 219.57143592834473,
+ "z": "552bc61c.5a6cf8",
+ "wires": [
+ [
+ "51faf7d9.2c2d78",
+ "1d564539.a927cb"
+ ]
+ ]
+ },
+ {
+ "id": "51faf7d9.2c2d78",
+ "type": "execute",
+ "name": "Report_Failure_in_Restart",
+ "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=\"output.status.message\" value=\"`'Failure in restart for:' + $VNF.VM[$i].URL`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 2782.9448776245117,
+ "y": 159.28574752807617,
+ "z": "552bc61c.5a6cf8",
+ "wires": [
+ [
+ "9ba9fdba.a5bdb"
+ ]
+ ]
+ },
+ {
+ "id": "9ba9fdba.a5bdb",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3050.9442749023438,
+ "y": 159.28573989868164,
+ "z": "552bc61c.5a6cf8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "e8979745.ebc758",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2909.944835662842,
+ "y": 710.5715665817261,
+ "z": "552bc61c.5a6cf8",
+ "wires": [
+ [
+ "af8d62c6.4acba",
+ "bcc63431.460308"
+ ]
+ ]
+ },
+ {
+ "id": "af8d62c6.4acba",
+ "type": "execute",
+ "name": "Report_Context_not_found",
+ "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=\"output.status.message\" value=\"`'Stop : Context not found:' + $VNF.VM[$i].URL`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 3112.0876083374023,
+ "y": 660.571626663208,
+ "z": "552bc61c.5a6cf8",
+ "wires": [
+ [
+ "e7d5e844.90a2e8"
+ ]
+ ]
+ },
+ {
+ "id": "e7d5e844.90a2e8",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3342.9460678100586,
+ "y": 660.1430530548096,
+ "z": "552bc61c.5a6cf8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "b89b10f8.54c03",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2861.945022583008,
+ "y": 572.0000715255737,
+ "z": "552bc61c.5a6cf8",
+ "wires": [
+ [
+ "4e8f5ae7.5cb144",
+ "cb06fc63.a2228"
+ ]
+ ]
+ },
+ {
+ "id": "4e8f5ae7.5cb144",
+ "type": "execute",
+ "name": "Report_Error_occoured_while_restarting_the_server",
+ "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=\"output.status.message\" value=\"`'Stop : Error occoured while restarting the server:' + $VNF.VM[$i].URL`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 3155.373489379883,
+ "y": 514.8572015762329,
+ "z": "552bc61c.5a6cf8",
+ "wires": [
+ [
+ "5183ae4.107e85"
+ ]
+ ]
+ },
+ {
+ "id": "5183ae4.107e85",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3450.9449768066406,
+ "y": 514.0000162124634,
+ "z": "552bc61c.5a6cf8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "cc582df4.db246",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 126.515625,
+ "y": 317.8888829946518,
+ "z": "552bc61c.5a6cf8",
+ "wires": [
+ [
+ "aef52fb.8daedd"
+ ]
+ ]
+ },
+ {
+ "id": "9395984d.615e28",
+ "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": 174.515625,
+ "y": 242.9999898672104,
+ "z": "552bc61c.5a6cf8",
+ "wires": [
+ [
+ "cc582df4.db246",
+ "14af60bb.47e3cf",
+ "4e14bb77.d41174"
+ ]
+ ]
+ },
+ {
+ "id": "bcc63431.460308",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n",
+ "comments": "",
+ "x": 3073.516311645508,
+ "y": 770.0000820159912,
+ "z": "552bc61c.5a6cf8",
+ "wires": []
+ },
+ {
+ "id": "5e5f549.175e7ac",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name=\"output.status.message\" value=\"Failure in flattening payload Json\" />",
+ "comments": "",
+ "x": 496.5155944824219,
+ "y": 521.6667379140854,
+ "z": "552bc61c.5a6cf8",
+ "wires": []
+ },
+ {
+ "id": "dacc5100.4d49b",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 283.1823425292969,
+ "y": 476.142964720726,
+ "z": "552bc61c.5a6cf8",
+ "wires": [
+ [
+ "5e5f549.175e7ac",
+ "fce24037.dd8"
+ ]
+ ]
+ },
+ {
+ "id": "fce24037.dd8",
+ "type": "execute",
+ "name": "Report_Error_Flattening_Payload_Json",
+ "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=\"output.status.message\" value=\"Failure in flattening payload Json\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 572.0870361328125,
+ "y": 403.52388513088226,
+ "z": "552bc61c.5a6cf8",
+ "wires": [
+ [
+ "76012751.ab8c18"
+ ]
+ ]
+ },
+ {
+ "id": "76012751.ab8c18",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 657.3728485107422,
+ "y": 474.9524921178818,
+ "z": "552bc61c.5a6cf8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "14af60bb.47e3cf",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 107.515625,
+ "y": 477.6666616201401,
+ "z": "552bc61c.5a6cf8",
+ "wires": [
+ [
+ "dacc5100.4d49b"
+ ]
+ ]
+ },
+ {
+ "id": "1bb8f6fe.bd3509",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name=\"output.status.message\" value=\"Failure in loading Json flattening plugin\" />",
+ "comments": "",
+ "x": 478.515625,
+ "y": 737.6666768789291,
+ "z": "552bc61c.5a6cf8",
+ "wires": []
+ },
+ {
+ "id": "2064a14.03d845e",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 290.18234634399414,
+ "y": 699.1429609060287,
+ "z": "552bc61c.5a6cf8",
+ "wires": [
+ [
+ "1bb8f6fe.bd3509",
+ "ffb635d7.5302e8"
+ ]
+ ]
+ },
+ {
+ "id": "ffb635d7.5302e8",
+ "type": "execute",
+ "name": "Report_Error_Loading_Json_Flattening_Plugin",
+ "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=\"output.status.message\" value=\"Failure in loading Json flattening plugin\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 579.0870399475098,
+ "y": 626.523881316185,
+ "z": "552bc61c.5a6cf8",
+ "wires": [
+ [
+ "1e11c16.878ad3f"
+ ]
+ ]
+ },
+ {
+ "id": "1e11c16.878ad3f",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 664.3728523254395,
+ "y": 697.9524883031845,
+ "z": "552bc61c.5a6cf8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "4e14bb77.d41174",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 114.515625,
+ "y": 697.6666616201401,
+ "z": "552bc61c.5a6cf8",
+ "wires": [
+ [
+ "2064a14.03d845e"
+ ]
+ ]
+ },
+ {
+ "id": "2ff43640.be312a",
+ "type": "execute",
+ "name": "Report_Success_in_Restart",
+ "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=\"`'Restart event executed successfully for ' + $VNF.VM[$i].URL`\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2937.849365234375,
+ "y": 826.6667461395264,
+ "z": "552bc61c.5a6cf8",
+ "wires": [
+ [
+ "9961b241.892d8",
+ "88f3bd16.d9abb"
+ ]
+ ]
+ },
+ {
+ "id": "9961b241.892d8",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3210.8493843078613,
+ "y": 902.6667432785034,
+ "z": "552bc61c.5a6cf8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "88f3bd16.d9abb",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3230.849395751953,
+ "y": 794.6667728424072,
+ "z": "552bc61c.5a6cf8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "cb06fc63.a2228",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n",
+ "comments": "",
+ "x": 3044.0154037475586,
+ "y": 603.5156373977661,
+ "z": "552bc61c.5a6cf8",
+ "wires": []
+ },
+ {
+ "id": "1d564539.a927cb",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n",
+ "comments": "",
+ "x": 2747.0154037475586,
+ "y": 271.51563835144043,
+ "z": "552bc61c.5a6cf8",
+ "wires": []
+ }
+] \ No newline at end of file
diff --git a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_method_topology-operation-all_2.0.0.json b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_method_topology-operation-all_2.0.0.json
index 1221a04c8..46192a167 100644
--- a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_method_topology-operation-all_2.0.0.json
+++ b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_method_topology-operation-all_2.0.0.json
@@ -1,781 +1,683 @@
-[
- {
- "id": "7a758f5d.36f2a",
- "type": "service-logic",
- "name": "APPC 2.0.0",
- "module": "APPC",
- "version": "2.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' version='2.0.0'>",
- "outputs": 1,
- "x": 140,
- "y": 94,
- "z": "d1a301d8.219aa8",
- "wires": [
- [
- "1a700941.9439d7"
- ]
- ]
- },
- {
- "id": "9c06c4b3.52782",
- "type": "dgstart",
- "name": "DGSTART",
- "outputs": 1,
- "x": 147,
- "y": 44,
- "z": "d1a301d8.219aa8",
- "wires": [
- [
- "7a758f5d.36f2a"
- ]
- ]
- },
- {
- "id": "3c6a4d55.f97af2",
- "type": "switchNode",
- "name": "action",
- "xml": "<switch test='`$org.onap.appc.action`'>\n",
- "comments": "What method should we try to call. Closely maps to __action__Server()",
- "outputs": 1,
- "x": 138,
- "y": 176,
- "z": "d1a301d8.219aa8",
- "wires": [
- [
- "2c19128d.9d02d6",
- "8be03d03.7d96b",
- "dd9e6d46.07b738",
- "6fb02e14.175a68",
- "b08d9f4.1b17fe",
- "291bda8a.1c712e",
- "2166e9a9.37316e"
- ]
- ]
- },
- {
- "id": "2c19128d.9d02d6",
- "type": "outcome",
- "name": "restart",
- "xml": "<outcome value='restart'>\n",
- "comments": "",
- "outputs": 1,
- "x": 293,
- "y": 191,
- "z": "d1a301d8.219aa8",
- "wires": [
- [
- "a9607cbc.3e9d9"
- ]
- ]
- },
- {
- "id": "8be03d03.7d96b",
- "type": "outcome",
- "name": "rebuild",
- "xml": "<outcome value='rebuild'>\n",
- "comments": "",
- "outputs": 1,
- "x": 304.25,
- "y": 317,
- "z": "d1a301d8.219aa8",
- "wires": [
- [
- "aa907476.8ca3a8"
- ]
- ]
- },
- {
- "id": "56bd2e0d.61dd88",
- "type": "returnFailure",
- "name": "Unknown Action",
- "xml": "<return status='failure'>\n<parameter name='error-code' value='404' />\n<parameter name='error-message' value='Unknown action specified' />\n",
- "comments": "",
- "x": 911.75,
- "y": 801,
- "z": "d1a301d8.219aa8",
- "wires": []
- },
- {
- "id": "a9607cbc.3e9d9",
- "type": "execute",
- "name": "restartServer()",
- "xml": "<execute plugin='org.onap.appc.adapter.iaas.ProviderAdapter' method='restartServer'>\n<parameter name=\"org.onap.appc.provider.name\" value=\"OpenStack\" />\n<parameter name=\"org.onap.appc.instance.url\" value=\"`$org.onap.appc.vmid`\" />\n<parameter name=\"org.onap.appc.identity.url\" value=\"`$org.onap.appc.identity.url`\" />",
- "comments": "",
- "outputs": 1,
- "x": 456,
- "y": 193,
- "z": "d1a301d8.219aa8",
- "wires": [
- [
- "50d932ab.8cca84",
- "ebcec5e2.930378"
- ]
- ]
- },
- {
- "id": "50d932ab.8cca84",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 605,
- "y": 194,
- "z": "d1a301d8.219aa8",
- "wires": [
- [
- "517fd692.1c6f3"
- ]
- ]
- },
- {
- "id": "517fd692.1c6f3",
- "type": "returnSuccess",
- "name": "return success",
- "xml": "<return status='success'>\n",
- "comments": "",
- "x": 948,
- "y": 318,
- "z": "d1a301d8.219aa8",
- "wires": []
- },
- {
- "id": "cb7f2c34.1b0738",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status='failure'>\n<!--\n<parameter name='error-code' value='500' />\n<parameter name='error-message' value='failed' />\n-->",
- "comments": "",
- "x": 946,
- "y": 494,
- "z": "d1a301d8.219aa8",
- "wires": []
- },
- {
- "id": "aa907476.8ca3a8",
- "type": "execute",
- "name": "rebuildServer()",
- "xml": "<execute plugin='org.onap.appc.adapter.iaas.ProviderAdapter' method='rebuildServer'>\n<parameter name=\"org.onap.appc.provider.name\" value=\"OpenStack\" />\n<parameter name=\"org.onap.appc.instance.url\" value=\"`$org.onap.appc.vmid`\" />\n<parameter name=\"org.onap.appc.identity.url\" value=\"`$org.onap.appc.identity.url`\" />",
- "comments": "",
- "outputs": 1,
- "x": 467,
- "y": 318,
- "z": "d1a301d8.219aa8",
- "wires": [
- [
- "342e7005.3e2bd8",
- "7f14a01.4ac3e6"
- ]
- ]
- },
- {
- "id": "342e7005.3e2bd8",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 617,
- "y": 317,
- "z": "d1a301d8.219aa8",
- "wires": [
- [
- "517fd692.1c6f3"
- ]
- ]
- },
- {
- "id": "1a700941.9439d7",
- "type": "method",
- "name": "method",
- "xml": "<method rpc='topology-operation-all' mode='sync'>\n",
- "comments": "",
- "outputs": 1,
- "x": 298,
- "y": 94,
- "z": "d1a301d8.219aa8",
- "wires": [
- [
- "3c6a4d55.f97af2"
- ]
- ]
- },
- {
- "id": "dd9e6d46.07b738",
- "type": "outcome",
- "name": "migrate",
- "xml": "<outcome value='migrate'>\n",
- "comments": "",
- "outputs": 1,
- "x": 306.75,
- "y": 437,
- "z": "d1a301d8.219aa8",
- "wires": [
- [
- "3355fed0.38abf2"
- ]
- ]
- },
- {
- "id": "3355fed0.38abf2",
- "type": "execute",
- "name": "migrateServer()",
- "xml": "<execute plugin='org.onap.appc.adapter.iaas.ProviderAdapter' method='migrateServer'>\n<parameter name=\"org.onap.appc.provider.name\" value=\"OpenStack\" />\n<parameter name=\"org.onap.appc.instance.url\" value=\"`$org.onap.appc.vmid`\" />\n<parameter name=\"org.onap.appc.identity.url\" value=\"`$org.onap.appc.identity.url`\" />",
- "comments": "",
- "outputs": 1,
- "x": 469.75,
- "y": 436,
- "z": "d1a301d8.219aa8",
- "wires": [
- [
- "af8c164c.f9e408",
- "f2b9661b.faf0c8"
- ]
- ]
- },
- {
- "id": "af8c164c.f9e408",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 625.25,
- "y": 436,
- "z": "d1a301d8.219aa8",
- "wires": [
- [
- "517fd692.1c6f3"
- ]
- ]
- },
- {
- "id": "f2b9661b.faf0c8",
- "type": "other",
- "name": "other",
- "xml": "<outcome value='Other'>\n",
- "comments": "",
- "outputs": 1,
- "x": 621.25,
- "y": 476,
- "z": "d1a301d8.219aa8",
- "wires": [
- [
- "cb7f2c34.1b0738"
- ]
- ]
- },
- {
- "id": "7f14a01.4ac3e6",
- "type": "other",
- "name": "other",
- "xml": "<outcome value='Other'>\n",
- "comments": "",
- "outputs": 1,
- "x": 613,
- "y": 355,
- "z": "d1a301d8.219aa8",
- "wires": [
- [
- "cb7f2c34.1b0738"
- ]
- ]
- },
- {
- "id": "c09eb09e.d88578",
- "type": "other",
- "name": "other",
- "xml": "<outcome value='Other'>\n",
- "comments": "",
- "outputs": 1,
- "x": 620.25,
- "y": 716,
- "z": "d1a301d8.219aa8",
- "wires": [
- [
- "5cd5b3a.00a834c"
- ]
- ]
- },
- {
- "id": "ac9fdda8.635c5",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 623.25,
- "y": 680,
- "z": "d1a301d8.219aa8",
- "wires": [
- [
- "5cd5b3a.00a834c"
- ]
- ]
- },
- {
- "id": "e4197510.21f14",
- "type": "execute",
- "name": "evacuateServer()",
- "xml": "<execute plugin='org.onap.appc.adapter.iaas.ProviderAdapter' method='evacuateServer'>\n<parameter name=\"org.onap.appc.provider.name\" value=\"OpenStack\" />\n<parameter name=\"org.onap.appc.instance.url\" value=\"`$org.onap.appc.vmid`\" />\n<parameter name=\"org.onap.appc.identity.url\" value=\"`$org.onap.appc.identity.url`\" />",
- "comments": "",
- "outputs": 1,
- "x": 467.75,
- "y": 680,
- "z": "d1a301d8.219aa8",
- "wires": [
- [
- "c09eb09e.d88578",
- "ac9fdda8.635c5"
- ]
- ]
- },
- {
- "id": "6fb02e14.175a68",
- "type": "outcome",
- "name": "migrate",
- "xml": "<outcome value='evacuate'>\n",
- "comments": "",
- "outputs": 1,
- "x": 304.75,
- "y": 681,
- "z": "d1a301d8.219aa8",
- "wires": [
- [
- "e4197510.21f14"
- ]
- ]
- },
- {
- "id": "ebcec5e2.930378",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 608.25,
- "y": 240,
- "z": "d1a301d8.219aa8",
- "wires": [
- [
- "cb7f2c34.1b0738"
- ]
- ]
- },
- {
- "id": "5cd5b3a.00a834c",
- "type": "returnFailure",
- "name": "Not Yet Implemented",
- "xml": "<return status='failure'>\n<parameter name='error-code' value='500' />\n<parameter name='error-message' value='This action is not yet implemented' />\n",
- "comments": "",
- "x": 923.25,
- "y": 699,
- "z": "d1a301d8.219aa8",
- "wires": []
- },
- {
- "id": "b08d9f4.1b17fe",
- "type": "outcome",
- "name": "snapshot",
- "xml": "<outcome value='snapshot'>\n",
- "comments": "",
- "outputs": 1,
- "x": 307.25,
- "y": 549,
- "z": "d1a301d8.219aa8",
- "wires": [
- [
- "71679082.b68048"
- ]
- ]
- },
- {
- "id": "71679082.b68048",
- "type": "execute",
- "name": "createSnapshot()",
- "xml": "<execute plugin='org.onap.appc.adapter.iaas.ProviderAdapter' method='createSnapshot'>\n<parameter name=\"org.onap.appc.provider.name\" value=\"OpenStack\" />\n<parameter name=\"org.onap.appc.instance.url\" value=\"`$org.onap.appc.vmid`\" />\n<parameter name=\"org.onap.appc.identity.url\" value=\"`$org.onap.appc.identity.url`\" />",
- "comments": "",
- "outputs": 1,
- "x": 470.25,
- "y": 548,
- "z": "d1a301d8.219aa8",
- "wires": [
- [
- "ddb50ec9.42b61",
- "e37701d0.ff4a"
- ]
- ]
- },
- {
- "id": "ddb50ec9.42b61",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 625.75,
- "y": 548,
- "z": "d1a301d8.219aa8",
- "wires": [
- [
- "517fd692.1c6f3"
- ]
- ]
- },
- {
- "id": "e37701d0.ff4a",
- "type": "other",
- "name": "other",
- "xml": "<outcome value='Other'>\n",
- "comments": "",
- "outputs": 1,
- "x": 621.75,
- "y": 588,
- "z": "d1a301d8.219aa8",
- "wires": [
- [
- "cb7f2c34.1b0738"
- ]
- ]
- },
- {
- "id": "e3b1885c.6ba198",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 987.25,
- "y": 572,
- "z": "d1a301d8.219aa8",
- "wires": [
- [
- "80007c3f.79526"
- ]
- ]
- },
- {
- "id": "80007c3f.79526",
- "type": "returnSuccess",
- "name": "return success",
- "xml": "<return status='success'>\n",
- "comments": "",
- "x": 1300.25,
- "y": 633,
- "z": "d1a301d8.219aa8",
- "wires": []
- },
- {
- "id": "4e5fecf4.18b5d4",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status='failure'>\n<!--\n<parameter name='error-code' value='500' />\n<parameter name='error-message' value='failed' />\n-->",
- "comments": "",
- "x": 1310.25,
- "y": 828,
- "z": "d1a301d8.219aa8",
- "wires": []
- },
- {
- "id": "ac36b284.3e1bd8",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 999.25,
- "y": 695,
- "z": "d1a301d8.219aa8",
- "wires": [
- [
- "80007c3f.79526"
- ]
- ]
- },
- {
- "id": "36c70977.075d06",
- "type": "outcome",
- "name": "migrate",
- "xml": "<outcome value='migrate'>\n",
- "comments": "",
- "outputs": 1,
- "x": 689,
- "y": 815,
- "z": "d1a301d8.219aa8",
- "wires": [
- [
- "6c21a87b.083fa8"
- ]
- ]
- },
- {
- "id": "6c21a87b.083fa8",
- "type": "execute",
- "name": "migrateServer()",
- "xml": "<execute plugin='org.onap.appc.adapter.iaas.ProviderAdapter' method='migrateServer'>\n<parameter name=\"org.onap.appc.provider.name\" value=\"OpenStack\" />\n<parameter name=\"org.onap.appc.instance.url\" value=\"`$org.onap.appc.vmid`\" />\n<parameter name=\"org.onap.appc.identity.url\" value=\"`$org.onap.appc.identity.url`\" />",
- "comments": "",
- "outputs": 1,
- "x": 852,
- "y": 814,
- "z": "d1a301d8.219aa8",
- "wires": [
- [
- "c6e55d06.34f05",
- "8067dd14.127b68"
- ]
- ]
- },
- {
- "id": "c6e55d06.34f05",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1007.5,
- "y": 814,
- "z": "d1a301d8.219aa8",
- "wires": [
- [
- "80007c3f.79526"
- ]
- ]
- },
- {
- "id": "8067dd14.127b68",
- "type": "other",
- "name": "other",
- "xml": "<outcome value='Other'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1003.5,
- "y": 854,
- "z": "d1a301d8.219aa8",
- "wires": [
- [
- "4e5fecf4.18b5d4"
- ]
- ]
- },
- {
- "id": "5a72cf37.b27dc8",
- "type": "other",
- "name": "other",
- "xml": "<outcome value='Other'>\n",
- "comments": "",
- "outputs": 1,
- "x": 995.25,
- "y": 733,
- "z": "d1a301d8.219aa8",
- "wires": [
- [
- "4e5fecf4.18b5d4"
- ]
- ]
- },
- {
- "id": "f06b20cc.093cf",
- "type": "other",
- "name": "other",
- "xml": "<outcome value='Other'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1004.5,
- "y": 970,
- "z": "d1a301d8.219aa8",
- "wires": [
- [
- "2423b8c0.937798"
- ]
- ]
- },
- {
- "id": "aa701723.a923d8",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1007.5,
- "y": 934,
- "z": "d1a301d8.219aa8",
- "wires": [
- [
- "2423b8c0.937798"
- ]
- ]
- },
- {
- "id": "23a53072.a495a8",
- "type": "execute",
- "name": "evacuateServer()",
- "xml": "<execute plugin='org.onap.appc.adapter.iaas.ProviderAdapter' method='evacuateServer'>\n<parameter name=\"org.onap.appc.provider.name\" value=\"OpenStack\" />\n<parameter name=\"org.onap.appc.instance.url\" value=\"`$org.onap.appc.vmid`\" />\n<parameter name=\"org.onap.appc.identity.url\" value=\"`$org.onap.appc.identity.url`\" />",
- "comments": "",
- "outputs": 1,
- "x": 852,
- "y": 934,
- "z": "d1a301d8.219aa8",
- "wires": [
- [
- "aa701723.a923d8",
- "f06b20cc.093cf"
- ]
- ]
- },
- {
- "id": "fc6990e.a41c27",
- "type": "outcome",
- "name": "migrate",
- "xml": "<outcome value='evacuate'>\n",
- "comments": "",
- "outputs": 1,
- "x": 689,
- "y": 935,
- "z": "d1a301d8.219aa8",
- "wires": [
- [
- "23a53072.a495a8"
- ]
- ]
- },
- {
- "id": "ad4e7fd7.18b06",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 990.5,
- "y": 618,
- "z": "d1a301d8.219aa8",
- "wires": [
- [
- "4e5fecf4.18b5d4"
- ]
- ]
- },
- {
- "id": "2423b8c0.937798",
- "type": "returnFailure",
- "name": "Not Yet Implemented",
- "xml": "<return status='failure'>\n<parameter name='error-code' value='500' />\n<parameter name='error-message' value='This action is not yet implemented' />\n",
- "comments": "",
- "x": 1307.5,
- "y": 953,
- "z": "d1a301d8.219aa8",
- "wires": []
- },
- {
- "id": "291bda8a.1c712e",
- "type": "other",
- "name": "Unknown",
- "xml": "<outcome value='Other'>\n",
- "comments": "Unknown action provided. Fail",
- "outputs": 1,
- "x": 310.25,
- "y": 801,
- "z": "d1a301d8.219aa8",
- "wires": [
- [
- "56bd2e0d.61dd88"
- ]
- ]
- },
- {
- "id": "2166e9a9.37316e",
- "type": "other",
- "name": "modifyConfig",
- "xml": "<outcome value='modifyConfig'>\n",
- "comments": "",
- "outputs": 1,
- "x": 97.60003662109375,
- "y": 827.9198608398438,
- "z": "d1a301d8.219aa8",
- "wires": [
- [
- "2a6a5cbd.5b01ac"
- ]
- ]
- },
- {
- "id": "9585b4b9.8a925",
- "type": "execute",
- "name": "put",
- "xml": "<execute plugin='org.onap.appc.adapter.rest.RestAdapter' method='commonPut' >\n<parameter name='org.onap.appc.instance.URI' value='`$org.onap.appc.configURL`'/>\n<parameter name='org.onap.appc.instance.requestBody' value='`$org.onap.appc.configJson`'/>\n<parameter name='org.onap.appc.instance.headers' value='{\"Content-type\":\"application/json\"}'/>\n<parameter name='org.onap.appc.instance.haveHeader' value='true'/>",
- "comments": "",
- "outputs": 1,
- "x": 464.8887939453125,
- "y": 954.1331787109375,
- "z": "d1a301d8.219aa8",
- "wires": [
- [
- "31d65a7b.2f1536",
- "77aa00df.6d5f3"
- ]
- ]
- },
- {
- "id": "77aa00df.6d5f3",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 672.0000305175781,
- "y": 859.1199798583984,
- "z": "d1a301d8.219aa8",
- "wires": [
- [
- "517fd692.1c6f3"
- ]
- ]
- },
- {
- "id": "31d65a7b.2f1536",
- "type": "other",
- "name": "other",
- "xml": "<outcome value='Other'>\n",
- "comments": "",
- "outputs": 1,
- "x": 672.7111511230469,
- "y": 899.5866088867188,
- "z": "d1a301d8.219aa8",
- "wires": [
- [
- "517fd692.1c6f3"
- ]
- ]
- },
- {
- "id": "c5f8933.239dff",
- "type": "execute",
- "name": "delete",
- "xml": "<execute plugin='org.onap.appc.adapter.rest.RestAdapter' method='commonDelete' >\n<parameter name='org.onap.appc.instance.URI' value='`$org.onap.appc.configURL`'/>\n<parameter name='org.onap.appc.instance.haveHeader' value='false'/>\n",
- "comments": "",
- "outputs": 1,
- "x": 431.64447021484375,
- "y": 889.9199829101562,
- "z": "d1a301d8.219aa8",
- "wires": [
- []
- ]
- },
- {
- "id": "2a6a5cbd.5b01ac",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 228.066650390625,
- "y": 888.4888610839844,
- "z": "d1a301d8.219aa8",
- "wires": [
- [
- "c5f8933.239dff",
- "9585b4b9.8a925"
- ]
- ]
- }
-]
+[
+ {
+ "id": "99bfac0c.66405",
+ "type": "service-logic",
+ "name": "APPC 2.0.0",
+ "module": "APPC",
+ "version": "2.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' version='2.0.0'>",
+ "outputs": 1,
+ "x": 114.75,
+ "y": 78,
+ "z": "551b1552.aae4ec",
+ "wires": [
+ [
+ "87a31d5f.785ce"
+ ]
+ ]
+ },
+ {
+ "id": "5284c172.ad7b4",
+ "type": "dgstart",
+ "name": "DGSTART",
+ "outputs": 1,
+ "x": 121.75,
+ "y": 28,
+ "z": "551b1552.aae4ec",
+ "wires": [
+ [
+ "99bfac0c.66405"
+ ]
+ ]
+ },
+ {
+ "id": "b69b6144.4964a",
+ "type": "switchNode",
+ "name": "action",
+ "xml": "<switch test='`$org.onap.appc.action`'>\n",
+ "comments": "What method should we try to call. Closely maps to __action__Server()",
+ "outputs": 1,
+ "x": 112.75,
+ "y": 160,
+ "z": "551b1552.aae4ec",
+ "wires": [
+ [
+ "3c76f1b.fc3890e",
+ "3bbff8f1.c44008",
+ "67723fa.f988dc",
+ "82f997d3.7d0668",
+ "bb942a8e.446bd8",
+ "3d16f80b.b81e98"
+ ]
+ ]
+ },
+ {
+ "id": "3c76f1b.fc3890e",
+ "type": "outcome",
+ "name": "restart",
+ "xml": "<outcome value='restart'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 267.75,
+ "y": 175,
+ "z": "551b1552.aae4ec",
+ "wires": [
+ [
+ "f6ee74ac.091188"
+ ]
+ ]
+ },
+ {
+ "id": "3bbff8f1.c44008",
+ "type": "outcome",
+ "name": "rebuild",
+ "xml": "<outcome value='rebuild'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 279,
+ "y": 301,
+ "z": "551b1552.aae4ec",
+ "wires": [
+ [
+ "336f5c4b.cc90a4"
+ ]
+ ]
+ },
+ {
+ "id": "67723fa.f988dc",
+ "type": "other",
+ "name": "Unknown",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "Unknown action provided. Fail",
+ "outputs": 1,
+ "x": 285,
+ "y": 785,
+ "z": "551b1552.aae4ec",
+ "wires": [
+ [
+ "90b7e545.6f4818"
+ ]
+ ]
+ },
+ {
+ "id": "90b7e545.6f4818",
+ "type": "returnFailure",
+ "name": "Unknown Action",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='404' />\n<parameter name='error-message' value='Unknown action specified' />\n",
+ "comments": "",
+ "x": 886.5,
+ "y": 785,
+ "z": "551b1552.aae4ec",
+ "wires": []
+ },
+ {
+ "id": "f6ee74ac.091188",
+ "type": "execute",
+ "name": "restartServer()",
+ "xml": "<execute plugin='org.onap.appc.adapter.iaas.ProviderAdapter' method='restartServer'>\n<parameter name=\"org.onap.appc.provider.name\" value=\"OpenStack\" />\n<parameter name=\"org.onap.appc.instance.url\" value=\"`$org.onap.appc.vmid`\" />\n<parameter name=\"org.onap.appc.identity.url\" value=\"`$org.onap.appc.identity.url`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 430.75,
+ "y": 177,
+ "z": "551b1552.aae4ec",
+ "wires": [
+ [
+ "3e552093.c1aae",
+ "df92233b.206de"
+ ]
+ ]
+ },
+ {
+ "id": "3e552093.c1aae",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 579.75,
+ "y": 178,
+ "z": "551b1552.aae4ec",
+ "wires": [
+ [
+ "60e4194b.9f1be8"
+ ]
+ ]
+ },
+ {
+ "id": "60e4194b.9f1be8",
+ "type": "returnSuccess",
+ "name": "return success",
+ "xml": "<return status='success'>\n",
+ "comments": "",
+ "x": 922.75,
+ "y": 302,
+ "z": "551b1552.aae4ec",
+ "wires": []
+ },
+ {
+ "id": "fda90bc9.0256f8",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<!--\n<parameter name='error-code' value='500' />\n<parameter name='error-message' value='failed' />\n-->",
+ "comments": "",
+ "x": 920.75,
+ "y": 478,
+ "z": "551b1552.aae4ec",
+ "wires": []
+ },
+ {
+ "id": "336f5c4b.cc90a4",
+ "type": "execute",
+ "name": "rebuildServer()",
+ "xml": "<execute plugin='org.onap.appc.adapter.iaas.ProviderAdapter' method='rebuildServer'>\n<parameter name=\"org.onap.appc.provider.name\" value=\"OpenStack\" />\n<parameter name=\"org.onap.appc.instance.url\" value=\"`$org.onap.appc.vmid`\" />\n<parameter name=\"org.onap.appc.identity.url\" value=\"`$org.onap.appc.identity.url`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 441.75,
+ "y": 302,
+ "z": "551b1552.aae4ec",
+ "wires": [
+ [
+ "8981943d.767e68",
+ "444dcc7.fbbb234"
+ ]
+ ]
+ },
+ {
+ "id": "8981943d.767e68",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 591.75,
+ "y": 301,
+ "z": "551b1552.aae4ec",
+ "wires": [
+ [
+ "60e4194b.9f1be8"
+ ]
+ ]
+ },
+ {
+ "id": "87a31d5f.785ce",
+ "type": "method",
+ "name": "method",
+ "xml": "<method rpc='topology-operation-all' mode='sync'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 272.75,
+ "y": 78,
+ "z": "551b1552.aae4ec",
+ "wires": [
+ [
+ "b69b6144.4964a"
+ ]
+ ]
+ },
+ {
+ "id": "82f997d3.7d0668",
+ "type": "outcome",
+ "name": "migrate",
+ "xml": "<outcome value='migrate'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 281.5,
+ "y": 421,
+ "z": "551b1552.aae4ec",
+ "wires": [
+ [
+ "ae163e95.51e9c"
+ ]
+ ]
+ },
+ {
+ "id": "ae163e95.51e9c",
+ "type": "execute",
+ "name": "migrateServer()",
+ "xml": "<execute plugin='org.onap.appc.adapter.iaas.ProviderAdapter' method='migrateServer'>\n<parameter name=\"org.onap.appc.provider.name\" value=\"OpenStack\" />\n<parameter name=\"org.onap.appc.instance.url\" value=\"`$org.onap.appc.vmid`\" />\n<parameter name=\"org.onap.appc.identity.url\" value=\"`$org.onap.appc.identity.url`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 444.5,
+ "y": 420,
+ "z": "551b1552.aae4ec",
+ "wires": [
+ [
+ "f18ec542.0e7138",
+ "4c64d27c.b39b2c"
+ ]
+ ]
+ },
+ {
+ "id": "f18ec542.0e7138",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 600,
+ "y": 420,
+ "z": "551b1552.aae4ec",
+ "wires": [
+ [
+ "60e4194b.9f1be8"
+ ]
+ ]
+ },
+ {
+ "id": "4c64d27c.b39b2c",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 596,
+ "y": 460,
+ "z": "551b1552.aae4ec",
+ "wires": [
+ [
+ "fda90bc9.0256f8"
+ ]
+ ]
+ },
+ {
+ "id": "444dcc7.fbbb234",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 587.75,
+ "y": 339,
+ "z": "551b1552.aae4ec",
+ "wires": [
+ [
+ "fda90bc9.0256f8"
+ ]
+ ]
+ },
+ {
+ "id": "84b5bf3d.7b4a4",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 595,
+ "y": 700,
+ "z": "551b1552.aae4ec",
+ "wires": [
+ [
+ "b99f0467.4660f8"
+ ]
+ ]
+ },
+ {
+ "id": "84f23c8f.7b0dc",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 598,
+ "y": 664,
+ "z": "551b1552.aae4ec",
+ "wires": [
+ [
+ "b99f0467.4660f8"
+ ]
+ ]
+ },
+ {
+ "id": "707eb288.8f814c",
+ "type": "execute",
+ "name": "evacuateServer()",
+ "xml": "<execute plugin='org.onap.appc.adapter.iaas.ProviderAdapter' method='evacuateServer'>\n<parameter name=\"org.onap.appc.provider.name\" value=\"OpenStack\" />\n<parameter name=\"org.onap.appc.instance.url\" value=\"`$org.onap.appc.vmid`\" />\n<parameter name=\"org.onap.appc.identity.url\" value=\"`$org.onap.appc.identity.url`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 442.5,
+ "y": 664,
+ "z": "551b1552.aae4ec",
+ "wires": [
+ [
+ "84b5bf3d.7b4a4",
+ "84f23c8f.7b0dc"
+ ]
+ ]
+ },
+ {
+ "id": "bb942a8e.446bd8",
+ "type": "outcome",
+ "name": "migrate",
+ "xml": "<outcome value='evacuate'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 279.5,
+ "y": 665,
+ "z": "551b1552.aae4ec",
+ "wires": [
+ [
+ "707eb288.8f814c"
+ ]
+ ]
+ },
+ {
+ "id": "df92233b.206de",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 583,
+ "y": 224,
+ "z": "551b1552.aae4ec",
+ "wires": [
+ [
+ "fda90bc9.0256f8"
+ ]
+ ]
+ },
+ {
+ "id": "b99f0467.4660f8",
+ "type": "returnFailure",
+ "name": "Not Yet Implemented",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='500' />\n<parameter name='error-message' value='This action is not yet implemented' />\n",
+ "comments": "",
+ "x": 898,
+ "y": 683,
+ "z": "551b1552.aae4ec",
+ "wires": []
+ },
+ {
+ "id": "3d16f80b.b81e98",
+ "type": "outcome",
+ "name": "snapshot",
+ "xml": "<outcome value='snapshot'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 282,
+ "y": 533,
+ "z": "551b1552.aae4ec",
+ "wires": [
+ [
+ "7b8aa37e.280c6c"
+ ]
+ ]
+ },
+ {
+ "id": "7b8aa37e.280c6c",
+ "type": "execute",
+ "name": "createSnapshot()",
+ "xml": "<execute plugin='org.onap.appc.adapter.iaas.ProviderAdapter' method='createSnapshot'>\n<parameter name=\"org.onap.appc.provider.name\" value=\"OpenStack\" />\n<parameter name=\"org.onap.appc.instance.url\" value=\"`$org.onap.appc.vmid`\" />\n<parameter name=\"org.onap.appc.identity.url\" value=\"`$org.onap.appc.identity.url`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 445,
+ "y": 532,
+ "z": "551b1552.aae4ec",
+ "wires": [
+ [
+ "b2fdd324.e7734",
+ "72f58d9a.ca2144"
+ ]
+ ]
+ },
+ {
+ "id": "b2fdd324.e7734",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 600.5,
+ "y": 532,
+ "z": "551b1552.aae4ec",
+ "wires": [
+ [
+ "60e4194b.9f1be8"
+ ]
+ ]
+ },
+ {
+ "id": "72f58d9a.ca2144",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 596.5,
+ "y": 572,
+ "z": "551b1552.aae4ec",
+ "wires": [
+ [
+ "fda90bc9.0256f8"
+ ]
+ ]
+ },
+ {
+ "id": "7fee971b.b82fe8",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 962,
+ "y": 556,
+ "z": "551b1552.aae4ec",
+ "wires": [
+ [
+ "fba5b0ee.57367"
+ ]
+ ]
+ },
+ {
+ "id": "fba5b0ee.57367",
+ "type": "returnSuccess",
+ "name": "return success",
+ "xml": "<return status='success'>\n",
+ "comments": "",
+ "x": 1275,
+ "y": 617,
+ "z": "551b1552.aae4ec",
+ "wires": []
+ },
+ {
+ "id": "c6eec239.65f49",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<!--\n<parameter name='error-code' value='500' />\n<parameter name='error-message' value='failed' />\n-->",
+ "comments": "",
+ "x": 1285,
+ "y": 812,
+ "z": "551b1552.aae4ec",
+ "wires": []
+ },
+ {
+ "id": "aebd3b77.717c8",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 974,
+ "y": 679,
+ "z": "551b1552.aae4ec",
+ "wires": [
+ [
+ "fba5b0ee.57367"
+ ]
+ ]
+ },
+ {
+ "id": "61570f13.03e13",
+ "type": "outcome",
+ "name": "migrate",
+ "xml": "<outcome value='migrate'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 663.75,
+ "y": 799,
+ "z": "551b1552.aae4ec",
+ "wires": [
+ [
+ "4b9dc5bd.fed9ac"
+ ]
+ ]
+ },
+ {
+ "id": "4b9dc5bd.fed9ac",
+ "type": "execute",
+ "name": "migrateServer()",
+ "xml": "<execute plugin='org.onap.appc.adapter.iaas.ProviderAdapter' method='migrateServer'>\n<parameter name=\"org.onap.appc.provider.name\" value=\"OpenStack\" />\n<parameter name=\"org.onap.appc.instance.url\" value=\"`$org.onap.appc.vmid`\" />\n<parameter name=\"org.onap.appc.identity.url\" value=\"`$org.onap.appc.identity.url`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 826.75,
+ "y": 798,
+ "z": "551b1552.aae4ec",
+ "wires": [
+ [
+ "54315afb.9b2a34",
+ "1a5da1c6.c6a002"
+ ]
+ ]
+ },
+ {
+ "id": "54315afb.9b2a34",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 982.25,
+ "y": 798,
+ "z": "551b1552.aae4ec",
+ "wires": [
+ [
+ "fba5b0ee.57367"
+ ]
+ ]
+ },
+ {
+ "id": "1a5da1c6.c6a002",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 978.25,
+ "y": 838,
+ "z": "551b1552.aae4ec",
+ "wires": [
+ [
+ "c6eec239.65f49"
+ ]
+ ]
+ },
+ {
+ "id": "15e18db0.b27eda",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 970,
+ "y": 717,
+ "z": "551b1552.aae4ec",
+ "wires": [
+ [
+ "c6eec239.65f49"
+ ]
+ ]
+ },
+ {
+ "id": "b92b57bc.074df8",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 979.25,
+ "y": 954,
+ "z": "551b1552.aae4ec",
+ "wires": [
+ [
+ "f2833507.0f2148"
+ ]
+ ]
+ },
+ {
+ "id": "d669863.db192b8",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 982.25,
+ "y": 918,
+ "z": "551b1552.aae4ec",
+ "wires": [
+ [
+ "f2833507.0f2148"
+ ]
+ ]
+ },
+ {
+ "id": "69143893.52d5d",
+ "type": "execute",
+ "name": "evacuateServer()",
+ "xml": "<execute plugin='org.onap.appc.adapter.iaas.ProviderAdapter' method='evacuateServer'>\n<parameter name=\"org.onap.appc.provider.name\" value=\"OpenStack\" />\n<parameter name=\"org.onap.appc.instance.url\" value=\"`$org.onap.appc.vmid`\" />\n<parameter name=\"org.onap.appc.identity.url\" value=\"`$org.onap.appc.identity.url`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 826.75,
+ "y": 918,
+ "z": "551b1552.aae4ec",
+ "wires": [
+ [
+ "d669863.db192b8",
+ "b92b57bc.074df8"
+ ]
+ ]
+ },
+ {
+ "id": "8e670719.e182d8",
+ "type": "outcome",
+ "name": "migrate",
+ "xml": "<outcome value='evacuate'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 663.75,
+ "y": 919,
+ "z": "551b1552.aae4ec",
+ "wires": [
+ [
+ "69143893.52d5d"
+ ]
+ ]
+ },
+ {
+ "id": "15ac686f.889474",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 965.25,
+ "y": 602,
+ "z": "551b1552.aae4ec",
+ "wires": [
+ [
+ "c6eec239.65f49"
+ ]
+ ]
+ },
+ {
+ "id": "f2833507.0f2148",
+ "type": "returnFailure",
+ "name": "Not Yet Implemented",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='500' />\n<parameter name='error-message' value='This action is not yet implemented' />\n",
+ "comments": "",
+ "x": 1282.25,
+ "y": 937,
+ "z": "551b1552.aae4ec",
+ "wires": []
+ }
+]
diff --git a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_setInputParams.json b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_setInputParams.json
index 12752ff87..971c7bfaa 100644
--- a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_setInputParams.json
+++ b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_setInputParams.json
@@ -1,1338 +1,1357 @@
-[
- {
- "comments": "",
- "id": "c5f27e6b.6555",
- "name": "execute saveTxLog",
- "outputs": 1,
- "type": "execute",
- "wires": [
- [
- "9a41a79f.2a2b38"
- ]
- ],
- "x": 331.25,
- "xml": "<execute plugin=\"org.onap.appc.data.services.node.ConfigResourceNode\" method=\"saveConfigTransactionLog\">\n<parameter name=\"messageType\" value=\"log\" />\n<parameter name=\"message\" value=\"SetInputData action complete\" />\n<parameter name=\"responsePrefix\" value=\"tmp.saveTxLog\" />\n",
- "y": 897.1666736602783,
- "z": "5ad64f3a.c3774"
- },
- {
- "comments": "",
- "id": "9a41a79f.2a2b38",
- "name": "failure",
- "outputs": 1,
- "type": "failure",
- "wires": [
- [
- "be9673a6.ce4fd"
- ]
- ],
- "x": 584.0000114440918,
- "xml": "<outcome value='failure'>\n",
- "y": 900.0833206176758,
- "z": "5ad64f3a.c3774"
- },
- {
- "atomic": "false",
- "comments": "",
- "id": "be9673a6.ce4fd",
- "name": "block",
- "outputs": 1,
- "type": "block",
- "wires": [
- []
- ],
- "x": 802.333309173584,
- "xml": "<block>\n",
- "y": 900.5833616256714,
- "z": "5ad64f3a.c3774"
- },
- {
- "id": "4a7685a5.000f1c",
- "name": "DGSTART",
- "outputs": 1,
- "type": "dgstart",
- "wires": [
- [
- "973925de.552808"
- ]
- ],
- "x": 99.63886260986328,
- "y": 21.222224235534668,
- "z": "5ad64f3a.c3774"
- },
- {
- "comments": "",
- "id": "973925de.552808",
- "module": "APPC",
- "name": "APPC 4.0.0",
- "outputs": 1,
- "type": "service-logic",
- "version": "4.0.0",
- "wires": [
- [
- "41b485e7.20eb5c"
- ]
- ],
- "x": 269.5118751525879,
- "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'>",
- "y": 25.500001907348633,
- "z": "5ad64f3a.c3774"
- },
- {
- "comments": "",
- "id": "41b485e7.20eb5c",
- "name": "method setInputParams",
- "outputs": 1,
- "type": "method",
- "wires": [
- [
- "a74c0e05.af52e"
- ]
- ],
- "x": 513.9206161499023,
- "xml": "<method rpc='setInputParams' mode='sync'>\n",
- "y": 25.55555534362793,
- "z": "5ad64f3a.c3774"
- },
- {
- "atomic": "true",
- "comments": "",
- "id": "a74c0e05.af52e",
- "name": "block : atomic",
- "outputs": 1,
- "type": "block",
- "wires": [
- [
- "c5f27e6b.6555",
- "f65ded23.e6749",
- "641ea02d.4b382",
- "d1e77579.e7ab88",
- "4df171f3.7b5ed",
- "47641fcb.2cbbc",
- "499cc381.43b7ac",
- "581c65dc.66c40c",
- "960e0153.19089",
- "df9c11ec.844bb",
- "c3fc55e7.85ef98",
- "d62b8ebb.ff133",
- "e5a060ba.6726c"
- ]
- ],
- "x": 165.46427154541016,
- "xml": "<block atomic=\"true\">",
- "y": 113.95236778259277,
- "z": "5ad64f3a.c3774"
- },
- {
- "comments": "",
- "id": "f65ded23.e6749",
- "name": "set params based on Dispatcher Input",
- "type": "set",
- "wires": [],
- "x": 738.6943969726562,
- "xml": "<set>\n<parameter name='vnf-id' value='`$input.action-identifiers.vnf-id`' /> \n<parameter name='service-instance-id' value='`$input.action-identifiers.service-instance-id`' />\n<parameter name='vserver-id' value='`$input.action-identifiers.vserver-id`' />\n<parameter name='vf-module-id' value='`$input.action-identifiers.vf-module-id`' />\n<parameter name='vnfc-name' value='`$input.action-identifiers.vnfc-name`' />\n\n<parameter name='request-id' value='`$input.common-header.request-id`' />\n<parameter name='originator-id' value='`$input.common-header.originator-id`' /> \n\n<parameter name='payload' value='`$input.payload`' /> \n<parameter name='api-ver' value='`$input.api-ver`' /> \n<parameter name='request-action' value='`$input.action`' />\n",
- "y": 66.63888549804688,
- "z": "5ad64f3a.c3774"
- },
- {
- "comments": "",
- "id": "4df171f3.7b5ed",
- "name": "execute Convert payload to DG Context ",
- "outputs": 1,
- "type": "execute",
- "wires": [
- [
- "13057386.cb05bc",
- "705bb0fd.6235a"
- ]
- ],
- "x": 537.4167098999023,
- "xml": "<execute plugin=\"org.onap.sdnc.config.generator.convert.ConvertNode\" method=\"convertJson2DGContext\">\n<parameter name=\"jsonData\" value=\"`$input.payload`\" />\n<parameter name=\"isEscaped\" value=\"N\" />\n<parameter name=\"blockKeys\" value=\"configuration-parameters,configuration.configuration-string,configuration.configuration-json\" />\n<parameter name=\"responsePrefix\" value=\"tmp.convertnode\" />",
- "y": 183.0555534362793,
- "z": "5ad64f3a.c3774"
- },
- {
- "comments": "",
- "id": "13057386.cb05bc",
- "name": "failure",
- "outputs": 1,
- "type": "failure",
- "wires": [
- [
- "58736a12.c8a834"
- ]
- ],
- "x": 860.2222290039062,
- "xml": "<outcome value='failure'>\n",
- "y": 156.1388931274414,
- "z": "5ad64f3a.c3774"
- },
- {
- "comments": "",
- "id": "705bb0fd.6235a",
- "name": "not-found",
- "outputs": 1,
- "type": "not-found",
- "wires": [
- [
- "31c8328a.24f9ee"
- ]
- ],
- "x": 862.9166793823242,
- "xml": "<outcome value='not-found'>\n",
- "y": 202.52777481079102,
- "z": "5ad64f3a.c3774"
- },
- {
- "atomic": "false",
- "comments": "",
- "id": "58736a12.c8a834",
- "name": "block",
- "outputs": 1,
- "type": "block",
- "wires": [
- [
- "f52e91c9.0c54f"
- ]
- ],
- "x": 1060.5833358764648,
- "xml": "<block>\n",
- "y": 156.50000190734863,
- "z": "5ad64f3a.c3774"
- },
- {
- "atomic": "false",
- "comments": "",
- "id": "31c8328a.24f9ee",
- "name": "block",
- "outputs": 1,
- "type": "block",
- "wires": [
- [
- "8778642b.6f0a08"
- ]
- ],
- "x": 1054.8333358764648,
- "xml": "<block>\n",
- "y": 204.50000286102295,
- "z": "5ad64f3a.c3774"
- },
- {
- "comments": "",
- "id": "f52e91c9.0c54f",
- "name": "return failure",
- "type": "returnFailure",
- "wires": [],
- "x": 1245.333339691162,
- "xml": "<return status=\"failure\">\n<parameter name=\"error-code\" value=\"401\"/>\n\t<parameter name=\"error-message\" value=\"`$tmp.convertnode.error-message`\"/>\n\t\n\t",
- "y": 156.75000190734863,
- "z": "5ad64f3a.c3774"
- },
- {
- "comments": "",
- "id": "8778642b.6f0a08",
- "name": "return failure",
- "type": "returnFailure",
- "wires": [],
- "x": 1248.083339691162,
- "xml": "<return status=\"failure\">\n\t<parameter name=\"error-code\" value=\"401\"/>\n\t<parameter name=\"error-message\" value=\"Unable to process input parameters\"/>\n\t",
- "y": 206.25000381469727,
- "z": "5ad64f3a.c3774"
- },
- {
- "comments": "",
- "id": "d1e77579.e7ab88",
- "name": "execute saveTxLog",
- "outputs": 1,
- "type": "execute",
- "wires": [
- [
- "dd212aaa.c08fd8"
- ]
- ],
- "x": 574.3333206176758,
- "xml": "<execute plugin=\"org.onap.appc.data.services.node.ConfigResourceNode\" method=\"saveConfigTransactionLog\">\n<parameter name=\"messageType\" value=\"request\" />\n<parameter name=\"message\" value=\"`$tmp.message`\" />\n<parameter name=\"responsePrefix\" value=\"tmp.saveTxLog\" />\n",
- "y": 137.75000190734863,
- "z": "5ad64f3a.c3774"
- },
- {
- "comments": "",
- "id": "641ea02d.4b382",
- "name": "set tmp.message",
- "type": "set",
- "wires": [],
- "x": 672.2777709960938,
- "xml": "<set>\n<parameter name=\"tmp.message\" value=\"`$vnf-id + ' : ' + $request-action + ': ' + $payload`\" />\n",
- "y": 99.8888931274414,
- "z": "5ad64f3a.c3774"
- },
- {
- "comments": "",
- "id": "dd212aaa.c08fd8",
- "name": "failure",
- "outputs": 1,
- "type": "failure",
- "wires": [
- [
- "6f36ee18.a34f3"
- ]
- ],
- "x": 981.0833129882812,
- "xml": "<outcome value='failure'>\n",
- "y": 94.25,
- "z": "5ad64f3a.c3774"
- },
- {
- "atomic": "false",
- "comments": "",
- "id": "6f36ee18.a34f3",
- "name": "block",
- "outputs": 1,
- "type": "block",
- "wires": [
- []
- ],
- "x": 1138.0833129882812,
- "xml": "<block>\n",
- "y": 91.25,
- "z": "5ad64f3a.c3774"
- },
- {
- "comments": "",
- "id": "46672893.29be28",
- "name": "call: GetAaiInfo",
- "outputs": 1,
- "type": "call",
- "wires": [
- [
- "d3c47a04.b4c318",
- "44eb99ad.384d38"
- ]
- ],
- "x": 825.8888626098633,
- "xml": "<call module=\"APPC\" rpc=\"GetAaiInfo\" mode=\"sync\">",
- "y": 619.5833129882812,
- "z": "5ad64f3a.c3774"
- },
- {
- "comments": "",
- "id": "d3c47a04.b4c318",
- "name": "not-found",
- "outputs": 1,
- "type": "not-found",
- "wires": [
- [
- "1588264f.0dbc0a"
- ]
- ],
- "x": 1110.5554885864258,
- "xml": "<outcome value='not-found'>\n",
- "y": 592.1666870117188,
- "z": "5ad64f3a.c3774"
- },
- {
- "atomic": "false",
- "comments": "",
- "id": "1588264f.0dbc0a",
- "name": "block",
- "outputs": 1,
- "type": "block",
- "wires": [
- [
- "911166e0.3593c8"
- ]
- ],
- "x": 1291.4999465942383,
- "xml": "<block>\n",
- "y": 615.8333740234375,
- "z": "5ad64f3a.c3774"
- },
- {
- "comments": "",
- "id": "911166e0.3593c8",
- "name": "return failure",
- "type": "returnFailure",
- "wires": [],
- "x": 1457.9165725708008,
- "xml": "<return status=\"failure\">\n\t",
- "y": 616.3333129882812,
- "z": "5ad64f3a.c3774"
- },
- {
- "comments": "",
- "id": "44eb99ad.384d38",
- "name": "failure",
- "outputs": 1,
- "type": "failure",
- "wires": [
- [
- "1588264f.0dbc0a"
- ]
- ],
- "x": 1104.4445266723633,
- "xml": "<outcome value='failure'>\n",
- "y": 637.6943969726562,
- "z": "5ad64f3a.c3774"
- },
- {
- "comments": "",
- "id": "47641fcb.2cbbc",
- "name": "switch isTemplateDriven.TEMPLATE",
- "outputs": 1,
- "type": "switchNode",
- "wires": [
- [
- "9a6ca9b5.a5f1b8",
- "3e178fb8.db00e"
- ]
- ],
- "x": 422.2499771118164,
- "xml": "<switch test='`$isTemplateDriven.TEMPLATE`'>\n",
- "y": 810.8333377838135,
- "z": "5ad64f3a.c3774"
- },
- {
- "comments": "",
- "id": "9a6ca9b5.a5f1b8",
- "name": "outcome: YES",
- "outputs": 1,
- "type": "success",
- "wires": [
- [
- "90c3ac2d.01d09"
- ]
- ],
- "x": 757.174617767334,
- "xml": "<outcome value=\"YES\">",
- "y": 780.8134269714355,
- "z": "5ad64f3a.c3774"
- },
- {
- "comments": "",
- "id": "3e178fb8.db00e",
- "name": "outcome: Other",
- "outputs": 1,
- "type": "success",
- "wires": [
- [
- "93a44588.d50728"
- ]
- ],
- "x": 758.9127349853516,
- "xml": "<outcome value='Other'>",
- "y": 838.9563655853271,
- "z": "5ad64f3a.c3774"
- },
- {
- "atomic": "true",
- "comments": null,
- "id": "90c3ac2d.01d09",
- "name": "block : atomic",
- "outputs": 1,
- "type": "block",
- "wires": [
- [
- "814dc33.55b844"
- ]
- ],
- "x": 992.8015785217285,
- "xml": "<block atomic=\"true\">",
- "y": 787.0793762207031,
- "z": "5ad64f3a.c3774"
- },
- {
- "atomic": "true",
- "comments": null,
- "id": "93a44588.d50728",
- "name": "block : atomic",
- "outputs": 1,
- "type": "block",
- "wires": [
- []
- ],
- "x": 1022.8889465332031,
- "xml": "<block atomic=\"true\">",
- "y": 838.0278367996216,
- "z": "5ad64f3a.c3774"
- },
- {
- "comments": "",
- "id": "814dc33.55b844",
- "name": "call: loadTeamplate",
- "outputs": 1,
- "type": "call",
- "wires": [
- [
- "b351a17b.41869",
- "bfe70fa5.66e08"
- ]
- ],
- "x": 1196.3889503479004,
- "xml": "<call module=\"APPC\" rpc=\"loadTeamplate\" mode=\"sync\">",
- "y": 787.1110744476318,
- "z": "5ad64f3a.c3774"
- },
- {
- "comments": "",
- "id": "b351a17b.41869",
- "name": "failure",
- "outputs": 1,
- "type": "failure",
- "wires": [
- [
- "33f219a0.9ce106"
- ]
- ],
- "x": 1365.55562210083,
- "xml": "<outcome value='failure'>\n",
- "y": 756.8611545562744,
- "z": "5ad64f3a.c3774"
- },
- {
- "comments": "",
- "id": "392a5ccd.227d44",
- "name": "return failure",
- "type": "returnFailure",
- "wires": [],
- "x": 1759.3889694213867,
- "xml": "<return status=\"failure\">\n\t<parameter name=\"error-code\" value=\"401\"/>\n\t<parameter name=\"error-message\" value=\"Unable to load Template Information\"/>\n",
- "y": 752.5277996063232,
- "z": "5ad64f3a.c3774"
- },
- {
- "atomic": "true",
- "comments": "",
- "id": "33f219a0.9ce106",
- "name": "block : atomic",
- "outputs": 1,
- "type": "block",
- "wires": [
- [
- "392a5ccd.227d44"
- ]
- ],
- "x": 1542.5555877685547,
- "xml": "<block atomic=\"true\">\n\n",
- "y": 754.7777805328369,
- "z": "5ad64f3a.c3774"
- },
- {
- "comments": "",
- "id": "bfe70fa5.66e08",
- "name": "Other",
- "outputs": 1,
- "type": "failure",
- "wires": [
- [
- "4782d66.0e30528"
- ]
- ],
- "x": 1356.4722480773926,
- "xml": "<outcome value='Other'>\n",
- "y": 869.4444408416748,
- "z": "5ad64f3a.c3774"
- },
- {
- "comments": "",
- "id": "499cc381.43b7ac",
- "name": "get-resource: APPC.action-level",
- "outputs": 1,
- "type": "get-resource",
- "wires": [
- [
- "34c05249.d79afe",
- "59f42bd7.3b8014"
- ]
- ],
- "x": 474.8333206176758,
- "xml": "<get-resource\n\tplugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' \n\tresource='SQL'\n\tkey=\"SELECT ACTION_LEVEL\n\t FROM ACTION_LEVEL_REFERENCE\n WHERE ACTION_IDENTIFIER = $action-identifier ;\"\n force='true'\n\tpfx='APPC.action-level'>\n",
- "y": 472.4166946411133,
- "z": "5ad64f3a.c3774"
- },
- {
- "atomic": "false",
- "comments": "",
- "id": "70c97dc2.b38574",
- "name": "block",
- "outputs": 1,
- "type": "block",
- "wires": [
- [
- "f7860416.1a1108"
- ]
- ],
- "x": 945.5833206176758,
- "xml": "<block>\n",
- "y": 489.75000190734863,
- "z": "5ad64f3a.c3774"
- },
- {
- "comments": "",
- "id": "f7860416.1a1108",
- "name": "return failure",
- "type": "returnFailure",
- "wires": [],
- "x": 1113.8333206176758,
- "xml": "<return status=\"failure\">\n\t<parameter name=\"error-code\" value=\"401\"/>\n\t<parameter name=\"error-message\" value=\"Unable to retrieve Template Information from Reference table.\"/>\n\t",
- "y": 487.50000190734863,
- "z": "5ad64f3a.c3774"
- },
- {
- "comments": "",
- "id": "34c05249.d79afe",
- "name": "failure",
- "outputs": 1,
- "type": "failure",
- "wires": [
- [
- "70c97dc2.b38574"
- ]
- ],
- "x": 747.9999771118164,
- "xml": "<outcome value='failure'>\n",
- "y": 487.3611030578613,
- "z": "5ad64f3a.c3774"
- },
- {
- "comments": "",
- "id": "4782d66.0e30528",
- "name": "call: MergeTemplateData",
- "outputs": 1,
- "type": "call",
- "wires": [
- [
- "55d06171.b5739",
- "fb63c6c3.f262a8"
- ]
- ],
- "x": 1537.7499618530273,
- "xml": "<call module=\"APPC\" rpc=\"MergeTemplateData\" mode=\"sync\">",
- "y": 866.2500057220459,
- "z": "5ad64f3a.c3774"
- },
- {
- "atomic": "true",
- "comments": null,
- "id": "13067f71.cb0181",
- "name": "block : atomic",
- "outputs": 1,
- "type": "block",
- "wires": [
- [
- "569e6b14.42c9e4"
- ]
- ],
- "x": 1931.2619018554688,
- "xml": "<block atomic=\"true\">",
- "y": 825.8214569091797,
- "z": "5ad64f3a.c3774"
- },
- {
- "comments": "",
- "id": "55d06171.b5739",
- "name": "failure",
- "outputs": 1,
- "type": "failure",
- "wires": [
- [
- "13067f71.cb0181"
- ]
- ],
- "x": 1771.9047546386719,
- "xml": "<outcome value='failure'>\n",
- "y": 826.5238094329834,
- "z": "5ad64f3a.c3774"
- },
- {
- "comments": "",
- "id": "fb63c6c3.f262a8",
- "name": "Other",
- "outputs": 1,
- "type": "failure",
- "wires": [
- [
- "2603c6fc.c7658a"
- ]
- ],
- "x": 1775.5714225769043,
- "xml": "<outcome value='Other'>\n",
- "y": 892.952399969101,
- "z": "5ad64f3a.c3774"
- },
- {
- "atomic": "true",
- "comments": "",
- "id": "2603c6fc.c7658a",
- "name": "block : atomic",
- "outputs": 1,
- "type": "block",
- "wires": [
- [
- "7237869.f38ce78"
- ]
- ],
- "x": 1939.8571548461914,
- "xml": "<block atomic=\"true\">",
- "y": 892.523811340332,
- "z": "5ad64f3a.c3774"
- },
- {
- "comments": "",
- "id": "7237869.f38ce78",
- "name": "record",
- "outputs": 1,
- "type": "record",
- "wires": [
- []
- ],
- "x": 2116.428653717041,
- "xml": "<record plugin=\"org.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=\"`$request-action`\"/>\n<parameter name=\"field3\" value=\"`$input.action`\"/>\n\n",
- "y": 894.1428498625755,
- "z": "5ad64f3a.c3774"
- },
- {
- "comments": "",
- "id": "10e21f94.2859d",
- "name": "return failure",
- "type": "returnFailure",
- "wires": [],
- "x": 2312.250072479248,
- "xml": "<return status=\"failure\">\n\t<parameter name=\"error-code\" value=\"401\"/>\n\t<parameter name=\"error-message\" value=\"Unable to Merge Template and Data Information\"/>\n",
- "y": 822.7500057220459,
- "z": "5ad64f3a.c3774"
- },
- {
- "atomic": "true",
- "comments": "",
- "id": "569e6b14.42c9e4",
- "name": "block : atomic",
- "outputs": 1,
- "type": "block",
- "wires": [
- [
- "10e21f94.2859d"
- ]
- ],
- "x": 2124.166648864746,
- "xml": "<block atomic=\"true\">\n\n",
- "y": 824.1666307449341,
- "z": "5ad64f3a.c3774"
- },
- {
- "comments": "",
- "id": "581c65dc.66c40c",
- "name": "get-resource: isTemplateDriven",
- "outputs": 1,
- "type": "get-resource",
- "wires": [
- [
- "236e23a7.75805c"
- ]
- ],
- "x": 423.4166488647461,
- "xml": "<get-resource\n\tplugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' \n\tresource='SQL'\n\tkey=\"SELECT TEMPLATE\n\t FROM PROTOCOL_REFERENCE\n WHERE ACTION = $input.action and VNF_TYPE = $vnf-type and ACTION_LEVEL= $action-level ;\"\n force='true'\n\tpfx='isTemplateDriven'>\n",
- "y": 748.3333148956299,
- "z": "5ad64f3a.c3774"
- },
- {
- "atomic": "false",
- "comments": "",
- "id": "b342a11f.4cb1a",
- "name": "block",
- "outputs": 1,
- "type": "block",
- "wires": [
- [
- "e30e032f.dca54"
- ]
- ],
- "x": 962.4999847412109,
- "xml": "<block>\n",
- "y": 732.3333616256714,
- "z": "5ad64f3a.c3774"
- },
- {
- "comments": "",
- "id": "e30e032f.dca54",
- "name": "return failure",
- "type": "returnFailure",
- "wires": [],
- "x": 1165.7499923706055,
- "xml": "<return status=\"failure\">\n\t<parameter name=\"error-code\" value=\"401\"/>\n\t<parameter name=\"error-message\" value=\"Unable to retrieve Template Information from Reference table.\"/>\n\t",
- "y": 726.7499666213989,
- "z": "5ad64f3a.c3774"
- },
- {
- "comments": "",
- "id": "236e23a7.75805c",
- "name": "failure",
- "outputs": 1,
- "type": "failure",
- "wires": [
- [
- "b342a11f.4cb1a"
- ]
- ],
- "x": 751.5833129882812,
- "xml": "<outcome value='failure'>\n",
- "y": 727.1666946411133,
- "z": "5ad64f3a.c3774"
- },
- {
- "comments": "",
- "id": "960e0153.19089",
- "name": "set Payload params ",
- "type": "set",
- "wires": [],
- "x": 493.4722366333008,
- "xml": "<set>\n<!-- vnf type, name is from A&AI \n<parameter name='vnf-type' value='`$tmp.vnfInfo.vnf.vnf-type`' />\n<parameter name='vnf-name' value='`$tmp.vnfInfo.vnf.vnf-name`' />\n-->\n<!-- 17.07 Parameters from request -->\n<parameter name='template-name' value='`$request-parameters.template-name`' />\n<parameter name='vnf-host-ip-address' value='`$request-parameters.vnf-host-ip-address`' />\n<parameter name='vnfc-type' value='`$request-parameters.vnfc-type`' /> \n<parameter name='vnf-type' value='`$request-parameters.vnf-type`' />\n<parameter name='vnf-name' value='`$request-parameters.vnf-name`' />\n\n<parameter name='configurationblock' value='`$block_configuration`' />\n\n\n<!-- parameters to be merged with template provided as input-->\n<parameter name='configuration-params' value='`$block_configuration-parameters`' /> \n\n\n\n<!--1702 VM/VNFC Parameters when passed from Request--> \n<parameter name='VNFCTYPE' value='`$request-parameters.vm[0].vnfc[0].vnfc-type`' />\n<parameter name=\"VMNAME0\" value=\"`$request-parameters.vm[0].vm-name`\"/>\n<parameter name=\"VNFCNAME0\" value=\"`$request-parameters.vm[0].vnfc[0].vnfc-name`\"/>\n<parameter name=\"VMLENGTH\" value=\"`$size_request-parameters.vm`\"/>\n<parameter name=\"VNFCLENGTH\" value=\"`$size_request-parameters.vm[0].vnfc`\"/>\n<parameter name=\"CONFIGTYPE\" value=\"`$config-type`\"/>\n\n\n<!-- Not Used?\n<parameter name='site-location' value='`$request-parameters.site-location`' />\n<parameter name='file-name' value='`$request-parameters.file-name`' />\n-->\n\n\n\n\n",
- "y": 224.08331775665283,
- "z": "5ad64f3a.c3774"
- },
- {
- "comments": "",
- "id": "59f42bd7.3b8014",
- "name": "success",
- "outputs": 1,
- "type": "success",
- "wires": [
- [
- "e0bb5945.ce9928"
- ]
- ],
- "x": 748.8611030578613,
- "xml": "<outcome value='success'>\n",
- "y": 545.3333215713501,
- "z": "5ad64f3a.c3774"
- },
- {
- "comments": "",
- "id": "e0bb5945.ce9928",
- "name": "set action-level ",
- "type": "set",
- "wires": [],
- "x": 965.2777328491211,
- "xml": "<set>\n<parameter name='action-level' value='`$APPC.action-level.ACTION-LEVEL`' />\n\n\n\n\n\n",
- "y": 548.3888630867004,
- "z": "5ad64f3a.c3774"
- },
- {
- "comments": "",
- "id": "df9c11ec.844bb",
- "name": "switch action-level",
- "outputs": 1,
- "type": "switchNode",
- "wires": [
- [
- "6eb262a7.6f6d0c",
- "5a3d27a3.2b2d98"
- ]
- ],
- "x": 407.9999771118164,
- "xml": "<switch test='`$action-level`'>\n",
- "y": 592.9166965484619,
- "z": "5ad64f3a.c3774"
- },
- {
- "comments": "",
- "id": "6eb262a7.6f6d0c",
- "name": "outcome: Other",
- "outputs": 1,
- "type": "success",
- "wires": [
- [
- "46672893.29be28"
- ]
- ],
- "x": 625.4166564941406,
- "xml": "<outcome value='Other'>",
- "y": 619.3333377838135,
- "z": "5ad64f3a.c3774"
- },
- {
- "comments": "",
- "id": "5a3d27a3.2b2d98",
- "name": "outcome: VM",
- "outputs": 1,
- "type": "success",
- "wires": [
- [
- "3e46fb5e.8e8fc4"
- ]
- ],
- "x": 615.4166564941406,
- "xml": "<outcome value='VM'>",
- "y": 682.0000276565552,
- "z": "5ad64f3a.c3774"
- },
- {
- "atomic": "false",
- "comments": "",
- "id": "3e46fb5e.8e8fc4",
- "name": "block",
- "outputs": 1,
- "type": "block",
- "wires": [
- [
- "39e6b24d.41090e"
- ]
- ],
- "x": 776.4166526794434,
- "xml": "<block>\n",
- "y": 683.6666445732117,
- "z": "5ad64f3a.c3774"
- },
- {
- "comments": "",
- "id": "39e6b24d.41090e",
- "name": "return success",
- "type": "returnSuccess",
- "wires": [],
- "x": 1041.7500305175781,
- "xml": "<return status='success'>\n\n",
- "y": 679.6666927337646,
- "z": "5ad64f3a.c3774"
- },
- {
- "comments": "",
- "id": "7ff4860d.906048",
- "name": "outcome: ''",
- "outputs": 1,
- "type": "success",
- "wires": [
- [
- "6913b0fa.1e861"
- ]
- ],
- "x": 1535.1666450500488,
- "xml": "<outcome value=''>",
- "y": 366.6666326522827,
- "z": "5ad64f3a.c3774"
- },
- {
- "comments": "",
- "id": "61f421d6.bfea9",
- "name": "outcome: Other",
- "outputs": 1,
- "type": "success",
- "wires": [
- [
- "5b26aeb2.014b5"
- ]
- ],
- "x": 1468.9883499145508,
- "xml": "<outcome value='Other'>",
- "y": 463.14288330078125,
- "z": "5ad64f3a.c3774"
- },
- {
- "atomic": "true",
- "comments": "",
- "id": "6913b0fa.1e861",
- "name": "block : atomic",
- "outputs": 1,
- "type": "block",
- "wires": [
- [
- "8c272d3a.1fda9"
- ]
- ],
- "x": 1065.988182067871,
- "xml": "<block atomic=\"true\">",
- "y": 439.23810386657715,
- "z": "5ad64f3a.c3774"
- },
- {
- "atomic": "true",
- "comments": null,
- "id": "5b26aeb2.014b5",
- "name": "block : atomic",
- "outputs": 1,
- "type": "block",
- "wires": [
- [
- "2f509b0e.830454"
- ]
- ],
- "x": 1662.2974319458008,
- "xml": "<block atomic=\"true\">",
- "y": 462.54766845703125,
- "z": "5ad64f3a.c3774"
- },
- {
- "comments": "",
- "id": "2f509b0e.830454",
- "name": "setActionLevel VNF",
- "type": "set",
- "wires": [],
- "x": 1866.9165725708008,
- "xml": "<set>\n<parameter name='action-level' value='VNF' />\n<parameter name='action-identifier' value='vnf-id' />",
- "y": 462.33331298828125,
- "z": "5ad64f3a.c3774"
- },
- {
- "comments": "",
- "id": "c3fc55e7.85ef98",
- "name": "switch vnfc-name",
- "outputs": 1,
- "type": "switchNode",
- "wires": [
- [
- "95399a07.ea4f08",
- "60550aae.3a6004"
- ]
- ],
- "x": 457.25001525878906,
- "xml": "<switch test='`$vnfc-name`'>\n",
- "y": 345.80554389953613,
- "z": "5ad64f3a.c3774"
- },
- {
- "comments": "",
- "id": "95399a07.ea4f08",
- "name": "outcome: Other",
- "outputs": 1,
- "type": "success",
- "wires": [
- [
- "450f80e7.6d15"
- ]
- ],
- "x": 730.7937927246094,
- "xml": "<outcome value='Other'>",
- "y": 335.4206600189209,
- "z": "5ad64f3a.c3774"
- },
- {
- "atomic": "true",
- "comments": null,
- "id": "450f80e7.6d15",
- "name": "block : atomic",
- "outputs": 1,
- "type": "block",
- "wires": [
- [
- "af2df603.4ae968"
- ]
- ],
- "x": 918.7419891357422,
- "xml": "<block atomic=\"true\">",
- "y": 346.5477046966553,
- "z": "5ad64f3a.c3774"
- },
- {
- "comments": "",
- "id": "af2df603.4ae968",
- "name": "setActionLevel VNFC",
- "type": "set",
- "wires": [],
- "x": 1206.250099182129,
- "xml": "<set>\n<parameter name='action-level' value='VNFC' />\n<parameter name='action-identifier' value='vnfc-name' />\n",
- "y": 258.05552673339844,
- "z": "5ad64f3a.c3774"
- },
- {
- "comments": "",
- "id": "75506bed.9faa54",
- "name": "switch vserver-id",
- "outputs": 1,
- "type": "switchNode",
- "wires": [
- [
- "79aeaa57.7ae244",
- "98b876c6.c2b488"
- ]
- ],
- "x": 924.1388092041016,
- "xml": "<switch test='`$vserver-id`'>\n",
- "y": 387.1110610961914,
- "z": "5ad64f3a.c3774"
- },
- {
- "comments": "",
- "id": "79aeaa57.7ae244",
- "name": "outcome: Other",
- "outputs": 1,
- "type": "success",
- "wires": [
- [
- "8df97915.365a48"
- ]
- ],
- "x": 1180.015998840332,
- "xml": "<outcome value='Other'>",
- "y": 309.92064571380615,
- "z": "5ad64f3a.c3774"
- },
- {
- "atomic": "true",
- "comments": null,
- "id": "8df97915.365a48",
- "name": "block : atomic",
- "outputs": 1,
- "type": "block",
- "wires": [
- [
- "b97dd2a7.2d3e2"
- ]
- ],
- "x": 1364.4642028808594,
- "xml": "<block atomic=\"true\">",
- "y": 291.79767322540283,
- "z": "5ad64f3a.c3774"
- },
- {
- "comments": "",
- "id": "b97dd2a7.2d3e2",
- "name": "setActionLevel VM",
- "type": "set",
- "wires": [],
- "x": 1552.3333435058594,
- "xml": "<set>\n<parameter name='action-level' value='VM' />\n<parameter name='action-identifier' value='vserver-id' />\n\n",
- "y": 281.99997425079346,
- "z": "5ad64f3a.c3774"
- },
- {
- "comments": "",
- "id": "8c272d3a.1fda9",
- "name": "switch vnf-id",
- "outputs": 1,
- "type": "switchNode",
- "wires": [
- [
- "61f421d6.bfea9",
- "5dee6920.b9c5a8"
- ]
- ],
- "x": 1229.4167137145996,
- "xml": "<switch test='`$vnf-id`'>\n",
- "y": 439.83331871032715,
- "z": "5ad64f3a.c3774"
- },
- {
- "comments": "",
- "id": "5dee6920.b9c5a8",
- "name": "outcome: ''",
- "outputs": 1,
- "type": "success",
- "wires": [
- [
- "1edb9ae1.72e305"
- ]
- ],
- "x": 1463.4999694824219,
- "xml": "<outcome value=''>",
- "y": 413.1666316986084,
- "z": "5ad64f3a.c3774"
- },
- {
- "atomic": "true",
- "comments": "",
- "id": "1edb9ae1.72e305",
- "name": "block : atomic",
- "outputs": 1,
- "type": "block",
- "wires": [
- [
- "2ba19f2d.87e9a"
- ]
- ],
- "x": 1653.7382507324219,
- "xml": "<block atomic=\"true\">",
- "y": 409.5714473724365,
- "z": "5ad64f3a.c3774"
- },
- {
- "comments": "",
- "id": "2ba19f2d.87e9a",
- "name": "return failure",
- "type": "returnFailure",
- "wires": [],
- "x": 1852.2498512268066,
- "xml": "<return status=\"failure\">\n<parameter name=\"error-code\" value=\"401\"/>\n\t<parameter name=\"error-message\" value=\"Action identifier is missing in the request\"/>\n\t\n\t",
- "y": 415.58331871032715,
- "z": "5ad64f3a.c3774"
- },
- {
- "comments": "",
- "id": "eae00a39.c7edb8",
- "name": "switch vf-module-id",
- "outputs": 1,
- "type": "switchNode",
- "wires": [
- [
- "2fce24e2.84f1cc",
- "7ff4860d.906048"
- ]
- ],
- "x": 1335.2619323730469,
- "xml": "<switch test='`$vf-module-id`'>\n",
- "y": 350.4404354095459,
- "z": "5ad64f3a.c3774"
- },
- {
- "comments": "",
- "id": "2fce24e2.84f1cc",
- "name": "outcome: Other",
- "outputs": 1,
- "type": "success",
- "wires": [
- [
- "6aa3f5cb.2378fc"
- ]
- ],
- "x": 1549.5833435058594,
- "xml": "<outcome value='Other'>",
- "y": 324.0832872390747,
- "z": "5ad64f3a.c3774"
- },
- {
- "atomic": "true",
- "comments": null,
- "id": "6aa3f5cb.2378fc",
- "name": "block : atomic",
- "outputs": 1,
- "type": "block",
- "wires": [
- [
- "6402489b.ea4c28"
- ]
- ],
- "x": 1755.1427917480469,
- "xml": "<block atomic=\"true\">",
- "y": 322.9881343841553,
- "z": "5ad64f3a.c3774"
- },
- {
- "comments": "",
- "id": "6402489b.ea4c28",
- "name": "setActionLevel VF-Module",
- "type": "set",
- "wires": [],
- "x": 1967.428565979004,
- "xml": "<set>\n<parameter name='action-level' value='VF-MODULE' />\n<parameter name='action-identifier' value='vf-module-id' />\n",
- "y": 321.85712242126465,
- "z": "5ad64f3a.c3774"
- },
- {
- "comments": "",
- "id": "60550aae.3a6004",
- "name": "outcome: ''",
- "outputs": 1,
- "type": "success",
- "wires": [
- [
- "75506bed.9faa54"
- ]
- ],
- "x": 725.5832939147949,
- "xml": "<outcome value=''>",
- "y": 381.2500009536743,
- "z": "5ad64f3a.c3774"
- },
- {
- "comments": "",
- "id": "98b876c6.c2b488",
- "name": "outcome: ''",
- "outputs": 1,
- "type": "success",
- "wires": [
- [
- "eae00a39.c7edb8"
- ]
- ],
- "x": 1144.4722785949707,
- "xml": "<outcome value=''>",
- "y": 368.8888854980469,
- "z": "5ad64f3a.c3774"
- },
- {
- "comments": "",
- "id": "d62b8ebb.ff133",
- "name": "record",
- "outputs": 1,
- "type": "record",
- "wires": [
- []
- ],
- "x": 431.25000762939453,
- "xml": "<record plugin=\"org.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=\"`$request-action`\"/>\n<parameter name=\"field3\" value=\"`$action-identifier`\"/>\n\n",
- "y": 396.111120223999,
- "z": "5ad64f3a.c3774"
- },
- {
- "comments": "",
- "id": "e5a060ba.6726c",
- "name": "switch vnfc-type",
- "outputs": 1,
- "type": "switchNode",
- "wires": [
- [
- "2f46d21c.ad87ce",
- "1ac83acb.3771a5"
- ]
- ],
- "x": 466.6666488647461,
- "xml": "<switch test='`$vnfc-type`'>\n",
- "y": 278.88890266418457,
- "z": "5ad64f3a.c3774"
- },
- {
- "comments": "",
- "id": "2f46d21c.ad87ce",
- "name": "outcome: Other",
- "outputs": 1,
- "type": "success",
- "wires": [
- [
- "ca9a8300.12e3d"
- ]
- ],
- "x": 742.4325942993164,
- "xml": "<outcome value='Other'>",
- "y": 244.0595827102661,
- "z": "5ad64f3a.c3774"
- },
- {
- "atomic": "true",
- "comments": null,
- "id": "ca9a8300.12e3d",
- "name": "block : atomic",
- "outputs": 1,
- "type": "block",
- "wires": [
- []
- ],
- "x": 935.9364204406738,
- "xml": "<block atomic=\"true\">",
- "y": 246.29769325256348,
- "z": "5ad64f3a.c3774"
- },
- {
- "comments": "",
- "id": "1ac83acb.3771a5",
- "name": "outcome: ''",
- "outputs": 1,
- "type": "success",
- "wires": [
- [
- "6cee73a9.31fecc"
- ]
- ],
- "x": 738.3332672119141,
- "xml": "<outcome value=''>",
- "y": 285.4444417953491,
- "z": "5ad64f3a.c3774"
- },
- {
- "comments": "",
- "id": "6cee73a9.31fecc",
- "name": "set vnfc-type ",
- "type": "set",
- "wires": [],
- "x": 936.6665954589844,
- "xml": "<set>\n<!-- 17.07 If vnfc-type is blank assign Parameters from request in array list -->\n<parameter name='vnfc-type' value='`$VNFCTYPE`' />\n\n\n\n\n\n\n\n\n\n\n\n",
- "y": 285.55558013916016,
- "z": "5ad64f3a.c3774"
- }
-]
+[
+ {
+ "id": "7fca76b4.17223",
+ "type": "execute",
+ "name": "execute saveTxLog",
+ "xml": "<execute plugin=\"org.onap.appc.data.services.node.ConfigResourceNode\" method=\"saveConfigTransactionLog\">\n<parameter name=\"messageType\" value=\"log\" />\n<parameter name=\"message\" value=\"SetInputData action complete\" />\n<parameter name=\"responsePrefix\" value=\"tmp.saveTxLog\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 291.6111373901367,
+ "y": 975.9444494247437,
+ "z": "29005224.e84c46",
+ "wires": [
+ [
+ "29ad6619.56be1a"
+ ]
+ ]
+ },
+ {
+ "id": "29ad6619.56be1a",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 544.3611488342285,
+ "y": 978.8610963821411,
+ "z": "29005224.e84c46",
+ "wires": [
+ [
+ "487dbd4.fae6244"
+ ]
+ ]
+ },
+ {
+ "id": "487dbd4.fae6244",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 762.6944465637207,
+ "y": 979.3611373901367,
+ "z": "29005224.e84c46",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d57f2a5b.6d9878",
+ "type": "dgstart",
+ "name": "DGSTART",
+ "outputs": 1,
+ "x": 76,
+ "y": 100,
+ "z": "29005224.e84c46",
+ "wires": [
+ [
+ "eb65f1a6.67a2a8"
+ ]
+ ]
+ },
+ {
+ "id": "eb65f1a6.67a2a8",
+ "type": "service-logic",
+ "name": "APPC 4.0.0",
+ "module": "APPC",
+ "version": "4.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' version='4.0.0'>",
+ "outputs": 1,
+ "x": 229.8730125427246,
+ "y": 104.27777767181396,
+ "z": "29005224.e84c46",
+ "wires": [
+ [
+ "464bc66a.d400f"
+ ]
+ ]
+ },
+ {
+ "id": "464bc66a.d400f",
+ "type": "method",
+ "name": "method setInputParams",
+ "xml": "<method rpc='setInputParams' mode='sync'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 474.28175354003906,
+ "y": 104.33333110809326,
+ "z": "29005224.e84c46",
+ "wires": [
+ [
+ "76f327ef.78a5d"
+ ]
+ ]
+ },
+ {
+ "id": "76f327ef.78a5d",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 125.82540893554688,
+ "y": 192.7301435470581,
+ "z": "29005224.e84c46",
+ "wires": [
+ [
+ "7fca76b4.17223",
+ "ec38a1b5.f9fb78",
+ "f86b33c2.af5458",
+ "c6d02f55.f61f5",
+ "6b012bde.6f80a4",
+ "5cf8e6f0.d42f4",
+ "a24f31b2.4d18e",
+ "8d34313a.627aa8",
+ "990a0e31.6e0e5",
+ "895d6244.5f7778",
+ "a3f0b036.b07238",
+ "7b2f5687.8079a8",
+ "71fa2664.4d59f",
+ "1b1c550c.87631b"
+ ]
+ ]
+ },
+ {
+ "id": "ec38a1b5.f9fb78",
+ "type": "set",
+ "name": "set params based on Dispatcher Input",
+ "xml": "<set>\n<parameter name='vnf-id' value='`$input.action-identifiers.vnf-id`' /> \n<parameter name='service-instance-id' value='`$input.action-identifiers.service-instance-id`' />\n<parameter name='vserver-id' value='`$input.action-identifiers.vserver-id`' />\n<parameter name='vf-module-id' value='`$input.action-identifiers.vf-module-id`' />\n<parameter name='vnfc-name' value='`$input.action-identifiers.vnfc-name`' />\n\n<parameter name='request-id' value='`$input.common-header.request-id`' />\n<parameter name='originator-id' value='`$input.common-header.originator-id`' /> \n\n<parameter name='payload' value='`$input.payload`' /> \n<parameter name='api-ver' value='`$input.api-ver`' /> \n<parameter name='request-action' value='`$input.action`' />\n",
+ "comments": "",
+ "x": 699.055534362793,
+ "y": 145.4166612625122,
+ "z": "29005224.e84c46",
+ "wires": []
+ },
+ {
+ "id": "6b012bde.6f80a4",
+ "type": "execute",
+ "name": "execute Convert payload to DG Context ",
+ "xml": "<execute plugin=\"org.onap.sdnc.config.generator.convert.ConvertNode\" method=\"convertJson2DGContext\">\n<parameter name=\"jsonData\" value=\"`$input.payload`\" />\n<parameter name=\"isEscaped\" value=\"N\" />\n<parameter name=\"blockKeys\" value=\"configuration-parameters,configuration.configuration-string,configuration.configuration-json\" />\n<parameter name=\"responsePrefix\" value=\"tmp.convertnode\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 497.77784729003906,
+ "y": 261.83332920074463,
+ "z": "29005224.e84c46",
+ "wires": [
+ [
+ "995b69b3.150398",
+ "fe8257e4.b88f08"
+ ]
+ ]
+ },
+ {
+ "id": "995b69b3.150398",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 820.583366394043,
+ "y": 234.91666889190674,
+ "z": "29005224.e84c46",
+ "wires": [
+ [
+ "89a3cd6a.29c028"
+ ]
+ ]
+ },
+ {
+ "id": "fe8257e4.b88f08",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 823.2778167724609,
+ "y": 281.30555057525635,
+ "z": "29005224.e84c46",
+ "wires": [
+ [
+ "83571f1f.4fec7"
+ ]
+ ]
+ },
+ {
+ "id": "89a3cd6a.29c028",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1020.9444732666016,
+ "y": 235.27777767181396,
+ "z": "29005224.e84c46",
+ "wires": [
+ [
+ "3f186ad8.9acc1e"
+ ]
+ ]
+ },
+ {
+ "id": "83571f1f.4fec7",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1015.1944732666016,
+ "y": 283.2777786254883,
+ "z": "29005224.e84c46",
+ "wires": [
+ [
+ "ab91d54a.f38b58"
+ ]
+ ]
+ },
+ {
+ "id": "3f186ad8.9acc1e",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status=\"failure\">\n<parameter name=\"error-code\" value=\"401\"/>\n\t<parameter name=\"error-message\" value=\"`$tmp.convertnode.error-message`\"/>\n\t\n\t",
+ "comments": "",
+ "x": 1205.6944770812988,
+ "y": 235.52777767181396,
+ "z": "29005224.e84c46",
+ "wires": []
+ },
+ {
+ "id": "ab91d54a.f38b58",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status=\"failure\">\n\t<parameter name=\"error-code\" value=\"401\"/>\n\t<parameter name=\"error-message\" value=\"Unable to process input parameters\"/>\n\t",
+ "comments": "",
+ "x": 1208.4444770812988,
+ "y": 285.0277795791626,
+ "z": "29005224.e84c46",
+ "wires": []
+ },
+ {
+ "id": "c6d02f55.f61f5",
+ "type": "execute",
+ "name": "execute saveTxLog",
+ "xml": "<execute plugin=\"org.onap.appc.data.services.node.ConfigResourceNode\" method=\"saveConfigTransactionLog\">\n<parameter name=\"messageType\" value=\"request\" />\n<parameter name=\"message\" value=\"`$tmp.message`\" />\n<parameter name=\"responsePrefix\" value=\"tmp.saveTxLog\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 534.6944580078125,
+ "y": 216.52777767181396,
+ "z": "29005224.e84c46",
+ "wires": [
+ [
+ "72fb1a20.ab554c"
+ ]
+ ]
+ },
+ {
+ "id": "f86b33c2.af5458",
+ "type": "set",
+ "name": "set tmp.message",
+ "xml": "<set>\n<parameter name=\"tmp.message\" value=\"`$vnf-id + ' : ' + $request-action + ': ' + $payload`\" />\n",
+ "comments": "",
+ "x": 632.6389083862305,
+ "y": 178.66666889190674,
+ "z": "29005224.e84c46",
+ "wires": []
+ },
+ {
+ "id": "72fb1a20.ab554c",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 941.444450378418,
+ "y": 173.02777576446533,
+ "z": "29005224.e84c46",
+ "wires": [
+ [
+ "9f45e4b6.47b0b"
+ ]
+ ]
+ },
+ {
+ "id": "9f45e4b6.47b0b",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1098.444450378418,
+ "y": 170.02777576446533,
+ "z": "29005224.e84c46",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "1b1c550c.87631b",
+ "type": "call",
+ "name": "call: GetAaiInfo",
+ "xml": "<call module=\"APPC\" rpc=\"GetAaiInfo\" mode=\"sync\">",
+ "comments": "",
+ "outputs": 1,
+ "x": 376.25,
+ "y": 617.361083984375,
+ "z": "29005224.e84c46",
+ "wires": [
+ [
+ "d2fb9e84.53c39",
+ "53eaaf46.77b328"
+ ]
+ ]
+ },
+ {
+ "id": "d2fb9e84.53c39",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 883.9166259765625,
+ "y": 652.9444580078125,
+ "z": "29005224.e84c46",
+ "wires": [
+ [
+ "3cf17bd2.dc0954"
+ ]
+ ]
+ },
+ {
+ "id": "3cf17bd2.dc0954",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1065.861083984375,
+ "y": 662.6111450195312,
+ "z": "29005224.e84c46",
+ "wires": [
+ [
+ "a9218921.0e075"
+ ]
+ ]
+ },
+ {
+ "id": "a9218921.0e075",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status=\"failure\">\n\t",
+ "comments": "",
+ "x": 1242.2777099609375,
+ "y": 657.111083984375,
+ "z": "29005224.e84c46",
+ "wires": []
+ },
+ {
+ "id": "53eaaf46.77b328",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 905.8056640625,
+ "y": 691.47216796875,
+ "z": "29005224.e84c46",
+ "wires": [
+ [
+ "3cf17bd2.dc0954"
+ ]
+ ]
+ },
+ {
+ "id": "5cf8e6f0.d42f4",
+ "type": "switchNode",
+ "name": "switch isTemplateDriven.TEMPLATE",
+ "xml": "<switch test='`$isTemplateDriven.TEMPLATE`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 382.6111145019531,
+ "y": 889.6111135482788,
+ "z": "29005224.e84c46",
+ "wires": [
+ [
+ "9d2cedd4.ab474",
+ "717d950.608c96c"
+ ]
+ ]
+ },
+ {
+ "id": "9d2cedd4.ab474",
+ "type": "success",
+ "name": "outcome: Y",
+ "xml": "<outcome value=\"Y\">",
+ "comments": "",
+ "outputs": 1,
+ "x": 717.5357551574707,
+ "y": 859.5912027359009,
+ "z": "29005224.e84c46",
+ "wires": [
+ [
+ "d3749fed.e9b82"
+ ]
+ ]
+ },
+ {
+ "id": "717d950.608c96c",
+ "type": "success",
+ "name": "outcome: Other",
+ "xml": "<outcome value='Other'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 719.2738723754883,
+ "y": 917.7341413497925,
+ "z": "29005224.e84c46",
+ "wires": [
+ [
+ "626c366b.12ab4"
+ ]
+ ]
+ },
+ {
+ "id": "d3749fed.e9b82",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "comments": null,
+ "outputs": 1,
+ "x": 953.1627159118652,
+ "y": 865.8571519851685,
+ "z": "29005224.e84c46",
+ "wires": [
+ [
+ "55166856.7789c8"
+ ]
+ ]
+ },
+ {
+ "id": "626c366b.12ab4",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "comments": null,
+ "outputs": 1,
+ "x": 983.2500839233398,
+ "y": 916.8056125640869,
+ "z": "29005224.e84c46",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "55166856.7789c8",
+ "type": "call",
+ "name": "call: loadTeamplate",
+ "xml": "<call module=\"APPC\" rpc=\"loadTeamplate\" mode=\"sync\">",
+ "comments": "",
+ "outputs": 1,
+ "x": 1156.750087738037,
+ "y": 865.8888502120972,
+ "z": "29005224.e84c46",
+ "wires": [
+ [
+ "eaef706.395761",
+ "c27756eb.b56cc"
+ ]
+ ]
+ },
+ {
+ "id": "eaef706.395761",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1325.9167594909668,
+ "y": 835.6389303207397,
+ "z": "29005224.e84c46",
+ "wires": [
+ [
+ "41181dc0.443dd4"
+ ]
+ ]
+ },
+ {
+ "id": "d0dd485b.2ad268",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status=\"failure\">\n\t<parameter name=\"error-code\" value=\"401\"/>\n\t<parameter name=\"error-message\" value=\"Unable to load Template Information\"/>\n",
+ "comments": "",
+ "x": 1719.7501068115234,
+ "y": 831.3055753707886,
+ "z": "29005224.e84c46",
+ "wires": []
+ },
+ {
+ "id": "41181dc0.443dd4",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">\n\n",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1502.9167251586914,
+ "y": 833.5555562973022,
+ "z": "29005224.e84c46",
+ "wires": [
+ [
+ "d0dd485b.2ad268"
+ ]
+ ]
+ },
+ {
+ "id": "c27756eb.b56cc",
+ "type": "failure",
+ "name": "Other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1316.8333854675293,
+ "y": 948.2222166061401,
+ "z": "29005224.e84c46",
+ "wires": [
+ [
+ "3d62ad4c.6bdfba"
+ ]
+ ]
+ },
+ {
+ "id": "a24f31b2.4d18e",
+ "type": "get-resource",
+ "name": "get-resource: APPC.action-level",
+ "xml": "<get-resource\n\tplugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' \n\tresource='SQL'\n\tkey=\"SELECT ACTION_LEVEL\n\t FROM ACTION_LEVEL_REFERENCE\n WHERE ACTION_IDENTIFIER = $action-identifier ;\"\n force='true'\n\tpfx='APPC.action-level'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 435.1944580078125,
+ "y": 551.1944704055786,
+ "z": "29005224.e84c46",
+ "wires": [
+ [
+ "95b0c195.da7348",
+ "19e50c10.9c277c"
+ ]
+ ]
+ },
+ {
+ "id": "732257e6.5f321",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 894.9444580078125,
+ "y": 555.5277709960938,
+ "z": "29005224.e84c46",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "95b0c195.da7348",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 710.361083984375,
+ "y": 554.1388549804688,
+ "z": "29005224.e84c46",
+ "wires": [
+ [
+ "732257e6.5f321"
+ ]
+ ]
+ },
+ {
+ "id": "3d62ad4c.6bdfba",
+ "type": "call",
+ "name": "call: MergeTemplateData",
+ "xml": "<call module=\"APPC\" rpc=\"MergeTemplateData\" mode=\"sync\">",
+ "comments": "",
+ "outputs": 1,
+ "x": 1498.111099243164,
+ "y": 945.0277814865112,
+ "z": "29005224.e84c46",
+ "wires": [
+ [
+ "432b7e5d.93983",
+ "a0f71151.dc82a8"
+ ]
+ ]
+ },
+ {
+ "id": "da151a8e.03b298",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "comments": null,
+ "outputs": 1,
+ "x": 1891.6230392456055,
+ "y": 904.599232673645,
+ "z": "29005224.e84c46",
+ "wires": [
+ [
+ "e176531c.3b90b"
+ ]
+ ]
+ },
+ {
+ "id": "432b7e5d.93983",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1732.2658920288086,
+ "y": 905.3015851974487,
+ "z": "29005224.e84c46",
+ "wires": [
+ [
+ "da151a8e.03b298"
+ ]
+ ]
+ },
+ {
+ "id": "a0f71151.dc82a8",
+ "type": "failure",
+ "name": "Other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1735.932559967041,
+ "y": 971.7301757335663,
+ "z": "29005224.e84c46",
+ "wires": [
+ [
+ "adcb7f0e.8d7018"
+ ]
+ ]
+ },
+ {
+ "id": "adcb7f0e.8d7018",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1900.2182922363281,
+ "y": 971.3015871047974,
+ "z": "29005224.e84c46",
+ "wires": [
+ [
+ "a8d7e1f2.7f37b"
+ ]
+ ]
+ },
+ {
+ "id": "a8d7e1f2.7f37b",
+ "type": "record",
+ "name": "record",
+ "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=\"`$request-action`\"/>\n<parameter name=\"field3\" value=\"`$input.action`\"/>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2076.7897911071777,
+ "y": 972.9206256270409,
+ "z": "29005224.e84c46",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "835d681f.fd9e78",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status=\"failure\">\n\t<parameter name=\"error-code\" value=\"401\"/>\n\t<parameter name=\"error-message\" value=\"Unable to Merge Template and Data Information\"/>\n",
+ "comments": "",
+ "x": 2272.6112098693848,
+ "y": 901.5277814865112,
+ "z": "29005224.e84c46",
+ "wires": []
+ },
+ {
+ "id": "e176531c.3b90b",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">\n\n",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2084.527786254883,
+ "y": 902.9444065093994,
+ "z": "29005224.e84c46",
+ "wires": [
+ [
+ "835d681f.fd9e78"
+ ]
+ ]
+ },
+ {
+ "id": "8d34313a.627aa8",
+ "type": "get-resource",
+ "name": "get-resource: isTemplateDriven",
+ "xml": "<get-resource\n\tplugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' \n\tresource='SQL'\n\tkey=\"SELECT TEMPLATE\n\t FROM PROTOCOL_REFERENCE\n WHERE ACTION = $input.action and VNF_TYPE = $vnf-type and ACTION_LEVEL= $action-level ;\"\n force='true'\n\tpfx='isTemplateDriven'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 383.7777862548828,
+ "y": 827.1110906600952,
+ "z": "29005224.e84c46",
+ "wires": [
+ [
+ "e991d954.17bb88"
+ ]
+ ]
+ },
+ {
+ "id": "f9b86e0d.f41458",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 922.8611221313477,
+ "y": 811.1111373901367,
+ "z": "29005224.e84c46",
+ "wires": [
+ [
+ "cb70510a.cb926"
+ ]
+ ]
+ },
+ {
+ "id": "cb70510a.cb926",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status=\"failure\">\n\t<parameter name=\"error-code\" value=\"401\"/>\n\t<parameter name=\"error-message\" value=\"Unable to retrieve Template Information from Reference table.\"/>\n\t",
+ "comments": "",
+ "x": 1126.1111297607422,
+ "y": 805.5277423858643,
+ "z": "29005224.e84c46",
+ "wires": []
+ },
+ {
+ "id": "e991d954.17bb88",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 711.944450378418,
+ "y": 805.9444704055786,
+ "z": "29005224.e84c46",
+ "wires": [
+ [
+ "f9b86e0d.f41458"
+ ]
+ ]
+ },
+ {
+ "id": "990a0e31.6e0e5",
+ "type": "set",
+ "name": "set Payload params ",
+ "xml": "<set>\n<!-- vnf type, name is from A&AI \n<parameter name='vnf-type' value='`$tmp.vnfInfo.vnf.vnf-type`' />\n<parameter name='vnf-name' value='`$tmp.vnfInfo.vnf.vnf-name`' />\n-->\n<!-- 17.07 Parameters from request -->\n<parameter name='template-name' value='`$request-parameters.template-name`' />\n<parameter name='vnf-host-ip-address' value='`$request-parameters.vnf-host-ip-address`' />\n<parameter name='vnfc-type' value='`$request-parameters.vnfc-type`' /> \n<parameter name='vnf-type' value='`$request-parameters.vnf-type`' />\n<parameter name='vnf-name' value='`$request-parameters.vnf-name`' />\n\n<parameter name='configurationblock' value='`$block_configuration`' />\n\n\n<!-- parameters to be merged with template provided as input-->\n<parameter name='configuration-params' value='`$block_configuration-parameters`' /> \n\n\n\n<!--1702 VM/VNFC Parameters when passed from Request--> \n<parameter name='VNFCTYPE' value='`$request-parameters.vm[0].vnfc[0].vnfc-type`' />\n<parameter name=\"VMNAME0\" value=\"`$request-parameters.vm[0].vm-name`\"/>\n<parameter name=\"VNFCNAME0\" value=\"`$request-parameters.vm[0].vnfc[0].vnfc-name`\"/>\n<parameter name=\"VMLENGTH\" value=\"`$size_request-parameters.vm`\"/>\n<parameter name=\"VNFCLENGTH\" value=\"`$size_request-parameters.vm[0].vnfc`\"/>\n<parameter name=\"CONFIGTYPE\" value=\"`$config-type`\"/>\n\n\n<!-- Not Used?\n<parameter name='site-location' value='`$request-parameters.site-location`' />\n<parameter name='file-name' value='`$request-parameters.file-name`' />\n-->\n\n\n\n\n",
+ "comments": "",
+ "x": 453.8333740234375,
+ "y": 302.86109352111816,
+ "z": "29005224.e84c46",
+ "wires": []
+ },
+ {
+ "id": "19e50c10.9c277c",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 708.2222290039062,
+ "y": 612.111083984375,
+ "z": "29005224.e84c46",
+ "wires": [
+ [
+ "9ab33177.739028"
+ ]
+ ]
+ },
+ {
+ "id": "9ab33177.739028",
+ "type": "set",
+ "name": "set action-level ",
+ "xml": "<set>\n<parameter name='action-level' value='`$APPC.action-level.ACTION-LEVEL`' />\n\n\n\n\n\n",
+ "comments": "",
+ "x": 923.6388549804688,
+ "y": 610.1666259765625,
+ "z": "29005224.e84c46",
+ "wires": []
+ },
+ {
+ "id": "895d6244.5f7778",
+ "type": "switchNode",
+ "name": "switch action-level",
+ "xml": "<switch test='`$action-level`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 368.3611145019531,
+ "y": 671.6944723129272,
+ "z": "29005224.e84c46",
+ "wires": [
+ [
+ "35177e35.337e22",
+ "a0f1c6b2.00f718"
+ ]
+ ]
+ },
+ {
+ "id": "35177e35.337e22",
+ "type": "success",
+ "name": "outcome: Other",
+ "xml": "<outcome value='Other'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 585.7777938842773,
+ "y": 698.1111135482788,
+ "z": "29005224.e84c46",
+ "wires": [
+ [
+ "c9dae8b.326fc18"
+ ]
+ ]
+ },
+ {
+ "id": "a0f1c6b2.00f718",
+ "type": "success",
+ "name": "outcome: vm",
+ "xml": "<outcome value='vm'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 575.7777938842773,
+ "y": 760.7778034210205,
+ "z": "29005224.e84c46",
+ "wires": [
+ [
+ "890c6652.009fe"
+ ]
+ ]
+ },
+ {
+ "id": "8fafb92f.4781f8",
+ "type": "success",
+ "name": "outcome: ''",
+ "xml": "<outcome value=''>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1495.5277824401855,
+ "y": 445.44440841674805,
+ "z": "29005224.e84c46",
+ "wires": [
+ [
+ "54258c13.b4dbec"
+ ]
+ ]
+ },
+ {
+ "id": "785b351e.2dc944",
+ "type": "success",
+ "name": "outcome: Other",
+ "xml": "<outcome value='Other'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1429.3494873046875,
+ "y": 541.9206590652466,
+ "z": "29005224.e84c46",
+ "wires": [
+ [
+ "87c5e3a0.ba27c8"
+ ]
+ ]
+ },
+ {
+ "id": "54258c13.b4dbec",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1026.3493194580078,
+ "y": 518.0158796310425,
+ "z": "29005224.e84c46",
+ "wires": [
+ [
+ "56a763a8.8e56fc"
+ ]
+ ]
+ },
+ {
+ "id": "87c5e3a0.ba27c8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "comments": null,
+ "outputs": 1,
+ "x": 1622.6585693359375,
+ "y": 541.3254442214966,
+ "z": "29005224.e84c46",
+ "wires": [
+ [
+ "fe793e70.4652a8"
+ ]
+ ]
+ },
+ {
+ "id": "fe793e70.4652a8",
+ "type": "set",
+ "name": "setActionLevel VNF",
+ "xml": "<set>\n<parameter name='action-level' value='vnf' />\n<parameter name='action-identifier' value='vnf-id' />",
+ "comments": "",
+ "x": 1827.2777099609375,
+ "y": 541.1110887527466,
+ "z": "29005224.e84c46",
+ "wires": []
+ },
+ {
+ "id": "a3f0b036.b07238",
+ "type": "switchNode",
+ "name": "switch vnfc-name",
+ "xml": "<switch test='`$vnfc-name`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 417.6111526489258,
+ "y": 424.58331966400146,
+ "z": "29005224.e84c46",
+ "wires": [
+ [
+ "eef9ecae.76ad3",
+ "ffae425d.e075e"
+ ]
+ ]
+ },
+ {
+ "id": "eef9ecae.76ad3",
+ "type": "success",
+ "name": "outcome: Other",
+ "xml": "<outcome value='Other'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 691.1549301147461,
+ "y": 414.19843578338623,
+ "z": "29005224.e84c46",
+ "wires": [
+ [
+ "f1024b4b.2595e8"
+ ]
+ ]
+ },
+ {
+ "id": "f1024b4b.2595e8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "comments": null,
+ "outputs": 1,
+ "x": 879.1031265258789,
+ "y": 425.3254804611206,
+ "z": "29005224.e84c46",
+ "wires": [
+ [
+ "680f282a.97649"
+ ]
+ ]
+ },
+ {
+ "id": "680f282a.97649",
+ "type": "set",
+ "name": "setActionLevel VNFC",
+ "xml": "<set>\n<parameter name='action-level' value='vnfc' />\n<parameter name='action-identifier' value='vnfc-name' />\n",
+ "comments": "",
+ "x": 1166.6112365722656,
+ "y": 336.83330249786377,
+ "z": "29005224.e84c46",
+ "wires": []
+ },
+ {
+ "id": "93b4e2ac.d50e",
+ "type": "switchNode",
+ "name": "switch vserver-id",
+ "xml": "<switch test='`$vserver-id`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 884.4999465942383,
+ "y": 465.88883686065674,
+ "z": "29005224.e84c46",
+ "wires": [
+ [
+ "3e91bc4d.46606c",
+ "48c9e57e.8c798c"
+ ]
+ ]
+ },
+ {
+ "id": "3e91bc4d.46606c",
+ "type": "success",
+ "name": "outcome: Other",
+ "xml": "<outcome value='Other'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1140.3771362304688,
+ "y": 388.6984214782715,
+ "z": "29005224.e84c46",
+ "wires": [
+ [
+ "d2985a3c.4610a8"
+ ]
+ ]
+ },
+ {
+ "id": "d2985a3c.4610a8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "comments": null,
+ "outputs": 1,
+ "x": 1324.825340270996,
+ "y": 370.57544898986816,
+ "z": "29005224.e84c46",
+ "wires": [
+ [
+ "cc353017.0aa6d8"
+ ]
+ ]
+ },
+ {
+ "id": "cc353017.0aa6d8",
+ "type": "set",
+ "name": "setActionLevel VM",
+ "xml": "<set>\n<parameter name='action-level' value='vm' />\n<parameter name='action-identifier' value='vserver-id' />\n\n",
+ "comments": "",
+ "x": 1512.694480895996,
+ "y": 360.7777500152588,
+ "z": "29005224.e84c46",
+ "wires": []
+ },
+ {
+ "id": "56a763a8.8e56fc",
+ "type": "switchNode",
+ "name": "switch vnf-id",
+ "xml": "<switch test='`$vnf-id`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1189.7778511047363,
+ "y": 518.6110944747925,
+ "z": "29005224.e84c46",
+ "wires": [
+ [
+ "785b351e.2dc944",
+ "9d2ff18a.171238"
+ ]
+ ]
+ },
+ {
+ "id": "9d2ff18a.171238",
+ "type": "success",
+ "name": "outcome: ''",
+ "xml": "<outcome value=''>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1423.8611068725586,
+ "y": 491.94440746307373,
+ "z": "29005224.e84c46",
+ "wires": [
+ [
+ "b35053a9.d33238"
+ ]
+ ]
+ },
+ {
+ "id": "b35053a9.d33238",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1614.0993881225586,
+ "y": 488.34922313690186,
+ "z": "29005224.e84c46",
+ "wires": [
+ [
+ "6d710e0e.4976e"
+ ]
+ ]
+ },
+ {
+ "id": "6d710e0e.4976e",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status=\"failure\">\n<parameter name=\"error-code\" value=\"401\"/>\n\t<parameter name=\"error-message\" value=\"Action identifier is missing in the request\"/>\n\t\n\t",
+ "comments": "",
+ "x": 1812.6109886169434,
+ "y": 494.3610944747925,
+ "z": "29005224.e84c46",
+ "wires": []
+ },
+ {
+ "id": "8f73566a.1203d",
+ "type": "switchNode",
+ "name": "switch vf-module-id",
+ "xml": "<switch test='`$vf-module-id`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1295.6230697631836,
+ "y": 429.21821117401123,
+ "z": "29005224.e84c46",
+ "wires": [
+ [
+ "3af980e0.4a059",
+ "8fafb92f.4781f8"
+ ]
+ ]
+ },
+ {
+ "id": "3af980e0.4a059",
+ "type": "success",
+ "name": "outcome: Other",
+ "xml": "<outcome value='Other'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1509.944480895996,
+ "y": 402.86106300354004,
+ "z": "29005224.e84c46",
+ "wires": [
+ [
+ "febce556.d01168"
+ ]
+ ]
+ },
+ {
+ "id": "febce556.d01168",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "comments": null,
+ "outputs": 1,
+ "x": 1715.5039291381836,
+ "y": 401.7659101486206,
+ "z": "29005224.e84c46",
+ "wires": [
+ [
+ "503e3ecc.28c6b8"
+ ]
+ ]
+ },
+ {
+ "id": "503e3ecc.28c6b8",
+ "type": "set",
+ "name": "setActionLevel VF-Module",
+ "xml": "<set>\n<parameter name='action-level' value='vf-module' />\n<parameter name='action-identifier' value='vf-module-id' />\n",
+ "comments": "",
+ "x": 1927.7897033691406,
+ "y": 400.63489818573,
+ "z": "29005224.e84c46",
+ "wires": []
+ },
+ {
+ "id": "ffae425d.e075e",
+ "type": "success",
+ "name": "outcome: ''",
+ "xml": "<outcome value=''>",
+ "comments": "",
+ "outputs": 1,
+ "x": 685.9444313049316,
+ "y": 460.02777671813965,
+ "z": "29005224.e84c46",
+ "wires": [
+ [
+ "93b4e2ac.d50e"
+ ]
+ ]
+ },
+ {
+ "id": "48c9e57e.8c798c",
+ "type": "success",
+ "name": "outcome: ''",
+ "xml": "<outcome value=''>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1104.8334159851074,
+ "y": 447.6666612625122,
+ "z": "29005224.e84c46",
+ "wires": [
+ [
+ "8f73566a.1203d"
+ ]
+ ]
+ },
+ {
+ "id": "7b2f5687.8079a8",
+ "type": "record",
+ "name": "record",
+ "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=\"`$request-action`\"/>\n<parameter name=\"field3\" value=\"`$action-identifier`\"/>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 391.61114501953125,
+ "y": 474.88889598846436,
+ "z": "29005224.e84c46",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "71fa2664.4d59f",
+ "type": "switchNode",
+ "name": "switch vnfc-type",
+ "xml": "<switch test='`$vnfc-type`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 427.0277862548828,
+ "y": 357.6666784286499,
+ "z": "29005224.e84c46",
+ "wires": [
+ [
+ "b6a4357c.618ce8",
+ "6529cb.63d45634"
+ ]
+ ]
+ },
+ {
+ "id": "b6a4357c.618ce8",
+ "type": "success",
+ "name": "outcome: Other",
+ "xml": "<outcome value='Other'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 702.7937316894531,
+ "y": 322.83735847473145,
+ "z": "29005224.e84c46",
+ "wires": [
+ [
+ "74cf5abf.1acb4c"
+ ]
+ ]
+ },
+ {
+ "id": "74cf5abf.1acb4c",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "comments": null,
+ "outputs": 1,
+ "x": 896.2975578308105,
+ "y": 325.0754690170288,
+ "z": "29005224.e84c46",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "6529cb.63d45634",
+ "type": "success",
+ "name": "outcome: ''",
+ "xml": "<outcome value=''>",
+ "comments": "",
+ "outputs": 1,
+ "x": 698.6944046020508,
+ "y": 364.22221755981445,
+ "z": "29005224.e84c46",
+ "wires": [
+ [
+ "2a62c2f3.99fb8e"
+ ]
+ ]
+ },
+ {
+ "id": "2a62c2f3.99fb8e",
+ "type": "set",
+ "name": "set vnfc-type ",
+ "xml": "<set>\n<!-- 17.07 If vnfc-type is blank assign Parameters from request in array list -->\n<parameter name='vnfc-type' value='`$VNFCTYPE`' />\n\n\n\n\n\n\n\n\n\n\n\n",
+ "comments": "",
+ "x": 897.0277328491211,
+ "y": 364.3333559036255,
+ "z": "29005224.e84c46",
+ "wires": []
+ },
+ {
+ "id": "c9dae8b.326fc18",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 743.75,
+ "y": 704.75,
+ "z": "29005224.e84c46",
+ "wires": [
+ [
+ "ee42bea.ad995c"
+ ]
+ ]
+ },
+ {
+ "id": "890c6652.009fe",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 756.75,
+ "y": 764.75,
+ "z": "29005224.e84c46",
+ "wires": [
+ [
+ "400b20c6.a313"
+ ]
+ ]
+ },
+ {
+ "id": "400b20c6.a313",
+ "type": "returnSuccess",
+ "name": "return success",
+ "xml": "<return status='success'>\n\n",
+ "comments": "",
+ "x": 930.0833740234375,
+ "y": 759.7500610351562,
+ "z": "29005224.e84c46",
+ "wires": []
+ },
+ {
+ "id": "ee42bea.ad995c",
+ "type": "record",
+ "name": "record",
+ "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=\"Action Level is not VM:\"/>\n<parameter name=\"field3\" value=\"`$action-level`\"/>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1054.75,
+ "y": 715.75,
+ "z": "29005224.e84c46",
+ "wires": [
+ []
+ ]
+ }
+]