Platform Hardening for DG Json files - Part 5 29/26829/1
authorTaka <tc012c@att.com>
Fri, 22 Dec 2017 22:01:22 +0000 (17:01 -0500)
committerTaka <tc012c@att.com>
Fri, 22 Dec 2017 22:03:53 +0000 (17:03 -0500)
Change-Id: If1d1b8090c6f932c1b383e0be3d942bc9d082fae
Issue-ID: APPC-305
Signed-off-by: Taka <tc012c@att.com>
22 files changed:
appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_MergeTemplateData.json
appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_MigrateVM.json
appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_ProcessParameterDefinition.json
appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_PublishConfiguration.json
appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_RebuildVM.json
appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_RestartVMCommonFlow.json
appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_RestartVNFVMCommonFlow.json
appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_SaveRunningConfig.json
appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_SetStatus.json
appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_UpdateAaiInfo.json
appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_UpdateAaiforPayloadInput.json
appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_UpdateAaiforReferenceData.json
appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_VM_Start.json
appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_VM_Stop.json
appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_ansible-adapter-1.0.json
appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_chef.json
appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_healthcheck.json
appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_loadTeamplate.json
appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_method_DownloadvIRCChefConfig_4.0.0.json
appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_method_Generic_Restart.json
appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_method_topology-operation-all_2.0.0.json
appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_setInputParams.json

index caf5b02..a31d950 100644 (file)
-[
-    {
-        "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"
-    }
-]
+[\r
+    {\r
+        "id": "8ee93af3.e76758",\r
+        "type": "switchNode",\r
+        "name": "switch config-type",\r
+        "xml": "<switch test='`$config-type`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 431.6666564941406,\r
+        "y": 315.8253974914551,\r
+        "z": "a49375c8.88c748",\r
+        "wires": [\r
+            [\r
+                "617b6511.320aec",\r
+                "d2208875.808258"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "617b6511.320aec",\r
+        "type": "success",\r
+        "name": "outcome: template",\r
+        "xml": "<outcome value=\"template\">",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 649.8214435577393,\r
+        "y": 317.1111030578613,\r
+        "z": "a49375c8.88c748",\r
+        "wires": [\r
+            [\r
+                "9708e2c6.a3ce4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "6f91db3d.8b0924",\r
+        "type": "call",\r
+        "name": "call: GenerateTemplateConfig",\r
+        "xml": "<call module=\"APPC\" rpc=\"GenerateTemplateConfig\" mode=\"sync\">",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1061.4881992340088,\r
+        "y": 447.36110496520996,\r
+        "z": "a49375c8.88c748",\r
+        "wires": [\r
+            [\r
+                "75d7daa7.8058a4",\r
+                "6a26f541.aa907c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "75d7daa7.8058a4",\r
+        "type": "failure",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1292.0713901519775,\r
+        "y": 448.02779388427734,\r
+        "z": "a49375c8.88c748",\r
+        "wires": [\r
+            [\r
+                "314e0e4f.5adb22"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "314e0e4f.5adb22",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "comments": null,\r
+        "outputs": 1,\r
+        "x": 1464.488145828247,\r
+        "y": 447.6944193840027,\r
+        "z": "a49375c8.88c748",\r
+        "wires": [\r
+            [\r
+                "bdc01df2.1a5d8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "bdc01df2.1a5d8",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "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",\r
+        "comments": "",\r
+        "x": 1658.5714015960693,\r
+        "y": 448.44441986083984,\r
+        "z": "a49375c8.88c748",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "6a26f541.aa907c",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1292.1547679901123,\r
+        "y": 506.527792930603,\r
+        "z": "a49375c8.88c748",\r
+        "wires": [\r
+            [\r
+                "7ba894b.5d3a46c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "7ba894b.5d3a46c",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "comments": null,\r
+        "outputs": 1,\r
+        "x": 1467.154893875122,\r
+        "y": 507.027792930603,\r
+        "z": "a49375c8.88c748",\r
+        "wires": [\r
+            [\r
+                "9728b5f9.536268"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9728b5f9.536268",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status=\"failure\">\n\t\n\t",\r
+        "comments": "",\r
+        "x": 1667.988145828247,\r
+        "y": 507.44441986083984,\r
+        "z": "a49375c8.88c748",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "7e6e5c1a.29c4a4",\r
+        "type": "comment",\r
+        "name": "templatename cases",\r
+        "info": "",\r
+        "comments": "",\r
+        "x": 642.7381381988525,\r
+        "y": 370.4444465637207,\r
+        "z": "a49375c8.88c748",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "37b38554.dad0ca",\r
+        "type": "comment",\r
+        "name": "merge ASDC template and data",\r
+        "info": "",\r
+        "comments": "",\r
+        "x": 968.9881381988525,\r
+        "y": 674.0277881622314,\r
+        "z": "a49375c8.88c748",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "63a29ad8.8e05e4",\r
+        "type": "comment",\r
+        "name": "configBlock with or without parameters",\r
+        "info": "",\r
+        "comments": "",\r
+        "x": 620.9881076812744,\r
+        "y": 647.8611078262329,\r
+        "z": "a49375c8.88c748",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "9708e2c6.a3ce4",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "comments": null,\r
+        "outputs": 1,\r
+        "x": 843.904821395874,\r
+        "y": 318.5277290344238,\r
+        "z": "a49375c8.88c748",\r
+        "wires": [\r
+            [\r
+                "6f91db3d.8b0924",\r
+                "9ebb8ed8.eaa4e"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9ebb8ed8.eaa4e",\r
+        "type": "execute",\r
+        "name": "execute getTemplate",\r
+        "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\" />",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1048.8214511871338,\r
+        "y": 315.6111030578613,\r
+        "z": "a49375c8.88c748",\r
+        "wires": [\r
+            [\r
+                "367ba220.8bea8e",\r
+                "8c4d147f.36cf68"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "367ba220.8bea8e",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1232.4881420135498,\r
+        "y": 375.2777318954468,\r
+        "z": "a49375c8.88c748",\r
+        "wires": [\r
+            [\r
+                "9f013009.4fb92"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9f013009.4fb92",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "comments": null,\r
+        "outputs": 1,\r
+        "x": 1415.238145828247,\r
+        "y": 369.527792930603,\r
+        "z": "a49375c8.88c748",\r
+        "wires": [\r
+            [\r
+                "e5aa2afa.241d48"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e5aa2afa.241d48",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "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",\r
+        "comments": "",\r
+        "x": 1596.9881496429443,\r
+        "y": 368.52773094177246,\r
+        "z": "a49375c8.88c748",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "8c4d147f.36cf68",\r
+        "type": "failure",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1230.1548900604248,\r
+        "y": 285.69444847106934,\r
+        "z": "a49375c8.88c748",\r
+        "wires": [\r
+            [\r
+                "b643f5da.9fc9b8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b643f5da.9fc9b8",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "comments": null,\r
+        "outputs": 1,\r
+        "x": 1400.738145828247,\r
+        "y": 286.0277919769287,\r
+        "z": "a49375c8.88c748",\r
+        "wires": [\r
+            [\r
+                "7e56335c.a0b01c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "7e56335c.a0b01c",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "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",\r
+        "comments": "",\r
+        "x": 1595.7382717132568,\r
+        "y": 286.2777614593506,\r
+        "z": "a49375c8.88c748",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "d2208875.808258",\r
+        "type": "success",\r
+        "name": "outcome: Other",\r
+        "xml": "<outcome value=\"Other\">",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 613.4881000518799,\r
+        "y": 576.8611087799072,\r
+        "z": "a49375c8.88c748",\r
+        "wires": [\r
+            [\r
+                "a7aad416.c57578"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a7aad416.c57578",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "comments": null,\r
+        "outputs": 1,\r
+        "x": 803.238130569458,\r
+        "y": 584.8611087799072,\r
+        "z": "a49375c8.88c748",\r
+        "wires": [\r
+            [\r
+                "efd06d3f.ada62"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "efd06d3f.ada62",\r
+        "type": "call",\r
+        "name": "call: GenerateConfig",\r
+        "xml": "<call module=\"APPC\" rpc=\"GenerateConfig\" mode=\"sync\">",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1017.7381381988525,\r
+        "y": 597.8611087799072,\r
+        "z": "a49375c8.88c748",\r
+        "wires": [\r
+            [\r
+                "af0cd93c.94b1b8",\r
+                "4352a232.eb3aec"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "af0cd93c.94b1b8",\r
+        "type": "failure",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1223.7381420135498,\r
+        "y": 596.8611068725586,\r
+        "z": "a49375c8.88c748",\r
+        "wires": [\r
+            [\r
+                "f4ef6668.6a1018"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f4ef6668.6a1018",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "comments": null,\r
+        "outputs": 1,\r
+        "x": 1393.238145828247,\r
+        "y": 597.6111068725586,\r
+        "z": "a49375c8.88c748",\r
+        "wires": [\r
+            [\r
+                "39d87011.2d87b"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "39d87011.2d87b",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "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",\r
+        "comments": "",\r
+        "x": 1577.988145828247,\r
+        "y": 597.1111068725586,\r
+        "z": "a49375c8.88c748",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "4352a232.eb3aec",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1216.7381381988525,\r
+        "y": 687.6111087799072,\r
+        "z": "a49375c8.88c748",\r
+        "wires": [\r
+            [\r
+                "37a5a6a1.b52c9a"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "37a5a6a1.b52c9a",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "comments": null,\r
+        "outputs": 1,\r
+        "x": 1390.2381381988525,\r
+        "y": 681.8611087799072,\r
+        "z": "a49375c8.88c748",\r
+        "wires": [\r
+            [\r
+                "26d3fdda.ad1b12"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "26d3fdda.ad1b12",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status=\"failure\">\n\t\n\t",\r
+        "comments": "",\r
+        "x": 1575.238145828247,\r
+        "y": 680.1111097335815,\r
+        "z": "a49375c8.88c748",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "ff782964.e94288",\r
+        "type": "dgstart",\r
+        "name": "DGSTART",\r
+        "outputs": 1,\r
+        "x": 176.1825466156006,\r
+        "y": 83.33332920074463,\r
+        "z": "a49375c8.88c748",\r
+        "wires": [\r
+            [\r
+                "eadfabd6.6161f8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "eadfabd6.6161f8",\r
+        "type": "service-logic",\r
+        "name": "APPC 4.0.0",\r
+        "module": "APPC",\r
+        "version": "4.0.0",\r
+        "comments": "",\r
+        "xml": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='APPC' version='4.0.0'>",\r
+        "outputs": 1,\r
+        "x": 409.2936382293701,\r
+        "y": 84.55554962158203,\r
+        "z": "a49375c8.88c748",\r
+        "wires": [\r
+            [\r
+                "7cd40519.3b23dc"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "7cd40519.3b23dc",\r
+        "type": "method",\r
+        "name": "method MergeTemplateData",\r
+        "xml": "<method rpc='MergeTemplateData' mode='sync'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 631.3769855499268,\r
+        "y": 83.52777004241943,\r
+        "z": "a49375c8.88c748",\r
+        "wires": [\r
+            [\r
+                "3fa03099.10f27"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "3fa03099.10f27",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "comments": null,\r
+        "outputs": 1,\r
+        "x": 169.23812103271484,\r
+        "y": 270.27781772613525,\r
+        "z": "a49375c8.88c748",\r
+        "wires": [\r
+            [\r
+                "8ee93af3.e76758",\r
+                "6fc699a0.777a38",\r
+                "5514dd63.d31be4",\r
+                "f310f0a8.6039f",\r
+                "a2cedd5c.acad2"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "6fc699a0.777a38",\r
+        "type": "record",\r
+        "name": "record",\r
+        "xml": "<record plugin=\"onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"info\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"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",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 834.1985054016113,\r
+        "y": 130.43650484085083,\r
+        "z": "a49375c8.88c748",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "a2cedd5c.acad2",\r
+        "type": "call",\r
+        "name": "call: ProcessParameterDefinition",\r
+        "xml": "<call module=\"APPC\" rpc=\"ProcessParameterDefinition\" mode=\"sync\">",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 788.5318756103516,\r
+        "y": 207.13093757629395,\r
+        "z": "a49375c8.88c748",\r
+        "wires": [\r
+            [\r
+                "66999aa1.1b0464",\r
+                "62eeaa57.a2b194"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "66999aa1.1b0464",\r
+        "type": "failure",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1153.5595512390137,\r
+        "y": 134.57539558410645,\r
+        "z": "a49375c8.88c748",\r
+        "wires": [\r
+            [\r
+                "65712e43.c571a"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "65712e43.c571a",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "comments": null,\r
+        "outputs": 1,\r
+        "x": 1340.3095531463623,\r
+        "y": 132.5753936767578,\r
+        "z": "a49375c8.88c748",\r
+        "wires": [\r
+            [\r
+                "1eaf25d0.77480a"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "1eaf25d0.77480a",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "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",\r
+        "comments": "",\r
+        "x": 1523.8095569610596,\r
+        "y": 132.07539558410645,\r
+        "z": "a49375c8.88c748",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "62eeaa57.a2b194",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1140.0595531463623,\r
+        "y": 191.57539653778076,\r
+        "z": "a49375c8.88c748",\r
+        "wires": [\r
+            [\r
+                "cba7e8ee.c38b88"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "cba7e8ee.c38b88",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "comments": null,\r
+        "outputs": 1,\r
+        "x": 1324.3095531463623,\r
+        "y": 191.82539463043213,\r
+        "z": "a49375c8.88c748",\r
+        "wires": [\r
+            [\r
+                "f131fee9.6e3c4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "5514dd63.d31be4",\r
+        "type": "execute",\r
+        "name": "execute saveTxLog",\r
+        "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",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 520.4166278839111,\r
+        "y": 803.0277366638184,\r
+        "z": "a49375c8.88c748",\r
+        "wires": [\r
+            [\r
+                "5d3a75fc.b01dec"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "5d3a75fc.b01dec",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 722.5833492279053,\r
+        "y": 817.1110496520996,\r
+        "z": "a49375c8.88c748",\r
+        "wires": [\r
+            [\r
+                "414c097b.0db3f8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "414c097b.0db3f8",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "comments": null,\r
+        "outputs": 1,\r
+        "x": 950.6666660308838,\r
+        "y": 814.8610496520996,\r
+        "z": "a49375c8.88c748",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "f310f0a8.6039f",\r
+        "type": "record",\r
+        "name": "record",\r
+        "xml": "<record plugin=\"onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"info\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"CONFIGPARAMS\" value=\"`$config-data`\"/>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 443.3333110809326,\r
+        "y": 920.9444265365601,\r
+        "z": "a49375c8.88c748",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "f131fee9.6e3c4",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status=\"failure\">\n\t\n\t",\r
+        "comments": "",\r
+        "x": 1514.7262878417969,\r
+        "y": 190.15872383117676,\r
+        "z": "a49375c8.88c748",\r
+        "wires": []\r
+    }\r
+]
\ No newline at end of file
index a635503..9a783a3 100644 (file)
@@ -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":[]}]
+[\r
+    {\r
+        "id": "29daabd9.730244",\r
+        "type": "dgstart",\r
+        "name": "DGSTART",\r
+        "outputs": 1,\r
+        "x": 196.75,\r
+        "y": 188,\r
+        "z": "27eb9f4d.8d411",\r
+        "wires": [\r
+            [\r
+                "cc222124.e7128"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "cc222124.e7128",\r
+        "type": "service-logic",\r
+        "name": "APPC 2.0.0",\r
+        "module": "APPC",\r
+        "version": "2.0.0",\r
+        "comments": "",\r
+        "xml": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='APPC' version='2.0.0'>",\r
+        "outputs": 1,\r
+        "x": 353.75,\r
+        "y": 188,\r
+        "z": "27eb9f4d.8d411",\r
+        "wires": [\r
+            [\r
+                "7e1c4042.16219"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "7e1c4042.16219",\r
+        "type": "method",\r
+        "name": "MigrateVM",\r
+        "xml": "<method rpc='MigrateVM' mode='sync'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 551.75,\r
+        "y": 190,\r
+        "z": "27eb9f4d.8d411",\r
+        "wires": [\r
+            [\r
+                "c110c152.1bc2a8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "1f969631.1d8242",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 919.7499694824219,\r
+        "y": 399.9999694824219,\r
+        "z": "27eb9f4d.8d411",\r
+        "wires": [\r
+            [\r
+                "9805b9e5.9e953"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c17662ed.1e20f8",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 928.7499694824219,\r
+        "y": 278.9999694824219,\r
+        "z": "27eb9f4d.8d411",\r
+        "wires": [\r
+            [\r
+                "da84e71.f159418"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "88ee1742.3ee838",\r
+        "type": "returnSuccess",\r
+        "name": "return success",\r
+        "xml": "<return status='success'>",\r
+        "comments": "",\r
+        "x": 1475.7499694824219,\r
+        "y": 371.9999694824219,\r
+        "z": "27eb9f4d.8d411",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "3ef14420.6e1444",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value='RPC Evacuate not found' />",\r
+        "comments": "",\r
+        "x": 1236.7499694824219,\r
+        "y": 278.9999694824219,\r
+        "z": "27eb9f4d.8d411",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "9805b9e5.9e953",\r
+        "type": "switchNode",\r
+        "name": "switch error-code",\r
+        "xml": "<switch test='`$error_code`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1112.7499694824219,\r
+        "y": 400.9999694824219,\r
+        "z": "27eb9f4d.8d411",\r
+        "wires": [\r
+            [\r
+                "691e84cc.425a2c",\r
+                "aa558b50.816e18"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "691e84cc.425a2c",\r
+        "type": "success",\r
+        "name": "SUCCESS 200",\r
+        "xml": "<outcome value='200'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1294.7499694824219,\r
+        "y": 370.9999694824219,\r
+        "z": "27eb9f4d.8d411",\r
+        "wires": [\r
+            [\r
+                "88ee1742.3ee838"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "aa558b50.816e18",\r
+        "type": "outcome",\r
+        "name": "ERROR",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1286.7499694824219,\r
+        "y": 529.9999694824219,\r
+        "z": "27eb9f4d.8d411",\r
+        "wires": [\r
+            [\r
+                "26d4a85e.24a188"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "26d4a85e.24a188",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1419.7499694824219,\r
+        "y": 530.9999694824219,\r
+        "z": "27eb9f4d.8d411",\r
+        "wires": [\r
+            [\r
+                "25417c19.7df6bc",\r
+                "d562ae2a.dd7e68"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "25417c19.7df6bc",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value='`$error-message`' />\n",\r
+        "comments": "",\r
+        "x": 1554.7499694824219,\r
+        "y": 572,\r
+        "z": "27eb9f4d.8d411",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "da84e71.f159418",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1084.7499694824219,\r
+        "y": 278.9999694824219,\r
+        "z": "27eb9f4d.8d411",\r
+        "wires": [\r
+            [\r
+                "3ef14420.6e1444"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f66a49ef.3f7618",\r
+        "type": "record",\r
+        "name": "record",\r
+        "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`\" />",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 918.86669921875,\r
+        "y": 220,\r
+        "z": "27eb9f4d.8d411",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "c110c152.1bc2a8",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 740.6166687011719,\r
+        "y": 248.86666870117188,\r
+        "z": "27eb9f4d.8d411",\r
+        "wires": [\r
+            [\r
+                "f66a49ef.3f7618",\r
+                "c3151ca4.c3d568",\r
+                "553a1643.e935b8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d562ae2a.dd7e68",\r
+        "type": "record",\r
+        "name": "record",\r
+        "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`\" />",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1544.6166687011719,\r
+        "y": 502.8666687011719,\r
+        "z": "27eb9f4d.8d411",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "c3151ca4.c3d568",\r
+        "type": "execute",\r
+        "name": "migrateServer()",\r
+        "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`\" />",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 756.7499694824219,\r
+        "y": 334,\r
+        "z": "27eb9f4d.8d411",\r
+        "wires": [\r
+            [\r
+                "c17662ed.1e20f8",\r
+                "1f969631.1d8242"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "553a1643.e935b8",\r
+        "type": "set",\r
+        "name": "set skiphypervisorcheck",\r
+        "xml": "<set>\n<parameter name='org.onap.appc.skiphypervisorcheck' value='`$skip-hypervisor-check`' />\n",\r
+        "comments": "",\r
+        "x": 954.75,\r
+        "y": 146.75,\r
+        "z": "27eb9f4d.8d411",\r
+        "wires": []\r
+    }\r
+]\r
index 1bb7a88..50b215a 100644 (file)
@@ -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"]]}]
+[\r
+    {\r
+        "id": "5fe4681f.113b98",\r
+        "type": "dgstart",\r
+        "name": "DGSTART",\r
+        "outputs": 1,\r
+        "x": 199,\r
+        "y": 37.142852783203125,\r
+        "z": "408b3a53.1e13a4",\r
+        "wires": [\r
+            [\r
+                "f94751a2.06a1f8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f94751a2.06a1f8",\r
+        "type": "service-logic",\r
+        "name": "APPC 4.0.0",\r
+        "module": "APPC",\r
+        "version": "4.0.0",\r
+        "comments": "",\r
+        "xml": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='APPC' version='4.0.0'>",\r
+        "outputs": 1,\r
+        "x": 351,\r
+        "y": 40.142852783203125,\r
+        "z": "408b3a53.1e13a4",\r
+        "wires": [\r
+            [\r
+                "2c11f4b3.110a94"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "2c11f4b3.110a94",\r
+        "type": "method",\r
+        "name": "method ProcessParametersDefinition",\r
+        "xml": "<method rpc='ProcessParameterDefinition' mode='sync'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 606,\r
+        "y": 39.142852783203125,\r
+        "z": "408b3a53.1e13a4",\r
+        "wires": [\r
+            [\r
+                "248d20a4.596ff"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "248d20a4.596ff",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 227,\r
+        "y": 99.14285278320312,\r
+        "z": "408b3a53.1e13a4",\r
+        "wires": [\r
+            [\r
+                "60994b4e.7d8244"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "60994b4e.7d8244",\r
+        "type": "execute",\r
+        "name": "execute getTemplate Parameter_definition",\r
+        "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\" />",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 542,\r
+        "y": 97.14285278320312,\r
+        "z": "408b3a53.1e13a4",\r
+        "wires": [\r
+            [\r
+                "ea51eb65.0ff9a8",\r
+                "d0d5739b.bfafc8",\r
+                "e3dd3a17.ad6ee"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ea51eb65.0ff9a8",\r
+        "type": "failure",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 861,\r
+        "y": 90.14285278320312,\r
+        "z": "408b3a53.1e13a4",\r
+        "wires": [\r
+            [\r
+                "2b692700.b76b1a"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e3dd3a17.ad6ee",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 853,\r
+        "y": 129.14285278320312,\r
+        "z": "408b3a53.1e13a4",\r
+        "wires": [\r
+            [\r
+                "93ddd115.dbf35"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "2b692700.b76b1a",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1013,\r
+        "y": 86.14285278320312,\r
+        "z": "408b3a53.1e13a4",\r
+        "wires": [\r
+            [\r
+                "9c4bd19f.1082a"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "93ddd115.dbf35",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1007,\r
+        "y": 136.14285278320312,\r
+        "z": "408b3a53.1e13a4",\r
+        "wires": [\r
+            [\r
+                "4e591938.99b078"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "eb60b973.4cb788",\r
+        "type": "execute",\r
+        "name": "execute Get External System Params",\r
+        "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\" />",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 282,\r
+        "y": 283.1428482532501,\r
+        "z": "408b3a53.1e13a4",\r
+        "wires": [\r
+            [\r
+                "da4f9906.f98948",\r
+                "a2e3f493.16cde"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "da4f9906.f98948",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 541,\r
+        "y": 226.14285278320312,\r
+        "z": "408b3a53.1e13a4",\r
+        "wires": [\r
+            [\r
+                "4e1858ef.26799"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a2e3f493.16cde",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 529,\r
+        "y": 289.1428527832031,\r
+        "z": "408b3a53.1e13a4",\r
+        "wires": [\r
+            [\r
+                "8342e2fd.4bf12"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "4e1858ef.26799",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 704,\r
+        "y": 228.14285278320312,\r
+        "z": "408b3a53.1e13a4",\r
+        "wires": [\r
+            [\r
+                "bbc9b0db.3d949"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "8342e2fd.4bf12",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 677,\r
+        "y": 287.1428527832031,\r
+        "z": "408b3a53.1e13a4",\r
+        "wires": [\r
+            [\r
+                "b8fb2c1c.c88428"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "bbc9b0db.3d949",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "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",\r
+        "comments": "",\r
+        "x": 882,\r
+        "y": 225.14285278320312,\r
+        "z": "408b3a53.1e13a4",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "b8fb2c1c.c88428",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "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",\r
+        "comments": "",\r
+        "x": 850,\r
+        "y": 286.1428527832031,\r
+        "z": "408b3a53.1e13a4",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "f2270e94.c6ece8",\r
+        "type": "execute",\r
+        "name": "execute getTemplate Parameter_yang",\r
+        "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\" />",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 152,\r
+        "y": 1067.1428527832031,\r
+        "z": "408b3a53.1e13a4",\r
+        "wires": [\r
+            [\r
+                "4d53808a.8e9d3",\r
+                "a47d3350.e776c8",\r
+                "4f82cb58.f79fa4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "4d53808a.8e9d3",\r
+        "type": "failure",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 692.5,\r
+        "y": 1097.1428527832031,\r
+        "z": "408b3a53.1e13a4",\r
+        "wires": [\r
+            [\r
+                "9bc35a01.aee678"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a47d3350.e776c8",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 664.5,\r
+        "y": 1168.1428527832031,\r
+        "z": "408b3a53.1e13a4",\r
+        "wires": [\r
+            [\r
+                "9db846a7.336f48"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9bc35a01.aee678",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 836.5,\r
+        "y": 1094.1428527832031,\r
+        "z": "408b3a53.1e13a4",\r
+        "wires": [\r
+            [\r
+                "6677eb82.99e79c",\r
+                "85af0fb7.f65738"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9db846a7.336f48",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 833.5,\r
+        "y": 1157.1428527832031,\r
+        "z": "408b3a53.1e13a4",\r
+        "wires": [\r
+            [\r
+                "9b6cc7cc.5d337",\r
+                "85af0fb7.f65738"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "1fa7c13.d7ea63f",\r
+        "type": "comment",\r
+        "name": "INSTAR keys",\r
+        "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",\r
+        "comments": "",\r
+        "x": 1454.5,\r
+        "y": 387.1428527832031,\r
+        "z": "408b3a53.1e13a4",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "f8b4ee81.b6b88",\r
+        "type": "execute",\r
+        "name": "execute Get Instar Data",\r
+        "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",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 870.5,\r
+        "y": 446.1428527832031,\r
+        "z": "408b3a53.1e13a4",\r
+        "wires": [\r
+            [\r
+                "dc6376f1.2ce5c8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "dc6376f1.2ce5c8",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1127.5,\r
+        "y": 444.1428527832031,\r
+        "z": "408b3a53.1e13a4",\r
+        "wires": [\r
+            [\r
+                "a2b5f022.91e6"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a2b5f022.91e6",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1287.5,\r
+        "y": 446.1428527832031,\r
+        "z": "408b3a53.1e13a4",\r
+        "wires": [\r
+            [\r
+                "10e7ca69.7b550e"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "10e7ca69.7b550e",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "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",\r
+        "comments": "",\r
+        "x": 1456.5,\r
+        "y": 443.1428527832031,\r
+        "z": "408b3a53.1e13a4",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "7f1ad793.7b648",\r
+        "type": "execute",\r
+        "name": "execute read PD file",\r
+        "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\" />",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1466.5,\r
+        "y": 51.142852783203125,\r
+        "z": "408b3a53.1e13a4",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "40a8d5ae.91a144",\r
+        "type": "execute",\r
+        "name": "execute Get Complete Set of Params",\r
+        "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\" />",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 884.5,\r
+        "y": 521.1428527832031,\r
+        "z": "408b3a53.1e13a4",\r
+        "wires": [\r
+            [\r
+                "79330087.fcaa58"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "79330087.fcaa58",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1142,\r
+        "y": 524.1428527832031,\r
+        "z": "408b3a53.1e13a4",\r
+        "wires": [\r
+            [\r
+                "6d331a96.c9596c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "6d331a96.c9596c",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1294,\r
+        "y": 521.1428527832031,\r
+        "z": "408b3a53.1e13a4",\r
+        "wires": [\r
+            [\r
+                "2e489e63.674992"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "2e489e63.674992",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "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",\r
+        "comments": "",\r
+        "x": 1445,\r
+        "y": 526.1428527832031,\r
+        "z": "408b3a53.1e13a4",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "93f65f4f.6bcc88",\r
+        "type": "set",\r
+        "name": "set",\r
+        "xml": "<set>\n<parameter name='parameter-definitions.file-content' value='`$tmpFileData.fileData`' />\n",\r
+        "comments": "",\r
+        "x": 1446.5,\r
+        "y": 124.14285278320312,\r
+        "z": "408b3a53.1e13a4",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "54502ec1.cef3c",\r
+        "type": "record",\r
+        "name": "record",\r
+        "xml": "<record plugin=\"onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"info\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"`$INSTAR.keys`\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 809,\r
+        "y": 398.1428527832031,\r
+        "z": "408b3a53.1e13a4",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "97b61a4c.76ac1",\r
+        "type": "switchNode",\r
+        "name": "switch Instar Keys exists",\r
+        "xml": "<switch test='`$INSTAR.keys`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 251,\r
+        "y": 393.1428527832031,\r
+        "z": "408b3a53.1e13a4",\r
+        "wires": [\r
+            [\r
+                "a52e11cb.ed18a8",\r
+                "e86837fb.c809f",\r
+                "c602c5af.df1f38"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a52e11cb.ed18a8",\r
+        "type": "success",\r
+        "name": "outcome: null",\r
+        "xml": "<outcome value=''>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 470,\r
+        "y": 396.1428527832031,\r
+        "z": "408b3a53.1e13a4",\r
+        "wires": [\r
+            [\r
+                "70888292.19fa64"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "70888292.19fa64",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 651,\r
+        "y": 397.1428527832031,\r
+        "z": "408b3a53.1e13a4",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "e86837fb.c809f",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 455,\r
+        "y": 447.1428527832031,\r
+        "z": "408b3a53.1e13a4",\r
+        "wires": [\r
+            [\r
+                "a1a5a5ae.fbf7f"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a1a5a5ae.fbf7f",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 621,\r
+        "y": 447.1428527832031,\r
+        "z": "408b3a53.1e13a4",\r
+        "wires": [\r
+            [\r
+                "f8b4ee81.b6b88",\r
+                "40a8d5ae.91a144",\r
+                "ba042d56.e9274",\r
+                "54502ec1.cef3c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ba042d56.e9274",\r
+        "type": "set",\r
+        "name": "set configuration-params",\r
+        "xml": "<set>\n<parameter name='configuration-params' value='`$tmp.allParams.configuration-parameters`' />\n\n",\r
+        "comments": "",\r
+        "x": 840,\r
+        "y": 585.1428527832031,\r
+        "z": "408b3a53.1e13a4",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "4f82cb58.f79fa4",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 237.5,\r
+        "y": 1231.1428527832031,\r
+        "z": "408b3a53.1e13a4",\r
+        "wires": [\r
+            [\r
+                "4bda23ba.d882f4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "4bda23ba.d882f4",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 385.5,\r
+        "y": 1231.1428527832031,\r
+        "z": "408b3a53.1e13a4",\r
+        "wires": [\r
+            [\r
+                "c91fcb41.aa672"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c91fcb41.aa672",\r
+        "type": "execute",\r
+        "name": "execute Save in MDSal",\r
+        "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",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 572.5,\r
+        "y": 1237.1428527832031,\r
+        "z": "408b3a53.1e13a4",\r
+        "wires": [\r
+            [\r
+                "a08bafe7.d1eff"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a08bafe7.d1eff",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 750.5,\r
+        "y": 1234.1428527832031,\r
+        "z": "408b3a53.1e13a4",\r
+        "wires": [\r
+            [\r
+                "fb23215e.bb60d8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "fb23215e.bb60d8",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 910.5,\r
+        "y": 1229.1428527832031,\r
+        "z": "408b3a53.1e13a4",\r
+        "wires": [\r
+            [\r
+                "f78f5b51.56375",\r
+                "85af0fb7.f65738"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "6677eb82.99e79c",\r
+        "type": "set",\r
+        "name": "set:  dcae-error message",\r
+        "xml": "<set>\n <parameter name=\"dcae-error-message\" value=\"Unable to get Yang Model\"/>",\r
+        "comments": "",\r
+        "x": 1069.5,\r
+        "y": 1052.1428527832031,\r
+        "z": "408b3a53.1e13a4",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "9b6cc7cc.5d337",\r
+        "type": "set",\r
+        "name": "set:  dcae-error message",\r
+        "xml": "<set>\n <parameter name=\"dcae-error-message\" value=\"`$parameter-yang.error-message`\"/>",\r
+        "comments": "",\r
+        "x": 1080.5,\r
+        "y": 1105.1428527832031,\r
+        "z": "408b3a53.1e13a4",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "f78f5b51.56375",\r
+        "type": "set",\r
+        "name": "set:  dcae-error message",\r
+        "xml": "<set>\n <parameter name=\"dcae-error-message\" value=\"`$tmp.mdSalSave.ERROR_MESSAGE`\"/>",\r
+        "comments": "",\r
+        "x": 1122.5,\r
+        "y": 1233.1428527832031,\r
+        "z": "408b3a53.1e13a4",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "85af0fb7.f65738",\r
+        "type": "execute",\r
+        "name": "execute saveTxLog",\r
+        "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",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1092.5,\r
+        "y": 1160.1428527832031,\r
+        "z": "408b3a53.1e13a4",\r
+        "wires": [\r
+            [\r
+                "ba63d887.e35628"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d9b3a633.6346",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1403.5,\r
+        "y": 1158.1428527832031,\r
+        "z": "408b3a53.1e13a4",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "ba63d887.e35628",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1268.5,\r
+        "y": 1157.1428527832031,\r
+        "z": "408b3a53.1e13a4",\r
+        "wires": [\r
+            [\r
+                "d9b3a633.6346"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b970932c.a2aea8",\r
+        "type": "execute",\r
+        "name": "execute IntermediateMessageSender",\r
+        "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\"/>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 719.5,\r
+        "y": 1300.1428527832031,\r
+        "z": "408b3a53.1e13a4",\r
+        "wires": [\r
+            [\r
+                "3aa386c9.e25f1a",\r
+                "6cd78ef2.fa6ea8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "3aa386c9.e25f1a",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 944.5,\r
+        "y": 1279.1428527832031,\r
+        "z": "408b3a53.1e13a4",\r
+        "wires": [\r
+            [\r
+                "6da3ed85.2bddf4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "6cd78ef2.fa6ea8",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 941.5,\r
+        "y": 1333.1428527832031,\r
+        "z": "408b3a53.1e13a4",\r
+        "wires": [\r
+            [\r
+                "6da3ed85.2bddf4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "8739b635.14bee8",\r
+        "type": "record",\r
+        "name": "record",\r
+        "xml": "<record plugin=\"onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"info\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"MSGSENDERERERROR\" value=\"Unable to call IntermediateErrorMessageSender\"/>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1244.5,\r
+        "y": 1304.1428527832031,\r
+        "z": "408b3a53.1e13a4",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "d0d5739b.bfafc8",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 140,\r
+        "y": 187.14284825325012,\r
+        "z": "408b3a53.1e13a4",\r
+        "wires": [\r
+            [\r
+                "4eedf56f.55957c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "4eedf56f.55957c",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 308,\r
+        "y": 187.14284825325012,\r
+        "z": "408b3a53.1e13a4",\r
+        "wires": [\r
+            [\r
+                "eb60b973.4cb788",\r
+                "97b61a4c.76ac1",\r
+                "f2270e94.c6ece8",\r
+                "a144baa1.28f868",\r
+                "1a651777.ccbc19",\r
+                "a2aef3bb.bb638"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "4e591938.99b078",\r
+        "type": "record",\r
+        "name": "record",\r
+        "xml": "<record plugin=\"onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"info\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"`'PD FILE NOTFOUND ' + $parameter-definitions.error-message`\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1142,\r
+        "y": 137.14285278320312,\r
+        "z": "408b3a53.1e13a4",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "c602c5af.df1f38",\r
+        "type": "success",\r
+        "name": "outcome: []",\r
+        "xml": "<outcome value='[]'>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 475,\r
+        "y": 351.1428527832031,\r
+        "z": "408b3a53.1e13a4",\r
+        "wires": [\r
+            [\r
+                "ccf81ffb.f8f2d"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ccf81ffb.f8f2d",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 636,\r
+        "y": 352.1428527832031,\r
+        "z": "408b3a53.1e13a4",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "6da3ed85.2bddf4",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1098,\r
+        "y": 1308.1428527832031,\r
+        "z": "408b3a53.1e13a4",\r
+        "wires": [\r
+            [\r
+                "8739b635.14bee8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9c4bd19f.1082a",\r
+        "type": "record",\r
+        "name": "record",\r
+        "xml": "<record plugin=\"onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"info\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"`'PD FILE NOTFOUND ' + $parameter-definitions.error-message`\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1144.3333435058594,\r
+        "y": 83.14284825325012,\r
+        "z": "408b3a53.1e13a4",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "70231c4d.ecd274",\r
+        "type": "comment",\r
+        "name": "MD-SAL error message is not propagated to GUI",\r
+        "info": "DCAE-Error messages are not propagated to GUI",\r
+        "comments": "",\r
+        "x": 729,\r
+        "y": 914.1428527832031,\r
+        "z": "408b3a53.1e13a4",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "a1f2f357.d3869",\r
+        "type": "execute",\r
+        "name": "execute Get Aai Data",\r
+        "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",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 889.75,\r
+        "y": 674.8928527832031,\r
+        "z": "408b3a53.1e13a4",\r
+        "wires": [\r
+            [\r
+                "4bf00a24.0d485c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "4bf00a24.0d485c",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1096.75,\r
+        "y": 674.8928527832031,\r
+        "z": "408b3a53.1e13a4",\r
+        "wires": [\r
+            [\r
+                "55cad041.42e838"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "55cad041.42e838",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1248.75,\r
+        "y": 673.8928527832031,\r
+        "z": "408b3a53.1e13a4",\r
+        "wires": [\r
+            [\r
+                "1cb83048.3a9ed"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "1cb83048.3a9ed",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "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",\r
+        "comments": "",\r
+        "x": 1429.75,\r
+        "y": 673.8928527832031,\r
+        "z": "408b3a53.1e13a4",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "ec2b13ac.7efef8",\r
+        "type": "execute",\r
+        "name": "execute Get Complete Set of Params",\r
+        "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\" />",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 864.75,\r
+        "y": 722.8928527832031,\r
+        "z": "408b3a53.1e13a4",\r
+        "wires": [\r
+            [\r
+                "f532fc18.17bad"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f532fc18.17bad",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1107.25,\r
+        "y": 721.8928527832031,\r
+        "z": "408b3a53.1e13a4",\r
+        "wires": [\r
+            [\r
+                "ddb75f04.fb285"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ddb75f04.fb285",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1258.25,\r
+        "y": 720.8928527832031,\r
+        "z": "408b3a53.1e13a4",\r
+        "wires": [\r
+            [\r
+                "f56e81f9.3f4678"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f56e81f9.3f4678",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "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",\r
+        "comments": "",\r
+        "x": 1430.25,\r
+        "y": 723.8928527832031,\r
+        "z": "408b3a53.1e13a4",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "9be2ca6e.0d5e4",\r
+        "type": "record",\r
+        "name": "record",\r
+        "xml": "<record plugin=\"onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"info\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"`$AAI.keys`\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 784.25,\r
+        "y": 629.8928527832031,\r
+        "z": "408b3a53.1e13a4",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "a144baa1.28f868",\r
+        "type": "switchNode",\r
+        "name": "switch AaiKeys exists",\r
+        "xml": "<switch test='`$AAI.keys`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 242.75,\r
+        "y": 593.8928527832031,\r
+        "z": "408b3a53.1e13a4",\r
+        "wires": [\r
+            [\r
+                "1a455698.820179",\r
+                "dfc592ff.0073c8",\r
+                "806cb907.073c58"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "1a455698.820179",\r
+        "type": "success",\r
+        "name": "outcome: null",\r
+        "xml": "<outcome value=''>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 477.25,\r
+        "y": 612.8928527832031,\r
+        "z": "408b3a53.1e13a4",\r
+        "wires": [\r
+            [\r
+                "a5bd4f23.8a1c8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a5bd4f23.8a1c8",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 635.25,\r
+        "y": 610.8928527832031,\r
+        "z": "408b3a53.1e13a4",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "dfc592ff.0073c8",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 412.25,\r
+        "y": 723.8928527832031,\r
+        "z": "408b3a53.1e13a4",\r
+        "wires": [\r
+            [\r
+                "a95b1b3b.465f48"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a95b1b3b.465f48",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 576.25,\r
+        "y": 718.8928527832031,\r
+        "z": "408b3a53.1e13a4",\r
+        "wires": [\r
+            [\r
+                "a1f2f357.d3869",\r
+                "ec2b13ac.7efef8",\r
+                "4666de39.da3918",\r
+                "9be2ca6e.0d5e4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "4666de39.da3918",\r
+        "type": "set",\r
+        "name": "set configuration-params",\r
+        "xml": "<set>\n<parameter name='configuration-params' value='`$tmp.allParams.configuration-parameters`' />\n\n",\r
+        "comments": "",\r
+        "x": 847.25,\r
+        "y": 774.8928527832031,\r
+        "z": "408b3a53.1e13a4",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "806cb907.073c58",\r
+        "type": "success",\r
+        "name": "outcome: []",\r
+        "xml": "<outcome value='[]'>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 471.25,\r
+        "y": 550.8928527832031,\r
+        "z": "408b3a53.1e13a4",\r
+        "wires": [\r
+            [\r
+                "1d2b5bde.b5b8ac"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "1d2b5bde.b5b8ac",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 624.25,\r
+        "y": 547.8928527832031,\r
+        "z": "408b3a53.1e13a4",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "1a651777.ccbc19",\r
+        "type": "execute",\r
+        "name": "execute Validation",\r
+        "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\" />",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 225.99996948242188,\r
+        "y": 825.1427307128906,\r
+        "z": "408b3a53.1e13a4",\r
+        "wires": [\r
+            [\r
+                "4a9ce947.955e48",\r
+                "8f631d09.4ac16"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "eae01a84.49d218",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 610.4000244140625,\r
+        "y": 848.7427978515625,\r
+        "z": "408b3a53.1e13a4",\r
+        "wires": [\r
+            [\r
+                "8d413538.060ef8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "4a9ce947.955e48",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 450.16668701171875,\r
+        "y": 819.2857055664062,\r
+        "z": "408b3a53.1e13a4",\r
+        "wires": [\r
+            [\r
+                "eae01a84.49d218"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "8f631d09.4ac16",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 440.452392578125,\r
+        "y": 890.8095092773438,\r
+        "z": "408b3a53.1e13a4",\r
+        "wires": [\r
+            [\r
+                "eae01a84.49d218"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a2aef3bb.bb638",\r
+        "type": "record",\r
+        "name": "record",\r
+        "xml": "<record plugin=\"onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"info\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"`$tmp.messsage.status`\" />\n<parameter name=\"field3\"  value=\"`$tmp.message.error-message`\"/>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 230.1666717529297,\r
+        "y": 919.0952758789062,\r
+        "z": "408b3a53.1e13a4",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "8d413538.060ef8",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status=\"failure\">\n<parameter name=\"error-code\" value=\"401\"/>\n<parameter name=\"error-message\" value=\"`$tmp.message.error-message`\"/>\n\t\n\t\n\t",\r
+        "comments": "",\r
+        "x": 837.3095092773438,\r
+        "y": 831.952392578125,\r
+        "z": "408b3a53.1e13a4",\r
+        "wires": []\r
+    }\r
+]\r
index a73d21a..ac9bde9 100644 (file)
@@ -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":[]}]
+[\r
+    {\r
+        "id": "390ce99d.bf5d96",\r
+        "type": "dgstart",\r
+        "name": "DGSTART",\r
+        "outputs": 1,\r
+        "x": 143,\r
+        "y": 95,\r
+        "z": "ba18d0da.6b53d",\r
+        "wires": [\r
+            [\r
+                "644628c3.2d9d28"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "644628c3.2d9d28",\r
+        "type": "service-logic",\r
+        "name": "APPC 4.0.0",\r
+        "module": "APPC",\r
+        "version": "4.0.0",\r
+        "comments": "",\r
+        "xml": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='APPC' version='4.0.0'>",\r
+        "outputs": 1,\r
+        "x": 344,\r
+        "y": 87,\r
+        "z": "ba18d0da.6b53d",\r
+        "wires": [\r
+            [\r
+                "1413fa79.66a72e"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "1413fa79.66a72e",\r
+        "type": "method",\r
+        "name": "method PublishConfiguration",\r
+        "xml": "<method rpc='PublishConfiguration' mode='sync'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 582,\r
+        "y": 87,\r
+        "z": "ba18d0da.6b53d",\r
+        "wires": [\r
+            [\r
+                "4fe4cc0b.026be4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "4fe4cc0b.026be4",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 181,\r
+        "y": 182,\r
+        "z": "ba18d0da.6b53d",\r
+        "wires": [\r
+            [\r
+                "7f8c2a55.61673c",\r
+                "29662869.84a628",\r
+                "949cd4f7.5ed8f",\r
+                "7dba4e1.da4afb",\r
+                "2572109c.9829f8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "7f8c2a55.61673c",\r
+        "type": "set",\r
+        "name": "set uploadconfigid for dispatcher",\r
+        "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",\r
+        "comments": "",\r
+        "x": 446,\r
+        "y": 650,\r
+        "z": "ba18d0da.6b53d",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "29662869.84a628",\r
+        "type": "execute",\r
+        "name": "generateOutputPayloadFromContext",\r
+        "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",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 460,\r
+        "y": 713,\r
+        "z": "ba18d0da.6b53d",\r
+        "wires": [\r
+            [\r
+                "93c26b79.ac00e8",\r
+                "ef5b9ce6.17dda"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "7dba4e1.da4afb",\r
+        "type": "execute",\r
+        "name": "execute Create Json for CVaas",\r
+        "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",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 495,\r
+        "y": 310,\r
+        "z": "ba18d0da.6b53d",\r
+        "wires": [\r
+            [\r
+                "68503e8b.6e9178",\r
+                "b9d5cca5.f26868",\r
+                "90ad3c4d.8e0db8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "93c26b79.ac00e8",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 726,\r
+        "y": 701,\r
+        "z": "ba18d0da.6b53d",\r
+        "wires": [\r
+            [\r
+                "9cb7432e.9c7e88"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ef5b9ce6.17dda",\r
+        "type": "failure",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 727,\r
+        "y": 753,\r
+        "z": "ba18d0da.6b53d",\r
+        "wires": [\r
+            [\r
+                "136bd85.d652728"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9cb7432e.9c7e88",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 885,\r
+        "y": 698,\r
+        "z": "ba18d0da.6b53d",\r
+        "wires": [\r
+            [\r
+                "cde3fbd5.e1f268"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "136bd85.d652728",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 897,\r
+        "y": 747,\r
+        "z": "ba18d0da.6b53d",\r
+        "wires": [\r
+            [\r
+                "9106d080.5bc63"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "cde3fbd5.e1f268",\r
+        "type": "record",\r
+        "name": "record",\r
+        "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",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1066,\r
+        "y": 699,\r
+        "z": "ba18d0da.6b53d",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "9106d080.5bc63",\r
+        "type": "record",\r
+        "name": "record",\r
+        "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",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1070,\r
+        "y": 747,\r
+        "z": "ba18d0da.6b53d",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "b9d5cca5.f26868",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 718,\r
+        "y": 310,\r
+        "z": "ba18d0da.6b53d",\r
+        "wires": [\r
+            [\r
+                "b4e79a48.cfd848"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "68503e8b.6e9178",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 717,\r
+        "y": 270,\r
+        "z": "ba18d0da.6b53d",\r
+        "wires": [\r
+            [\r
+                "5e0da89f.a9c5f8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "5e0da89f.a9c5f8",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 895,\r
+        "y": 269,\r
+        "z": "ba18d0da.6b53d",\r
+        "wires": [\r
+            [\r
+                "d8910515.c8984",\r
+                "92ad96ed.dc0f98",\r
+                "b5be72d3.4c2378"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b4e79a48.cfd848",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 887,\r
+        "y": 316,\r
+        "z": "ba18d0da.6b53d",\r
+        "wires": [\r
+            [\r
+                "50458cf4.1d3894",\r
+                "92ad96ed.dc0f98",\r
+                "b5be72d3.4c2378"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a485e3e3.6f9708",\r
+        "type": "record",\r
+        "name": "execute Write Config Details for Cvaas ",\r
+        "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",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 951,\r
+        "y": 375,\r
+        "z": "ba18d0da.6b53d",\r
+        "wires": [\r
+            [\r
+                "e0da83aa.86dc2"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "949cd4f7.5ed8f",\r
+        "type": "set",\r
+        "name": "set fileName",\r
+        "xml": "<set>\n<parameter name='tmp.fileName' value=\"`'/opt/app/bvc/cvaas/' + $vnf-id + '_' + $tmp.uploadConfigInfo.UPLOAD-TIMESTAMP + '_appc001'  + '.json'`\"/>\n",\r
+        "comments": "",\r
+        "x": 457,\r
+        "y": 164,\r
+        "z": "ba18d0da.6b53d",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "e0da83aa.86dc2",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1194,\r
+        "y": 377,\r
+        "z": "ba18d0da.6b53d",\r
+        "wires": [\r
+            [\r
+                "cf25c291.eeaac"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "cf25c291.eeaac",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 1364,\r
+        "y": 383,\r
+        "z": "ba18d0da.6b53d",\r
+        "wires": [\r
+            [\r
+                "38f8974.498d2e8",\r
+                "92ad96ed.dc0f98",\r
+                "b5be72d3.4c2378"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d8910515.c8984",\r
+        "type": "set",\r
+        "name": "set dcae-error-message",\r
+        "xml": "<set>\n<parameter name='dcae-error-message' value=\"'ConvertContextToJson not found\" />\n",\r
+        "comments": "",\r
+        "x": 1121,\r
+        "y": 269,\r
+        "z": "ba18d0da.6b53d",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "50458cf4.1d3894",\r
+        "type": "set",\r
+        "name": "set dcae-error-message",\r
+        "xml": "<set>\n<parameter name='dcae-error-message' value=\"`'Error from convertContextToJson - ' + $tmp.jsonConversion.error-message`\" />\n",\r
+        "comments": "",\r
+        "x": 1122,\r
+        "y": 316,\r
+        "z": "ba18d0da.6b53d",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "90ad3c4d.8e0db8",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 506,\r
+        "y": 368,\r
+        "z": "ba18d0da.6b53d",\r
+        "wires": [\r
+            [\r
+                "c9826355.de2d88"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c9826355.de2d88",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 674,\r
+        "y": 370,\r
+        "z": "ba18d0da.6b53d",\r
+        "wires": [\r
+            [\r
+                "a485e3e3.6f9708"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "38f8974.498d2e8",\r
+        "type": "set",\r
+        "name": "set dcae-error-message",\r
+        "xml": "<set>\n<parameter name='dcae-error-message' value=\"Unable to write file to /opt/app/bvc/cvaas\" />\n",\r
+        "comments": "",\r
+        "x": 1596,\r
+        "y": 376,\r
+        "z": "ba18d0da.6b53d",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "92ad96ed.dc0f98",\r
+        "type": "execute",\r
+        "name": "execute IntermediateMessageSender",\r
+        "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\"/>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 936,\r
+        "y": 449,\r
+        "z": "ba18d0da.6b53d",\r
+        "wires": [\r
+            [\r
+                "58b7c48d.5cbf0c",\r
+                "3db6580c.06a818"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "58b7c48d.5cbf0c",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1175,\r
+        "y": 448,\r
+        "z": "ba18d0da.6b53d",\r
+        "wires": [\r
+            [\r
+                "1b264e03.1285a2"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "3db6580c.06a818",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1172,\r
+        "y": 507,\r
+        "z": "ba18d0da.6b53d",\r
+        "wires": [\r
+            [\r
+                "1b264e03.1285a2"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "1b264e03.1285a2",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 1335,\r
+        "y": 472,\r
+        "z": "ba18d0da.6b53d",\r
+        "wires": [\r
+            [\r
+                "d1436755.fdf6a8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d1436755.fdf6a8",\r
+        "type": "record",\r
+        "name": "record",\r
+        "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",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1500,\r
+        "y": 473,\r
+        "z": "ba18d0da.6b53d",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "b5be72d3.4c2378",\r
+        "type": "execute",\r
+        "name": "execute saveTxLog",\r
+        "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",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 916,\r
+        "y": 549,\r
+        "z": "ba18d0da.6b53d",\r
+        "wires": [\r
+            [\r
+                "c81e7770.18ce18"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c81e7770.18ce18",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1102,\r
+        "y": 551,\r
+        "z": "ba18d0da.6b53d",\r
+        "wires": [\r
+            [\r
+                "b5ce7da8.febb3"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b5ce7da8.febb3",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 1276,\r
+        "y": 553,\r
+        "z": "ba18d0da.6b53d",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "2572109c.9829f8",\r
+        "type": "set",\r
+        "name": "set payload parameters",\r
+        "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",\r
+        "comments": "",\r
+        "x": 481,\r
+        "y": 227,\r
+        "z": "ba18d0da.6b53d",\r
+        "wires": []\r
+    }\r
+]\r
index a667606..4ec3a58 100644 (file)
@@ -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":[]}]
+[\r
+    {\r
+        "id": "e426d1a4.04b0b",\r
+        "type": "service-logic",\r
+        "name": "APPC 2.0.0",\r
+        "module": "APPC",\r
+        "version": "2.0.0",\r
+        "comments": "",\r
+        "xml": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='APPC' version='2.0.0'>",\r
+        "outputs": 1,\r
+        "x": 281.75,\r
+        "y": 295,\r
+        "z": "734c8384.84e874",\r
+        "wires": [\r
+            [\r
+                "f11dad1d.996b88"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b1ce76a2.53d928",\r
+        "type": "dgstart",\r
+        "name": "DGSTART",\r
+        "outputs": 1,\r
+        "x": 288.75,\r
+        "y": 245,\r
+        "z": "734c8384.84e874",\r
+        "wires": [\r
+            [\r
+                "e426d1a4.04b0b"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "5bf06fcf.867b98",\r
+        "type": "execute",\r
+        "name": "rebuildServer()",\r
+        "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`\" />",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 722.7499694824219,\r
+        "y": 348,\r
+        "z": "734c8384.84e874",\r
+        "wires": [\r
+            [\r
+                "7d4aacf6.6c04fc",\r
+                "4916b7b8.2d8468"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "7d4aacf6.6c04fc",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 866.7499694824219,\r
+        "y": 403,\r
+        "z": "734c8384.84e874",\r
+        "wires": [\r
+            [\r
+                "e3c23dad.ae06a"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "4916b7b8.2d8468",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 835.7499694824219,\r
+        "y": 225,\r
+        "z": "734c8384.84e874",\r
+        "wires": [\r
+            [\r
+                "dc58c2ba.2db078"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "4eeee11d.fb26f",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 571.75,\r
+        "y": 294.8833312988281,\r
+        "z": "734c8384.84e874",\r
+        "wires": [\r
+            [\r
+                "2c303534.0f7902",\r
+                "5bf06fcf.867b98",\r
+                "f2e4ec01.884618"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "2c303534.0f7902",\r
+        "type": "record",\r
+        "name": "record",\r
+        "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`\" />",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 701.7499694824219,\r
+        "y": 295.8833312988281,\r
+        "z": "734c8384.84e874",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "6e491f05.7959",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value='RPC Rebuild not found' />",\r
+        "comments": "",\r
+        "x": 1120.7499694824219,\r
+        "y": 226.88333129882812,\r
+        "z": "734c8384.84e874",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "dc58c2ba.2db078",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 973.7499694824219,\r
+        "y": 226.88333129882812,\r
+        "z": "734c8384.84e874",\r
+        "wires": [\r
+            [\r
+                "6e491f05.7959"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f11dad1d.996b88",\r
+        "type": "method",\r
+        "name": "RebuildVM",\r
+        "xml": "<method rpc='RebuildVM' mode='sync'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 432.75,\r
+        "y": 295.8833312988281,\r
+        "z": "734c8384.84e874",\r
+        "wires": [\r
+            [\r
+                "4eeee11d.fb26f"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e3bd299a.2eb3d",\r
+        "type": "returnSuccess",\r
+        "name": "return success",\r
+        "xml": "<return status='success'>",\r
+        "comments": "",\r
+        "x": 1448.7499694824219,\r
+        "y": 363.8833312988281,\r
+        "z": "734c8384.84e874",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "6da3c674.de3f5",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1365.7499694824219,\r
+        "y": 447.8833312988281,\r
+        "z": "734c8384.84e874",\r
+        "wires": [\r
+            [\r
+                "d3e45f44.e31868",\r
+                "52bdc72a.f6f06"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d3e45f44.e31868",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value='`$error-message`' />\n",\r
+        "comments": "",\r
+        "x": 1522.7499694824219,\r
+        "y": 480.88336181640625,\r
+        "z": "734c8384.84e874",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "52bdc72a.f6f06",\r
+        "type": "record",\r
+        "name": "record",\r
+        "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`\" />",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1504.6166687011719,\r
+        "y": 427.7500305175781,\r
+        "z": "734c8384.84e874",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "e3c23dad.ae06a",\r
+        "type": "switchNode",\r
+        "name": "switch error-code",\r
+        "xml": "<switch test='`$error_code`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1044.7499694824219,\r
+        "y": 403.8833312988281,\r
+        "z": "734c8384.84e874",\r
+        "wires": [\r
+            [\r
+                "45af49c7.7ad408",\r
+                "14becb17.12bdad"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "45af49c7.7ad408",\r
+        "type": "success",\r
+        "name": "SUCCESS-200",\r
+        "xml": "<outcome value='200'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1240.7499694824219,\r
+        "y": 365.8833312988281,\r
+        "z": "734c8384.84e874",\r
+        "wires": [\r
+            [\r
+                "e3bd299a.2eb3d"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "14becb17.12bdad",\r
+        "type": "outcome",\r
+        "name": "ERROR",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1224.7499694824219,\r
+        "y": 448.8833312988281,\r
+        "z": "734c8384.84e874",\r
+        "wires": [\r
+            [\r
+                "6da3c674.de3f5"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f2e4ec01.884618",\r
+        "type": "set",\r
+        "name": "set skiphypervisorcheck",\r
+        "xml": "<set>\n<parameter name='org.onap.appc.skiphypervisorcheck' value='`$skip-hypervisor-check`' />\n",\r
+        "comments": "",\r
+        "x": 758.75,\r
+        "y": 174.75,\r
+        "z": "734c8384.84e874",\r
+        "wires": []\r
+    }\r
+]\r
index 11bfe87..82f68a3 100644 (file)
@@ -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":[]}]
+[\r
+    {\r
+        "id": "fb9d148d.f2d9",\r
+        "type": "dgstart",\r
+        "name": "DGSTART",\r
+        "outputs": 1,\r
+        "x": 154.75,\r
+        "y": 203.75,\r
+        "z": "acb37c25.7d695",\r
+        "wires": [\r
+            [\r
+                "c90bb6a6.647f98"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c90bb6a6.647f98",\r
+        "type": "service-logic",\r
+        "name": "APPC 2.0.0",\r
+        "module": "APPC",\r
+        "version": "2.0.0",\r
+        "comments": "",\r
+        "xml": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='APPC' version='2.0.0'>",\r
+        "outputs": 1,\r
+        "x": 311.75,\r
+        "y": 203.75,\r
+        "z": "acb37c25.7d695",\r
+        "wires": [\r
+            [\r
+                "116cfb8a.32bd8c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "116cfb8a.32bd8c",\r
+        "type": "method",\r
+        "name": "RestartVMCommonFlow",\r
+        "xml": "<method rpc='RestartVMCommonFlow' mode='sync'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 509.75,\r
+        "y": 205.75,\r
+        "z": "acb37c25.7d695",\r
+        "wires": [\r
+            [\r
+                "1e02b081.c37eef"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "1adee386.87e9d4",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 877.7499694824219,\r
+        "y": 415.7499694824219,\r
+        "z": "acb37c25.7d695",\r
+        "wires": [\r
+            [\r
+                "15c4aee3.95def9"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "5118ed02.7b4054",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 886.7499694824219,\r
+        "y": 294.7499694824219,\r
+        "z": "acb37c25.7d695",\r
+        "wires": [\r
+            [\r
+                "17a2e299.91aeed"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f2ed13d.10a4af",\r
+        "type": "returnSuccess",\r
+        "name": "return success",\r
+        "xml": "<return status='success'>",\r
+        "comments": "",\r
+        "x": 1433.7499694824219,\r
+        "y": 387.7499694824219,\r
+        "z": "acb37c25.7d695",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "3fab6fa7.02aab",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value='RPC Evacuate not found' />",\r
+        "comments": "",\r
+        "x": 1194.7499694824219,\r
+        "y": 294.7499694824219,\r
+        "z": "acb37c25.7d695",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "15c4aee3.95def9",\r
+        "type": "switchNode",\r
+        "name": "switch error-code",\r
+        "xml": "<switch test='`$error_code`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1070.7499694824219,\r
+        "y": 416.7499694824219,\r
+        "z": "acb37c25.7d695",\r
+        "wires": [\r
+            [\r
+                "c6756561.624ca8",\r
+                "212002a8.ea32fe"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c6756561.624ca8",\r
+        "type": "success",\r
+        "name": "SUCCESS",\r
+        "xml": "<outcome value='200'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1252.7499694824219,\r
+        "y": 386.7499694824219,\r
+        "z": "acb37c25.7d695",\r
+        "wires": [\r
+            [\r
+                "f2ed13d.10a4af"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "212002a8.ea32fe",\r
+        "type": "outcome",\r
+        "name": "ERROR",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1244.7499694824219,\r
+        "y": 545.7499694824219,\r
+        "z": "acb37c25.7d695",\r
+        "wires": [\r
+            [\r
+                "2b794bb8.68c304"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "2b794bb8.68c304",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1377.7499694824219,\r
+        "y": 546.7499694824219,\r
+        "z": "acb37c25.7d695",\r
+        "wires": [\r
+            [\r
+                "60ad6e19.dea3f",\r
+                "e3ac2d57.c4e65"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "60ad6e19.dea3f",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value='`$error-message`' />\n",\r
+        "comments": "",\r
+        "x": 1512.7499694824219,\r
+        "y": 587.75,\r
+        "z": "acb37c25.7d695",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "17a2e299.91aeed",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1042.7499694824219,\r
+        "y": 294.7499694824219,\r
+        "z": "acb37c25.7d695",\r
+        "wires": [\r
+            [\r
+                "3fab6fa7.02aab"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "eb2d0f23.0a1f58",\r
+        "type": "record",\r
+        "name": "record",\r
+        "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`\" />",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 873.86669921875,\r
+        "y": 243.75,\r
+        "z": "acb37c25.7d695",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "1e02b081.c37eef",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 698.6166687011719,\r
+        "y": 264.6166687011719,\r
+        "z": "acb37c25.7d695",\r
+        "wires": [\r
+            [\r
+                "eb2d0f23.0a1f58",\r
+                "85ed6b90.7ce48",\r
+                "ead01081.d1b55"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e3ac2d57.c4e65",\r
+        "type": "record",\r
+        "name": "record",\r
+        "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`\" />",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1502.6166687011719,\r
+        "y": 518.6166687011719,\r
+        "z": "acb37c25.7d695",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "85ed6b90.7ce48",\r
+        "type": "execute",\r
+        "name": "restartServer()",\r
+        "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`\" />",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 714.7499694824219,\r
+        "y": 349.75,\r
+        "z": "acb37c25.7d695",\r
+        "wires": [\r
+            [\r
+                "5118ed02.7b4054",\r
+                "1adee386.87e9d4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ead01081.d1b55",\r
+        "type": "set",\r
+        "name": "set skiphypervisorcheck",\r
+        "xml": "<set>\n<parameter name='org.onap.appc.skiphypervisorcheck' value='`$skip-hypervisor-check`' />\n",\r
+        "comments": "",\r
+        "x": 922.75,\r
+        "y": 175.75,\r
+        "z": "acb37c25.7d695",\r
+        "wires": []\r
+    }\r
+]\r
index aa33394..a5bc834 100644 (file)
@@ -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":[]}]
+[\r
+    {\r
+        "id": "70fe6a6c.0f1394",\r
+        "type": "method",\r
+        "name": "RestartVMVNFCommonFlow",\r
+        "xml": "<method rpc='RestartVMVNFCommonFlow' mode='sync'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 270.6666564941406,\r
+        "y": 194.66665649414062,\r
+        "z": "c0b736bc.f842a8",\r
+        "wires": [\r
+            [\r
+                "b54b33bd.98257"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "eff283de.385c5",\r
+        "type": "service-logic",\r
+        "name": "APPC 2.0.0",\r
+        "module": "APPC",\r
+        "version": "2.0.0",\r
+        "comments": "",\r
+        "xml": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='APPC' version='2.0.0'>",\r
+        "outputs": 1,\r
+        "x": 253.66665649414062,\r
+        "y": 145.66665649414062,\r
+        "z": "c0b736bc.f842a8",\r
+        "wires": [\r
+            [\r
+                "70fe6a6c.0f1394"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "28cf9460.353f2c",\r
+        "type": "dgstart",\r
+        "name": "DGSTART",\r
+        "outputs": 1,\r
+        "x": 245.66665649414062,\r
+        "y": 95.66665649414062,\r
+        "z": "c0b736bc.f842a8",\r
+        "wires": [\r
+            [\r
+                "eff283de.385c5"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "5b55fcc7.18d484",\r
+        "type": "execute",\r
+        "name": "execute_getVNF_Hierarchy",\r
+        "xml": "<execute plugin='org.onap.appc.dg.util.ExecuteNodeAction' method='getVnfHierarchy'>\n<parameter name=\"resourceKey\" value=\"`$input.action-identifiers.vnf-id`\" />",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 521.6666564941406,\r
+        "y": 281.6666564941406,\r
+        "z": "c0b736bc.f842a8",\r
+        "wires": [\r
+            [\r
+                "863cb5dd.ef9108",\r
+                "ce59752d.328358"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "863cb5dd.ef9108",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 676.9523773193359,\r
+        "y": 327.52379035949707,\r
+        "z": "c0b736bc.f842a8",\r
+        "wires": [\r
+            [\r
+                "bb2ed5e2.804288"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "7d196ad4.3a4c04",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>\n",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1502.5240478515625,\r
+        "y": 322.2380528450012,\r
+        "z": "c0b736bc.f842a8",\r
+        "wires": [\r
+            [\r
+                "c24d5c45.b4e1f",\r
+                "5fd0a74d.09f598"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c24d5c45.b4e1f",\r
+        "type": "for",\r
+        "name": "for_each_VMs",\r
+        "xml": "<for index=\"i\" start=\"0\" end=\"`$VNF.VMCount`\" >",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1695.238380432129,\r
+        "y": 332.095187664032,\r
+        "z": "c0b736bc.f842a8",\r
+        "wires": [\r
+            [\r
+                "36eda813.abc578"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "36eda813.abc578",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>\n",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1916.238510131836,\r
+        "y": 329.380916595459,\r
+        "z": "c0b736bc.f842a8",\r
+        "wires": [\r
+            [\r
+                "2119c7f.7fc4938"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "5fd0a74d.09f598",\r
+        "type": "returnSuccess",\r
+        "name": "return success",\r
+        "xml": "<return status='success'>\n<parameter name='error-code' value='400' />\n<parameter name='error-message' value='Request Processed Successfully' />",\r
+        "comments": "",\r
+        "x": 1688.9525985717773,\r
+        "y": 389.3808207511902,\r
+        "z": "c0b736bc.f842a8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "ce59752d.328358",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 673.9523010253906,\r
+        "y": 104.9523696899414,\r
+        "z": "c0b736bc.f842a8",\r
+        "wires": [\r
+            [\r
+                "6b3127e4.80f558"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c69f2c2.70848d",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value='Failure Executing getVNF_Hierarchy for Restart' />\n",\r
+        "comments": "",\r
+        "x": 1043.2380905151367,\r
+        "y": 154.23808228969574,\r
+        "z": "c0b736bc.f842a8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "c2abe70c.3253c8",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2422.6666870117188,\r
+        "y": 444.23810291290283,\r
+        "z": "c0b736bc.f842a8",\r
+        "wires": [\r
+            [\r
+                "b057e8c3.dbc6c8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "3084e306.2e1c7c",\r
+        "type": "comment",\r
+        "name": "update VNFCs to Restarting",\r
+        "info": "",\r
+        "comments": "",\r
+        "x": 1996.5241165161133,\r
+        "y": 294.3808937072754,\r
+        "z": "c0b736bc.f842a8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "2828ecce.1da6f4",\r
+        "type": "comment",\r
+        "name": "call south bound to Restart VMs",\r
+        "info": "",\r
+        "comments": "",\r
+        "x": 2249.094551086426,\r
+        "y": 265.0952272415161,\r
+        "z": "c0b736bc.f842a8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "f724ebfd.f6bd28",\r
+        "type": "comment",\r
+        "name": "Fetch all VMs and VNFCs from AA&I for given VNF_ID",\r
+        "info": "",\r
+        "comments": "",\r
+        "x": 1012.3809509277344,\r
+        "y": 185.5237979888916,\r
+        "z": "c0b736bc.f842a8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "a98cd1c8.8d05a",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2386.952438354492,\r
+        "y": 115.52380657196045,\r
+        "z": "c0b736bc.f842a8",\r
+        "wires": [\r
+            [\r
+                "bedce243.c6a1f"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "22d4ffe0.863ca",\r
+        "type": "switchNode",\r
+        "name": "switch",\r
+        "xml": "<switch test='`$VNF.VMCount`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1119.5240783691406,\r
+        "y": 324.9523735046387,\r
+        "z": "c0b736bc.f842a8",\r
+        "wires": [\r
+            [\r
+                "554bb2b5.c43d6c",\r
+                "6cff4075.7b368"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "554bb2b5.c43d6c",\r
+        "type": "other",\r
+        "name": "outcome_0",\r
+        "xml": "<outcome value='0'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1387.9524841308594,\r
+        "y": 105.09524154663086,\r
+        "z": "c0b736bc.f842a8",\r
+        "wires": [\r
+            [\r
+                "a0e901ca.5bc0a"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "6cff4075.7b368",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1336.809684753418,\r
+        "y": 320.80953788757324,\r
+        "z": "c0b736bc.f842a8",\r
+        "wires": [\r
+            [\r
+                "7d196ad4.3a4c04"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b057e8c3.dbc6c8",\r
+        "type": "switchNode",\r
+        "name": "switch",\r
+        "xml": "<switch test='`$RESTART_STATUS`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2523.666793823242,\r
+        "y": 545.2381534576416,\r
+        "z": "c0b736bc.f842a8",\r
+        "wires": [\r
+            [\r
+                "6b6250e1.5569d",\r
+                "3168fb0e.92a9b4",\r
+                "b22ff2da.ab532"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b22ff2da.ab532",\r
+        "type": "success",\r
+        "name": "outcome_SUCCESS",\r
+        "xml": "<outcome value='SUCCESS'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2686.0950088500977,\r
+        "y": 730.6666145324707,\r
+        "z": "c0b736bc.f842a8",\r
+        "wires": [\r
+            [\r
+                "21da55ff.2f877a"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "6b6250e1.5569d",\r
+        "type": "other",\r
+        "name": "outcome_CONTEXT_NOT_FOUND",\r
+        "xml": "<outcome value='CONTEXT_NOT_FOUND'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2880.5244750976562,\r
+        "y": 546.0953674316406,\r
+        "z": "c0b736bc.f842a8",\r
+        "wires": [\r
+            [\r
+                "2d16dd42.da3a92"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "3168fb0e.92a9b4",\r
+        "type": "other",\r
+        "name": "outcome_ERROR",\r
+        "xml": "<outcome value='ERROR'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2750.666618347168,\r
+        "y": 345.6667413711548,\r
+        "z": "c0b736bc.f842a8",\r
+        "wires": [\r
+            [\r
+                "e414e77a.4f1458"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "2119c7f.7fc4938",\r
+        "type": "execute",\r
+        "name": "execute_Restart",\r
+        "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",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2246.9525451660156,\r
+        "y": 332.5238342285156,\r
+        "z": "c0b736bc.f842a8",\r
+        "wires": [\r
+            [\r
+                "c2abe70c.3253c8",\r
+                "a98cd1c8.8d05a"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "bb2ed5e2.804288",\r
+        "type": "switchNode",\r
+        "name": "switch",\r
+        "xml": "<switch test='`$getVnfHierarchy_result`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 827.2380905151367,\r
+        "y": 325.52386474609375,\r
+        "z": "c0b736bc.f842a8",\r
+        "wires": [\r
+            [\r
+                "32335910.d02d36",\r
+                "a1976433.4c2018"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a1976433.4c2018",\r
+        "type": "outcome",\r
+        "name": "FAILURE",\r
+        "xml": "<outcome value='FAILURE'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 975.4524993896484,\r
+        "y": 596.2380757331848,\r
+        "z": "c0b736bc.f842a8",\r
+        "wires": [\r
+            [\r
+                "2c345d3c.8289d2"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "4bfd7eb9.e09d6",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value='Failure Getting VNF Hierarchy for Restart VNF' />\n",\r
+        "comments": "",\r
+        "x": 1456.0238456726074,\r
+        "y": 672.9523944854736,\r
+        "z": "c0b736bc.f842a8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "32335910.d02d36",\r
+        "type": "outcome",\r
+        "name": "SUCCESS",\r
+        "xml": "<outcome value='SUCCESS'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 979.666633605957,\r
+        "y": 325.8095645904541,\r
+        "z": "c0b736bc.f842a8",\r
+        "wires": [\r
+            [\r
+                "22d4ffe0.863ca"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "2f2415a7.6a6a6a",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value='No VMs found for Restart VNF' />",\r
+        "comments": "",\r
+        "x": 1742.2384033203125,\r
+        "y": 159.5237579345703,\r
+        "z": "c0b736bc.f842a8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "6b3127e4.80f558",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 837.9523429870605,\r
+        "y": 104.66665363311768,\r
+        "z": "c0b736bc.f842a8",\r
+        "wires": [\r
+            [\r
+                "628b5c35.2f9d14",\r
+                "c69f2c2.70848d"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "628b5c35.2f9d14",\r
+        "type": "execute",\r
+        "name": "execute",\r
+        "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"1.01\"/>\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"output.status.message\" value=\"Exception in getting VNF Hierachy\" />\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1043.0952491760254,\r
+        "y": 103.5237979888916,\r
+        "z": "c0b736bc.f842a8",\r
+        "wires": [\r
+            [\r
+                "b328bf78.f8ded"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b328bf78.f8ded",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1189.8095321655273,\r
+        "y": 99.80951309204102,\r
+        "z": "c0b736bc.f842a8",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "2c345d3c.8289d2",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1244.6905670166016,\r
+        "y": 598.4286708831787,\r
+        "z": "c0b736bc.f842a8",\r
+        "wires": [\r
+            [\r
+                "4bfd7eb9.e09d6",\r
+                "6ced95d6.f72f4c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "6ced95d6.f72f4c",\r
+        "type": "execute",\r
+        "name": "execute",\r
+        "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"1.01\"/>\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"output.status.message\" value=\"Failure in getting VNF Hierachy\" />",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1437.5952949523926,\r
+        "y": 597.8096008300781,\r
+        "z": "c0b736bc.f842a8",\r
+        "wires": [\r
+            [\r
+                "952fc77.4bda838"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "952fc77.4bda838",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1618.8810729980469,\r
+        "y": 597.2381982803345,\r
+        "z": "c0b736bc.f842a8",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "a0e901ca.5bc0a",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1568.2383193969727,\r
+        "y": 106.52383041381836,\r
+        "z": "c0b736bc.f842a8",\r
+        "wires": [\r
+            [\r
+                "2f2415a7.6a6a6a",\r
+                "40cafa28.37ce34"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "40cafa28.37ce34",\r
+        "type": "execute",\r
+        "name": "execute",\r
+        "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"1.01\"/>\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"output.status.message\" value=\"VM Count is 0\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1751.6670112609863,\r
+        "y": 103.52379894256592,\r
+        "z": "c0b736bc.f842a8",\r
+        "wires": [\r
+            [\r
+                "e216667e.94e598"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e216667e.94e598",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1925.5241012573242,\r
+        "y": 105.23804664611816,\r
+        "z": "c0b736bc.f842a8",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "bedce243.c6a1f",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2622.523941040039,\r
+        "y": 114.23817443847656,\r
+        "z": "c0b736bc.f842a8",\r
+        "wires": [\r
+            [\r
+                "73bfd2d7.bf17dc",\r
+                "743f49b2.bd6b08"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "73bfd2d7.bf17dc",\r
+        "type": "execute",\r
+        "name": "Report_Failure_in_Restart",\r
+        "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"1.01\"/>\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"output.status.message\" value=\"`'Failure in restart for:' + $VNF.VM[$i].URL`\" />",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2897.095733642578,\r
+        "y": 84.95246887207031,\r
+        "z": "c0b736bc.f842a8",\r
+        "wires": [\r
+            [\r
+                "bf47ba1c.2df2b8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "bf47ba1c.2df2b8",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3144.095504760742,\r
+        "y": 79.95248413085938,\r
+        "z": "c0b736bc.f842a8",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "2d16dd42.da3a92",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3163.0953845977783,\r
+        "y": 541.2380867004395,\r
+        "z": "c0b736bc.f842a8",\r
+        "wires": [\r
+            [\r
+                "77b70019.fa",\r
+                "72c7466a.24d268"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "77b70019.fa",\r
+        "type": "execute",\r
+        "name": "Report_Context_not_found",\r
+        "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"1.01\"/>\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"output.status.message\" value=\"`'Stop : Context not found:' + $VNF.VM[$i].URL`\" />",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3385.2383346557617,\r
+        "y": 476.23802280426025,\r
+        "z": "c0b736bc.f842a8",\r
+        "wires": [\r
+            [\r
+                "a3c0d336.a794c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a3c0d336.a794c",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3610.0967407226562,\r
+        "y": 470.80943298339844,\r
+        "z": "c0b736bc.f842a8",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "e414e77a.4f1458",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2915.0955848693848,\r
+        "y": 310.6666374206543,\r
+        "z": "c0b736bc.f842a8",\r
+        "wires": [\r
+            [\r
+                "fe3d0a7b.5caeb8",\r
+                "d2932ef8.cb8fe"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "fe3d0a7b.5caeb8",\r
+        "type": "execute",\r
+        "name": "Report_Error_occoured_while_restarting_the_server",\r
+        "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"1.01\"/>\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"output.status.message\" value=\"`'Stop : Error occoured while restarting the server:' + $VNF.VM[$i].URL`\" />",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3217.524085998535,\r
+        "y": 233.52380180358887,\r
+        "z": "c0b736bc.f842a8",\r
+        "wires": [\r
+            [\r
+                "21ac8fe2.d3f68"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "21ac8fe2.d3f68",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3542.0956420898438,\r
+        "y": 231.6666316986084,\r
+        "z": "c0b736bc.f842a8",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "21da55ff.2f877a",\r
+        "type": "execute",\r
+        "name": "Report_Success_in_Restart",\r
+        "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='reportSuccess' >\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"output.status.message\" value=\"`'Restart event executed successfully for ' + $VNF.VM[$i].URL`\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2946.000045776367,\r
+        "y": 724.3334865570068,\r
+        "z": "c0b736bc.f842a8",\r
+        "wires": [\r
+            [\r
+                "e0aad8bd.b7c898",\r
+                "3267de9d.2920a2"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e0aad8bd.b7c898",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3146.9998092651367,\r
+        "y": 854.3334903717041,\r
+        "z": "c0b736bc.f842a8",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "3267de9d.2920a2",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3168.0000495910645,\r
+        "y": 693.3333053588867,\r
+        "z": "c0b736bc.f842a8",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "b54b33bd.98257",\r
+        "type": "switchNode",\r
+        "name": "switch action-level",\r
+        "xml": "<switch test='`$action-level`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 266.4166564941406,\r
+        "y": 268.4166564941406,\r
+        "z": "c0b736bc.f842a8",\r
+        "wires": [\r
+            [\r
+                "8ca8da24.3f5698",\r
+                "c6de725c.5d669",\r
+                "e729c62f.70f208"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "8ca8da24.3f5698",\r
+        "type": "outcome",\r
+        "name": "vnf",\r
+        "xml": "<outcome value='vnf'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 485.4166564941406,\r
+        "y": 203.41665649414062,\r
+        "z": "c0b736bc.f842a8",\r
+        "wires": [\r
+            [\r
+                "5b55fcc7.18d484"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c6de725c.5d669",\r
+        "type": "outcome",\r
+        "name": "vm",\r
+        "xml": "<outcome value='vm'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 407.4166564941406,\r
+        "y": 929.4166564941406,\r
+        "z": "c0b736bc.f842a8",\r
+        "wires": [\r
+            [\r
+                "137e98e.f945167"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "137e98e.f945167",\r
+        "type": "call",\r
+        "name": "call RestartVMCommonFlow",\r
+        "xml": "<call module='APPC' rpc='RestartVMCommonFlow' mode='sync' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 632.4166564941406,\r
+        "y": 926.4166564941406,\r
+        "z": "c0b736bc.f842a8",\r
+        "wires": [\r
+            [\r
+                "dd098cbf.e5b55",\r
+                "e18385f2.6c9268",\r
+                "6c144d12.a609a4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "dd098cbf.e5b55",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 857.4166564941406,\r
+        "y": 852.4166564941406,\r
+        "z": "c0b736bc.f842a8",\r
+        "wires": [\r
+            [\r
+                "ee42cba0.d30c88"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e18385f2.6c9268",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 857.9166564941406,\r
+        "y": 920.4166564941406,\r
+        "z": "c0b736bc.f842a8",\r
+        "wires": [\r
+            [\r
+                "ee42cba0.d30c88"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ee42cba0.d30c88",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">\n\n",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1065.6666564941406,\r
+        "y": 887.9166564941406,\r
+        "z": "c0b736bc.f842a8",\r
+        "wires": [\r
+            [\r
+                "3dc5c0c1.b6dc3"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d3f6d874.4ad408",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1033.4166564941406,\r
+        "y": 966.4166564941406,\r
+        "z": "c0b736bc.f842a8",\r
+        "wires": [\r
+            [\r
+                "84188de.45f887"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "6c144d12.a609a4",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 855.6666507720947,\r
+        "y": 973.4166479110718,\r
+        "z": "c0b736bc.f842a8",\r
+        "wires": [\r
+            [\r
+                "d3f6d874.4ad408"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "84188de.45f887",\r
+        "type": "returnSuccess",\r
+        "name": "return success",\r
+        "xml": "<return status='success'>\n<parameter name='error-code' value='400' />\n<parameter name='error-message' value='Request Processed Successfully' />",\r
+        "comments": "",\r
+        "x": 1215.4166564941406,\r
+        "y": 964.4166564941406,\r
+        "z": "c0b736bc.f842a8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "3dc5c0c1.b6dc3",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value='`$error-message`' />\n",\r
+        "comments": "",\r
+        "x": 1235.4166564941406,\r
+        "y": 885.4166564941406,\r
+        "z": "c0b736bc.f842a8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "6fbcd085.3471",\r
+        "type": "comment",\r
+        "name": "Check action-level, call VM restart if action level is VM",\r
+        "info": "",\r
+        "comments": "",\r
+        "x": 354.1666564941406,\r
+        "y": 333.4166564941406,\r
+        "z": "c0b736bc.f842a8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "489085cf.2b6cdc",\r
+        "type": "comment",\r
+        "name": "Call DG for VM level Restart - parameters are in context",\r
+        "info": "",\r
+        "comments": "",\r
+        "x": 564.4166564941406,\r
+        "y": 837.4166564941406,\r
+        "z": "c0b736bc.f842a8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "e729c62f.70f208",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 387.6666564941406,\r
+        "y": 1025.4166564941406,\r
+        "z": "c0b736bc.f842a8",\r
+        "wires": [\r
+            [\r
+                "d2f27779.5810a8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d2f27779.5810a8",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">\n\n",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 550.6666564941406,\r
+        "y": 1020.4166564941406,\r
+        "z": "c0b736bc.f842a8",\r
+        "wires": [\r
+            [\r
+                "2013f698.7c292a"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "2013f698.7c292a",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value='Invalid action-level found' />\n",\r
+        "comments": "",\r
+        "x": 767.4166564941406,\r
+        "y": 1019.9166564941406,\r
+        "z": "c0b736bc.f842a8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "743f49b2.bd6b08",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value='Failure in executing AAI update-Restart Failure' />",\r
+        "comments": "",\r
+        "x": 2806.1667709350586,\r
+        "y": 199.1666145324707,\r
+        "z": "c0b736bc.f842a8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "d2932ef8.cb8fe",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value='Failure in executing AAI update-Restart Failure' />",\r
+        "comments": "",\r
+        "x": 3074.666576385498,\r
+        "y": 390.16654777526855,\r
+        "z": "c0b736bc.f842a8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "72c7466a.24d268",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value='Failure in executing AAI update-Restart Failure' />",\r
+        "comments": "",\r
+        "x": 3373.6665573120117,\r
+        "y": 583.1666164398193,\r
+        "z": "c0b736bc.f842a8",\r
+        "wires": []\r
+    }\r
+]
\ No newline at end of file
index 45ea7ad..8b4f277 100644 (file)
@@ -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":[]}]
+[\r
+    {\r
+        "id": "7c3474f1.1cd03c",\r
+        "type": "dgstart",\r
+        "name": "DGSTART",\r
+        "outputs": 1,\r
+        "x": 122,\r
+        "y": 48,\r
+        "z": "b65e8435.fe44e8",\r
+        "wires": [\r
+            [\r
+                "a83bd040.8282b"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a83bd040.8282b",\r
+        "type": "service-logic",\r
+        "name": "APPC 4.0.0",\r
+        "module": "APPC",\r
+        "version": "4.0.0",\r
+        "comments": "",\r
+        "xml": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='APPC' version='4.0.0'>",\r
+        "outputs": 1,\r
+        "x": 276,\r
+        "y": 47,\r
+        "z": "b65e8435.fe44e8",\r
+        "wires": [\r
+            [\r
+                "e1894372.30cdd"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e1894372.30cdd",\r
+        "type": "method",\r
+        "name": "method SaveRunningConfig",\r
+        "xml": "<method rpc='SaveRunningConfig' mode='sync'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 504,\r
+        "y": 50,\r
+        "z": "b65e8435.fe44e8",\r
+        "wires": [\r
+            [\r
+                "765e52ba.92d4ec"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "1a5b77c4.054a08",\r
+        "type": "set",\r
+        "name": "set call DG Parameters",\r
+        "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",\r
+        "comments": "",\r
+        "x": 390,\r
+        "y": 224,\r
+        "z": "b65e8435.fe44e8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "765e52ba.92d4ec",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 151,\r
+        "y": 104,\r
+        "z": "b65e8435.fe44e8",\r
+        "wires": [\r
+            [\r
+                "1a5b77c4.054a08",\r
+                "6ba67872.c10128",\r
+                "ed29f122.78c98",\r
+                "f1e5ace2.29b46"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ed29f122.78c98",\r
+        "type": "call",\r
+        "name": "call: GetDeviceRunningConfig",\r
+        "xml": "<call module='APPC' rpc='GetDeviceRunningConfig' mode='sync' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 208,\r
+        "y": 525,\r
+        "z": "b65e8435.fe44e8",\r
+        "wires": [\r
+            [\r
+                "66a3421e.8ee46c",\r
+                "1758c96b.0bfac7",\r
+                "1205b1c1.01b1fe"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "66a3421e.8ee46c",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 468,\r
+        "y": 544,\r
+        "z": "b65e8435.fe44e8",\r
+        "wires": [\r
+            [\r
+                "2cf3d154.43afee"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "1758c96b.0bfac7",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 463,\r
+        "y": 609,\r
+        "z": "b65e8435.fe44e8",\r
+        "wires": [\r
+            [\r
+                "2cf3d154.43afee"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "1205b1c1.01b1fe",\r
+        "type": "not-found",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 473,\r
+        "y": 489,\r
+        "z": "b65e8435.fe44e8",\r
+        "wires": [\r
+            [\r
+                "c415d4b1.46ebb8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "2cf3d154.43afee",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 644,\r
+        "y": 579,\r
+        "z": "b65e8435.fe44e8",\r
+        "wires": [\r
+            [\r
+                "4b738eae.bebbf",\r
+                "c326e29b.a53c5",\r
+                "15e176d7.f4fa69"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c415d4b1.46ebb8",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 638,\r
+        "y": 491,\r
+        "z": "b65e8435.fe44e8",\r
+        "wires": [\r
+            [\r
+                "343da92f.ea2d36"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c326e29b.a53c5",\r
+        "type": "execute",\r
+        "name": "execute IntermediateMessageSender",\r
+        "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\"/>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1373,\r
+        "y": 626,\r
+        "z": "b65e8435.fe44e8",\r
+        "wires": [\r
+            [\r
+                "d561706d.6cc1f",\r
+                "2cc85644.7e2dda"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d561706d.6cc1f",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1602,\r
+        "y": 592,\r
+        "z": "b65e8435.fe44e8",\r
+        "wires": [\r
+            [\r
+                "acd3a913.aef658"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "2cc85644.7e2dda",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1594,\r
+        "y": 660,\r
+        "z": "b65e8435.fe44e8",\r
+        "wires": [\r
+            [\r
+                "acd3a913.aef658"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "acd3a913.aef658",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 1773,\r
+        "y": 592,\r
+        "z": "b65e8435.fe44e8",\r
+        "wires": [\r
+            [\r
+                "11937500.5cc44b"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "4482b188.2de78",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 1298,\r
+        "y": 498,\r
+        "z": "b65e8435.fe44e8",\r
+        "wires": [\r
+            [\r
+                "9444113f.a9b7f",\r
+                "c326e29b.a53c5",\r
+                "15e176d7.f4fa69"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "11937500.5cc44b",\r
+        "type": "record",\r
+        "name": "record",\r
+        "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",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1944,\r
+        "y": 592,\r
+        "z": "b65e8435.fe44e8",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "343da92f.ea2d36",\r
+        "type": "execute",\r
+        "name": "execute updateUploadConfig",\r
+        "xml": "<execute plugin=\"org.onap.appc.data.services.node.ConfigResourceNode\" method=\"updateUploadConfig\">\n<parameter name=\"responsePrefix\" value=\"tmp.uploadconfig\" />\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 880,\r
+        "y": 486,\r
+        "z": "b65e8435.fe44e8",\r
+        "wires": [\r
+            [\r
+                "5f1d1c6.72869e4",\r
+                "899f9e.eae2d06",\r
+                "83081ae4.fe0218"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "5f1d1c6.72869e4",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1094,\r
+        "y": 487,\r
+        "z": "b65e8435.fe44e8",\r
+        "wires": [\r
+            [\r
+                "4482b188.2de78"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "899f9e.eae2d06",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1095,\r
+        "y": 521,\r
+        "z": "b65e8435.fe44e8",\r
+        "wires": [\r
+            [\r
+                "4482b188.2de78"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "83081ae4.fe0218",\r
+        "type": "not-found",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1100,\r
+        "y": 414,\r
+        "z": "b65e8435.fe44e8",\r
+        "wires": [\r
+            [\r
+                "81dc42e5.641e2"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "15e176d7.f4fa69",\r
+        "type": "execute",\r
+        "name": "execute saveTxLog",\r
+        "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",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1341.5,\r
+        "y": 726,\r
+        "z": "b65e8435.fe44e8",\r
+        "wires": [\r
+            [\r
+                "6e98fbd2.1138c4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "6e98fbd2.1138c4",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1537.5,\r
+        "y": 726,\r
+        "z": "b65e8435.fe44e8",\r
+        "wires": [\r
+            [\r
+                "b24c0738.704288"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b24c0738.704288",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 1709.5,\r
+        "y": 728,\r
+        "z": "b65e8435.fe44e8",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "6ba67872.c10128",\r
+        "type": "execute",\r
+        "name": "execute Read Properties",\r
+        "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",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 353,\r
+        "y": 328,\r
+        "z": "b65e8435.fe44e8",\r
+        "wires": [\r
+            [\r
+                "85a4642e.9e6498",\r
+                "56546486.120c5c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "85a4642e.9e6498",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 560,\r
+        "y": 284,\r
+        "z": "b65e8435.fe44e8",\r
+        "wires": [\r
+            [\r
+                "9b0db7e4.9df908"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "56546486.120c5c",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 570,\r
+        "y": 353,\r
+        "z": "b65e8435.fe44e8",\r
+        "wires": [\r
+            [\r
+                "9b0db7e4.9df908"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9b0db7e4.9df908",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 735,\r
+        "y": 320,\r
+        "z": "b65e8435.fe44e8",\r
+        "wires": [\r
+            [\r
+                "6e458aaa.aa8b54",\r
+                "9f1686a1.b5d648"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "6e458aaa.aa8b54",\r
+        "type": "record",\r
+        "name": "record",\r
+        "xml": "<record plugin=\"onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"info\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"DCAEREPORTERERROR\" value=\"Unable to read appc.properties File\"/>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 912,\r
+        "y": 364,\r
+        "z": "b65e8435.fe44e8",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "9f1686a1.b5d648",\r
+        "type": "set",\r
+        "name": "set topic name to null",\r
+        "xml": "<set>\n<parameter name='prop.appc.LCM.topic.write' value=\"\" />\n",\r
+        "comments": "",\r
+        "x": 913,\r
+        "y": 417,\r
+        "z": "b65e8435.fe44e8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "81dc42e5.641e2",\r
+        "type": "call",\r
+        "name": "call: PublishConfiguration",\r
+        "xml": "<call module=\"APPC\" rpc=\"PublishConfiguration\" mode=\"sync\">",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1305,\r
+        "y": 414,\r
+        "z": "b65e8435.fe44e8",\r
+        "wires": [\r
+            [\r
+                "eb6085f2.5a8a38"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "eb6085f2.5a8a38",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1503,\r
+        "y": 299,\r
+        "z": "b65e8435.fe44e8",\r
+        "wires": [\r
+            [\r
+                "de2a437b.88707"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "de2a437b.88707",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 1678,\r
+        "y": 250,\r
+        "z": "b65e8435.fe44e8",\r
+        "wires": [\r
+            [\r
+                "69555cd3.e33e24",\r
+                "c326e29b.a53c5",\r
+                "15e176d7.f4fa69"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9444113f.a9b7f",\r
+        "type": "set",\r
+        "name": "set dcae-error-message",\r
+        "xml": "<set>\n<parameter name='dcae-error-message' value=\"`'Configuration is successful but unable to save the running config.' + $tmp.uploadconfig.error-message`\" />\n",\r
+        "comments": "",\r
+        "x": 1565,\r
+        "y": 492,\r
+        "z": "b65e8435.fe44e8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "4b738eae.bebbf",\r
+        "type": "set",\r
+        "name": "set dcae-error-message",\r
+        "xml": "<set>\n<parameter name='dcae-error-message' value=\"Configuration is successful but unable to get the running config.\" />\n",\r
+        "comments": "",\r
+        "x": 880,\r
+        "y": 555,\r
+        "z": "b65e8435.fe44e8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "69555cd3.e33e24",\r
+        "type": "set",\r
+        "name": "set dcae-error-message",\r
+        "xml": "<set>\n<parameter name='dcae-error-message' value='Configuration is successful.DG Workflow PublishConfiguration not found' />\n",\r
+        "comments": "",\r
+        "x": 1908,\r
+        "y": 251,\r
+        "z": "b65e8435.fe44e8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "f1e5ace2.29b46",\r
+        "type": "switchNode",\r
+        "name": "switch VM NAME in request",\r
+        "xml": "<switch test='`$VMNAME0`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 417,\r
+        "y": 161,\r
+        "z": "b65e8435.fe44e8",\r
+        "wires": [\r
+            [\r
+                "7fef9209.46d47c",\r
+                "3da9dca1.ce1034"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "7fef9209.46d47c",\r
+        "type": "success",\r
+        "name": "outcome: Other",\r
+        "xml": "<outcome value='Other'>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 659.75,\r
+        "y": 192.61105346679688,\r
+        "z": "b65e8435.fe44e8",\r
+        "wires": [\r
+            [\r
+                "f3795793.19b688"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "3da9dca1.ce1034",\r
+        "type": "success",\r
+        "name": "outcome:null",\r
+        "xml": "<outcome value=''>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 649.3611450195312,\r
+        "y": 126.77777099609375,\r
+        "z": "b65e8435.fe44e8",\r
+        "wires": [\r
+            [\r
+                "e74d3cad.0ea56"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e74d3cad.0ea56",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 828,\r
+        "y": 125,\r
+        "z": "b65e8435.fe44e8",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "f3795793.19b688",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 842,\r
+        "y": 192,\r
+        "z": "b65e8435.fe44e8",\r
+        "wires": [\r
+            [\r
+                "f10135f1.0d9068"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f10135f1.0d9068",\r
+        "type": "set",\r
+        "name": "set VM name",\r
+        "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",\r
+        "comments": "",\r
+        "x": 1027,\r
+        "y": 192,\r
+        "z": "b65e8435.fe44e8",\r
+        "wires": []\r
+    }\r
+]\r
index 1b955b4..ef8918d 100644 (file)
@@ -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":[]}]
+[\r
+    {\r
+        "id": "4dde859f.fc64cc",\r
+        "type": "dgstart",\r
+        "name": "DGSTART",\r
+        "outputs": 1,\r
+        "x": 273,\r
+        "y": 79,\r
+        "z": "70b2523f.6b685c",\r
+        "wires": [\r
+            [\r
+                "bfe190d1.196d2"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "bfe190d1.196d2",\r
+        "type": "service-logic",\r
+        "name": "APPC 4.0.0",\r
+        "module": "APPC",\r
+        "version": "4.0.0",\r
+        "comments": "",\r
+        "xml": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='APPC' version='4.0.0'>",\r
+        "outputs": 1,\r
+        "x": 432,\r
+        "y": 79,\r
+        "z": "70b2523f.6b685c",\r
+        "wires": [\r
+            [\r
+                "30593d85.ab3dc2"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "30593d85.ab3dc2",\r
+        "type": "method",\r
+        "name": "method SetStatus",\r
+        "xml": "<method rpc='SetStatus' mode='sync'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 632,\r
+        "y": 78,\r
+        "z": "70b2523f.6b685c",\r
+        "wires": [\r
+            [\r
+                "f1351cc3.b1a25"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "19172065.c5b0a",\r
+        "type": "switchNode",\r
+        "name": "switch: request-action",\r
+        "xml": "<switch test=\"`$request-action`\">\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 894.5,\r
+        "y": 338,\r
+        "z": "70b2523f.6b685c",\r
+        "wires": [\r
+            [\r
+                "9747b2ab.aec3e",\r
+                "57dfbf95.80724"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "57dfbf95.80724",\r
+        "type": "other",\r
+        "name": "ConfigScale",\r
+        "xml": "<outcome value='ConfigScale'>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1114,\r
+        "y": 365,\r
+        "z": "70b2523f.6b685c",\r
+        "wires": [\r
+            [\r
+                "a7111ded.29a1e"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9747b2ab.aec3e",\r
+        "type": "other",\r
+        "name": "Configure",\r
+        "xml": "<outcome value='Configure'>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1115.5,\r
+        "y": 290,\r
+        "z": "70b2523f.6b685c",\r
+        "wires": [\r
+            [\r
+                "a7111ded.29a1e"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "59fe443f.2decbc",\r
+        "type": "call",\r
+        "name": "call: UpdateAaiInfo",\r
+        "xml": "<call module=\"APPC\" rpc=\"UpdateAaiInfo\" mode=\"sync\">",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 837,\r
+        "y": 470,\r
+        "z": "70b2523f.6b685c",\r
+        "wires": [\r
+            [\r
+                "c4b222a6.df039"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d8c49649.ea2c88",\r
+        "type": "switchNode",\r
+        "name": "switch: error-code",\r
+        "xml": "<switch test=\"`$error-code`\">\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 279,\r
+        "y": 196,\r
+        "z": "70b2523f.6b685c",\r
+        "wires": [\r
+            [\r
+                "ed9a1aba.c4d6c8",\r
+                "461e66ac.15dc58"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "28ebb19c.5f49ae",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 660,\r
+        "y": 195,\r
+        "z": "70b2523f.6b685c",\r
+        "wires": [\r
+            [\r
+                "f9b83601.004e48",\r
+                "19172065.c5b0a",\r
+                "2a00c2b.88ebe3e",\r
+                "d3fd9387.1d4c4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ed9a1aba.c4d6c8",\r
+        "type": "success",\r
+        "name": "outcome: 400",\r
+        "xml": "<outcome value=\"400\">",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 483,\r
+        "y": 195,\r
+        "z": "70b2523f.6b685c",\r
+        "wires": [\r
+            [\r
+                "28ebb19c.5f49ae"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "461e66ac.15dc58",\r
+        "type": "success",\r
+        "name": "outcome: Other",\r
+        "xml": "<outcome value=\"Other\">",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 486,\r
+        "y": 864,\r
+        "z": "70b2523f.6b685c",\r
+        "wires": [\r
+            [\r
+                "d427e6fd.fb6f78"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d427e6fd.fb6f78",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 687,\r
+        "y": 865,\r
+        "z": "70b2523f.6b685c",\r
+        "wires": [\r
+            [\r
+                "d83e228b.87786",\r
+                "11494413.bf835c",\r
+                "b9ef7dd2.d9ceb"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f1351cc3.b1a25",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 279,\r
+        "y": 131,\r
+        "z": "70b2523f.6b685c",\r
+        "wires": [\r
+            [\r
+                "d8c49649.ea2c88"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "11494413.bf835c",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n\n\n",\r
+        "comments": "",\r
+        "x": 880,\r
+        "y": 969,\r
+        "z": "70b2523f.6b685c",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "d83e228b.87786",\r
+        "type": "record",\r
+        "name": "record",\r
+        "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",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 872,\r
+        "y": 865,\r
+        "z": "70b2523f.6b685c",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "c4b222a6.df039",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1067.5,\r
+        "y": 458,\r
+        "z": "70b2523f.6b685c",\r
+        "wires": [\r
+            [\r
+                "56027b2c.0a5614"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "56027b2c.0a5614",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1252.5,\r
+        "y": 460,\r
+        "z": "70b2523f.6b685c",\r
+        "wires": [\r
+            [\r
+                "4ad76b90.eabd64",\r
+                "c6a4c94.df29038"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "4ad76b90.eabd64",\r
+        "type": "set",\r
+        "name": "set:  dcae-error message",\r
+        "xml": "<set>\n\t  <parameter name=\"dcae-error-message\" value=\"DG Workflow UpdateAaiInfo not found\"/>\n\t  ",\r
+        "comments": "",\r
+        "x": 1505.5,\r
+        "y": 455,\r
+        "z": "70b2523f.6b685c",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "f9b83601.004e48",\r
+        "type": "returnSuccess",\r
+        "name": "return success",\r
+        "xml": "<return status='success'>\n\n",\r
+        "comments": "",\r
+        "x": 552,\r
+        "y": 793,\r
+        "z": "70b2523f.6b685c",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "a7111ded.29a1e",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 1281,\r
+        "y": 323,\r
+        "z": "70b2523f.6b685c",\r
+        "wires": [\r
+            [\r
+                "59fe443f.2decbc"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "2a00c2b.88ebe3e",\r
+        "type": "call",\r
+        "name": "call: SaveRunningConfig",\r
+        "xml": "<call module=\"APPC\" rpc=\"SaveRunningConfig\" mode=\"sync\">",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 901,\r
+        "y": 128,\r
+        "z": "70b2523f.6b685c",\r
+        "wires": [\r
+            [\r
+                "d5d0faee.e29388"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d5d0faee.e29388",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1124,\r
+        "y": 130,\r
+        "z": "70b2523f.6b685c",\r
+        "wires": [\r
+            [\r
+                "ffd6d09b.31a6c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ffd6d09b.31a6c",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1314,\r
+        "y": 129,\r
+        "z": "70b2523f.6b685c",\r
+        "wires": [\r
+            [\r
+                "b375bde8.81374",\r
+                "3146abb.479e554"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b375bde8.81374",\r
+        "type": "set",\r
+        "name": "set:  dcae-error message",\r
+        "xml": "<set>\n\t  <parameter name=\"dcae-error-message\" value=\"DG Workflow SaveRunningConfig not found\"/>\n\t ",\r
+        "comments": "",\r
+        "x": 1530,\r
+        "y": 130,\r
+        "z": "70b2523f.6b685c",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "3146abb.479e554",\r
+        "type": "record",\r
+        "name": "record",\r
+        "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",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1487,\r
+        "y": 179,\r
+        "z": "70b2523f.6b685c",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "c6a4c94.df29038",\r
+        "type": "record",\r
+        "name": "record",\r
+        "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",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1463,\r
+        "y": 495,\r
+        "z": "70b2523f.6b685c",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "d3fd9387.1d4c4",\r
+        "type": "set",\r
+        "name": "set error-code 400",\r
+        "xml": "<set>\n<parameter name='error-code' value='400' />\n<parameter name=\"error-message\" value=\"SUCCESS - request has been processed successfully\" />\n",\r
+        "comments": "",\r
+        "x": 625,\r
+        "y": 722,\r
+        "z": "70b2523f.6b685c",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "b9ef7dd2.d9ceb",\r
+        "type": "set",\r
+        "name": "set error-code 401",\r
+        "xml": "<set>\n<parameter name='error-code' value='401' />\n",\r
+        "comments": "",\r
+        "x": 912,\r
+        "y": 919,\r
+        "z": "70b2523f.6b685c",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "7047038e.7e839c",\r
+        "type": "comment",\r
+        "name": "Setting error code since Config Comp Adaptor may reset it...",\r
+        "info": "",\r
+        "comments": "",\r
+        "x": 889,\r
+        "y": 778,\r
+        "z": "70b2523f.6b685c",\r
+        "wires": []\r
+    }\r
+]\r
index 753b0fe..4118ed3 100644 (file)
@@ -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":[[]]}]
+[\r
+    {\r
+        "id": "17fdf157.d14c8f",\r
+        "type": "service-logic",\r
+        "name": "APPC 4.0.0",\r
+        "module": "APPC",\r
+        "version": "4.0.0",\r
+        "comments": "",\r
+        "xml": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='APPC' version='4.0.0'>",\r
+        "outputs": 1,\r
+        "x": 320,\r
+        "y": 53.75,\r
+        "z": "85d5f290.0432b",\r
+        "wires": [\r
+            [\r
+                "989f4ec5.54141"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "4b7a7d8a.aede34",\r
+        "type": "dgstart",\r
+        "name": "DGSTART",\r
+        "outputs": 1,\r
+        "x": 165.83331298828125,\r
+        "y": 52.083343505859375,\r
+        "z": "85d5f290.0432b",\r
+        "wires": [\r
+            [\r
+                "17fdf157.d14c8f"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "989f4ec5.54141",\r
+        "type": "method",\r
+        "name": "method UpdateAaiInfo",\r
+        "xml": "<method rpc='UpdateAaiInfo' mode='sync'>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 578.333381652832,\r
+        "y": 52.41666507720947,\r
+        "z": "85d5f290.0432b",\r
+        "wires": [\r
+            [\r
+                "246c33ee.325e3c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "246c33ee.325e3c",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 112.66667175292969,\r
+        "y": 148.41666984558105,\r
+        "z": "85d5f290.0432b",\r
+        "wires": [\r
+            [\r
+                "25f09202.68f34e",\r
+                "56e6ecf6.411024",\r
+                "aa45fcda.3a5ec"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "25f09202.68f34e",\r
+        "type": "set",\r
+        "name": "set DCAE Message to Initialise",\r
+        "xml": "<set>\n<parameter name=\"dcae-error-message\" value=\"\"/>\n",\r
+        "comments": "",\r
+        "x": 398.11112785339355,\r
+        "y": 165.52777099609375,\r
+        "z": "85d5f290.0432b",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "56e6ecf6.411024",\r
+        "type": "switchNode",\r
+        "name": "switch VM NAME in request",\r
+        "xml": "<switch test='`$VMNAME0`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 336.1111068725586,\r
+        "y": 294.0992088317871,\r
+        "z": "85d5f290.0432b",\r
+        "wires": [\r
+            [\r
+                "3f4eb5a1.98132a",\r
+                "cbe78139.de9e4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "3f4eb5a1.98132a",\r
+        "type": "success",\r
+        "name": "outcome: Other",\r
+        "xml": "<outcome value='Other'>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 558.5278396606445,\r
+        "y": 351.805477142334,\r
+        "z": "85d5f290.0432b",\r
+        "wires": [\r
+            [\r
+                "ea002fec.7d778"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "cbe78139.de9e4",\r
+        "type": "success",\r
+        "name": "outcome:null",\r
+        "xml": "<outcome value=''>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 552.4722595214844,\r
+        "y": 217.3055419921875,\r
+        "z": "85d5f290.0432b",\r
+        "wires": [\r
+            [\r
+                "e0740ca2.40979"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e0740ca2.40979",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 746.6388549804688,\r
+        "y": 216.86111450195312,\r
+        "z": "85d5f290.0432b",\r
+        "wires": [\r
+            [\r
+                "bb65b932.69d368"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "bb65b932.69d368",\r
+        "type": "call",\r
+        "name": "call: UpdateAaiforReferenceData",\r
+        "xml": "<call module=\"APPC\" rpc=\"UpdateAaiforReferenceData\" mode=\"sync\">",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 984.47216796875,\r
+        "y": 210.08334350585938,\r
+        "z": "85d5f290.0432b",\r
+        "wires": [\r
+            [\r
+                "f7b24d7a.2bc04",\r
+                "54ead351.39420c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f7b24d7a.2bc04",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1297.4839630126953,\r
+        "y": 211.7221999168396,\r
+        "z": "85d5f290.0432b",\r
+        "wires": [\r
+            [\r
+                "da291abd.c33048"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "da291abd.c33048",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1497.571273803711,\r
+        "y": 209.6943645477295,\r
+        "z": "85d5f290.0432b",\r
+        "wires": [\r
+            [\r
+                "6394e117.9a32e",\r
+                "e93b5abd.e1d8c8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "6394e117.9a32e",\r
+        "type": "set",\r
+        "name": "set:  dcae-error message",\r
+        "xml": "<set>\n\t  <parameter name=\"dcae-error-message\" value=\"DG Workflow UpdateAaiforReferenceData not found\"/>\n\t  ",\r
+        "comments": "",\r
+        "x": 1736.289535522461,\r
+        "y": 191.4404296875,\r
+        "z": "85d5f290.0432b",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "e93b5abd.e1d8c8",\r
+        "type": "record",\r
+        "name": "record",\r
+        "xml": "<record plugin=\"onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"info\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"DCAEERRORMESSAGE\" value=\"`$dcae-error-message`\"/>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1701.9284133911133,\r
+        "y": 254.84122848510742,\r
+        "z": "85d5f290.0432b",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "f1b02edf.c1e2d",\r
+        "type": "call",\r
+        "name": "call: UpdateAaiforPayloadInput",\r
+        "xml": "<call module=\"APPC\" rpc=\"UpdateAaiforPayloadInput\" mode=\"sync\">",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 969.8888854980469,\r
+        "y": 344.30549812316895,\r
+        "z": "85d5f290.0432b",\r
+        "wires": [\r
+            [\r
+                "1e45aff3.f0d15",\r
+                "d26bc33f.c48e"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "1e45aff3.f0d15",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1196.1666259765625,\r
+        "y": 371.27783203125,\r
+        "z": "85d5f290.0432b",\r
+        "wires": [\r
+            [\r
+                "90c4daac.170898"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "90c4daac.170898",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1361.111083984375,\r
+        "y": 371.7498779296875,\r
+        "z": "85d5f290.0432b",\r
+        "wires": [\r
+            [\r
+                "3077a87f.eb3848",\r
+                "604f6585.fedb0c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "3077a87f.eb3848",\r
+        "type": "set",\r
+        "name": "set:  dcae-error message",\r
+        "xml": "<set>\n\t  <parameter name=\"dcae-error-message\" value=\"DG Workflow UpdateAaiforPayloadInput not found\"/>\n\t  ",\r
+        "comments": "",\r
+        "x": 1614.1943359375,\r
+        "y": 419.1666259765625,\r
+        "z": "85d5f290.0432b",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "604f6585.fedb0c",\r
+        "type": "record",\r
+        "name": "record",\r
+        "xml": "<record plugin=\"onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"info\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"DCAEERRORMESSAGE\" value=\"`$dcae-error-message`\"/>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1564.2738037109375,\r
+        "y": 371.3809509277344,\r
+        "z": "85d5f290.0432b",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "ea002fec.7d778",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 742.6666946411133,\r
+        "y": 351.66667556762695,\r
+        "z": "85d5f290.0432b",\r
+        "wires": [\r
+            [\r
+                "f1b02edf.c1e2d"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "2e5b89e.19bac76",\r
+        "type": "record",\r
+        "name": "record",\r
+        "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",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 782.357177734375,\r
+        "y": 733.4285888671875,\r
+        "z": "85d5f290.0432b",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "3334060b.6801ca",\r
+        "type": "execute",\r
+        "name": "execute saveTxLog",\r
+        "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",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 855.357177734375,\r
+        "y": 546.34521484375,\r
+        "z": "85d5f290.0432b",\r
+        "wires": [\r
+            [\r
+                "526b6fe0.b13b4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "1d18d81e.6824c8",\r
+        "type": "execute",\r
+        "name": "execute IntermediateMessageSender",\r
+        "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\"/>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 883.107177734375,\r
+        "y": 626.34521484375,\r
+        "z": "85d5f290.0432b",\r
+        "wires": [\r
+            [\r
+                "7eb3335b.a2f35c",\r
+                "261ea27b.8f75fe"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "7eb3335b.a2f35c",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1139.107177734375,\r
+        "y": 599.84521484375,\r
+        "z": "85d5f290.0432b",\r
+        "wires": [\r
+            [\r
+                "952bb464.99ef08"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "261ea27b.8f75fe",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1132.857177734375,\r
+        "y": 669.09521484375,\r
+        "z": "85d5f290.0432b",\r
+        "wires": [\r
+            [\r
+                "952bb464.99ef08"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "952bb464.99ef08",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1320.357177734375,\r
+        "y": 617.34521484375,\r
+        "z": "85d5f290.0432b",\r
+        "wires": [\r
+            [\r
+                "3816c1d5.30bdbe"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "3816c1d5.30bdbe",\r
+        "type": "record",\r
+        "name": "record",\r
+        "xml": "<record plugin=\"onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"info\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"MSGSENDERERERROR\" value=\"Unable to call IntermediateErrorMessageSender\"/>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1464.357177734375,\r
+        "y": 618.84521484375,\r
+        "z": "85d5f290.0432b",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "aa45fcda.3a5ec",\r
+        "type": "switchNode",\r
+        "name": "switch dcae message",\r
+        "xml": "<switch test='`$dcae-error-message`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 247.85714721679688,\r
+        "y": 460.51190185546875,\r
+        "z": "85d5f290.0432b",\r
+        "wires": [\r
+            [\r
+                "7208fb1.e905604",\r
+                "a197a490.2bd768"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "7208fb1.e905604",\r
+        "type": "outcome",\r
+        "name": "outcome null",\r
+        "xml": "<outcome value=''>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 493.3571472167969,\r
+        "y": 460.84521484375,\r
+        "z": "85d5f290.0432b",\r
+        "wires": [\r
+            [\r
+                "a672f215.a9695"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a197a490.2bd768",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 461.1071472167969,\r
+        "y": 543.09521484375,\r
+        "z": "85d5f290.0432b",\r
+        "wires": [\r
+            [\r
+                "41f6f759.0b9d48"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "41f6f759.0b9d48",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 651.1071472167969,\r
+        "y": 543.59521484375,\r
+        "z": "85d5f290.0432b",\r
+        "wires": [\r
+            [\r
+                "3334060b.6801ca",\r
+                "1d18d81e.6824c8",\r
+                "2e5b89e.19bac76"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a672f215.a9695",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 663.357177734375,\r
+        "y": 459.59521484375,\r
+        "z": "85d5f290.0432b",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "526b6fe0.b13b4",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1027.357177734375,\r
+        "y": 546.09521484375,\r
+        "z": "85d5f290.0432b",\r
+        "wires": [\r
+            [\r
+                "1f437509.05092b"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "1f437509.05092b",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1172.357177734375,\r
+        "y": 545.09521484375,\r
+        "z": "85d5f290.0432b",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "54ead351.39420c",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1265.5555801391602,\r
+        "y": 298.88890171051025,\r
+        "z": "85d5f290.0432b",\r
+        "wires": [\r
+            [\r
+                "8835758b.e184e8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "8835758b.e184e8",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1460.2777824401855,\r
+        "y": 299.47223472595215,\r
+        "z": "85d5f290.0432b",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "d26bc33f.c48e",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1186.9999656677246,\r
+        "y": 474.2222375869751,\r
+        "z": "85d5f290.0432b",\r
+        "wires": [\r
+            [\r
+                "496d6b7f.ae7024"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "496d6b7f.ae7024",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1346.5,\r
+        "y": 472.8055419921875,\r
+        "z": "85d5f290.0432b",\r
+        "wires": [\r
+            []\r
+        ]\r
+    }\r
+]
\ No newline at end of file
index 46e1473..54536d5 100644 (file)
@@ -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":[[]]}]
+[\r
+    {\r
+        "id": "ed4f50ed.3f25a",\r
+        "type": "service-logic",\r
+        "name": "APPC 4.0.0",\r
+        "module": "APPC",\r
+        "version": "4.0.0",\r
+        "comments": "",\r
+        "xml": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='APPC' version='4.0.0'>",\r
+        "outputs": 1,\r
+        "x": 292.8571472167969,\r
+        "y": 47.14285659790039,\r
+        "z": "1a897865.ea2138",\r
+        "wires": [\r
+            [\r
+                "b0fe756.78be888"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c6c877e9.c792e8",\r
+        "type": "dgstart",\r
+        "name": "DGSTART",\r
+        "outputs": 1,\r
+        "x": 122.69046020507812,\r
+        "y": 46.47620105743408,\r
+        "z": "1a897865.ea2138",\r
+        "wires": [\r
+            [\r
+                "ed4f50ed.3f25a"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b0fe756.78be888",\r
+        "type": "method",\r
+        "name": "method UpdateAaiforPayloadInput",\r
+        "xml": "<method rpc='UpdateAaiforPayloadInput' mode='sync'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 516.1905212402344,\r
+        "y": 43.80952167510986,\r
+        "z": "1a897865.ea2138",\r
+        "wires": [\r
+            [\r
+                "ebd5a571.57fd08"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ebd5a571.57fd08",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 145.85714721679688,\r
+        "y": 267.1428575515747,\r
+        "z": "1a897865.ea2138",\r
+        "wires": [\r
+            [\r
+                "472e56b6.7ca748",\r
+                "cdc637e6.9f3b38",\r
+                "e83828f9.4c3c18",\r
+                "d63bd02e.54e15"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "cdc637e6.9f3b38",\r
+        "type": "record",\r
+        "name": "record",\r
+        "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",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 311.1904830932617,\r
+        "y": 720.4762163162231,\r
+        "z": "1a897865.ea2138",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "472e56b6.7ca748",\r
+        "type": "switchNode",\r
+        "name": "switch: vm length",\r
+        "xml": "<switch test=\"`$size_request-parameters.vm`\">",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 390.8571472167969,\r
+        "y": 188.25397968292236,\r
+        "z": "1a897865.ea2138",\r
+        "wires": [\r
+            [\r
+                "41b99a79.2b5924",\r
+                "bfb1338f.4d423",\r
+                "5f0b17e1.c8bef8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "3c2ed556.185e5a",\r
+        "type": "for",\r
+        "name": "for: vm",\r
+        "xml": "<for index=\"j\" start=\"0\" end=\"`$size_request-parameters.vm`\" >",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 390.8571472167969,\r
+        "y": 324.14291858673096,\r
+        "z": "1a897865.ea2138",\r
+        "wires": [\r
+            [\r
+                "a3d1de4b.cf707"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "41b99a79.2b5924",\r
+        "type": "other",\r
+        "name": "outcome: Length=0",\r
+        "xml": "<outcome value='0'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 616.8572082519531,\r
+        "y": 147.25397205352783,\r
+        "z": "1a897865.ea2138",\r
+        "wires": [\r
+            [\r
+                "4ca41ead.07256"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "bfb1338f.4d423",\r
+        "type": "other",\r
+        "name": "outcome: NULL",\r
+        "xml": "<outcome value=''>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 606.8572082519531,\r
+        "y": 206.25397205352783,\r
+        "z": "1a897865.ea2138",\r
+        "wires": [\r
+            [\r
+                "4ca41ead.07256"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a3d1de4b.cf707",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 565.8572082519531,\r
+        "y": 325.14291858673096,\r
+        "z": "1a897865.ea2138",\r
+        "wires": [\r
+            [\r
+                "3f944a74.23cc16"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "4ca41ead.07256",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 810.8572082519531,\r
+        "y": 176.25397205352783,\r
+        "z": "1a897865.ea2138",\r
+        "wires": [\r
+            [\r
+                "71d48711.12d348",\r
+                "72842467.2acc7c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "73e1f668.6f9e88",\r
+        "type": "get-resource",\r
+        "name": "get-resource: A&AI Data for VNFC Name ",\r
+        "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",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1275.3572692871094,\r
+        "y": 682.365086555481,\r
+        "z": "1a897865.ea2138",\r
+        "wires": [\r
+            [\r
+                "45257d79.989894",\r
+                "69a31e4f.3f8db"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "71d48711.12d348",\r
+        "type": "record",\r
+        "name": "record",\r
+        "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",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1000.8572082519531,\r
+        "y": 157.25397205352783,\r
+        "z": "1a897865.ea2138",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "45257d79.989894",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1535.190544128418,\r
+        "y": 690.1428422927856,\r
+        "z": "1a897865.ea2138",\r
+        "wires": [\r
+            [\r
+                "92711585.e303d8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "92711585.e303d8",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1707.8571472167969,\r
+        "y": 690.1428575515747,\r
+        "z": "1a897865.ea2138",\r
+        "wires": [\r
+            [\r
+                "9c8c44f.58601b8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "4e1dcff8.2ca55",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1745.7378959655762,\r
+        "y": 896.9642629623413,\r
+        "z": "1a897865.ea2138",\r
+        "wires": [\r
+            [\r
+                "ce53bc18.81dc2"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ce53bc18.81dc2",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1898.1665878295898,\r
+        "y": 906.4642810821533,\r
+        "z": "1a897865.ea2138",\r
+        "wires": [\r
+            [\r
+                "ed9b4d64.3c06c",\r
+                "96ca3bdb.743588"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ed9b4d64.3c06c",\r
+        "type": "record",\r
+        "name": "record",\r
+        "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",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2077.5236587524414,\r
+        "y": 885.2500047683716,\r
+        "z": "1a897865.ea2138",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "96ca3bdb.743588",\r
+        "type": "set",\r
+        "name": "set: Append to aai error message",\r
+        "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`\"/>",\r
+        "comments": "",\r
+        "x": 2162.595115661621,\r
+        "y": 950.9286623001099,\r
+        "z": "1a897865.ea2138",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "ef4f5395.ae1c8",\r
+        "type": "for",\r
+        "name": "for: vm.vnfc",\r
+        "xml": "<for index=\"k\" start=\"0\" end=\"`$size_request-parameters.vm[$j].vnfc`\" >",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 901.0715255737305,\r
+        "y": 619.5714960098267,\r
+        "z": "1a897865.ea2138",\r
+        "wires": [\r
+            [\r
+                "48702be4.bdc704"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "48702be4.bdc704",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1086.3573303222656,\r
+        "y": 620.1428575515747,\r
+        "z": "1a897865.ea2138",\r
+        "wires": [\r
+            [\r
+                "96e67086.ec41",\r
+                "73e1f668.6f9e88"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "96e67086.ec41",\r
+        "type": "record",\r
+        "name": "record",\r
+        "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",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1271.3573303222656,\r
+        "y": 602.1428575515747,\r
+        "z": "1a897865.ea2138",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "5f0b17e1.c8bef8",\r
+        "type": "other",\r
+        "name": "outcome: Other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 408.8572082519531,\r
+        "y": 267.9206209182739,\r
+        "z": "1a897865.ea2138",\r
+        "wires": [\r
+            [\r
+                "cb247400.faf888"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "cb247400.faf888",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 585.8571472167969,\r
+        "y": 257.92062854766846,\r
+        "z": "1a897865.ea2138",\r
+        "wires": [\r
+            [\r
+                "3c2ed556.185e5a"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "1a18dba4.815f24",\r
+        "type": "switchNode",\r
+        "name": "switch: vnfc length",\r
+        "xml": "<switch test=\"`$size_request-parameters.vm[$j].vnfc`\">",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 730.2144012451172,\r
+        "y": 482.7142724990845,\r
+        "z": "1a897865.ea2138",\r
+        "wires": [\r
+            [\r
+                "f408e448.dc6e18",\r
+                "784e5cc1.2e9ae4",\r
+                "41c73c7f.eb83b4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f408e448.dc6e18",\r
+        "type": "other",\r
+        "name": "outcome: Length=0",\r
+        "xml": "<outcome value='0'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1038.3573303222656,\r
+        "y": 470.1428575515747,\r
+        "z": "1a897865.ea2138",\r
+        "wires": [\r
+            [\r
+                "2f7e6d3f.0ff402"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "784e5cc1.2e9ae4",\r
+        "type": "other",\r
+        "name": "outcome: NULL",\r
+        "xml": "<outcome value=''>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1025.3573303222656,\r
+        "y": 508.1428575515747,\r
+        "z": "1a897865.ea2138",\r
+        "wires": [\r
+            [\r
+                "2f7e6d3f.0ff402"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "41c73c7f.eb83b4",\r
+        "type": "other",\r
+        "name": "outcome: Other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1028.3573303222656,\r
+        "y": 560.1428575515747,\r
+        "z": "1a897865.ea2138",\r
+        "wires": [\r
+            [\r
+                "f3114c5c.74ffd"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "2f7e6d3f.0ff402",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1259.3573913574219,\r
+        "y": 498.1428575515747,\r
+        "z": "1a897865.ea2138",\r
+        "wires": [\r
+            [\r
+                "758e272d.4dae48",\r
+                "dfe77560.cb9aa8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "758e272d.4dae48",\r
+        "type": "record",\r
+        "name": "record",\r
+        "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",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1451.3573913574219,\r
+        "y": 464.1428575515747,\r
+        "z": "1a897865.ea2138",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "f3114c5c.74ffd",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 689.3572692871094,\r
+        "y": 620.1428575515747,\r
+        "z": "1a897865.ea2138",\r
+        "wires": [\r
+            [\r
+                "ef4f5395.ae1c8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "3f944a74.23cc16",\r
+        "type": "get-resource",\r
+        "name": "get-resource: A&AI Data for VM Name",\r
+        "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",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 839.0238342285156,\r
+        "y": 327.92062854766846,\r
+        "z": "1a897865.ea2138",\r
+        "wires": [\r
+            [\r
+                "3a9fb426.04912c",\r
+                "759b7530.046e6c",\r
+                "76029387.b595ec"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "3a9fb426.04912c",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1100.0238952636719,\r
+        "y": 288.92062854766846,\r
+        "z": "1a897865.ea2138",\r
+        "wires": [\r
+            [\r
+                "5afa94ad.bfe59c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "759b7530.046e6c",\r
+        "type": "failure",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1109.0238952636719,\r
+        "y": 339.92062854766846,\r
+        "z": "1a897865.ea2138",\r
+        "wires": [\r
+            [\r
+                "5afa94ad.bfe59c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "76029387.b595ec",\r
+        "type": "failure",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1085.8571472167969,\r
+        "y": 401.1428575515747,\r
+        "z": "1a897865.ea2138",\r
+        "wires": [\r
+            [\r
+                "5cd181d8.d8e65"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "5afa94ad.bfe59c",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1291.0238952636719,\r
+        "y": 314.92062854766846,\r
+        "z": "1a897865.ea2138",\r
+        "wires": [\r
+            [\r
+                "e35a39ff.9a6908"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e35a39ff.9a6908",\r
+        "type": "set",\r
+        "name": "set: Append to aai-error message",\r
+        "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`\"/>",\r
+        "comments": "",\r
+        "x": 1564.0238952636719,\r
+        "y": 319.92062854766846,\r
+        "z": "1a897865.ea2138",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "72842467.2acc7c",\r
+        "type": "set",\r
+        "name": "set: Append to aai-error message",\r
+        "xml": "<set>\n\t  <parameter name=\"aai-error-message\" value=\"`'VM Info not found in request.' + $aai-error-message`\"/>",\r
+        "comments": "",\r
+        "x": 1081.0238342285156,\r
+        "y": 202.92062854766846,\r
+        "z": "1a897865.ea2138",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "dfe77560.cb9aa8",\r
+        "type": "set",\r
+        "name": "set: Append to aai-error message",\r
+        "xml": "<set>\n\t  <parameter name=\"aai-error-message\" value=\"`'VNFC Info not found in request.' + $aai-error-message`\"/>",\r
+        "comments": "",\r
+        "x": 1531.5240173339844,\r
+        "y": 525.1428575515747,\r
+        "z": "1a897865.ea2138",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "e83828f9.4c3c18",\r
+        "type": "switchNode",\r
+        "name": "switch: aai-error-message",\r
+        "xml": "<switch test=\"`$aai-error-message`\">",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 237.02383422851562,\r
+        "y": 845.9206056594849,\r
+        "z": "1a897865.ea2138",\r
+        "wires": [\r
+            [\r
+                "aed33c7.e9169c",\r
+                "7daf802f.66582"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "aed33c7.e9169c",\r
+        "type": "other",\r
+        "name": "outcome: not populated",\r
+        "xml": "<outcome value=''>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 510.0238342285156,\r
+        "y": 789.9206056594849,\r
+        "z": "1a897865.ea2138",\r
+        "wires": [\r
+            [\r
+                "555ab55e.5384ac"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "555ab55e.5384ac",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 714.0238342285156,\r
+        "y": 789.9206056594849,\r
+        "z": "1a897865.ea2138",\r
+        "wires": [\r
+            [\r
+                "8389b454.ffde38"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "7daf802f.66582",\r
+        "type": "other",\r
+        "name": "outcome: Other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 479.0238342285156,\r
+        "y": 891.9206056594849,\r
+        "z": "1a897865.ea2138",\r
+        "wires": [\r
+            [\r
+                "e996926c.6f5ec"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e996926c.6f5ec",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 697.0238342285156,\r
+        "y": 891.9206056594849,\r
+        "z": "1a897865.ea2138",\r
+        "wires": [\r
+            [\r
+                "83214261.6da0f"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "8389b454.ffde38",\r
+        "type": "returnSuccess",\r
+        "name": "return success",\r
+        "xml": "<return status='success'>\n\n",\r
+        "comments": "",\r
+        "x": 896.0238342285156,\r
+        "y": 790.9206056594849,\r
+        "z": "1a897865.ea2138",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "83214261.6da0f",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n<parameter name=\"dcae-error-message\" value=\"`$dcae-error-message + $aai-error-message` \"/>\n\n",\r
+        "comments": "",\r
+        "x": 901.0238265991211,\r
+        "y": 895.2540159225464,\r
+        "z": "1a897865.ea2138",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "d63bd02e.54e15",\r
+        "type": "set",\r
+        "name": "set prov-status and orch-status",\r
+        "xml": "<set>\n<parameter name=\"tmp.aai-prov-status\" value=\"NVTPROV\" />\n\t<parameter name=\"tmp.aai-orch-status\" value=\"CONFIGURED\" />\n",\r
+        "comments": "",\r
+        "x": 428.8571472167969,\r
+        "y": 89.1428575515747,\r
+        "z": "1a897865.ea2138",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "4ee1c404.52ef6c",\r
+        "type": "save",\r
+        "name": "save Put VNFC",\r
+        "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",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1579.6071319580078,\r
+        "y": 901.6428365707397,\r
+        "z": "1a897865.ea2138",\r
+        "wires": [\r
+            [\r
+                "4e1dcff8.2ca55",\r
+                "86d99a42.6151c8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9c8c44f.58601b8",\r
+        "type": "call",\r
+        "name": "call: GetVfModuleInfo",\r
+        "xml": "<call module=\"APPC\" rpc=\"GetVfModuleInfo\" mode=\"sync\">",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1136.357192993164,\r
+        "y": 777.8095331192017,\r
+        "z": "1a897865.ea2138",\r
+        "wires": [\r
+            [\r
+                "afceb7d7.f96e38",\r
+                "e9a85b53.c990b8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "afceb7d7.f96e38",\r
+        "type": "failure",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1135.3571472167969,\r
+        "y": 906.1428575515747,\r
+        "z": "1a897865.ea2138",\r
+        "wires": [\r
+            [\r
+                "a06012c.2a0acf"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a06012c.2a0acf",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1380.8571166992188,\r
+        "y": 899.5595579147339,\r
+        "z": "1a897865.ea2138",\r
+        "wires": [\r
+            [\r
+                "4ee1c404.52ef6c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "5cd181d8.d8e65",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1266.8571472167969,\r
+        "y": 402.1428575515747,\r
+        "z": "1a897865.ea2138",\r
+        "wires": [\r
+            [\r
+                "1a18dba4.815f24"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e9a85b53.c990b8",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1354.8571472167969,\r
+        "y": 775.1428575515747,\r
+        "z": "1a897865.ea2138",\r
+        "wires": [\r
+            [\r
+                "464a5da.0ae04a4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "25620711.cea6c8",\r
+        "type": "switchNode",\r
+        "name": "switch: tmp.vf-module-id",\r
+        "xml": "<switch test=\"`$tmp.vf-module-id`\">",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1769.8571472167969,\r
+        "y": 776.1428575515747,\r
+        "z": "1a897865.ea2138",\r
+        "wires": [\r
+            [\r
+                "effb01d2.8a5f3",\r
+                "661b5fe1.d4017"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "464a5da.0ae04a4",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1530.8571472167969,\r
+        "y": 774.1428575515747,\r
+        "z": "1a897865.ea2138",\r
+        "wires": [\r
+            [\r
+                "25620711.cea6c8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "effb01d2.8a5f3",\r
+        "type": "outcome",\r
+        "name": "NULL",\r
+        "xml": "<outcome value=''>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1990.8571472167969,\r
+        "y": 772.1428575515747,\r
+        "z": "1a897865.ea2138",\r
+        "wires": [\r
+            [\r
+                "9bc0de60.5fa72"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9bc0de60.5fa72",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2145.857147216797,\r
+        "y": 773.1428575515747,\r
+        "z": "1a897865.ea2138",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "661b5fe1.d4017",\r
+        "type": "outcome",\r
+        "name": "Other",\r
+        "xml": "<outcome value='Other'>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1987.8571472167969,\r
+        "y": 826.1428575515747,\r
+        "z": "1a897865.ea2138",\r
+        "wires": [\r
+            [\r
+                "a06012c.2a0acf"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "69a31e4f.3f8db",\r
+        "type": "failure",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1541.7857284545898,\r
+        "y": 627.5000076293945,\r
+        "z": "1a897865.ea2138",\r
+        "wires": [\r
+            [\r
+                "767da0a.31af36"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "767da0a.31af36",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1700.5357284545898,\r
+        "y": 627.5000076293945,\r
+        "z": "1a897865.ea2138",\r
+        "wires": [\r
+            [\r
+                "8d7a5064.9bb5c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "8d7a5064.9bb5c",\r
+        "type": "get-resource",\r
+        "name": "update: A&AI Data for VNFC status update",\r
+        "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",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1978.0357360839844,\r
+        "y": 627.5000076293945,\r
+        "z": "1a897865.ea2138",\r
+        "wires": [\r
+            [\r
+                "8c17bc0f.cb94b",\r
+                "b9264b68.395fb8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "8c17bc0f.cb94b",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2264.535858154297,\r
+        "y": 604.7500123977661,\r
+        "z": "1a897865.ea2138",\r
+        "wires": [\r
+            [\r
+                "40ca8b7c.888974"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "40ca8b7c.888974",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2416.5357055664062,\r
+        "y": 621.9999990463257,\r
+        "z": "1a897865.ea2138",\r
+        "wires": [\r
+            [\r
+                "54023dc6.d78444",\r
+                "bb406758.d3b448"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "54023dc6.d78444",\r
+        "type": "record",\r
+        "name": "record",\r
+        "xml": "<record plugin=\"onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"info\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"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",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2610.5357055664062,\r
+        "y": 603.9999990463257,\r
+        "z": "1a897865.ea2138",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "bb406758.d3b448",\r
+        "type": "set",\r
+        "name": "set: Append to aai error message",\r
+        "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`\"/>",\r
+        "comments": "",\r
+        "x": 2692.035743713379,\r
+        "y": 665.7500085830688,\r
+        "z": "1a897865.ea2138",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "b9264b68.395fb8",\r
+        "type": "failure",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2250.1190338134766,\r
+        "y": 700.4166860580444,\r
+        "z": "1a897865.ea2138",\r
+        "wires": [\r
+            [\r
+                "a053cddc.ba766"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a053cddc.ba766",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2416.369285583496,\r
+        "y": 704.1667060852051,\r
+        "z": "1a897865.ea2138",\r
+        "wires": [\r
+            [\r
+                "459dcac6.66f124"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "459dcac6.66f124",\r
+        "type": "record",\r
+        "name": "record",\r
+        "xml": "<record plugin=\"onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"info\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"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",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2594.2857055664062,\r
+        "y": 712.4999990463257,\r
+        "z": "1a897865.ea2138",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "86d99a42.6151c8",\r
+        "type": "failure",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1771.0954971313477,\r
+        "y": 1015.5238370895386,\r
+        "z": "1a897865.ea2138",\r
+        "wires": [\r
+            [\r
+                "2f17e022.67191"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "2f17e022.67191",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1941.9880828857422,\r
+        "y": 1016.476149559021,\r
+        "z": "1a897865.ea2138",\r
+        "wires": [\r
+            [\r
+                "e97bc483.0b2fd8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e97bc483.0b2fd8",\r
+        "type": "record",\r
+        "name": "record",\r
+        "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",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2127.5237770080566,\r
+        "y": 1014.8095026016235,\r
+        "z": "1a897865.ea2138",\r
+        "wires": [\r
+            []\r
+        ]\r
+    }\r
+]
\ No newline at end of file
index 2f2a1c2..42eb0a8 100644 (file)
@@ -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":[[]]}]
+[\r
+    {\r
+        "id": "c69cd5c6.8eaf98",\r
+        "type": "service-logic",\r
+        "name": "APPC 4.0.0",\r
+        "module": "APPC",\r
+        "version": "4.0.0",\r
+        "comments": "",\r
+        "xml": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='APPC' version='4.0.0'>",\r
+        "outputs": 1,\r
+        "x": 265,\r
+        "y": 43,\r
+        "z": "fc522b47.df72a8",\r
+        "wires": [\r
+            [\r
+                "b1be4c4.c4d55b"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b15f51d0.e9644",\r
+        "type": "dgstart",\r
+        "name": "DGSTART",\r
+        "outputs": 1,\r
+        "x": 110.83331298828125,\r
+        "y": 41.333343505859375,\r
+        "z": "fc522b47.df72a8",\r
+        "wires": [\r
+            [\r
+                "c69cd5c6.8eaf98"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b1be4c4.c4d55b",\r
+        "type": "method",\r
+        "name": "method UpdateAaiforReferenceData",\r
+        "xml": "<method rpc='UpdateAaiforReferenceData' mode='sync'>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 523.333381652832,\r
+        "y": 41.66666507720947,\r
+        "z": "fc522b47.df72a8",\r
+        "wires": [\r
+            [\r
+                "825cd02b.13654"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "825cd02b.13654",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 122.00000762939453,\r
+        "y": 221.00000190734863,\r
+        "z": "fc522b47.df72a8",\r
+        "wires": [\r
+            [\r
+                "b0c09c76.678a4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "7b50f281.3bd31c",\r
+        "type": "execute",\r
+        "name": "execute addVnfcs",\r
+        "xml": "<execute plugin=\"org.onap.appc.aai.client.node.AAIResourceNode\" method=\"addVnfcs\">\n<parameter name=\"responsePrefix\" value=\"tmp.vnfInfo\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 804.4722518920898,\r
+        "y": 309.9166955947876,\r
+        "z": "fc522b47.df72a8",\r
+        "wires": [\r
+            [\r
+                "6923ea4a.854004"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "6923ea4a.854004",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 998.4166717529297,\r
+        "y": 311.6666555404663,\r
+        "z": "fc522b47.df72a8",\r
+        "wires": [\r
+            [\r
+                "57336ac3.2f76c4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "57336ac3.2f76c4",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1200.9166717529297,\r
+        "y": 301.1389045715332,\r
+        "z": "fc522b47.df72a8",\r
+        "wires": [\r
+            [\r
+                "a0914fb9.6aa8d"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a0914fb9.6aa8d",\r
+        "type": "set",\r
+        "name": "set:  dcae-error message",\r
+        "xml": "<set>\n <parameter name=\"dcae-error-message\" value=\"`$dcae-error-message + $tmp.vnfInfo.error-message` \"/>",\r
+        "comments": "",\r
+        "x": 1446.0554962158203,\r
+        "y": 303.22223472595215,\r
+        "z": "fc522b47.df72a8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "b0c09c76.678a4",\r
+        "type": "execute",\r
+        "name": "execute getVnfcReference",\r
+        "xml": "<execute plugin=\"org.onap.appc.data.services.node.ConfigResourceNode\" method=\"getVnfcReference\">\n<parameter name=\"responsePrefix\" value=\"vnfcReference[]\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 371.2777862548828,\r
+        "y": 218.80553340911865,\r
+        "z": "fc522b47.df72a8",\r
+        "wires": [\r
+            [\r
+                "c7965317.f93b8",\r
+                "f5513545.9ebe58",\r
+                "4e0097d1.637198"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c7965317.f93b8",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 604,\r
+        "y": 131.66666412353516,\r
+        "z": "fc522b47.df72a8",\r
+        "wires": [\r
+            [\r
+                "b2bfe106.18886"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f5513545.9ebe58",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 598,\r
+        "y": 175.66666412353516,\r
+        "z": "fc522b47.df72a8",\r
+        "wires": [\r
+            [\r
+                "195d6b48.f1dd15"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b2bfe106.18886",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 783,\r
+        "y": 113.66666412353516,\r
+        "z": "fc522b47.df72a8",\r
+        "wires": [\r
+            [\r
+                "509bacca.15cd24"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "195d6b48.f1dd15",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 767,\r
+        "y": 166.66666412353516,\r
+        "z": "fc522b47.df72a8",\r
+        "wires": [\r
+            [\r
+                "db840e52.e49de"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "4e0097d1.637198",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 584,\r
+        "y": 230.66665649414062,\r
+        "z": "fc522b47.df72a8",\r
+        "wires": [\r
+            [\r
+                "58a9e06a.4fd7b"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "509bacca.15cd24",\r
+        "type": "set",\r
+        "name": "set:  dcae-error message",\r
+        "xml": "<set>\n <parameter name=\"dcae-error-message\" value=\"Unable to Update A&amp;AI. Unable to read vnfc-reference data \"/>",\r
+        "comments": "",\r
+        "x": 1016,\r
+        "y": 111.66666412353516,\r
+        "z": "fc522b47.df72a8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "db840e52.e49de",\r
+        "type": "set",\r
+        "name": "set:  dcae-error message",\r
+        "xml": "<set>\n <parameter name=\"dcae-error-message\" value=\"`'Unable to Update A&amp;AI. ' + $vnfc-reference[0].error-message` \"/>",\r
+        "comments": "",\r
+        "x": 1002,\r
+        "y": 170.66666412353516,\r
+        "z": "fc522b47.df72a8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "58a9e06a.4fd7b",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 729,\r
+        "y": 222.66666412353516,\r
+        "z": "fc522b47.df72a8",\r
+        "wires": [\r
+            [\r
+                "61838342.3eb0dc",\r
+                "7b50f281.3bd31c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "61838342.3eb0dc",\r
+        "type": "execute",\r
+        "name": "execute updateVnfVServer",\r
+        "xml": "<execute plugin=\"org.onap.appc.aai.client.node.AAIResourceNode\" method=\"updateVnfAndVServerStatus\">\n<parameter name=\"responsePrefix\" value=\"tmp.vnfInfo\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1021.5,\r
+        "y": 220.4166603088379,\r
+        "z": "fc522b47.df72a8",\r
+        "wires": [\r
+            [\r
+                "ba6a8b0c.35b0a8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ba6a8b0c.35b0a8",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1234.5000038146973,\r
+        "y": 221.16666221618652,\r
+        "z": "fc522b47.df72a8",\r
+        "wires": [\r
+            [\r
+                "adfe125f.70063"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "adfe125f.70063",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1386.2500076293945,\r
+        "y": 218.16666221618652,\r
+        "z": "fc522b47.df72a8",\r
+        "wires": [\r
+            [\r
+                "44dcf49d.ca985c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "44dcf49d.ca985c",\r
+        "type": "set",\r
+        "name": "set:  dcae-error message",\r
+        "xml": "<set>\n <parameter name=\"dcae-error-message\" value=\"`$tmp.vnfInfo.error-message` \"/>",\r
+        "comments": "",\r
+        "x": 1605.250015258789,\r
+        "y": 219.6666603088379,\r
+        "z": "fc522b47.df72a8",\r
+        "wires": []\r
+    }\r
+]
\ No newline at end of file
index c6195da..4e636f9 100644 (file)
-[
-    {
-        "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"
-    }
-]
+[\r
+    {\r
+        "id": "4c12a5c8.90ab7c",\r
+        "type": "dgstart",\r
+        "name": "DGSTART",\r
+        "outputs": 1,\r
+        "x": 179,\r
+        "y": 322,\r
+        "z": "3b333f3b.e62d",\r
+        "wires": [\r
+            [\r
+                "3f8e186b.788b58"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "3f8e186b.788b58",\r
+        "type": "service-logic",\r
+        "name": "APPC 2.0.0",\r
+        "module": "APPC",\r
+        "version": "2.0.0",\r
+        "comments": "",\r
+        "xml": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='APPC' version='2.0.0'>",\r
+        "outputs": 1,\r
+        "x": 362.0001220703125,\r
+        "y": 322.5666809082031,\r
+        "z": "3b333f3b.e62d",\r
+        "wires": [\r
+            [\r
+                "e2b2f3.05197d1"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e2b2f3.05197d1",\r
+        "type": "method",\r
+        "name": "VM_Start",\r
+        "xml": "<method rpc='VM_Start' mode='sync'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 311.75006103515625,\r
+        "y": 406.816650390625,\r
+        "z": "3b333f3b.e62d",\r
+        "wires": [\r
+            [\r
+                "9c797c4b.fc3f8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9c797c4b.fc3f8",\r
+        "type": "execute",\r
+        "name": "Start",\r
+        "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`\" />",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 496,\r
+        "y": 406,\r
+        "z": "3b333f3b.e62d",\r
+        "wires": [\r
+            [\r
+                "8ec37e81.db48b",\r
+                "6a2f0d5b.f084e4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "6a2f0d5b.f084e4",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 675.9735107421875,\r
+        "y": 407.2143859863281,\r
+        "z": "3b333f3b.e62d",\r
+        "wires": [\r
+            [\r
+                "51fd4bef.090064"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "8ec37e81.db48b",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 670.6187744140625,\r
+        "y": 633.14306640625,\r
+        "z": "3b333f3b.e62d",\r
+        "wires": [\r
+            [\r
+                "8ccb55ea.a7c328"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "51fd4bef.090064",\r
+        "type": "switchNode",\r
+        "name": "STATUS",\r
+        "xml": "<switch test='`$START_STATUS`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 823,\r
+        "y": 407.0000305175781,\r
+        "z": "3b333f3b.e62d",\r
+        "wires": [\r
+            [\r
+                "8e71a1ab.2673b",\r
+                "9153a9b0.79c868"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "8e71a1ab.2673b",\r
+        "type": "other",\r
+        "name": "SUCCESS",\r
+        "xml": "<outcome value='SUCCESS'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 997.7144775390625,\r
+        "y": 405.4286193847656,\r
+        "z": "3b333f3b.e62d",\r
+        "wires": [\r
+            [\r
+                "218c4c31.746404"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9153a9b0.79c868",\r
+        "type": "other",\r
+        "name": "ERROR",\r
+        "xml": "<outcome value='ERROR'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 998.28564453125,\r
+        "y": 474.71435546875,\r
+        "z": "3b333f3b.e62d",\r
+        "wires": [\r
+            [\r
+                "d6c921e6.f062f"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "91055b26.4540f8",\r
+        "type": "returnSuccess",\r
+        "name": "return success",\r
+        "xml": "<return status='success'>",\r
+        "comments": "",\r
+        "x": 1355.6666259765625,\r
+        "y": 452,\r
+        "z": "3b333f3b.e62d",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "be1d8c86.5510c",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n",\r
+        "comments": "",\r
+        "x": 1364.8734130859375,\r
+        "y": 680.4286499023438,\r
+        "z": "3b333f3b.e62d",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "55a5d83c.b56328",\r
+        "type": "set",\r
+        "name": "set success code and message",\r
+        "xml": "<set>\n<parameter name='error-code' value='400' />\n<parameter name='error-message' value='Success' />\n",\r
+        "comments": "",\r
+        "x": 1404,\r
+        "y": 408,\r
+        "z": "3b333f3b.e62d",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "11e66810.229818",\r
+        "type": "set",\r
+        "name": "set error code and message",\r
+        "xml": "<set>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value='Start VM failed' />\n",\r
+        "comments": "",\r
+        "x": 1117,\r
+        "y": 602,\r
+        "z": "3b333f3b.e62d",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "18420693.2d9f89",\r
+        "type": "set",\r
+        "name": "set error code and message",\r
+        "xml": "<set>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value='Start VM status is error' />\n",\r
+        "comments": "",\r
+        "x": 1398,\r
+        "y": 507,\r
+        "z": "3b333f3b.e62d",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "218c4c31.746404",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1161,\r
+        "y": 407,\r
+        "z": "3b333f3b.e62d",\r
+        "wires": [\r
+            [\r
+                "55a5d83c.b56328",\r
+                "91055b26.4540f8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d6c921e6.f062f",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1154,\r
+        "y": 475,\r
+        "z": "3b333f3b.e62d",\r
+        "wires": [\r
+            [\r
+                "18420693.2d9f89",\r
+                "be1d8c86.5510c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "8ccb55ea.a7c328",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 873,\r
+        "y": 639,\r
+        "z": "3b333f3b.e62d",\r
+        "wires": [\r
+            [\r
+                "11e66810.229818",\r
+                "be1d8c86.5510c"\r
+            ]\r
+        ]\r
+    }\r
+]
\ No newline at end of file
index fd93d00..0ea358a 100644 (file)
-[
-    {
-        "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"
-    }
-]
+[\r
+    {\r
+        "id": "a36507bd.9411a8",\r
+        "type": "dgstart",\r
+        "name": "DGSTART",\r
+        "outputs": 1,\r
+        "x": 129,\r
+        "y": 66,\r
+        "z": "602aa70d.a192e8",\r
+        "wires": [\r
+            [\r
+                "c156b4fa.66d0a8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c156b4fa.66d0a8",\r
+        "type": "service-logic",\r
+        "name": "APPC 2.0.0",\r
+        "module": "APPC",\r
+        "version": "2.0.0",\r
+        "comments": "",\r
+        "xml": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='APPC' version='2.0.0'>",\r
+        "outputs": 1,\r
+        "x": 306.0000915527344,\r
+        "y": 65.5666732788086,\r
+        "z": "602aa70d.a192e8",\r
+        "wires": [\r
+            [\r
+                "6c3d7cf.b631784"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "6c3d7cf.b631784",\r
+        "type": "method",\r
+        "name": "VM_Stop",\r
+        "xml": "<method rpc='VM_Stop' mode='sync'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 248.46435165405273,\r
+        "y": 157.3880786895752,\r
+        "z": "602aa70d.a192e8",\r
+        "wires": [\r
+            [\r
+                "8896d091.49bc2"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "8896d091.49bc2",\r
+        "type": "execute",\r
+        "name": "Stop",\r
+        "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",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 409,\r
+        "y": 158.50000762939453,\r
+        "z": "602aa70d.a192e8",\r
+        "wires": [\r
+            [\r
+                "985b942b.ec64e8",\r
+                "34939973.cf1fd6"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "34939973.cf1fd6",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 582.1170654296875,\r
+        "y": 159.4286117553711,\r
+        "z": "602aa70d.a192e8",\r
+        "wires": [\r
+            [\r
+                "f35d3b53.86e768"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f35d3b53.86e768",\r
+        "type": "switchNode",\r
+        "name": "switch STATUS",\r
+        "xml": "<switch test='`$STOP_STATUS`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 764.9102783203125,\r
+        "y": 158.98406219482422,\r
+        "z": "602aa70d.a192e8",\r
+        "wires": [\r
+            [\r
+                "885dbd51.87507",\r
+                "10f2aa34.ea80d6"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "985b942b.ec64e8",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 589.9047241210938,\r
+        "y": 342.07161712646484,\r
+        "z": "602aa70d.a192e8",\r
+        "wires": [\r
+            [\r
+                "28dfcdd7.ba3e32"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9d1c57f6.77ce08",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n",\r
+        "comments": "",\r
+        "x": 1315,\r
+        "y": 408.7500228881836,\r
+        "z": "602aa70d.a192e8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "885dbd51.87507",\r
+        "type": "success",\r
+        "name": "SUCCESS",\r
+        "xml": "<outcome value='SUCCESS'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 958.5,\r
+        "y": 133.5,\r
+        "z": "602aa70d.a192e8",\r
+        "wires": [\r
+            [\r
+                "8b1c6f1d.bf4c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "10f2aa34.ea80d6",\r
+        "type": "other",\r
+        "name": "ERROR",\r
+        "xml": "<outcome value='ERROR'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 947.5713500976562,\r
+        "y": 205.0000457763672,\r
+        "z": "602aa70d.a192e8",\r
+        "wires": [\r
+            [\r
+                "149167fb.227158"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ec5b4ab9.b62488",\r
+        "type": "set",\r
+        "name": "set success code and message",\r
+        "xml": "<set>\n<parameter name='error-code' value='400' />\n<parameter name='error-message' value='Success' />\n",\r
+        "comments": "",\r
+        "x": 1361,\r
+        "y": 109.5666732788086,\r
+        "z": "602aa70d.a192e8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "fdfee58d.d86908",\r
+        "type": "returnSuccess",\r
+        "name": "return success",\r
+        "xml": "<return status='success'>\n",\r
+        "comments": "",\r
+        "x": 1316,\r
+        "y": 173.56666564941406,\r
+        "z": "602aa70d.a192e8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "149167fb.227158",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1119,\r
+        "y": 214.56666564941406,\r
+        "z": "602aa70d.a192e8",\r
+        "wires": [\r
+            [\r
+                "32f7f639.b0517a",\r
+                "9d1c57f6.77ce08"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "28dfcdd7.ba3e32",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 765,\r
+        "y": 341.5666732788086,\r
+        "z": "602aa70d.a192e8",\r
+        "wires": [\r
+            [\r
+                "dcf150a2.8fa62",\r
+                "9d1c57f6.77ce08"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "32f7f639.b0517a",\r
+        "type": "set",\r
+        "name": "set error code and message",\r
+        "xml": "<set>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value='Stop VM status is error' />\n",\r
+        "comments": "",\r
+        "x": 1345,\r
+        "y": 241.5666732788086,\r
+        "z": "602aa70d.a192e8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "dcf150a2.8fa62",\r
+        "type": "set",\r
+        "name": "set error code and message",\r
+        "xml": "<set>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value='Stop VM failed' />\n",\r
+        "comments": "",\r
+        "x": 1056,\r
+        "y": 309.5666732788086,\r
+        "z": "602aa70d.a192e8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "8b1c6f1d.bf4c",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1120,\r
+        "y": 142,\r
+        "z": "602aa70d.a192e8",\r
+        "wires": [\r
+            [\r
+                "ec5b4ab9.b62488",\r
+                "fdfee58d.d86908"\r
+            ]\r
+        ]\r
+    }\r
+]\r
index 5f3e718..4e26c44 100644 (file)
@@ -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"]]}]
+[\r
+    {\r
+        "id": "d048ba2a.84e2f8",\r
+        "type": "method",\r
+        "name": "ansible-adapter-1.0",\r
+        "xml": "<method rpc='ansible-adapter-1.0' mode='sync'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 477.6999816894531,\r
+        "y": 230.8833348751068,\r
+        "z": "7d7da29a.2b7398",\r
+        "wires": [\r
+            [\r
+                "13d8bcd3.33755f"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "750a91a2.96947",\r
+        "type": "service-logic",\r
+        "name": "APPC 2.0.1",\r
+        "module": "APPC",\r
+        "version": "2.0.1",\r
+        "comments": "",\r
+        "xml": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='APPC' version='2.0.1'>",\r
+        "outputs": 1,\r
+        "x": 268.6999816894531,\r
+        "y": 308.8833348751068,\r
+        "z": "7d7da29a.2b7398",\r
+        "wires": [\r
+            [\r
+                "d048ba2a.84e2f8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "53079a4f.559f84",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "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",\r
+        "comments": "",\r
+        "x": 1218.6999816894531,\r
+        "y": 669.8833348751068,\r
+        "z": "7d7da29a.2b7398",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "13d8bcd3.33755f",\r
+        "type": "execute",\r
+        "name": "execute",\r
+        "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",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 682.6999816894531,\r
+        "y": 228.8833348751068,\r
+        "z": "7d7da29a.2b7398",\r
+        "wires": [\r
+            [\r
+                "237110e5.33ae38",\r
+                "fe1ba4a5.cd6b68"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "30b13fff.531b44",\r
+        "type": "switchNode",\r
+        "name": "switch",\r
+        "xml": "<switch test=\"`$org.onap.appc.adapter.ansible.result.code`\">\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 472.6999816894531,\r
+        "y": 389.8833348751068,\r
+        "z": "7d7da29a.2b7398",\r
+        "wires": [\r
+            [\r
+                "f58c4f93.2bcb6",\r
+                "66fbd51d.685a14",\r
+                "c8a28d7.c69dd3"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f58c4f93.2bcb6",\r
+        "type": "other",\r
+        "name": "outcome",\r
+        "xml": "<outcome value='500'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 659.6999816894531,\r
+        "y": 389.8833348751068,\r
+        "z": "7d7da29a.2b7398",\r
+        "wires": [\r
+            [\r
+                "53079a4f.559f84"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "66fbd51d.685a14",\r
+        "type": "other",\r
+        "name": "outcome",\r
+        "xml": "<outcome value='100'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 296.6999816894531,\r
+        "y": 477.8833348751068,\r
+        "z": "7d7da29a.2b7398",\r
+        "wires": [\r
+            [\r
+                "daab3eeb.acc3e8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "daab3eeb.acc3e8",\r
+        "type": "execute",\r
+        "name": "execute",\r
+        "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",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 474.6999816894531,\r
+        "y": 476.8833348751068,\r
+        "z": "7d7da29a.2b7398",\r
+        "wires": [\r
+            [\r
+                "415101d2.f995cc",\r
+                "98312eaf.163de8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "237110e5.33ae38",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 936.6999816894531,\r
+        "y": 229.8833348751068,\r
+        "z": "7d7da29a.2b7398",\r
+        "wires": [\r
+            [\r
+                "53079a4f.559f84"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "fe1ba4a5.cd6b68",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 295.6999816894531,\r
+        "y": 390.8833348751068,\r
+        "z": "7d7da29a.2b7398",\r
+        "wires": [\r
+            [\r
+                "30b13fff.531b44"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "415101d2.f995cc",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 664.6999816894531,\r
+        "y": 477.8833348751068,\r
+        "z": "7d7da29a.2b7398",\r
+        "wires": [\r
+            [\r
+                "53079a4f.559f84"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c8a28d7.c69dd3",\r
+        "type": "other",\r
+        "name": "outcome",\r
+        "xml": "<outcome value='101'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 283.6999816894531,\r
+        "y": 670.8833348751068,\r
+        "z": "7d7da29a.2b7398",\r
+        "wires": [\r
+            [\r
+                "53079a4f.559f84"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "98312eaf.163de8",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 662.6999816894531,\r
+        "y": 546.8833348751068,\r
+        "z": "7d7da29a.2b7398",\r
+        "wires": [\r
+            [\r
+                "2c831d15.81b10a"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "2c831d15.81b10a",\r
+        "type": "returnSuccess",\r
+        "name": "return success",\r
+        "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",\r
+        "comments": "",\r
+        "x": 814.6999816894531,\r
+        "y": 621.8833348751068,\r
+        "z": "7d7da29a.2b7398",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "f6dd55b0.6ce568",\r
+        "type": "dgstart",\r
+        "name": "DGSTART",\r
+        "outputs": 1,\r
+        "x": 246.69998168945312,\r
+        "y": 208.8833348751068,\r
+        "z": "7d7da29a.2b7398",\r
+        "wires": [\r
+            [\r
+                "750a91a2.96947"\r
+            ]\r
+        ]\r
+    }\r
+]\r
index 90ad59d..3540df9 100644 (file)
@@ -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":[[]]}]
+[\r
+    {\r
+        "id": "268bc833.2bcdc",\r
+        "type": "set",\r
+        "name": "chef server set",\r
+        "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",\r
+        "comments": "",\r
+        "x": 365.45452880859375,\r
+        "y": 236.4545669555664,\r
+        "z": "32a8c078.80f678",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "4d9e5931.ad8ff8",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 180,\r
+        "y": 483,\r
+        "z": "32a8c078.80f678",\r
+        "wires": [\r
+            [\r
+                "1d0bb40c.e8fb94",\r
+                "f71077c7.09c62"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "1d0bb40c.e8fb94",\r
+        "type": "execute",\r
+        "name": "Environment",\r
+        "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`'/>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 310.3636474609375,\r
+        "y": 392.2727355957031,\r
+        "z": "32a8c078.80f678",\r
+        "wires": [\r
+            [\r
+                "ad005deb.efd5d",\r
+                "61c37e7b.1c8998"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "27520470.189854",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 737.3636169433594,\r
+        "y": 438.727294921875,\r
+        "z": "32a8c078.80f678",\r
+        "wires": [\r
+            [\r
+                "1758c3a6.d6b804",\r
+                "265e585e.2c59a"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "1758c3a6.d6b804",\r
+        "type": "execute",\r
+        "name": "VnfcNodeobjects",\r
+        "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`'/>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 860.54541015625,\r
+        "y": 359,\r
+        "z": "32a8c078.80f678",\r
+        "wires": [\r
+            [\r
+                "f2f302f1.564ef8",\r
+                "2e22f32b.8ad61c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "265e585e.2c59a",\r
+        "type": "switchNode",\r
+        "name": "switch",\r
+        "xml": "<switch test='`$chefServerResult.code`'>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 922.54541015625,\r
+        "y": 475,\r
+        "z": "32a8c078.80f678",\r
+        "wires": [\r
+            [\r
+                "620c80b3.7f0078",\r
+                "ba92b262.54ae5"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ba92b262.54ae5",\r
+        "type": "other",\r
+        "name": "outcome",\r
+        "xml": "<outcome value='200'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1212.54541015625,\r
+        "y": 452,\r
+        "z": "32a8c078.80f678",\r
+        "wires": [\r
+            [\r
+                "a57b4dcf.995eb"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "620c80b3.7f0078",\r
+        "type": "other",\r
+        "name": "outcome",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1122.54541015625,\r
+        "y": 585.0000038146973,\r
+        "z": "32a8c078.80f678",\r
+        "wires": [\r
+            [\r
+                "f9860af0.5410b"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "992cf3e0.82ef5",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1642.636474609375,\r
+        "y": 197.09091186523438,\r
+        "z": "32a8c078.80f678",\r
+        "wires": [\r
+            [\r
+                "acec1dfa.289128",\r
+                "60a0a433.bb9fbc"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "928db1c5.f159f",\r
+        "type": "execute",\r
+        "name": "checkPushJob",\r
+        "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`'/>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2304.908920288086,\r
+        "y": 727.9999265670776,\r
+        "z": "32a8c078.80f678",\r
+        "wires": [\r
+            [\r
+                "17d66cb5.7d5913",\r
+                "4d99603b.eb0f6"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e8fad214.945f2",\r
+        "type": "other",\r
+        "name": "outcome",\r
+        "xml": "<outcome value='201'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1839.5453491210938,\r
+        "y": 579.181770324707,\r
+        "z": "32a8c078.80f678",\r
+        "wires": [\r
+            [\r
+                "1e453a5e.71d0ee"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "33acbf01.e38198",\r
+        "type": "other",\r
+        "name": "outcome",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1842.6362609863281,\r
+        "y": 424.9090461730957,\r
+        "z": "32a8c078.80f678",\r
+        "wires": [\r
+            [\r
+                "1090a1de.22ce0e"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "60a0a433.bb9fbc",\r
+        "type": "switchNode",\r
+        "name": "switch",\r
+        "xml": "<switch test='`$chefServerResult.code`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1681.8181495666504,\r
+        "y": 484.54542541503906,\r
+        "z": "32a8c078.80f678",\r
+        "wires": [\r
+            [\r
+                "e8fad214.945f2",\r
+                "33acbf01.e38198"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "acec1dfa.289128",\r
+        "type": "execute",\r
+        "name": "pushJob",\r
+        "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`'/>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1823.727294921875,\r
+        "y": 179.6363525390625,\r
+        "z": "32a8c078.80f678",\r
+        "wires": [\r
+            [\r
+                "95f78902.da524",\r
+                "5bf3d0a7.3bf3c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "53dcbaea.726524",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 524,\r
+        "y": 587,\r
+        "z": "32a8c078.80f678",\r
+        "wires": [\r
+            [\r
+                "ee180522.96738"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c01fa581.5717c8",\r
+        "type": "other",\r
+        "name": "outcome",\r
+        "xml": "<outcome value='200'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 539,\r
+        "y": 438,\r
+        "z": "32a8c078.80f678",\r
+        "wires": [\r
+            [\r
+                "27520470.189854"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f71077c7.09c62",\r
+        "type": "switchNode",\r
+        "name": "switch",\r
+        "xml": "<switch test='`$chefServerResult.code`'>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 341.81817626953125,\r
+        "y": 632.5454711914062,\r
+        "z": "32a8c078.80f678",\r
+        "wires": [\r
+            [\r
+                "53dcbaea.726524",\r
+                "c01fa581.5717c8",\r
+                "8b0312ec.df07d"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f9860af0.5410b",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n<parameter name='error-code' value='200' />\n<parameter name='error-message' value='`$chefServerResult.message`' />\n",\r
+        "comments": "",\r
+        "x": 1296.54541015625,\r
+        "y": 591.0000038146973,\r
+        "z": "32a8c078.80f678",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "ee180522.96738",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n<parameter name='error-code' value='200' />\n<parameter name='error-message' value='`$chefServerResult.message`' />\n",\r
+        "comments": "",\r
+        "x": 748,\r
+        "y": 596,\r
+        "z": "32a8c078.80f678",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "8b0312ec.df07d",\r
+        "type": "other",\r
+        "name": "outcome",\r
+        "xml": "<outcome value='201'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 539.9090576171875,\r
+        "y": 507.272705078125,\r
+        "z": "32a8c078.80f678",\r
+        "wires": [\r
+            [\r
+                "27520470.189854"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d619807.336528",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 55,\r
+        "y": 336,\r
+        "z": "32a8c078.80f678",\r
+        "wires": [\r
+            [\r
+                "268bc833.2bcdc",\r
+                "4d9e5931.ad8ff8",\r
+                "2b36d220.581866"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "1090a1de.22ce0e",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n<parameter name='error-code' value='200' />\n<parameter name='error-message' value='`$chefServerResult.message`' />\n",\r
+        "comments": "",\r
+        "x": 2045,\r
+        "y": 424,\r
+        "z": "32a8c078.80f678",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "1e453a5e.71d0ee",\r
+        "type": "switchNode",\r
+        "name": "switch",\r
+        "xml": "<switch test='`$CallbackCapable`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1915,\r
+        "y": 686,\r
+        "z": "32a8c078.80f678",\r
+        "wires": [\r
+            [\r
+                "cf8d37e5.b934e",\r
+                "3ae83601.4a5f12"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "3ae83601.4a5f12",\r
+        "type": "other",\r
+        "name": "outcome",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2076,\r
+        "y": 739,\r
+        "z": "32a8c078.80f678",\r
+        "wires": [\r
+            [\r
+                "6a3ee507.aff7e4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "cf8d37e5.b934e",\r
+        "type": "outcomeTrue",\r
+        "name": "outcome",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2079.0909118652344,\r
+        "y": 584.7272758483887,\r
+        "z": "32a8c078.80f678",\r
+        "wires": [\r
+            [\r
+                "9739af2a.8fc628"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9739af2a.8fc628",\r
+        "type": "returnSuccess",\r
+        "name": "return success",\r
+        "xml": "<return status='success'>\n<parameter name='output.status.code' value='400' />\n<parameter name='output.status.message' value='chef success, waiting for callback' />",\r
+        "comments": "",\r
+        "x": 2262,\r
+        "y": 586,\r
+        "z": "32a8c078.80f678",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "d70d7372.ad968",\r
+        "type": "other",\r
+        "name": "outcome",\r
+        "xml": "<outcome value='200'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2413,\r
+        "y": 983,\r
+        "z": "32a8c078.80f678",\r
+        "wires": [\r
+            [\r
+                "53263d86.6d04a4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "5751e659.30435",\r
+        "type": "other",\r
+        "name": "outcome",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2416.0909118652344,\r
+        "y": 828.7272758483887,\r
+        "z": "32a8c078.80f678",\r
+        "wires": [\r
+            [\r
+                "a6cd4b1f.6b3ca"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b9442234.fd6d1",\r
+        "type": "switchNode",\r
+        "name": "switch",\r
+        "xml": "<switch test='`$chefServerResult.code`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2255.2728004455566,\r
+        "y": 888.363655090332,\r
+        "z": "32a8c078.80f678",\r
+        "wires": [\r
+            [\r
+                "d70d7372.ad968",\r
+                "5751e659.30435"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a6cd4b1f.6b3ca",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n<parameter name='error-code' value='200' />\n<parameter name='error-message' value='`$chefServerResult.message`' />",\r
+        "comments": "",\r
+        "x": 2635.363525390625,\r
+        "y": 780,\r
+        "z": "32a8c078.80f678",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "81b685cf.efce7",\r
+        "type": "execute",\r
+        "name": "fetchResults",\r
+        "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`'/>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2919.181640625,\r
+        "y": 1201.181884765625,\r
+        "z": "32a8c078.80f678",\r
+        "wires": [\r
+            [\r
+                "7743de59.6d45b8",\r
+                "90810365.5c9bb"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "6a3ee507.aff7e4",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2078.9999999999995,\r
+        "y": 841.9999999999998,\r
+        "z": "32a8c078.80f678",\r
+        "wires": [\r
+            [\r
+                "928db1c5.f159f",\r
+                "b9442234.fd6d1"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "402bf5e7.3a9a94",\r
+        "type": "switchNode",\r
+        "name": "switch",\r
+        "xml": "<switch test='`$chefServerResult.code`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2927.0000000000005,\r
+        "y": 1364.0000000000002,\r
+        "z": "32a8c078.80f678",\r
+        "wires": [\r
+            [\r
+                "fe787c7a.590a6",\r
+                "50de5985.88821"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "50de5985.88821",\r
+        "type": "other",\r
+        "name": "outcome",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3200.0909156799316,\r
+        "y": 1481.000029563904,\r
+        "z": "32a8c078.80f678",\r
+        "wires": [\r
+            [\r
+                "b155dcd5.a2f798"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "fe787c7a.590a6",\r
+        "type": "other",\r
+        "name": "outcome",\r
+        "xml": "<outcome value='200'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3201.181884765625,\r
+        "y": 1328.7272949218752,\r
+        "z": "32a8c078.80f678",\r
+        "wires": [\r
+            [\r
+                "f0fee5cd.9a1e1"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f0fee5cd.9a1e1",\r
+        "type": "returnSuccess",\r
+        "name": "return success",\r
+        "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`' />",\r
+        "comments": "",\r
+        "x": 3429.36376953125,\r
+        "y": 1329.4545898437502,\r
+        "z": "32a8c078.80f678",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "b155dcd5.a2f798",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n<parameter name='error-code' value='200' />\n<parameter name='error-message' value='`$chefServerResult.message`' />\n",\r
+        "comments": "",\r
+        "x": 3435.181884765625,\r
+        "y": 1489.7271728515625,\r
+        "z": "32a8c078.80f678",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "9b5759e0.664b4",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2777,\r
+        "y": 1284,\r
+        "z": "32a8c078.80f678",\r
+        "wires": [\r
+            [\r
+                "81b685cf.efce7",\r
+                "402bf5e7.3a9a94"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "53263d86.6d04a4",\r
+        "type": "switchNode",\r
+        "name": "switch",\r
+        "xml": "<switch test='`$GetOutputFlag`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2581,\r
+        "y": 1062,\r
+        "z": "32a8c078.80f678",\r
+        "wires": [\r
+            [\r
+                "1746d9ac.f7a566",\r
+                "a66d8da2.7302b8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a66d8da2.7302b8",\r
+        "type": "outcomeTrue",\r
+        "name": "outcome",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2780.0909156799316,\r
+        "y": 1119.0000295639038,\r
+        "z": "32a8c078.80f678",\r
+        "wires": [\r
+            [\r
+                "9b5759e0.664b4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "1746d9ac.f7a566",\r
+        "type": "other",\r
+        "name": "outcome",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2783.181827545166,\r
+        "y": 964.7273054122925,\r
+        "z": "32a8c078.80f678",\r
+        "wires": [\r
+            [\r
+                "81c2bb20.f42938"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "81c2bb20.f42938",\r
+        "type": "returnSuccess",\r
+        "name": "return success",\r
+        "xml": "<return status='success'>\n<parameter name='output.status.code' value='400' />\n<parameter name='output.status.message' value='`$chefServerResult.message`' />",\r
+        "comments": "",\r
+        "x": 2967.36376953125,\r
+        "y": 967.4545288085938,\r
+        "z": "32a8c078.80f678",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "8e99a54b.f8e3a8",\r
+        "type": "dgstart",\r
+        "name": "DGSTART",\r
+        "outputs": 1,\r
+        "x": 110,\r
+        "y": 79,\r
+        "z": "32a8c078.80f678",\r
+        "wires": [\r
+            [\r
+                "b8806b89.43add8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9c19b794.d4a098",\r
+        "type": "method",\r
+        "name": "chef",\r
+        "xml": "<method rpc='chef' mode='sync'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 88,\r
+        "y": 240,\r
+        "z": "32a8c078.80f678",\r
+        "wires": [\r
+            [\r
+                "d619807.336528"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a57b4dcf.995eb",\r
+        "type": "switchNode",\r
+        "name": "switch",\r
+        "xml": "<switch test='`$PushJobFlag`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1318,\r
+        "y": 289,\r
+        "z": "32a8c078.80f678",\r
+        "wires": [\r
+            [\r
+                "39db64f2.3ef97c",\r
+                "d6057cb7.d4b05"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d6057cb7.d4b05",\r
+        "type": "other",\r
+        "name": "outcome",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1438,\r
+        "y": 346,\r
+        "z": "32a8c078.80f678",\r
+        "wires": [\r
+            [\r
+                "7aab0708.492ae"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "39db64f2.3ef97c",\r
+        "type": "outcomeTrue",\r
+        "name": "outcome",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1441.0909118652344,\r
+        "y": 191.72727584838867,\r
+        "z": "32a8c078.80f678",\r
+        "wires": [\r
+            [\r
+                "992cf3e0.82ef5"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "7aab0708.492ae",\r
+        "type": "returnSuccess",\r
+        "name": "return success",\r
+        "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 ' />",\r
+        "comments": "",\r
+        "x": 1480,\r
+        "y": 466,\r
+        "z": "32a8c078.80f678",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "b8806b89.43add8",\r
+        "type": "service-logic",\r
+        "name": "APPC 3.0.0",\r
+        "module": "APPC",\r
+        "version": "3.0.0",\r
+        "comments": "",\r
+        "xml": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='APPC' version='3.0.0'>",\r
+        "outputs": 1,\r
+        "x": 108.45452117919922,\r
+        "y": 161,\r
+        "z": "32a8c078.80f678",\r
+        "wires": [\r
+            [\r
+                "9c19b794.d4a098"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "2b36d220.581866",\r
+        "type": "record",\r
+        "name": "record",\r
+        "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",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 298.00000762939453,\r
+        "y": 327.57140159606934,\r
+        "z": "32a8c078.80f678",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "ad005deb.efd5d",\r
+        "type": "failure",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 461.11669921875,\r
+        "y": 314.3833465576172,\r
+        "z": "32a8c078.80f678",\r
+        "wires": [\r
+            [\r
+                "f94b3c0d.ace49"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f94b3c0d.ace49",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 633.1166687011719,\r
+        "y": 307.38336181640625,\r
+        "z": "32a8c078.80f678",\r
+        "wires": [\r
+            [\r
+                "631da957.9a738"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "631da957.9a738",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value='`$chefServerResult.message`' />\n",\r
+        "comments": "",\r
+        "x": 794.11669921875,\r
+        "y": 294.38336181640625,\r
+        "z": "32a8c078.80f678",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "61c37e7b.1c8998",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 479.1166687011719,\r
+        "y": 355.38336181640625,\r
+        "z": "32a8c078.80f678",\r
+        "wires": [\r
+            [\r
+                "f94b3c0d.ace49"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "edbe88bf.06b878",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value='`$chefServerResult.message`' />\n",\r
+        "comments": "",\r
+        "x": 1276.949951171875,\r
+        "y": 244.5500030517578,\r
+        "z": "32a8c078.80f678",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "bf7d1a3a.7c00e",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value='`$chefServerResult.message`' />\n",\r
+        "comments": "",\r
+        "x": 2289.949951171875,\r
+        "y": 179.31666564941406,\r
+        "z": "32a8c078.80f678",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "f2f302f1.564ef8",\r
+        "type": "failure",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1036.316650390625,\r
+        "y": 286.7666778564453,\r
+        "z": "32a8c078.80f678",\r
+        "wires": [\r
+            [\r
+                "6332cc4d.5066f4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "2e22f32b.8ad61c",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1036.3167114257812,\r
+        "y": 358.76666259765625,\r
+        "z": "32a8c078.80f678",\r
+        "wires": [\r
+            [\r
+                "6332cc4d.5066f4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "6332cc4d.5066f4",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1155.3167114257812,\r
+        "y": 317.7666778564453,\r
+        "z": "32a8c078.80f678",\r
+        "wires": [\r
+            [\r
+                "edbe88bf.06b878"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "95f78902.da524",\r
+        "type": "failure",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1974.433349609375,\r
+        "y": 159.8000030517578,\r
+        "z": "32a8c078.80f678",\r
+        "wires": [\r
+            [\r
+                "48c4c709.b3e23"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "5bf3d0a7.3bf3c",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1968.4333190917969,\r
+        "y": 215.8000030517578,\r
+        "z": "32a8c078.80f678",\r
+        "wires": [\r
+            [\r
+                "48c4c709.b3e23"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "48c4c709.b3e23",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2138.433349609375,\r
+        "y": 187.8000030517578,\r
+        "z": "32a8c078.80f678",\r
+        "wires": [\r
+            [\r
+                "bf7d1a3a.7c00e"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "17d66cb5.7d5913",\r
+        "type": "failure",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2469.216796875,\r
+        "y": 655.0833740234375,\r
+        "z": "32a8c078.80f678",\r
+        "wires": [\r
+            [\r
+                "a2d52572.e1808"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "4d99603b.eb0f6",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2485.2169189453125,\r
+        "y": 726.0834045410156,\r
+        "z": "32a8c078.80f678",\r
+        "wires": [\r
+            [\r
+                "a2d52572.e1808"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a2d52572.e1808",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2633.216796875,\r
+        "y": 683.0833740234375,\r
+        "z": "32a8c078.80f678",\r
+        "wires": [\r
+            [\r
+                "e00474cb.f1ec1"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "7743de59.6d45b8",\r
+        "type": "failure",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3099.816650390625,\r
+        "y": 1137.666748046875,\r
+        "z": "32a8c078.80f678",\r
+        "wires": [\r
+            [\r
+                "a13be0b.ff7a7a"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "90810365.5c9bb",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3093.816619873047,\r
+        "y": 1193.666748046875,\r
+        "z": "32a8c078.80f678",\r
+        "wires": [\r
+            [\r
+                "a13be0b.ff7a7a"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a13be0b.ff7a7a",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3263.816650390625,\r
+        "y": 1165.666748046875,\r
+        "z": "32a8c078.80f678",\r
+        "wires": [\r
+            [\r
+                "19c18339.f159e5"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e00474cb.f1ec1",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value='`$chefServerResult.message`' />\n",\r
+        "comments": "",\r
+        "x": 2823.7333984375,\r
+        "y": 665.8333740234375,\r
+        "z": "32a8c078.80f678",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "19c18339.f159e5",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value='`$chefServerResult.message`' />\n",\r
+        "comments": "",\r
+        "x": 3427.050048828125,\r
+        "y": 1151.7166748046875,\r
+        "z": "32a8c078.80f678",\r
+        "wires": []\r
+    }\r
+]\r
index bc683f1..1541455 100644 (file)
@@ -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":[]}]
+[\r
+    {\r
+        "id": "eb339652.aa1bb",\r
+        "type": "dgstart",\r
+        "name": "DGSTART",\r
+        "outputs": 1,\r
+        "x": 361.8833312988281,\r
+        "y": 294.5666790008545,\r
+        "z": "8fbf021e.b75288",\r
+        "wires": [\r
+            [\r
+                "6a6b9cbd.5c5064"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "6a6b9cbd.5c5064",\r
+        "type": "service-logic",\r
+        "name": "APPC 4.0.0",\r
+        "module": "APPC",\r
+        "version": "4.0.0",\r
+        "comments": "",\r
+        "xml": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='APPC' version='4.0.0'>",\r
+        "outputs": 1,\r
+        "x": 520.8833312988281,\r
+        "y": 290.5666790008545,\r
+        "z": "8fbf021e.b75288",\r
+        "wires": [\r
+            [\r
+                "ad9ed23f.8f9c68"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ad9ed23f.8f9c68",\r
+        "type": "method",\r
+        "name": "method healthcheck",\r
+        "xml": "<method rpc='healthcheck' mode='sync'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 725.8833389282227,\r
+        "y": 289.5666809082031,\r
+        "z": "8fbf021e.b75288",\r
+        "wires": [\r
+            [\r
+                "23912012.6a432"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "23912012.6a432",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 385.8833312988281,\r
+        "y": 398.5666790008545,\r
+        "z": "8fbf021e.b75288",\r
+        "wires": [\r
+            [\r
+                "96f48524.be9e1",\r
+                "d37d976d.cb8ed"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "96f48524.be9e1",\r
+        "type": "execute",\r
+        "name": "execute get and executeFlowSequence",\r
+        "xml": "<execute plugin=\"org.onap.appc.flow.controller.node.RestServiceNode\" method=\"sendRequest\">\n<parameter name=\"responsePrefix\" value=\"APPC.healthcheck\" />\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 438.8832702636719,\r
+        "y": 497.01111030578613,\r
+        "z": "8fbf021e.b75288",\r
+        "wires": [\r
+            [\r
+                "6be528f6.12212",\r
+                "d4a71709.a43268",\r
+                "c328bc28.cc53f"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "6be528f6.12212",\r
+        "type": "failure",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 737.994457244873,\r
+        "y": 469.34446811676025,\r
+        "z": "8fbf021e.b75288",\r
+        "wires": [\r
+            [\r
+                "248dee55.40e1d2"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "248dee55.40e1d2",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 891.4388961791992,\r
+        "y": 456.5666694641113,\r
+        "z": "8fbf021e.b75288",\r
+        "wires": [\r
+            [\r
+                "31d502fd.89de4e"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "31d502fd.89de4e",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status=\"failure\">\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value=\"Unable to find Execute Node DG sendRequest\" />\n\n\n\t",\r
+        "comments": "",\r
+        "x": 1059.9667205810547,\r
+        "y": 443.9000587463379,\r
+        "z": "8fbf021e.b75288",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "d4a71709.a43268",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 739.6610946655273,\r
+        "y": 514.1222286224365,\r
+        "z": "8fbf021e.b75288",\r
+        "wires": [\r
+            [\r
+                "1d2f2a87.475dc5"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "1d2f2a87.475dc5",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 891.2166862487793,\r
+        "y": 507.34448051452637,\r
+        "z": "8fbf021e.b75288",\r
+        "wires": [\r
+            [\r
+                "bc79231c.35d1f"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "bc79231c.35d1f",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status=\"failure\">\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value=\"`$APPC.healthcheck.error-message`\" />\n\n\n\t",\r
+        "comments": "",\r
+        "x": 1053.2723236083984,\r
+        "y": 500.5111427307129,\r
+        "z": "8fbf021e.b75288",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "d37d976d.cb8ed",\r
+        "type": "set",\r
+        "name": "set Context params",\r
+        "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",\r
+        "comments": "",\r
+        "x": 1149.0261611938477,\r
+        "y": 373.67383003234863,\r
+        "z": "8fbf021e.b75288",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "c328bc28.cc53f",\r
+        "type": "success",\r
+        "name": "outcome: Other",\r
+        "xml": "<outcome value=\"Other\">",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 749.9944763183594,\r
+        "y": 571.9000425338745,\r
+        "z": "8fbf021e.b75288",\r
+        "wires": [\r
+            [\r
+                "a4c92174.a2ada8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a4c92174.a2ada8",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 931.3277626037598,\r
+        "y": 570.2333450317383,\r
+        "z": "8fbf021e.b75288",\r
+        "wires": [\r
+            [\r
+                "f6918f40.5299c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f6918f40.5299c",\r
+        "type": "set",\r
+        "name": "set payloadResponse",\r
+        "xml": "<set>\n<parameter name='output.payload' value='`$APPC.healthcheck.status-message`' /> \n\n\n\n\n",\r
+        "comments": "",\r
+        "x": 1175.8833465576172,\r
+        "y": 561.3166847229004,\r
+        "z": "8fbf021e.b75288",\r
+        "wires": []\r
+    }\r
+]\r
index 83ba4e6..5e779a0 100644 (file)
-[
-    {
-        "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"
-    }
-]
+[\r
+    {\r
+        "id": "8a734c47.1723c",\r
+        "type": "switchNode",\r
+        "name": "switch configuration.configuration-string",\r
+        "xml": "<switch test='`$block_configuration.configuration-string`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 354,\r
+        "y": 288,\r
+        "z": "1e8e0db6.7d4d12",\r
+        "wires": [\r
+            [\r
+                "c8ed4e80.c1e15",\r
+                "afcf1c9f.7013b"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "17d29498.a5c0ab",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 791.9999923706055,\r
+        "y": 270.49999046325684,\r
+        "z": "1e8e0db6.7d4d12",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "c8ed4e80.c1e15",\r
+        "type": "success",\r
+        "name": "outcome: Other",\r
+        "xml": "<outcome value=\"Other\">",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 627.9999923706055,\r
+        "y": 310.49999046325684,\r
+        "z": "1e8e0db6.7d4d12",\r
+        "wires": [\r
+            [\r
+                "70cd567f.e08958"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "70cd567f.e08958",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 800.9999923706055,\r
+        "y": 309.49999046325684,\r
+        "z": "1e8e0db6.7d4d12",\r
+        "wires": [\r
+            [\r
+                "a0f3ae02.cc3fc"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a0f3ae02.cc3fc",\r
+        "type": "set",\r
+        "name": "set configuration",\r
+        "xml": "<set>\n<parameter name='configuration' value='`$block_configuration.configuration-string`' />\n",\r
+        "comments": "",\r
+        "x": 973.9999923706055,\r
+        "y": 310.49999046325684,\r
+        "z": "1e8e0db6.7d4d12",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "e92ebc2.c77764",\r
+        "type": "comment",\r
+        "name": "CLI/XML",\r
+        "info": "",\r
+        "comments": "",\r
+        "x": 1143.9999923706055,\r
+        "y": 287.49999046325684,\r
+        "z": "1e8e0db6.7d4d12",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "9f19e98d.ef3a08",\r
+        "type": "switchNode",\r
+        "name": "switch configuration.configuration-json",\r
+        "xml": "<switch test='`$block_configuration.configuration-json`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 334.49999237060547,\r
+        "y": 363.49999046325684,\r
+        "z": "1e8e0db6.7d4d12",\r
+        "wires": [\r
+            [\r
+                "da9c7e5c.d969d",\r
+                "5b4a2e9f.a0e1c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "da9c7e5c.d969d",\r
+        "type": "success",\r
+        "name": "outcome: Other",\r
+        "xml": "<outcome value=\"Other\">",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 618.4999923706055,\r
+        "y": 407.49999046325684,\r
+        "z": "1e8e0db6.7d4d12",\r
+        "wires": [\r
+            [\r
+                "81a5922d.d1697"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "890a9568.ab8478",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 794.4999923706055,\r
+        "y": 365.49999046325684,\r
+        "z": "1e8e0db6.7d4d12",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "81a5922d.d1697",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 791.4999923706055,\r
+        "y": 404.49999046325684,\r
+        "z": "1e8e0db6.7d4d12",\r
+        "wires": [\r
+            [\r
+                "df609a35.996668"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "df609a35.996668",\r
+        "type": "set",\r
+        "name": "set configuration",\r
+        "xml": "<set>\n<parameter name='configuration' value='`$block_configuration.configuration-json`' />\n",\r
+        "comments": "",\r
+        "x": 964.4999923706055,\r
+        "y": 404.49999046325684,\r
+        "z": "1e8e0db6.7d4d12",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "35ca0cd5.ff4b24",\r
+        "type": "comment",\r
+        "name": "JSON",\r
+        "info": "",\r
+        "comments": "",\r
+        "x": 1119.9999923706055,\r
+        "y": 401.49999046325684,\r
+        "z": "1e8e0db6.7d4d12",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "8cadc66e.8c2928",\r
+        "type": "switchNode",\r
+        "name": "switch template-name",\r
+        "xml": "<switch test='`$template-name`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 324,\r
+        "y": 209.99999809265137,\r
+        "z": "1e8e0db6.7d4d12",\r
+        "wires": [\r
+            [\r
+                "8c74334f.a12cd",\r
+                "9098550c.520648"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "8c74334f.a12cd",\r
+        "type": "success",\r
+        "name": "outcome: null",\r
+        "xml": "<outcome value=''>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 544.9999923706055,\r
+        "y": 176.49999046325684,\r
+        "z": "1e8e0db6.7d4d12",\r
+        "wires": [\r
+            [\r
+                "1e8340f1.e284ef"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9098550c.520648",\r
+        "type": "success",\r
+        "name": "outcome: Other",\r
+        "xml": "<outcome value=\"Other\">",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 549.9999923706055,\r
+        "y": 218.49999046325684,\r
+        "z": "1e8e0db6.7d4d12",\r
+        "wires": [\r
+            [\r
+                "a871d64a.f62008"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a871d64a.f62008",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 722.9999923706055,\r
+        "y": 215.49999046325684,\r
+        "z": "1e8e0db6.7d4d12",\r
+        "wires": [\r
+            [\r
+                "e962b510.094fe8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e962b510.094fe8",\r
+        "type": "set",\r
+        "name": "set config-type",\r
+        "xml": "<set>\n<parameter name='config-type' value='template' />\n",\r
+        "comments": "",\r
+        "x": 894.9999923706055,\r
+        "y": 217.49999046325684,\r
+        "z": "1e8e0db6.7d4d12",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "a0b81149.4795d",\r
+        "type": "switchNode",\r
+        "name": "switch configuration",\r
+        "xml": "<switch test='`$configuration`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 300.99999237060547,\r
+        "y": 453.49999046325684,\r
+        "z": "1e8e0db6.7d4d12",\r
+        "wires": [\r
+            [\r
+                "943cf1ce.98525",\r
+                "cdc3e844.a7c458"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "943cf1ce.98525",\r
+        "type": "success",\r
+        "name": "outcome: Other",\r
+        "xml": "<outcome value=\"Other\">",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 402.99999237060547,\r
+        "y": 540.4999904632568,\r
+        "z": "1e8e0db6.7d4d12",\r
+        "wires": [\r
+            [\r
+                "a19a2b30.148618"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "43d7a3.9a55285c",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 704.9999923706055,\r
+        "y": 466.49999046325684,\r
+        "z": "1e8e0db6.7d4d12",\r
+        "wires": [\r
+            [\r
+                "6d3d4815.8d0ec8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "6795360d.03fc98",\r
+        "type": "set",\r
+        "name": "set config-type",\r
+        "xml": "<set>\n<parameter name='config-type' value='template' />\n",\r
+        "comments": "",\r
+        "x": 1184.9999923706055,\r
+        "y": 555.4999904632568,\r
+        "z": "1e8e0db6.7d4d12",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "6d3d4815.8d0ec8",\r
+        "type": "switchNode",\r
+        "name": "switch Configuration params exists",\r
+        "xml": "<switch test='`$configuration-params`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 928.666633605957,\r
+        "y": 466.50000190734863,\r
+        "z": "1e8e0db6.7d4d12",\r
+        "wires": [\r
+            [\r
+                "4aa0db36.34f564",\r
+                "4e107546.e832ec"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "4aa0db36.34f564",\r
+        "type": "success",\r
+        "name": "outcome: Other",\r
+        "xml": "<outcome value=\"Other\">",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 865.9999923706055,\r
+        "y": 553.4999904632568,\r
+        "z": "1e8e0db6.7d4d12",\r
+        "wires": [\r
+            [\r
+                "808f193e.7004c8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "808f193e.7004c8",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1029.9999923706055,\r
+        "y": 555.4999904632568,\r
+        "z": "1e8e0db6.7d4d12",\r
+        "wires": [\r
+            [\r
+                "6795360d.03fc98"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "2a881c0c.cfc134",\r
+        "type": "comment",\r
+        "name": "Specific Template",\r
+        "info": "",\r
+        "comments": "",\r
+        "x": 1085.9999923706055,\r
+        "y": 209.49999046325684,\r
+        "z": "1e8e0db6.7d4d12",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "1e8340f1.e284ef",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 731.9999923706055,\r
+        "y": 155.49999046325684,\r
+        "z": "1e8e0db6.7d4d12",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "a19a2b30.148618",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 561.9999923706055,\r
+        "y": 543.4999904632568,\r
+        "z": "1e8e0db6.7d4d12",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "afcf1c9f.7013b",\r
+        "type": "success",\r
+        "name": "outcome: null",\r
+        "xml": "<outcome value=''>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 629.9999923706055,\r
+        "y": 266.49999046325684,\r
+        "z": "1e8e0db6.7d4d12",\r
+        "wires": [\r
+            [\r
+                "17d29498.a5c0ab"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "5b4a2e9f.a0e1c",\r
+        "type": "success",\r
+        "name": "outcome: null",\r
+        "xml": "<outcome value=''>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 622.9999923706055,\r
+        "y": 358.49999046325684,\r
+        "z": "1e8e0db6.7d4d12",\r
+        "wires": [\r
+            [\r
+                "890a9568.ab8478"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "cdc3e844.a7c458",\r
+        "type": "success",\r
+        "name": "outcome: null",\r
+        "xml": "<outcome value=''>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 531.6666641235352,\r
+        "y": 459.8333339691162,\r
+        "z": "1e8e0db6.7d4d12",\r
+        "wires": [\r
+            [\r
+                "43d7a3.9a55285c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "4e107546.e832ec",\r
+        "type": "success",\r
+        "name": "outcome: null",\r
+        "xml": "<outcome value=''>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1207.9999923706055,\r
+        "y": 456.49999046325684,\r
+        "z": "1e8e0db6.7d4d12",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "6c17615f.a5824",\r
+        "type": "comment",\r
+        "name": "Search template from the input request",\r
+        "info": "",\r
+        "comments": "",\r
+        "x": 355.66661834716797,\r
+        "y": 131.83327293395996,\r
+        "z": "1e8e0db6.7d4d12",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "d4d3f195.d6269",\r
+        "type": "dgstart",\r
+        "name": "DGSTART",\r
+        "outputs": 1,\r
+        "x": 124,\r
+        "y": 65,\r
+        "z": "1e8e0db6.7d4d12",\r
+        "wires": [\r
+            [\r
+                "32e28f93.3cb14"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "32e28f93.3cb14",\r
+        "type": "service-logic",\r
+        "name": "APPC 4.0.0",\r
+        "module": "APPC",\r
+        "version": "4.0.0",\r
+        "comments": "",\r
+        "xml": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='APPC' version='4.0.0'>",\r
+        "outputs": 1,\r
+        "x": 269.4285583496094,\r
+        "y": 64,\r
+        "z": "1e8e0db6.7d4d12",\r
+        "wires": [\r
+            [\r
+                "12244989.1a1e56"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "12244989.1a1e56",\r
+        "type": "method",\r
+        "name": "method loadTeamplate",\r
+        "xml": "<method rpc='loadTeamplate' mode='sync'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 472.72618103027344,\r
+        "y": 63.5,\r
+        "z": "1e8e0db6.7d4d12",\r
+        "wires": [\r
+            [\r
+                "88db856e.7f2968"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "88db856e.7f2968",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 98.8809814453125,\r
+        "y": 190.03570556640625,\r
+        "z": "1e8e0db6.7d4d12",\r
+        "wires": [\r
+            [\r
+                "8cadc66e.8c2928",\r
+                "8a734c47.1723c",\r
+                "9f19e98d.ef3a08",\r
+                "a0b81149.4795d"\r
+            ]\r
+        ]\r
+    }\r
+]\r
index 01bfe71..8cceece 100644 (file)
@@ -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":[]}]
+[\r
+    {\r
+        "id": "7429c878.5abe38",\r
+        "type": "dgstart",\r
+        "name": "DGSTART",\r
+        "outputs": 1,\r
+        "x": 136,\r
+        "y": 73,\r
+        "z": "f809d11d.5015c",\r
+        "wires": [\r
+            [\r
+                "2a4f05d6.88a89a"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "2a4f05d6.88a89a",\r
+        "type": "service-logic",\r
+        "name": "APPC 4.0.0",\r
+        "module": "APPC",\r
+        "version": "4.0.0",\r
+        "comments": "",\r
+        "xml": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='APPC' version='4.0.0'>",\r
+        "outputs": 1,\r
+        "x": 125,\r
+        "y": 141,\r
+        "z": "f809d11d.5015c",\r
+        "wires": [\r
+            [\r
+                "aa94c1db.ebfc"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "aa94c1db.ebfc",\r
+        "type": "method",\r
+        "name": "method",\r
+        "xml": "<method rpc='DownloadvIRCChefConfig' mode='sync'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 124,\r
+        "y": 216,\r
+        "z": "f809d11d.5015c",\r
+        "wires": [\r
+            [\r
+                "ea7c5ec6.16476"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ea7c5ec6.16476",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 113,\r
+        "y": 315,\r
+        "z": "f809d11d.5015c",\r
+        "wires": [\r
+            [\r
+                "d3e04c9b.c07be",\r
+                "d1b241f6.8c179",\r
+                "9c35834d.a01fa",\r
+                "da9b7cd9.09d6f",\r
+                "bf9d85fc.805698"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d3e04c9b.c07be",\r
+        "type": "execute",\r
+        "name": "execute",\r
+        "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",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 409,\r
+        "y": 126,\r
+        "z": "f809d11d.5015c",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "d1b241f6.8c179",\r
+        "type": "execute",\r
+        "name": "execute",\r
+        "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`'/>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 399,\r
+        "y": 183,\r
+        "z": "f809d11d.5015c",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "9c35834d.a01fa",\r
+        "type": "execute",\r
+        "name": "execute",\r
+        "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`'/>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 405,\r
+        "y": 244,\r
+        "z": "f809d11d.5015c",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "da9b7cd9.09d6f",\r
+        "type": "switchNode",\r
+        "name": "switch",\r
+        "xml": "<switch test='`$org.onap.appc.chefServerResult.code`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 252,\r
+        "y": 453,\r
+        "z": "f809d11d.5015c",\r
+        "wires": [\r
+            [\r
+                "374e8d98.aebe72",\r
+                "616a3c9c.5953a4",\r
+                "41e33222.25d1ec"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "374e8d98.aebe72",\r
+        "type": "outcome",\r
+        "name": "outcome",\r
+        "xml": "<outcome value='404'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 456,\r
+        "y": 329,\r
+        "z": "f809d11d.5015c",\r
+        "wires": [\r
+            [\r
+                "15bca697.807fd9"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "eb531a20.afbbd8",\r
+        "type": "execute",\r
+        "name": "execute",\r
+        "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",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 789,\r
+        "y": 228,\r
+        "z": "f809d11d.5015c",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "11e5058e.84b97a",\r
+        "type": "outcome",\r
+        "name": "outcome",\r
+        "xml": "<outcome value='201'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1083,\r
+        "y": 534,\r
+        "z": "f809d11d.5015c",\r
+        "wires": [\r
+            [\r
+                "6ded9d24.0dbaa4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f5ae799f.bf25a8",\r
+        "type": "outcome",\r
+        "name": "outcome",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1081,\r
+        "y": 352,\r
+        "z": "f809d11d.5015c",\r
+        "wires": [\r
+            [\r
+                "1f394e1f.056dd2"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "23cc137a.1b7dfc",\r
+        "type": "switchNode",\r
+        "name": "switch",\r
+        "xml": "<switch test='`$org.onap.appc.chefServerResult.code`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 803,\r
+        "y": 410,\r
+        "z": "f809d11d.5015c",\r
+        "wires": [\r
+            [\r
+                "11e5058e.84b97a",\r
+                "f5ae799f.bf25a8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "15bca697.807fd9",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 615,\r
+        "y": 329,\r
+        "z": "f809d11d.5015c",\r
+        "wires": [\r
+            [\r
+                "eb531a20.afbbd8",\r
+                "23cc137a.1b7dfc"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "616a3c9c.5953a4",\r
+        "type": "outcome",\r
+        "name": "outcome",\r
+        "xml": "<outcome value='200'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 591,\r
+        "y": 565,\r
+        "z": "f809d11d.5015c",\r
+        "wires": [\r
+            [\r
+                "5abbe56e.76c5cc"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "41e33222.25d1ec",\r
+        "type": "outcome",\r
+        "name": "outcome",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 606,\r
+        "y": 667,\r
+        "z": "f809d11d.5015c",\r
+        "wires": [\r
+            [\r
+                "b231a35d.86656"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "6ded9d24.0dbaa4",\r
+        "type": "returnSuccess",\r
+        "name": "return success",\r
+        "xml": "<return status='success'>\n<parameter name='error-code' value='400' />\n<parameter name='error-message' value='successfully create the chef environment'/>\n",\r
+        "comments": "",\r
+        "x": 1289,\r
+        "y": 529,\r
+        "z": "f809d11d.5015c",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "1f394e1f.056dd2",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value='`$org.onap.appc.chefServerResult.message`' />\n",\r
+        "comments": "",\r
+        "x": 1292,\r
+        "y": 350,\r
+        "z": "f809d11d.5015c",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "b231a35d.86656",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value='`$org.onap.appc.chefServerResult.message`' />\n",\r
+        "comments": "",\r
+        "x": 793,\r
+        "y": 669,\r
+        "z": "f809d11d.5015c",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "5abbe56e.76c5cc",\r
+        "type": "returnSuccess",\r
+        "name": "return success",\r
+        "xml": "<return status='success'>\n<parameter name='error-code' value='400' />\n<parameter name='error-message' value='successfully updated the chef environment'/>\n",\r
+        "comments": "",\r
+        "x": 808,\r
+        "y": 567,\r
+        "z": "f809d11d.5015c",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "bf9d85fc.805698",\r
+        "type": "set",\r
+        "name": "set",\r
+        "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`' />",\r
+        "comments": "",\r
+        "x": 419,\r
+        "y": 68,\r
+        "z": "f809d11d.5015c",\r
+        "wires": []\r
+    }\r
+]\r
index d2c8a00..1833938 100644 (file)
-[
-    {
-        "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": [
-            []
-        ]
-    }
-]
+[\r
+    {\r
+        "id": "af6a33f9.dc3c3",\r
+        "type": "method",\r
+        "name": "Generic_Restart_2.0.1",\r
+        "xml": "<method rpc='Generic_Restart' mode='sync'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 157.515625,\r
+        "y": 178.99999749660492,\r
+        "z": "552bc61c.5a6cf8",\r
+        "wires": [\r
+            [\r
+                "9395984d.615e28"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "79060c35.dc7f14",\r
+        "type": "service-logic",\r
+        "name": "APPC 2.0.1",\r
+        "module": "APPC",\r
+        "version": "2.0.1",\r
+        "comments": "",\r
+        "xml": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='APPC' version='2.0.1'>",\r
+        "outputs": 1,\r
+        "x": 140.515625,\r
+        "y": 129.99999749660492,\r
+        "z": "552bc61c.5a6cf8",\r
+        "wires": [\r
+            [\r
+                "af6a33f9.dc3c3"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "fe1d53a6.8c464",\r
+        "type": "dgstart",\r
+        "name": "DGSTART",\r
+        "outputs": 1,\r
+        "x": 132.515625,\r
+        "y": 79.99999749660492,\r
+        "z": "552bc61c.5a6cf8",\r
+        "wires": [\r
+            [\r
+                "79060c35.dc7f14"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "aef52fb.8daedd",\r
+        "type": "execute",\r
+        "name": "execute_getVNF_Hierarchy",\r
+        "xml": "<execute plugin='org.onap.appc.dg.util.ExecuteNodeAction' method='getVnfHierarchy'>\n<parameter name=\"resourceKey\" value=\"`$input.action-identifiers.vnf-id`\" />",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 328.515625,\r
+        "y": 314.9999974966049,\r
+        "z": "552bc61c.5a6cf8",\r
+        "wires": [\r
+            [\r
+                "1f8913a9.8ae10c",\r
+                "c0153585.a3f598"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "1f8913a9.8ae10c",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 563.8013458251953,\r
+        "y": 311.85713136196136,\r
+        "z": "552bc61c.5a6cf8",\r
+        "wires": [\r
+            [\r
+                "52b0bec9.4c371"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "81620c9e.a3735",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>\n",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1389.3730163574219,\r
+        "y": 306.5713938474655,\r
+        "z": "552bc61c.5a6cf8",\r
+        "wires": [\r
+            [\r
+                "56897be6.6401b4",\r
+                "f5b43313.3ca52"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "56897be6.6401b4",\r
+        "type": "for",\r
+        "name": "for_each_VMs",\r
+        "xml": "<for index=\"i\" start=\"0\" end=\"`$VNF.VMCount`\" >",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1582.0873489379883,\r
+        "y": 316.4285286664963,\r
+        "z": "552bc61c.5a6cf8",\r
+        "wires": [\r
+            [\r
+                "320b17c2.41ca48"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "320b17c2.41ca48",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>\n",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1806.0872421264648,\r
+        "y": 309.71425342559814,\r
+        "z": "552bc61c.5a6cf8",\r
+        "wires": [\r
+            [\r
+                "d7583b82.ca48a8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f5b43313.3ca52",\r
+        "type": "returnSuccess",\r
+        "name": "return success",\r
+        "xml": "<return status='success'>\n",\r
+        "comments": "",\r
+        "x": 1575.8015670776367,\r
+        "y": 373.7141617536545,\r
+        "z": "552bc61c.5a6cf8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "c0153585.a3f598",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 560.80126953125,\r
+        "y": 89.2857106924057,\r
+        "z": "552bc61c.5a6cf8",\r
+        "wires": [\r
+            [\r
+                "8944e410.f05578"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "14ed926a.f1008e",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n",\r
+        "comments": "",\r
+        "x": 930.0870590209961,\r
+        "y": 138.57142329216003,\r
+        "z": "552bc61c.5a6cf8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "7480a7be.e83688",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2302.5163497924805,\r
+        "y": 340.5714693069458,\r
+        "z": "552bc61c.5a6cf8",\r
+        "wires": [\r
+            [\r
+                "cfcc7195.d7b1c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e7898ad9.fecd98",\r
+        "type": "comment",\r
+        "name": "call south bound to Restart VMs",\r
+        "info": "",\r
+        "comments": "",\r
+        "x": 2136.9437408447266,\r
+        "y": 256.42858695983887,\r
+        "z": "552bc61c.5a6cf8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "e9132973.e97d28",\r
+        "type": "comment",\r
+        "name": "Fetch all VMs and VNFCs from AA&I for given VNF_ID",\r
+        "info": "",\r
+        "comments": "",\r
+        "x": 899.2299194335938,\r
+        "y": 169.8571389913559,\r
+        "z": "552bc61c.5a6cf8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "4033070f.087248",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2343.8015327453613,\r
+        "y": 220.85716438293457,\r
+        "z": "552bc61c.5a6cf8",\r
+        "wires": [\r
+            [\r
+                "a4067085.ee7b4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "54514bc5.74c594",\r
+        "type": "switchNode",\r
+        "name": "switch",\r
+        "xml": "<switch test='`$VNF.VMCount`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1006.373046875,\r
+        "y": 309.28571450710297,\r
+        "z": "552bc61c.5a6cf8",\r
+        "wires": [\r
+            [\r
+                "5e3eef25.c40b4",\r
+                "410f290.be2b4d8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "5e3eef25.c40b4",\r
+        "type": "other",\r
+        "name": "outcome_0",\r
+        "xml": "<outcome value='0'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1274.8014526367188,\r
+        "y": 89.42858254909515,\r
+        "z": "552bc61c.5a6cf8",\r
+        "wires": [\r
+            [\r
+                "24a33f0c.5c66d"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "410f290.be2b4d8",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1223.6586532592773,\r
+        "y": 305.14287889003754,\r
+        "z": "552bc61c.5a6cf8",\r
+        "wires": [\r
+            [\r
+                "81620c9e.a3735"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "cfcc7195.d7b1c",\r
+        "type": "switchNode",\r
+        "name": "switch",\r
+        "xml": "<switch test='`$RESTART_STATUS`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2378.5162963867188,\r
+        "y": 696.5714845657349,\r
+        "z": "552bc61c.5a6cf8",\r
+        "wires": [\r
+            [\r
+                "53d1ef1b.d4ccd",\r
+                "ddf1bec4.e5768",\r
+                "93038779.082858"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "93038779.082858",\r
+        "type": "success",\r
+        "name": "outcome_SUCCESS",\r
+        "xml": "<outcome value='SUCCESS'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2650.944465637207,\r
+        "y": 812.0000534057617,\r
+        "z": "552bc61c.5a6cf8",\r
+        "wires": [\r
+            [\r
+                "2ff43640.be312a"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "53d1ef1b.d4ccd",\r
+        "type": "other",\r
+        "name": "outcome_CONTEXT_NOT_FOUND",\r
+        "xml": "<outcome value='CONTEXT_NOT_FOUND'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2653.3734130859375,\r
+        "y": 704.4287443161011,\r
+        "z": "552bc61c.5a6cf8",\r
+        "wires": [\r
+            [\r
+                "e8979745.ebc758"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ddf1bec4.e5768",\r
+        "type": "other",\r
+        "name": "outcome_ERROR",\r
+        "xml": "<outcome value='ERROR'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2632.5158767700195,\r
+        "y": 607.0000715255737,\r
+        "z": "552bc61c.5a6cf8",\r
+        "wires": [\r
+            [\r
+                "b89b10f8.54c03"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d7583b82.ca48a8",\r
+        "type": "execute",\r
+        "name": "execute_Restart",\r
+        "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",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2052.801918029785,\r
+        "y": 301.85722255706787,\r
+        "z": "552bc61c.5a6cf8",\r
+        "wires": [\r
+            [\r
+                "7480a7be.e83688",\r
+                "4033070f.087248"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "52b0bec9.4c371",\r
+        "type": "switchNode",\r
+        "name": "switch",\r
+        "xml": "<switch test='`$getVnfHierarchy_result`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 714.0870590209961,\r
+        "y": 309.85720574855804,\r
+        "z": "552bc61c.5a6cf8",\r
+        "wires": [\r
+            [\r
+                "dc9fcbbd.45f078",\r
+                "421fac7b.b6dc54"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "421fac7b.b6dc54",\r
+        "type": "outcome",\r
+        "name": "FAILURE",\r
+        "xml": "<outcome value='FAILURE'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 862.3014678955078,\r
+        "y": 580.5714167356491,\r
+        "z": "552bc61c.5a6cf8",\r
+        "wires": [\r
+            [\r
+                "6d512cc6.dfb4f4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "3c5fe469.391bec",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n",\r
+        "comments": "",\r
+        "x": 1342.8728141784668,\r
+        "y": 657.2857354879379,\r
+        "z": "552bc61c.5a6cf8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "dc9fcbbd.45f078",\r
+        "type": "outcome",\r
+        "name": "SUCCESS",\r
+        "xml": "<outcome value='SUCCESS'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 866.5156021118164,\r
+        "y": 310.1429055929184,\r
+        "z": "552bc61c.5a6cf8",\r
+        "wires": [\r
+            [\r
+                "54514bc5.74c594"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "7c57afb3.7065c",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n",\r
+        "comments": "",\r
+        "x": 1629.0873718261719,\r
+        "y": 143.8570989370346,\r
+        "z": "552bc61c.5a6cf8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "8944e410.f05578",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 724.8013114929199,\r
+        "y": 88.99999463558197,\r
+        "z": "552bc61c.5a6cf8",\r
+        "wires": [\r
+            [\r
+                "2d4b92a0.39884e",\r
+                "14ed926a.f1008e"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "2d4b92a0.39884e",\r
+        "type": "execute",\r
+        "name": "execute",\r
+        "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"1.01\"/>\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"output.status.message\" value=\"Exception in getting VNF Hierachy\" />\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 929.9442176818848,\r
+        "y": 87.8571389913559,\r
+        "z": "552bc61c.5a6cf8",\r
+        "wires": [\r
+            [\r
+                "f85ab919.b77d18"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f85ab919.b77d18",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1076.6585006713867,\r
+        "y": 84.14285409450531,\r
+        "z": "552bc61c.5a6cf8",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "6d512cc6.dfb4f4",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1131.539535522461,\r
+        "y": 582.762011885643,\r
+        "z": "552bc61c.5a6cf8",\r
+        "wires": [\r
+            [\r
+                "3c5fe469.391bec",\r
+                "1243c742.ab67a9"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "1243c742.ab67a9",\r
+        "type": "execute",\r
+        "name": "execute",\r
+        "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"1.01\"/>\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"output.status.message\" value=\"Failure in getting VNF Hierachy\" />",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1324.444263458252,\r
+        "y": 582.1429418325424,\r
+        "z": "552bc61c.5a6cf8",\r
+        "wires": [\r
+            [\r
+                "b53d39a2.379b98"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b53d39a2.379b98",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1505.7300415039062,\r
+        "y": 581.5715392827988,\r
+        "z": "552bc61c.5a6cf8",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "24a33f0c.5c66d",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1455.087287902832,\r
+        "y": 90.85717141628265,\r
+        "z": "552bc61c.5a6cf8",\r
+        "wires": [\r
+            [\r
+                "7c57afb3.7065c",\r
+                "a7039c76.e8bc"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a7039c76.e8bc",\r
+        "type": "execute",\r
+        "name": "execute",\r
+        "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"1.01\"/>\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"output.status.message\" value=\"VM Count is 0\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1638.5159797668457,\r
+        "y": 87.85713994503021,\r
+        "z": "552bc61c.5a6cf8",\r
+        "wires": [\r
+            [\r
+                "4a8bce0d.ce1b2"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "4a8bce0d.ce1b2",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1812.3730697631836,\r
+        "y": 89.57138764858246,\r
+        "z": "552bc61c.5a6cf8",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "a4067085.ee7b4",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2535.372848510742,\r
+        "y": 219.57143592834473,\r
+        "z": "552bc61c.5a6cf8",\r
+        "wires": [\r
+            [\r
+                "51faf7d9.2c2d78",\r
+                "1d564539.a927cb"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "51faf7d9.2c2d78",\r
+        "type": "execute",\r
+        "name": "Report_Failure_in_Restart",\r
+        "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"1.01\"/>\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"output.status.message\" value=\"`'Failure in restart for:' + $VNF.VM[$i].URL`\" />",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2782.9448776245117,\r
+        "y": 159.28574752807617,\r
+        "z": "552bc61c.5a6cf8",\r
+        "wires": [\r
+            [\r
+                "9ba9fdba.a5bdb"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9ba9fdba.a5bdb",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3050.9442749023438,\r
+        "y": 159.28573989868164,\r
+        "z": "552bc61c.5a6cf8",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "e8979745.ebc758",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2909.944835662842,\r
+        "y": 710.5715665817261,\r
+        "z": "552bc61c.5a6cf8",\r
+        "wires": [\r
+            [\r
+                "af8d62c6.4acba",\r
+                "bcc63431.460308"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "af8d62c6.4acba",\r
+        "type": "execute",\r
+        "name": "Report_Context_not_found",\r
+        "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"1.01\"/>\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"output.status.message\" value=\"`'Stop : Context not found:' + $VNF.VM[$i].URL`\" />",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3112.0876083374023,\r
+        "y": 660.571626663208,\r
+        "z": "552bc61c.5a6cf8",\r
+        "wires": [\r
+            [\r
+                "e7d5e844.90a2e8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e7d5e844.90a2e8",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3342.9460678100586,\r
+        "y": 660.1430530548096,\r
+        "z": "552bc61c.5a6cf8",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "b89b10f8.54c03",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2861.945022583008,\r
+        "y": 572.0000715255737,\r
+        "z": "552bc61c.5a6cf8",\r
+        "wires": [\r
+            [\r
+                "4e8f5ae7.5cb144",\r
+                "cb06fc63.a2228"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "4e8f5ae7.5cb144",\r
+        "type": "execute",\r
+        "name": "Report_Error_occoured_while_restarting_the_server",\r
+        "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"1.01\"/>\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"output.status.message\" value=\"`'Stop : Error occoured while restarting the server:' + $VNF.VM[$i].URL`\" />",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3155.373489379883,\r
+        "y": 514.8572015762329,\r
+        "z": "552bc61c.5a6cf8",\r
+        "wires": [\r
+            [\r
+                "5183ae4.107e85"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "5183ae4.107e85",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3450.9449768066406,\r
+        "y": 514.0000162124634,\r
+        "z": "552bc61c.5a6cf8",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "cc582df4.db246",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 126.515625,\r
+        "y": 317.8888829946518,\r
+        "z": "552bc61c.5a6cf8",\r
+        "wires": [\r
+            [\r
+                "aef52fb.8daedd"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9395984d.615e28",\r
+        "type": "execute",\r
+        "name": "execute: flatAndAddToContext",\r
+        "xml": "<execute plugin='org.onap.appc.dg.common.JsonDgUtil' method='flatAndAddToContext' >\n<parameter name=\"payload\" value=\"`$input.payload`\" />",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 174.515625,\r
+        "y": 242.9999898672104,\r
+        "z": "552bc61c.5a6cf8",\r
+        "wires": [\r
+            [\r
+                "cc582df4.db246",\r
+                "14af60bb.47e3cf",\r
+                "4e14bb77.d41174"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "bcc63431.460308",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n",\r
+        "comments": "",\r
+        "x": 3073.516311645508,\r
+        "y": 770.0000820159912,\r
+        "z": "552bc61c.5a6cf8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "5e5f549.175e7ac",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n<parameter name=\"output.status.message\" value=\"Failure in flattening payload Json\" />",\r
+        "comments": "",\r
+        "x": 496.5155944824219,\r
+        "y": 521.6667379140854,\r
+        "z": "552bc61c.5a6cf8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "dacc5100.4d49b",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 283.1823425292969,\r
+        "y": 476.142964720726,\r
+        "z": "552bc61c.5a6cf8",\r
+        "wires": [\r
+            [\r
+                "5e5f549.175e7ac",\r
+                "fce24037.dd8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "fce24037.dd8",\r
+        "type": "execute",\r
+        "name": "Report_Error_Flattening_Payload_Json",\r
+        "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"1.01\"/>\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"output.status.message\" value=\"Failure in flattening payload Json\" />",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 572.0870361328125,\r
+        "y": 403.52388513088226,\r
+        "z": "552bc61c.5a6cf8",\r
+        "wires": [\r
+            [\r
+                "76012751.ab8c18"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "76012751.ab8c18",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 657.3728485107422,\r
+        "y": 474.9524921178818,\r
+        "z": "552bc61c.5a6cf8",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "14af60bb.47e3cf",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 107.515625,\r
+        "y": 477.6666616201401,\r
+        "z": "552bc61c.5a6cf8",\r
+        "wires": [\r
+            [\r
+                "dacc5100.4d49b"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "1bb8f6fe.bd3509",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n<parameter name=\"output.status.message\" value=\"Failure in loading Json flattening plugin\" />",\r
+        "comments": "",\r
+        "x": 478.515625,\r
+        "y": 737.6666768789291,\r
+        "z": "552bc61c.5a6cf8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "2064a14.03d845e",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 290.18234634399414,\r
+        "y": 699.1429609060287,\r
+        "z": "552bc61c.5a6cf8",\r
+        "wires": [\r
+            [\r
+                "1bb8f6fe.bd3509",\r
+                "ffb635d7.5302e8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ffb635d7.5302e8",\r
+        "type": "execute",\r
+        "name": "Report_Error_Loading_Json_Flattening_Plugin",\r
+        "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"1.01\"/>\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"output.status.message\" value=\"Failure in loading Json flattening plugin\" />",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 579.0870399475098,\r
+        "y": 626.523881316185,\r
+        "z": "552bc61c.5a6cf8",\r
+        "wires": [\r
+            [\r
+                "1e11c16.878ad3f"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "1e11c16.878ad3f",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 664.3728523254395,\r
+        "y": 697.9524883031845,\r
+        "z": "552bc61c.5a6cf8",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "4e14bb77.d41174",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 114.515625,\r
+        "y": 697.6666616201401,\r
+        "z": "552bc61c.5a6cf8",\r
+        "wires": [\r
+            [\r
+                "2064a14.03d845e"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "2ff43640.be312a",\r
+        "type": "execute",\r
+        "name": "Report_Success_in_Restart",\r
+        "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='reportSuccess' >\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"output.status.message\" value=\"`'Restart event executed successfully for ' + $VNF.VM[$i].URL`\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2937.849365234375,\r
+        "y": 826.6667461395264,\r
+        "z": "552bc61c.5a6cf8",\r
+        "wires": [\r
+            [\r
+                "9961b241.892d8",\r
+                "88f3bd16.d9abb"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9961b241.892d8",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3210.8493843078613,\r
+        "y": 902.6667432785034,\r
+        "z": "552bc61c.5a6cf8",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "88f3bd16.d9abb",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3230.849395751953,\r
+        "y": 794.6667728424072,\r
+        "z": "552bc61c.5a6cf8",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "cb06fc63.a2228",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n",\r
+        "comments": "",\r
+        "x": 3044.0154037475586,\r
+        "y": 603.5156373977661,\r
+        "z": "552bc61c.5a6cf8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "1d564539.a927cb",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n",\r
+        "comments": "",\r
+        "x": 2747.0154037475586,\r
+        "y": 271.51563835144043,\r
+        "z": "552bc61c.5a6cf8",\r
+        "wires": []\r
+    }\r
+]
\ No newline at end of file
index 1221a04..46192a1 100644 (file)
-[
-    {
-        "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"
-            ]
-        ]
-    }
-]
+[\r
+    {\r
+        "id": "99bfac0c.66405",\r
+        "type": "service-logic",\r
+        "name": "APPC 2.0.0",\r
+        "module": "APPC",\r
+        "version": "2.0.0",\r
+        "comments": "",\r
+        "xml": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='APPC' version='2.0.0'>",\r
+        "outputs": 1,\r
+        "x": 114.75,\r
+        "y": 78,\r
+        "z": "551b1552.aae4ec",\r
+        "wires": [\r
+            [\r
+                "87a31d5f.785ce"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "5284c172.ad7b4",\r
+        "type": "dgstart",\r
+        "name": "DGSTART",\r
+        "outputs": 1,\r
+        "x": 121.75,\r
+        "y": 28,\r
+        "z": "551b1552.aae4ec",\r
+        "wires": [\r
+            [\r
+                "99bfac0c.66405"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b69b6144.4964a",\r
+        "type": "switchNode",\r
+        "name": "action",\r
+        "xml": "<switch test='`$org.onap.appc.action`'>\n",\r
+        "comments": "What method should we try to call. Closely maps to __action__Server()",\r
+        "outputs": 1,\r
+        "x": 112.75,\r
+        "y": 160,\r
+        "z": "551b1552.aae4ec",\r
+        "wires": [\r
+            [\r
+                "3c76f1b.fc3890e",\r
+                "3bbff8f1.c44008",\r
+                "67723fa.f988dc",\r
+                "82f997d3.7d0668",\r
+                "bb942a8e.446bd8",\r
+                "3d16f80b.b81e98"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "3c76f1b.fc3890e",\r
+        "type": "outcome",\r
+        "name": "restart",\r
+        "xml": "<outcome value='restart'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 267.75,\r
+        "y": 175,\r
+        "z": "551b1552.aae4ec",\r
+        "wires": [\r
+            [\r
+                "f6ee74ac.091188"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "3bbff8f1.c44008",\r
+        "type": "outcome",\r
+        "name": "rebuild",\r
+        "xml": "<outcome value='rebuild'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 279,\r
+        "y": 301,\r
+        "z": "551b1552.aae4ec",\r
+        "wires": [\r
+            [\r
+                "336f5c4b.cc90a4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "67723fa.f988dc",\r
+        "type": "other",\r
+        "name": "Unknown",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "Unknown action provided. Fail",\r
+        "outputs": 1,\r
+        "x": 285,\r
+        "y": 785,\r
+        "z": "551b1552.aae4ec",\r
+        "wires": [\r
+            [\r
+                "90b7e545.6f4818"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "90b7e545.6f4818",\r
+        "type": "returnFailure",\r
+        "name": "Unknown Action",\r
+        "xml": "<return status='failure'>\n<parameter name='error-code' value='404' />\n<parameter name='error-message' value='Unknown action specified' />\n",\r
+        "comments": "",\r
+        "x": 886.5,\r
+        "y": 785,\r
+        "z": "551b1552.aae4ec",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "f6ee74ac.091188",\r
+        "type": "execute",\r
+        "name": "restartServer()",\r
+        "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`\" />",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 430.75,\r
+        "y": 177,\r
+        "z": "551b1552.aae4ec",\r
+        "wires": [\r
+            [\r
+                "3e552093.c1aae",\r
+                "df92233b.206de"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "3e552093.c1aae",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 579.75,\r
+        "y": 178,\r
+        "z": "551b1552.aae4ec",\r
+        "wires": [\r
+            [\r
+                "60e4194b.9f1be8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "60e4194b.9f1be8",\r
+        "type": "returnSuccess",\r
+        "name": "return success",\r
+        "xml": "<return status='success'>\n",\r
+        "comments": "",\r
+        "x": 922.75,\r
+        "y": 302,\r
+        "z": "551b1552.aae4ec",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "fda90bc9.0256f8",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n<!--\n<parameter name='error-code' value='500' />\n<parameter name='error-message' value='failed' />\n-->",\r
+        "comments": "",\r
+        "x": 920.75,\r
+        "y": 478,\r
+        "z": "551b1552.aae4ec",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "336f5c4b.cc90a4",\r
+        "type": "execute",\r
+        "name": "rebuildServer()",\r
+        "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`\" />",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 441.75,\r
+        "y": 302,\r
+        "z": "551b1552.aae4ec",\r
+        "wires": [\r
+            [\r
+                "8981943d.767e68",\r
+                "444dcc7.fbbb234"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "8981943d.767e68",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 591.75,\r
+        "y": 301,\r
+        "z": "551b1552.aae4ec",\r
+        "wires": [\r
+            [\r
+                "60e4194b.9f1be8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "87a31d5f.785ce",\r
+        "type": "method",\r
+        "name": "method",\r
+        "xml": "<method rpc='topology-operation-all' mode='sync'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 272.75,\r
+        "y": 78,\r
+        "z": "551b1552.aae4ec",\r
+        "wires": [\r
+            [\r
+                "b69b6144.4964a"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "82f997d3.7d0668",\r
+        "type": "outcome",\r
+        "name": "migrate",\r
+        "xml": "<outcome value='migrate'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 281.5,\r
+        "y": 421,\r
+        "z": "551b1552.aae4ec",\r
+        "wires": [\r
+            [\r
+                "ae163e95.51e9c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ae163e95.51e9c",\r
+        "type": "execute",\r
+        "name": "migrateServer()",\r
+        "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`\" />",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 444.5,\r
+        "y": 420,\r
+        "z": "551b1552.aae4ec",\r
+        "wires": [\r
+            [\r
+                "f18ec542.0e7138",\r
+                "4c64d27c.b39b2c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f18ec542.0e7138",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 600,\r
+        "y": 420,\r
+        "z": "551b1552.aae4ec",\r
+        "wires": [\r
+            [\r
+                "60e4194b.9f1be8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "4c64d27c.b39b2c",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 596,\r
+        "y": 460,\r
+        "z": "551b1552.aae4ec",\r
+        "wires": [\r
+            [\r
+                "fda90bc9.0256f8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "444dcc7.fbbb234",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 587.75,\r
+        "y": 339,\r
+        "z": "551b1552.aae4ec",\r
+        "wires": [\r
+            [\r
+                "fda90bc9.0256f8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "84b5bf3d.7b4a4",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 595,\r
+        "y": 700,\r
+        "z": "551b1552.aae4ec",\r
+        "wires": [\r
+            [\r
+                "b99f0467.4660f8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "84f23c8f.7b0dc",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 598,\r
+        "y": 664,\r
+        "z": "551b1552.aae4ec",\r
+        "wires": [\r
+            [\r
+                "b99f0467.4660f8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "707eb288.8f814c",\r
+        "type": "execute",\r
+        "name": "evacuateServer()",\r
+        "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`\" />",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 442.5,\r
+        "y": 664,\r
+        "z": "551b1552.aae4ec",\r
+        "wires": [\r
+            [\r
+                "84b5bf3d.7b4a4",\r
+                "84f23c8f.7b0dc"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "bb942a8e.446bd8",\r
+        "type": "outcome",\r
+        "name": "migrate",\r
+        "xml": "<outcome value='evacuate'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 279.5,\r
+        "y": 665,\r
+        "z": "551b1552.aae4ec",\r
+        "wires": [\r
+            [\r
+                "707eb288.8f814c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "df92233b.206de",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 583,\r
+        "y": 224,\r
+        "z": "551b1552.aae4ec",\r
+        "wires": [\r
+            [\r
+                "fda90bc9.0256f8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b99f0467.4660f8",\r
+        "type": "returnFailure",\r
+        "name": "Not Yet Implemented",\r
+        "xml": "<return status='failure'>\n<parameter name='error-code' value='500' />\n<parameter name='error-message' value='This action is not yet implemented' />\n",\r
+        "comments": "",\r
+        "x": 898,\r
+        "y": 683,\r
+        "z": "551b1552.aae4ec",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "3d16f80b.b81e98",\r
+        "type": "outcome",\r
+        "name": "snapshot",\r
+        "xml": "<outcome value='snapshot'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 282,\r
+        "y": 533,\r
+        "z": "551b1552.aae4ec",\r
+        "wires": [\r
+            [\r
+                "7b8aa37e.280c6c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "7b8aa37e.280c6c",\r
+        "type": "execute",\r
+        "name": "createSnapshot()",\r
+        "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`\" />",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 445,\r
+        "y": 532,\r
+        "z": "551b1552.aae4ec",\r
+        "wires": [\r
+            [\r
+                "b2fdd324.e7734",\r
+                "72f58d9a.ca2144"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b2fdd324.e7734",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 600.5,\r
+        "y": 532,\r
+        "z": "551b1552.aae4ec",\r
+        "wires": [\r
+            [\r
+                "60e4194b.9f1be8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "72f58d9a.ca2144",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 596.5,\r
+        "y": 572,\r
+        "z": "551b1552.aae4ec",\r
+        "wires": [\r
+            [\r
+                "fda90bc9.0256f8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "7fee971b.b82fe8",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 962,\r
+        "y": 556,\r
+        "z": "551b1552.aae4ec",\r
+        "wires": [\r
+            [\r
+                "fba5b0ee.57367"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "fba5b0ee.57367",\r
+        "type": "returnSuccess",\r
+        "name": "return success",\r
+        "xml": "<return status='success'>\n",\r
+        "comments": "",\r
+        "x": 1275,\r
+        "y": 617,\r
+        "z": "551b1552.aae4ec",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "c6eec239.65f49",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n<!--\n<parameter name='error-code' value='500' />\n<parameter name='error-message' value='failed' />\n-->",\r
+        "comments": "",\r
+        "x": 1285,\r
+        "y": 812,\r
+        "z": "551b1552.aae4ec",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "aebd3b77.717c8",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 974,\r
+        "y": 679,\r
+        "z": "551b1552.aae4ec",\r
+        "wires": [\r
+            [\r
+                "fba5b0ee.57367"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "61570f13.03e13",\r
+        "type": "outcome",\r
+        "name": "migrate",\r
+        "xml": "<outcome value='migrate'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 663.75,\r
+        "y": 799,\r
+        "z": "551b1552.aae4ec",\r
+        "wires": [\r
+            [\r
+                "4b9dc5bd.fed9ac"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "4b9dc5bd.fed9ac",\r
+        "type": "execute",\r
+        "name": "migrateServer()",\r
+        "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`\" />",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 826.75,\r
+        "y": 798,\r
+        "z": "551b1552.aae4ec",\r
+        "wires": [\r
+            [\r
+                "54315afb.9b2a34",\r
+                "1a5da1c6.c6a002"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "54315afb.9b2a34",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 982.25,\r
+        "y": 798,\r
+        "z": "551b1552.aae4ec",\r
+        "wires": [\r
+            [\r
+                "fba5b0ee.57367"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "1a5da1c6.c6a002",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 978.25,\r
+        "y": 838,\r
+        "z": "551b1552.aae4ec",\r
+        "wires": [\r
+            [\r
+                "c6eec239.65f49"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "15e18db0.b27eda",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 970,\r
+        "y": 717,\r
+        "z": "551b1552.aae4ec",\r
+        "wires": [\r
+            [\r
+                "c6eec239.65f49"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b92b57bc.074df8",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 979.25,\r
+        "y": 954,\r
+        "z": "551b1552.aae4ec",\r
+        "wires": [\r
+            [\r
+                "f2833507.0f2148"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d669863.db192b8",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 982.25,\r
+        "y": 918,\r
+        "z": "551b1552.aae4ec",\r
+        "wires": [\r
+            [\r
+                "f2833507.0f2148"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "69143893.52d5d",\r
+        "type": "execute",\r
+        "name": "evacuateServer()",\r
+        "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`\" />",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 826.75,\r
+        "y": 918,\r
+        "z": "551b1552.aae4ec",\r
+        "wires": [\r
+            [\r
+                "d669863.db192b8",\r
+                "b92b57bc.074df8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "8e670719.e182d8",\r
+        "type": "outcome",\r
+        "name": "migrate",\r
+        "xml": "<outcome value='evacuate'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 663.75,\r
+        "y": 919,\r
+        "z": "551b1552.aae4ec",\r
+        "wires": [\r
+            [\r
+                "69143893.52d5d"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "15ac686f.889474",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 965.25,\r
+        "y": 602,\r
+        "z": "551b1552.aae4ec",\r
+        "wires": [\r
+            [\r
+                "c6eec239.65f49"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f2833507.0f2148",\r
+        "type": "returnFailure",\r
+        "name": "Not Yet Implemented",\r
+        "xml": "<return status='failure'>\n<parameter name='error-code' value='500' />\n<parameter name='error-message' value='This action is not yet implemented' />\n",\r
+        "comments": "",\r
+        "x": 1282.25,\r
+        "y": 937,\r
+        "z": "551b1552.aae4ec",\r
+        "wires": []\r
+    }\r
+]\r
index 12752ff..971c7bf 100644 (file)
-[
-    {
-        "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"
-    }
-]
+[\r
+    {\r
+        "id": "7fca76b4.17223",\r
+        "type": "execute",\r
+        "name": "execute saveTxLog",\r
+        "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",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 291.6111373901367,\r
+        "y": 975.9444494247437,\r
+        "z": "29005224.e84c46",\r
+        "wires": [\r
+            [\r
+                "29ad6619.56be1a"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "29ad6619.56be1a",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 544.3611488342285,\r
+        "y": 978.8610963821411,\r
+        "z": "29005224.e84c46",\r
+        "wires": [\r
+            [\r
+                "487dbd4.fae6244"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "487dbd4.fae6244",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 762.6944465637207,\r
+        "y": 979.3611373901367,\r
+        "z": "29005224.e84c46",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "d57f2a5b.6d9878",\r
+        "type": "dgstart",\r
+        "name": "DGSTART",\r
+        "outputs": 1,\r
+        "x": 76,\r
+        "y": 100,\r
+        "z": "29005224.e84c46",\r
+        "wires": [\r
+            [\r
+                "eb65f1a6.67a2a8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "eb65f1a6.67a2a8",\r
+        "type": "service-logic",\r
+        "name": "APPC 4.0.0",\r
+        "module": "APPC",\r
+        "version": "4.0.0",\r
+        "comments": "",\r
+        "xml": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='APPC' version='4.0.0'>",\r
+        "outputs": 1,\r
+        "x": 229.8730125427246,\r
+        "y": 104.27777767181396,\r
+        "z": "29005224.e84c46",\r
+        "wires": [\r
+            [\r
+                "464bc66a.d400f"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "464bc66a.d400f",\r
+        "type": "method",\r
+        "name": "method setInputParams",\r
+        "xml": "<method rpc='setInputParams' mode='sync'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 474.28175354003906,\r
+        "y": 104.33333110809326,\r
+        "z": "29005224.e84c46",\r
+        "wires": [\r
+            [\r
+                "76f327ef.78a5d"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "76f327ef.78a5d",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 125.82540893554688,\r
+        "y": 192.7301435470581,\r
+        "z": "29005224.e84c46",\r
+        "wires": [\r
+            [\r
+                "7fca76b4.17223",\r
+                "ec38a1b5.f9fb78",\r
+                "f86b33c2.af5458",\r
+                "c6d02f55.f61f5",\r
+                "6b012bde.6f80a4",\r
+                "5cf8e6f0.d42f4",\r
+                "a24f31b2.4d18e",\r
+                "8d34313a.627aa8",\r
+                "990a0e31.6e0e5",\r
+                "895d6244.5f7778",\r
+                "a3f0b036.b07238",\r
+                "7b2f5687.8079a8",\r
+                "71fa2664.4d59f",\r
+                "1b1c550c.87631b"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ec38a1b5.f9fb78",\r
+        "type": "set",\r
+        "name": "set params based on Dispatcher Input",\r
+        "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",\r
+        "comments": "",\r
+        "x": 699.055534362793,\r
+        "y": 145.4166612625122,\r
+        "z": "29005224.e84c46",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "6b012bde.6f80a4",\r
+        "type": "execute",\r
+        "name": "execute Convert payload to DG Context ",\r
+        "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\" />",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 497.77784729003906,\r
+        "y": 261.83332920074463,\r
+        "z": "29005224.e84c46",\r
+        "wires": [\r
+            [\r
+                "995b69b3.150398",\r
+                "fe8257e4.b88f08"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "995b69b3.150398",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 820.583366394043,\r
+        "y": 234.91666889190674,\r
+        "z": "29005224.e84c46",\r
+        "wires": [\r
+            [\r
+                "89a3cd6a.29c028"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "fe8257e4.b88f08",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 823.2778167724609,\r
+        "y": 281.30555057525635,\r
+        "z": "29005224.e84c46",\r
+        "wires": [\r
+            [\r
+                "83571f1f.4fec7"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "89a3cd6a.29c028",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1020.9444732666016,\r
+        "y": 235.27777767181396,\r
+        "z": "29005224.e84c46",\r
+        "wires": [\r
+            [\r
+                "3f186ad8.9acc1e"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "83571f1f.4fec7",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1015.1944732666016,\r
+        "y": 283.2777786254883,\r
+        "z": "29005224.e84c46",\r
+        "wires": [\r
+            [\r
+                "ab91d54a.f38b58"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "3f186ad8.9acc1e",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "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",\r
+        "comments": "",\r
+        "x": 1205.6944770812988,\r
+        "y": 235.52777767181396,\r
+        "z": "29005224.e84c46",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "ab91d54a.f38b58",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "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",\r
+        "comments": "",\r
+        "x": 1208.4444770812988,\r
+        "y": 285.0277795791626,\r
+        "z": "29005224.e84c46",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "c6d02f55.f61f5",\r
+        "type": "execute",\r
+        "name": "execute saveTxLog",\r
+        "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",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 534.6944580078125,\r
+        "y": 216.52777767181396,\r
+        "z": "29005224.e84c46",\r
+        "wires": [\r
+            [\r
+                "72fb1a20.ab554c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f86b33c2.af5458",\r
+        "type": "set",\r
+        "name": "set tmp.message",\r
+        "xml": "<set>\n<parameter name=\"tmp.message\" value=\"`$vnf-id + ' : ' + $request-action +  ': ' + $payload`\" />\n",\r
+        "comments": "",\r
+        "x": 632.6389083862305,\r
+        "y": 178.66666889190674,\r
+        "z": "29005224.e84c46",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "72fb1a20.ab554c",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 941.444450378418,\r
+        "y": 173.02777576446533,\r
+        "z": "29005224.e84c46",\r
+        "wires": [\r
+            [\r
+                "9f45e4b6.47b0b"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9f45e4b6.47b0b",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1098.444450378418,\r
+        "y": 170.02777576446533,\r
+        "z": "29005224.e84c46",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "1b1c550c.87631b",\r
+        "type": "call",\r
+        "name": "call: GetAaiInfo",\r
+        "xml": "<call module=\"APPC\" rpc=\"GetAaiInfo\" mode=\"sync\">",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 376.25,\r
+        "y": 617.361083984375,\r
+        "z": "29005224.e84c46",\r
+        "wires": [\r
+            [\r
+                "d2fb9e84.53c39",\r
+                "53eaaf46.77b328"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d2fb9e84.53c39",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 883.9166259765625,\r
+        "y": 652.9444580078125,\r
+        "z": "29005224.e84c46",\r
+        "wires": [\r
+            [\r
+                "3cf17bd2.dc0954"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "3cf17bd2.dc0954",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1065.861083984375,\r
+        "y": 662.6111450195312,\r
+        "z": "29005224.e84c46",\r
+        "wires": [\r
+            [\r
+                "a9218921.0e075"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a9218921.0e075",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status=\"failure\">\n\t",\r
+        "comments": "",\r
+        "x": 1242.2777099609375,\r
+        "y": 657.111083984375,\r
+        "z": "29005224.e84c46",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "53eaaf46.77b328",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 905.8056640625,\r
+        "y": 691.47216796875,\r
+        "z": "29005224.e84c46",\r
+        "wires": [\r
+            [\r
+                "3cf17bd2.dc0954"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "5cf8e6f0.d42f4",\r
+        "type": "switchNode",\r
+        "name": "switch isTemplateDriven.TEMPLATE",\r
+        "xml": "<switch test='`$isTemplateDriven.TEMPLATE`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 382.6111145019531,\r
+        "y": 889.6111135482788,\r
+        "z": "29005224.e84c46",\r
+        "wires": [\r
+            [\r
+                "9d2cedd4.ab474",\r
+                "717d950.608c96c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9d2cedd4.ab474",\r
+        "type": "success",\r
+        "name": "outcome: Y",\r
+        "xml": "<outcome value=\"Y\">",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 717.5357551574707,\r
+        "y": 859.5912027359009,\r
+        "z": "29005224.e84c46",\r
+        "wires": [\r
+            [\r
+                "d3749fed.e9b82"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "717d950.608c96c",\r
+        "type": "success",\r
+        "name": "outcome: Other",\r
+        "xml": "<outcome value='Other'>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 719.2738723754883,\r
+        "y": 917.7341413497925,\r
+        "z": "29005224.e84c46",\r
+        "wires": [\r
+            [\r
+                "626c366b.12ab4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d3749fed.e9b82",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "comments": null,\r
+        "outputs": 1,\r
+        "x": 953.1627159118652,\r
+        "y": 865.8571519851685,\r
+        "z": "29005224.e84c46",\r
+        "wires": [\r
+            [\r
+                "55166856.7789c8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "626c366b.12ab4",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "comments": null,\r
+        "outputs": 1,\r
+        "x": 983.2500839233398,\r
+        "y": 916.8056125640869,\r
+        "z": "29005224.e84c46",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "55166856.7789c8",\r
+        "type": "call",\r
+        "name": "call: loadTeamplate",\r
+        "xml": "<call module=\"APPC\" rpc=\"loadTeamplate\" mode=\"sync\">",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1156.750087738037,\r
+        "y": 865.8888502120972,\r
+        "z": "29005224.e84c46",\r
+        "wires": [\r
+            [\r
+                "eaef706.395761",\r
+                "c27756eb.b56cc"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "eaef706.395761",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1325.9167594909668,\r
+        "y": 835.6389303207397,\r
+        "z": "29005224.e84c46",\r
+        "wires": [\r
+            [\r
+                "41181dc0.443dd4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d0dd485b.2ad268",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "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",\r
+        "comments": "",\r
+        "x": 1719.7501068115234,\r
+        "y": 831.3055753707886,\r
+        "z": "29005224.e84c46",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "41181dc0.443dd4",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">\n\n",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1502.9167251586914,\r
+        "y": 833.5555562973022,\r
+        "z": "29005224.e84c46",\r
+        "wires": [\r
+            [\r
+                "d0dd485b.2ad268"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c27756eb.b56cc",\r
+        "type": "failure",\r
+        "name": "Other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1316.8333854675293,\r
+        "y": 948.2222166061401,\r
+        "z": "29005224.e84c46",\r
+        "wires": [\r
+            [\r
+                "3d62ad4c.6bdfba"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a24f31b2.4d18e",\r
+        "type": "get-resource",\r
+        "name": "get-resource: APPC.action-level",\r
+        "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",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 435.1944580078125,\r
+        "y": 551.1944704055786,\r
+        "z": "29005224.e84c46",\r
+        "wires": [\r
+            [\r
+                "95b0c195.da7348",\r
+                "19e50c10.9c277c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "732257e6.5f321",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 894.9444580078125,\r
+        "y": 555.5277709960938,\r
+        "z": "29005224.e84c46",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "95b0c195.da7348",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 710.361083984375,\r
+        "y": 554.1388549804688,\r
+        "z": "29005224.e84c46",\r
+        "wires": [\r
+            [\r
+                "732257e6.5f321"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "3d62ad4c.6bdfba",\r
+        "type": "call",\r
+        "name": "call: MergeTemplateData",\r
+        "xml": "<call module=\"APPC\" rpc=\"MergeTemplateData\" mode=\"sync\">",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1498.111099243164,\r
+        "y": 945.0277814865112,\r
+        "z": "29005224.e84c46",\r
+        "wires": [\r
+            [\r
+                "432b7e5d.93983",\r
+                "a0f71151.dc82a8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "da151a8e.03b298",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "comments": null,\r
+        "outputs": 1,\r
+        "x": 1891.6230392456055,\r
+        "y": 904.599232673645,\r
+        "z": "29005224.e84c46",\r
+        "wires": [\r
+            [\r
+                "e176531c.3b90b"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "432b7e5d.93983",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1732.2658920288086,\r
+        "y": 905.3015851974487,\r
+        "z": "29005224.e84c46",\r
+        "wires": [\r
+            [\r
+                "da151a8e.03b298"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a0f71151.dc82a8",\r
+        "type": "failure",\r
+        "name": "Other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1735.932559967041,\r
+        "y": 971.7301757335663,\r
+        "z": "29005224.e84c46",\r
+        "wires": [\r
+            [\r
+                "adcb7f0e.8d7018"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "adcb7f0e.8d7018",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1900.2182922363281,\r
+        "y": 971.3015871047974,\r
+        "z": "29005224.e84c46",\r
+        "wires": [\r
+            [\r
+                "a8d7e1f2.7f37b"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a8d7e1f2.7f37b",\r
+        "type": "record",\r
+        "name": "record",\r
+        "xml": "<record plugin=\"onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"info\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"`$request-action`\"/>\n<parameter name=\"field3\" value=\"`$input.action`\"/>\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2076.7897911071777,\r
+        "y": 972.9206256270409,\r
+        "z": "29005224.e84c46",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "835d681f.fd9e78",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "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",\r
+        "comments": "",\r
+        "x": 2272.6112098693848,\r
+        "y": 901.5277814865112,\r
+        "z": "29005224.e84c46",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "e176531c.3b90b",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">\n\n",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2084.527786254883,\r
+        "y": 902.9444065093994,\r
+        "z": "29005224.e84c46",\r
+        "wires": [\r
+            [\r
+                "835d681f.fd9e78"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "8d34313a.627aa8",\r
+        "type": "get-resource",\r
+        "name": "get-resource: isTemplateDriven",\r
+        "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",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 383.7777862548828,\r
+        "y": 827.1110906600952,\r
+        "z": "29005224.e84c46",\r
+        "wires": [\r
+            [\r
+                "e991d954.17bb88"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f9b86e0d.f41458",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 922.8611221313477,\r
+        "y": 811.1111373901367,\r
+        "z": "29005224.e84c46",\r
+        "wires": [\r
+            [\r
+                "cb70510a.cb926"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "cb70510a.cb926",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "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",\r
+        "comments": "",\r
+        "x": 1126.1111297607422,\r
+        "y": 805.5277423858643,\r
+        "z": "29005224.e84c46",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "e991d954.17bb88",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 711.944450378418,\r
+        "y": 805.9444704055786,\r
+        "z": "29005224.e84c46",\r
+        "wires": [\r
+            [\r
+                "f9b86e0d.f41458"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "990a0e31.6e0e5",\r
+        "type": "set",\r
+        "name": "set Payload params ",\r
+        "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",\r
+        "comments": "",\r
+        "x": 453.8333740234375,\r
+        "y": 302.86109352111816,\r
+        "z": "29005224.e84c46",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "19e50c10.9c277c",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 708.2222290039062,\r
+        "y": 612.111083984375,\r
+        "z": "29005224.e84c46",\r
+        "wires": [\r
+            [\r
+                "9ab33177.739028"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9ab33177.739028",\r
+        "type": "set",\r
+        "name": "set action-level ",\r
+        "xml": "<set>\n<parameter name='action-level' value='`$APPC.action-level.ACTION-LEVEL`' />\n\n\n\n\n\n",\r
+        "comments": "",\r
+        "x": 923.6388549804688,\r
+        "y": 610.1666259765625,\r
+        "z": "29005224.e84c46",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "895d6244.5f7778",\r
+        "type": "switchNode",\r
+        "name": "switch action-level",\r
+        "xml": "<switch test='`$action-level`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 368.3611145019531,\r
+        "y": 671.6944723129272,\r
+        "z": "29005224.e84c46",\r
+        "wires": [\r
+            [\r
+                "35177e35.337e22",\r
+                "a0f1c6b2.00f718"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "35177e35.337e22",\r
+        "type": "success",\r
+        "name": "outcome: Other",\r
+        "xml": "<outcome value='Other'>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 585.7777938842773,\r
+        "y": 698.1111135482788,\r
+        "z": "29005224.e84c46",\r
+        "wires": [\r
+            [\r
+                "c9dae8b.326fc18"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a0f1c6b2.00f718",\r
+        "type": "success",\r
+        "name": "outcome: vm",\r
+        "xml": "<outcome value='vm'>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 575.7777938842773,\r
+        "y": 760.7778034210205,\r
+        "z": "29005224.e84c46",\r
+        "wires": [\r
+            [\r
+                "890c6652.009fe"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "8fafb92f.4781f8",\r
+        "type": "success",\r
+        "name": "outcome: ''",\r
+        "xml": "<outcome value=''>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1495.5277824401855,\r
+        "y": 445.44440841674805,\r
+        "z": "29005224.e84c46",\r
+        "wires": [\r
+            [\r
+                "54258c13.b4dbec"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "785b351e.2dc944",\r
+        "type": "success",\r
+        "name": "outcome: Other",\r
+        "xml": "<outcome value='Other'>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1429.3494873046875,\r
+        "y": 541.9206590652466,\r
+        "z": "29005224.e84c46",\r
+        "wires": [\r
+            [\r
+                "87c5e3a0.ba27c8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "54258c13.b4dbec",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1026.3493194580078,\r
+        "y": 518.0158796310425,\r
+        "z": "29005224.e84c46",\r
+        "wires": [\r
+            [\r
+                "56a763a8.8e56fc"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "87c5e3a0.ba27c8",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "comments": null,\r
+        "outputs": 1,\r
+        "x": 1622.6585693359375,\r
+        "y": 541.3254442214966,\r
+        "z": "29005224.e84c46",\r
+        "wires": [\r
+            [\r
+                "fe793e70.4652a8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "fe793e70.4652a8",\r
+        "type": "set",\r
+        "name": "setActionLevel VNF",\r
+        "xml": "<set>\n<parameter name='action-level' value='vnf' />\n<parameter name='action-identifier' value='vnf-id' />",\r
+        "comments": "",\r
+        "x": 1827.2777099609375,\r
+        "y": 541.1110887527466,\r
+        "z": "29005224.e84c46",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "a3f0b036.b07238",\r
+        "type": "switchNode",\r
+        "name": "switch vnfc-name",\r
+        "xml": "<switch test='`$vnfc-name`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 417.6111526489258,\r
+        "y": 424.58331966400146,\r
+        "z": "29005224.e84c46",\r
+        "wires": [\r
+            [\r
+                "eef9ecae.76ad3",\r
+                "ffae425d.e075e"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "eef9ecae.76ad3",\r
+        "type": "success",\r
+        "name": "outcome: Other",\r
+        "xml": "<outcome value='Other'>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 691.1549301147461,\r
+        "y": 414.19843578338623,\r
+        "z": "29005224.e84c46",\r
+        "wires": [\r
+            [\r
+                "f1024b4b.2595e8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f1024b4b.2595e8",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "comments": null,\r
+        "outputs": 1,\r
+        "x": 879.1031265258789,\r
+        "y": 425.3254804611206,\r
+        "z": "29005224.e84c46",\r
+        "wires": [\r
+            [\r
+                "680f282a.97649"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "680f282a.97649",\r
+        "type": "set",\r
+        "name": "setActionLevel VNFC",\r
+        "xml": "<set>\n<parameter name='action-level' value='vnfc' />\n<parameter name='action-identifier' value='vnfc-name' />\n",\r
+        "comments": "",\r
+        "x": 1166.6112365722656,\r
+        "y": 336.83330249786377,\r
+        "z": "29005224.e84c46",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "93b4e2ac.d50e",\r
+        "type": "switchNode",\r
+        "name": "switch vserver-id",\r
+        "xml": "<switch test='`$vserver-id`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 884.4999465942383,\r
+        "y": 465.88883686065674,\r
+        "z": "29005224.e84c46",\r
+        "wires": [\r
+            [\r
+                "3e91bc4d.46606c",\r
+                "48c9e57e.8c798c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "3e91bc4d.46606c",\r
+        "type": "success",\r
+        "name": "outcome: Other",\r
+        "xml": "<outcome value='Other'>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1140.3771362304688,\r
+        "y": 388.6984214782715,\r
+        "z": "29005224.e84c46",\r
+        "wires": [\r
+            [\r
+                "d2985a3c.4610a8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d2985a3c.4610a8",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "comments": null,\r
+        "outputs": 1,\r
+        "x": 1324.825340270996,\r
+        "y": 370.57544898986816,\r
+        "z": "29005224.e84c46",\r
+        "wires": [\r
+            [\r
+                "cc353017.0aa6d8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "cc353017.0aa6d8",\r
+        "type": "set",\r
+        "name": "setActionLevel VM",\r
+        "xml": "<set>\n<parameter name='action-level' value='vm' />\n<parameter name='action-identifier' value='vserver-id' />\n\n",\r
+        "comments": "",\r
+        "x": 1512.694480895996,\r
+        "y": 360.7777500152588,\r
+        "z": "29005224.e84c46",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "56a763a8.8e56fc",\r
+        "type": "switchNode",\r
+        "name": "switch vnf-id",\r
+        "xml": "<switch test='`$vnf-id`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1189.7778511047363,\r
+        "y": 518.6110944747925,\r
+        "z": "29005224.e84c46",\r
+        "wires": [\r
+            [\r
+                "785b351e.2dc944",\r
+                "9d2ff18a.171238"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9d2ff18a.171238",\r
+        "type": "success",\r
+        "name": "outcome: ''",\r
+        "xml": "<outcome value=''>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1423.8611068725586,\r
+        "y": 491.94440746307373,\r
+        "z": "29005224.e84c46",\r
+        "wires": [\r
+            [\r
+                "b35053a9.d33238"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b35053a9.d33238",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1614.0993881225586,\r
+        "y": 488.34922313690186,\r
+        "z": "29005224.e84c46",\r
+        "wires": [\r
+            [\r
+                "6d710e0e.4976e"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "6d710e0e.4976e",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "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",\r
+        "comments": "",\r
+        "x": 1812.6109886169434,\r
+        "y": 494.3610944747925,\r
+        "z": "29005224.e84c46",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "8f73566a.1203d",\r
+        "type": "switchNode",\r
+        "name": "switch vf-module-id",\r
+        "xml": "<switch test='`$vf-module-id`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1295.6230697631836,\r
+        "y": 429.21821117401123,\r
+        "z": "29005224.e84c46",\r
+        "wires": [\r
+            [\r
+                "3af980e0.4a059",\r
+                "8fafb92f.4781f8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "3af980e0.4a059",\r
+        "type": "success",\r
+        "name": "outcome: Other",\r
+        "xml": "<outcome value='Other'>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1509.944480895996,\r
+        "y": 402.86106300354004,\r
+        "z": "29005224.e84c46",\r
+        "wires": [\r
+            [\r
+                "febce556.d01168"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "febce556.d01168",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "comments": null,\r
+        "outputs": 1,\r
+        "x": 1715.5039291381836,\r
+        "y": 401.7659101486206,\r
+        "z": "29005224.e84c46",\r
+        "wires": [\r
+            [\r
+                "503e3ecc.28c6b8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "503e3ecc.28c6b8",\r
+        "type": "set",\r
+        "name": "setActionLevel VF-Module",\r
+        "xml": "<set>\n<parameter name='action-level' value='vf-module' />\n<parameter name='action-identifier' value='vf-module-id' />\n",\r
+        "comments": "",\r
+        "x": 1927.7897033691406,\r
+        "y": 400.63489818573,\r
+        "z": "29005224.e84c46",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "ffae425d.e075e",\r
+        "type": "success",\r
+        "name": "outcome: ''",\r
+        "xml": "<outcome value=''>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 685.9444313049316,\r
+        "y": 460.02777671813965,\r
+        "z": "29005224.e84c46",\r
+        "wires": [\r
+            [\r
+                "93b4e2ac.d50e"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "48c9e57e.8c798c",\r
+        "type": "success",\r
+        "name": "outcome: ''",\r
+        "xml": "<outcome value=''>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1104.8334159851074,\r
+        "y": 447.6666612625122,\r
+        "z": "29005224.e84c46",\r
+        "wires": [\r
+            [\r
+                "8f73566a.1203d"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "7b2f5687.8079a8",\r
+        "type": "record",\r
+        "name": "record",\r
+        "xml": "<record plugin=\"onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"info\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"`$request-action`\"/>\n<parameter name=\"field3\" value=\"`$action-identifier`\"/>\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 391.61114501953125,\r
+        "y": 474.88889598846436,\r
+        "z": "29005224.e84c46",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "71fa2664.4d59f",\r
+        "type": "switchNode",\r
+        "name": "switch vnfc-type",\r
+        "xml": "<switch test='`$vnfc-type`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 427.0277862548828,\r
+        "y": 357.6666784286499,\r
+        "z": "29005224.e84c46",\r
+        "wires": [\r
+            [\r
+                "b6a4357c.618ce8",\r
+                "6529cb.63d45634"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b6a4357c.618ce8",\r
+        "type": "success",\r
+        "name": "outcome: Other",\r
+        "xml": "<outcome value='Other'>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 702.7937316894531,\r
+        "y": 322.83735847473145,\r
+        "z": "29005224.e84c46",\r
+        "wires": [\r
+            [\r
+                "74cf5abf.1acb4c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "74cf5abf.1acb4c",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "comments": null,\r
+        "outputs": 1,\r
+        "x": 896.2975578308105,\r
+        "y": 325.0754690170288,\r
+        "z": "29005224.e84c46",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "6529cb.63d45634",\r
+        "type": "success",\r
+        "name": "outcome: ''",\r
+        "xml": "<outcome value=''>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 698.6944046020508,\r
+        "y": 364.22221755981445,\r
+        "z": "29005224.e84c46",\r
+        "wires": [\r
+            [\r
+                "2a62c2f3.99fb8e"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "2a62c2f3.99fb8e",\r
+        "type": "set",\r
+        "name": "set vnfc-type ",\r
+        "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",\r
+        "comments": "",\r
+        "x": 897.0277328491211,\r
+        "y": 364.3333559036255,\r
+        "z": "29005224.e84c46",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "c9dae8b.326fc18",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 743.75,\r
+        "y": 704.75,\r
+        "z": "29005224.e84c46",\r
+        "wires": [\r
+            [\r
+                "ee42bea.ad995c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "890c6652.009fe",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 756.75,\r
+        "y": 764.75,\r
+        "z": "29005224.e84c46",\r
+        "wires": [\r
+            [\r
+                "400b20c6.a313"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "400b20c6.a313",\r
+        "type": "returnSuccess",\r
+        "name": "return success",\r
+        "xml": "<return status='success'>\n\n",\r
+        "comments": "",\r
+        "x": 930.0833740234375,\r
+        "y": 759.7500610351562,\r
+        "z": "29005224.e84c46",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "ee42bea.ad995c",\r
+        "type": "record",\r
+        "name": "record",\r
+        "xml": "<record plugin=\"onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"info\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"Action Level is not VM:\"/>\n<parameter name=\"field3\" value=\"`$action-level`\"/>\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1054.75,\r
+        "y": 715.75,\r
+        "z": "29005224.e84c46",\r
+        "wires": [\r
+            []\r
+        ]\r
+    }\r
+]\r