Platform Hardening for DG Json files - Part 2
[appc.git] / appc-directed-graph / appc-dgraph / provider / src / main / resources / json / Dispatcher-DG / APPC_Stop_VNF_2.0.2.json
index 357dcf3..8c23e8b 100644 (file)
-[
-  {
-    "id": "b25ea899.d365d8",
-    "type": "dgstart",
-    "name": "DGSTART",
-    "outputs": 1,
-    "x": 174.515625,
-    "y": 391.515625,
-    "z": "25788422.0cd1fc",
-    "wires": [
-      [
-        "f1895f0c.4c6ea"
-      ]
-    ]
-  },
-  {
-    "id": "f1895f0c.4c6ea",
-    "type": "service-logic",
-    "name": "APPC 2.0.2",
-    "module": "APPC",
-    "version": "2.0.2",
-    "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.2'>",
-    "outputs": 1,
-    "x": 350.515625,
-    "y": 391.515625,
-    "z": "25788422.0cd1fc",
-    "wires": [
-      [
-        "29d8b20c.bcc73e"
-      ]
-    ]
-  },
-  {
-    "id": "29d8b20c.bcc73e",
-    "type": "method",
-    "name": "Stop_VNF",
-    "xml": "<method rpc='Stop_VNF' mode='sync'>\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 182.51568603515625,
-    "y": 473.515625,
-    "z": "25788422.0cd1fc",
-    "wires": [
-      [
-        "dd256332.18b52"
-      ]
-    ]
-  },
-  {
-    "id": "3303293f.b715b6",
-    "type": "failure",
-    "name": "failure",
-    "xml": "<outcome value='failure'>\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 734.5159301757812,
-    "y": 415.515625,
-    "z": "25788422.0cd1fc",
-    "wires": [
-      [
-        "1160b666.e3e76a"
-      ]
-    ]
-  },
-  {
-    "id": "de3c0f63.e4197",
-    "type": "other",
-    "name": "other",
-    "xml": "<outcome value='Other'>\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 733.515869140625,
-    "y": 363.515625,
-    "z": "25788422.0cd1fc",
-    "wires": [
-      [
-        "1160b666.e3e76a"
-      ]
-    ]
-  },
-  {
-    "id": "2a306103.619fbe",
-    "type": "not-found",
-    "name": "not-found",
-    "xml": "<outcome value='not-found'>\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 729.5159301757812,
-    "y": 455.51563262939453,
-    "z": "25788422.0cd1fc",
-    "wires": [
-      [
-        "1160b666.e3e76a"
-      ]
-    ]
-  },
-  {
-    "id": "dd256332.18b52",
-    "type": "execute",
-    "name": "flatAndAddToContext",
-    "xml": "<execute plugin='org.onap.appc.dg.common.JsonDgUtil' method='flatAndAddToContext' >\n<parameter name=\"payload\" value=\"`$input.payload`\" />",
-    "comments": "",
-    "outputs": 1,
-    "x": 422.5157165527344,
-    "y": 472.51564025878906,
-    "z": "25788422.0cd1fc",
-    "wires": [
-      [
-        "3303293f.b715b6",
-        "de3c0f63.e4197",
-        "2a306103.619fbe",
-        "60deb41e.71e38c"
-      ]
-    ]
-  },
-  {
-    "id": "60deb41e.71e38c",
-    "type": "success",
-    "name": "success",
-    "xml": "<outcome value='success'>\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 252.51565551757812,
-    "y": 580.5156555175781,
-    "z": "25788422.0cd1fc",
-    "wires": [
-      [
-        "c02b5f84.eb026"
-      ]
-    ]
-  },
-  {
-    "id": "c02b5f84.eb026",
-    "type": "execute",
-    "name": "execute_getVnfHierarchy",
-    "xml": "<execute plugin='org.onap.appc.dg.aai.AAIPlugin' method='getVnfHierarchy'>\n<parameter name=\"resourceKey\" value=\"`$input.action-identifiers.vnf-id`\" />\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 434.182373046875,
-    "y": 580.5157165527344,
-    "z": "25788422.0cd1fc",
-    "wires": [
-      [
-        "f740cf84.95c9",
-        "7eef4ecc.dbdbd"
-      ]
-    ]
-  },
-  {
-    "id": "7eef4ecc.dbdbd",
-    "type": "failure",
-    "name": "failure",
-    "xml": "<outcome value='failure'>\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 679.1823120117188,
-    "y": 531.5156555175781,
-    "z": "25788422.0cd1fc",
-    "wires": [
-      [
-        "314e24d1.2af52c"
-      ]
-    ]
-  },
-  {
-    "id": "f740cf84.95c9",
-    "type": "success",
-    "name": "success",
-    "xml": "<outcome value='success'>\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 404.1823425292969,
-    "y": 650.5156860351562,
-    "z": "25788422.0cd1fc",
-    "wires": [
-      [
-        "dcc95947.dc16f8"
-      ]
-    ]
-  },
-  {
-    "id": "dcc95947.dc16f8",
-    "type": "switchNode",
-    "name": "switch_getVnfHierarchy_result",
-    "xml": "<switch test='`$getVnfHierarchy_result`'>\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 492.18231201171875,
-    "y": 713.6268310546875,
-    "z": "25788422.0cd1fc",
-    "wires": [
-      [
-        "26dec072.fac0a",
-        "c73a3ef3.82e05"
-      ]
-    ]
-  },
-  {
-    "id": "26dec072.fac0a",
-    "type": "outcome",
-    "name": "outcome_SUCCESS",
-    "xml": "<outcome value='SUCCESS'>\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 495.18231201171875,
-    "y": 787.6268310546875,
-    "z": "25788422.0cd1fc",
-    "wires": [
-      [
-        "445c9cba.fb5d94"
-      ]
-    ]
-  },
-  {
-    "id": "c73a3ef3.82e05",
-    "type": "outcome",
-    "name": "outcome_FAILURE",
-    "xml": "<outcome value='FAILURE'>\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 767.182373046875,
-    "y": 639.6268310546875,
-    "z": "25788422.0cd1fc",
-    "wires": [
-      [
-        "8df5db13.758428"
-      ]
-    ]
-  },
-  {
-    "id": "445c9cba.fb5d94",
-    "type": "switchNode",
-    "name": "switch_VNF_VMCount",
-    "xml": "<switch test='`$VNF.VMCount`'>",
-    "comments": "",
-    "outputs": 1,
-    "x": 610.1823425292969,
-    "y": 853.7379150390625,
-    "z": "25788422.0cd1fc",
-    "wires": [
-      [
-        "43163179.13979",
-        "a3b76bbf.32b818"
-      ]
-    ]
-  },
-  {
-    "id": "43163179.13979",
-    "type": "outcome",
-    "name": "outcome_0",
-    "xml": "<outcome value='0'>\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 834.1823120117188,
-    "y": 755.73779296875,
-    "z": "25788422.0cd1fc",
-    "wires": [
-      [
-        "b911488a.955a38"
-      ]
-    ]
-  },
-  {
-    "id": "a3b76bbf.32b818",
-    "type": "other",
-    "name": "other",
-    "xml": "<outcome value='Other'>\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 564.1823120117188,
-    "y": 916.7379150390625,
-    "z": "25788422.0cd1fc",
-    "wires": [
-      [
-        "1de7ef77.6f1701"
-      ]
-    ]
-  },
-  {
-    "id": "1de7ef77.6f1701",
-    "type": "execute",
-    "name": "Get VNFC Execution Flow Data",
-    "xml": "<execute plugin='org.onap.appc.dg.common.VnfExecutionFlow' method='getVnfExecutionFlowData' >\n<parameter name=\"DependencyType\" value='RESOURCE' />\n<parameter name=\"FlowStrategy\" value='REVERSE' />\n<parameter name=\"vnfType\" value='`$vnf.type`' />\n<parameter name=\"vnfVersion\" value='`$vnf.version`' />\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 596.1823120117188,
-    "y": 969.8489990234375,
-    "z": "25788422.0cd1fc",
-    "wires": [
-      [
-        "62e8b7ae.830b88",
-        "3ccb7956.965646"
-      ]
-    ]
-  },
-  {
-    "id": "62e8b7ae.830b88",
-    "type": "failure",
-    "name": "failure",
-    "xml": "<outcome value='failure'>\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 846.1823120117188,
-    "y": 905.8489990234375,
-    "z": "25788422.0cd1fc",
-    "wires": [
-      [
-        "bf9622b3.21e47"
-      ]
-    ]
-  },
-  {
-    "id": "1160b666.e3e76a",
-    "type": "block",
-    "name": "block : atomic",
-    "xml": "<block atomic='true'>",
-    "atomic": "true",
-    "comments": "",
-    "outputs": 1,
-    "x": 892.182487487793,
-    "y": 414.515625,
-    "z": "25788422.0cd1fc",
-    "wires": [
-      [
-        "6fae0bcd.781004",
-        "915b6526.fc9068"
-      ]
-    ]
-  },
-  {
-    "id": "6a4cb650.71b798",
-    "type": "execute",
-    "name": "Report Error to DCAE",
-    "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"event-message\" value=\"`$event-message`\" />",
-    "comments": "",
-    "outputs": 1,
-    "x": 2930.0870666503906,
-    "y": 979.8965454101562,
-    "z": "25788422.0cd1fc",
-    "wires": [
-      [
-        "b93bd4c0.a52508"
-      ]
-    ]
-  },
-  {
-    "id": "b93bd4c0.a52508",
-    "type": "success",
-    "name": "success",
-    "xml": "<outcome value='success'>\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 3104.3724670410156,
-    "y": 977.3251953125,
-    "z": "25788422.0cd1fc",
-    "wires": [
-      []
-    ]
-  },
-  {
-    "id": "6fae0bcd.781004",
-    "type": "returnFailure",
-    "name": "return failure",
-    "xml": "<return status='failure'>\n<parameter name=\"output.status.message\" value=\"Failure in flattening payload Json\" />",
-    "comments": "",
-    "x": 969.5154304504395,
-    "y": 488.0393295288086,
-    "z": "25788422.0cd1fc",
-    "wires": []
-  },
-  {
-    "id": "314e24d1.2af52c",
-    "type": "block",
-    "name": "block : atomic",
-    "xml": "<block atomic='true'>",
-    "atomic": "true",
-    "comments": "",
-    "outputs": 1,
-    "x": 857.9600219726562,
-    "y": 531.404541015625,
-    "z": "25788422.0cd1fc",
-    "wires": [
-      [
-        "cfef6dc8.945be",
-        "1c582707.184b99"
-      ]
-    ]
-  },
-  {
-    "id": "1c582707.184b99",
-    "type": "execute",
-    "name": "OutputMessageBuilder",
-    "xml": "<execute plugin='org.onap.appc.dg.common.OutputMessagePlugin' method='outputMessageBuilder' >\n<parameter name=\"error-message\" value=\"`$error-message`\" />\n<parameter name=\"event-message\" value=\"Failed to retrieve VNF details from A&amp;AI\"/>\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 1281.9598999023438,
-    "y": 537.404541015625,
-    "z": "25788422.0cd1fc",
-    "wires": [
-      [
-        "d5e38f40.40fcd"
-      ]
-    ]
-  },
-  {
-    "id": "cfef6dc8.945be",
-    "type": "returnFailure",
-    "name": "return failure",
-    "xml": "<return status='failure'>\n",
-    "comments": "",
-    "x": 1097.9600219726562,
-    "y": 583.404541015625,
-    "z": "25788422.0cd1fc",
-    "wires": []
-  },
-  {
-    "id": "d5e38f40.40fcd",
-    "type": "success",
-    "name": "success",
-    "xml": "<outcome value='success'>\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 1496.9600219726562,
-    "y": 474.4045104980469,
-    "z": "25788422.0cd1fc",
-    "wires": [
-      [
-        "6a4cb650.71b798"
-      ]
-    ]
-  },
-  {
-    "id": "8df5db13.758428",
-    "type": "block",
-    "name": "block : atomic",
-    "xml": "<block atomic='true'>",
-    "atomic": "true",
-    "comments": "",
-    "outputs": 1,
-    "x": 1010.8490600585938,
-    "y": 640.6268310546875,
-    "z": "25788422.0cd1fc",
-    "wires": [
-      [
-        "8259cf4e.93836",
-        "58014ac2.8034f4"
-      ]
-    ]
-  },
-  {
-    "id": "58014ac2.8034f4",
-    "type": "execute",
-    "name": "OutputMessageBuilder",
-    "xml": "<execute plugin='org.onap.appc.dg.common.OutputMessagePlugin' method='outputMessageBuilder' >\n<parameter name=\"error-message\" value=\"`$error-message`\" />\n<parameter name=\"event-message\" value=\"Failed to retrieve VNF details from A&amp;AI\"/>\n\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 1276.8490600585938,
-    "y": 638.6268310546875,
-    "z": "25788422.0cd1fc",
-    "wires": [
-      [
-        "848f3b70.e46888"
-      ]
-    ]
-  },
-  {
-    "id": "848f3b70.e46888",
-    "type": "success",
-    "name": "success",
-    "xml": "<outcome value='success'>\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 1500.8490600585938,
-    "y": 548.6268310546875,
-    "z": "25788422.0cd1fc",
-    "wires": [
-      [
-        "6a4cb650.71b798"
-      ]
-    ]
-  },
-  {
-    "id": "8259cf4e.93836",
-    "type": "returnFailure",
-    "name": "return failure",
-    "xml": "<return status='failure'>\n",
-    "comments": "",
-    "x": 1258.8490600585938,
-    "y": 687.6268310546875,
-    "z": "25788422.0cd1fc",
-    "wires": []
-  },
-  {
-    "id": "b911488a.955a38",
-    "type": "block",
-    "name": "block : atomic",
-    "xml": "<block atomic='true'>",
-    "atomic": "true",
-    "comments": "",
-    "outputs": 1,
-    "x": 1022.5156860351562,
-    "y": 756.7379455566406,
-    "z": "25788422.0cd1fc",
-    "wires": [
-      [
-        "10549a32.dff226",
-        "fe639385.f254b"
-      ]
-    ]
-  },
-  {
-    "id": "fe639385.f254b",
-    "type": "execute",
-    "name": "OutputMessageBuilder",
-    "xml": "<execute plugin='org.onap.appc.dg.common.OutputMessagePlugin' method='outputMessageBuilder' >\n<parameter name=\"error-message\" value=\"`$error-message`\" />",
-    "comments": "",
-    "outputs": 1,
-    "x": 1287.5156860351562,
-    "y": 738.7379150390625,
-    "z": "25788422.0cd1fc",
-    "wires": [
-      [
-        "d6ec24dc.40d138"
-      ]
-    ]
-  },
-  {
-    "id": "d6ec24dc.40d138",
-    "type": "success",
-    "name": "success",
-    "xml": "<outcome value='success'>\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 1520.5156860351562,
-    "y": 646.7379150390625,
-    "z": "25788422.0cd1fc",
-    "wires": [
-      [
-        "6a4cb650.71b798"
-      ]
-    ]
-  },
-  {
-    "id": "10549a32.dff226",
-    "type": "returnFailure",
-    "name": "return failure",
-    "xml": "<return status='failure'>\n",
-    "comments": "",
-    "x": 1252.5156860351562,
-    "y": 806.7379150390625,
-    "z": "25788422.0cd1fc",
-    "wires": []
-  },
-  {
-    "id": "bf9622b3.21e47",
-    "type": "block",
-    "name": "block : atomic",
-    "xml": "<block atomic='true'>",
-    "atomic": "true",
-    "comments": "",
-    "outputs": 1,
-    "x": 1014.515625,
-    "y": 906.9600830078125,
-    "z": "25788422.0cd1fc",
-    "wires": [
-      [
-        "b19f523c.7b27f",
-        "ca1fafca.d9e25"
-      ]
-    ]
-  },
-  {
-    "id": "ca1fafca.d9e25",
-    "type": "execute",
-    "name": "OutputMessageBuilder",
-    "xml": "<execute plugin='org.onap.appc.dg.common.OutputMessagePlugin' method='outputMessageBuilder' >\n<parameter name=\"error-message\" value=\"`$error-message`\" />",
-    "comments": "",
-    "outputs": 1,
-    "x": 1293.515625,
-    "y": 872.9600830078125,
-    "z": "25788422.0cd1fc",
-    "wires": [
-      [
-        "5d09f297.44349c"
-      ]
-    ]
-  },
-  {
-    "id": "5d09f297.44349c",
-    "type": "success",
-    "name": "success",
-    "xml": "<outcome value='success'>\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 1522.5156860351562,
-    "y": 733.9601135253906,
-    "z": "25788422.0cd1fc",
-    "wires": [
-      [
-        "6a4cb650.71b798"
-      ]
-    ]
-  },
-  {
-    "id": "b19f523c.7b27f",
-    "type": "returnFailure",
-    "name": "return failure",
-    "xml": "<return status='failure'>\n",
-    "comments": "",
-    "x": 1258.5155639648438,
-    "y": 942.9601440429688,
-    "z": "25788422.0cd1fc",
-    "wires": []
-  },
-  {
-    "id": "741ec63e.47b658",
-    "type": "execute",
-    "name": "Resolve VNFC DG",
-    "xml": "<execute plugin='org.onap.appc.dg.common.VNFCDgResolverPlugin' method='resolveVNFCDg'>\n<parameter name=\"vnfType\" value='`$vnf.type`' />\n<parameter name=\"vnfcType\" value='`$vnfcFlow[$i].vnfcType`' /> \n<parameter name=\"action\" value=\"Stop\" />\n<parameter name=\"api-ver\" value='`$input.common-header.api-ver`' /> \n<parameter name=\"prefix\" value=\"Stop\" />",
-    "comments": "",
-    "outputs": 1,
-    "x": 1256.7380676269531,
-    "y": 1276.1823425292969,
-    "z": "25788422.0cd1fc",
-    "wires": [
-      [
-        "ce601d5.d4914e",
-        "ca1cbabc.1584a8"
-      ]
-    ]
-  },
-  {
-    "id": "1d9ddab5.667815",
-    "type": "for",
-    "name": "for_each_vnfcFlow",
-    "xml": "<for index='i' start='0' end='`$vnfcFlowCount`' >\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 850.7379302978516,
-    "y": 1259.1824035644531,
-    "z": "25788422.0cd1fc",
-    "wires": [
-      [
-        "b0ac43b7.cee43"
-      ]
-    ]
-  },
-  {
-    "id": "504ee939.7682f8",
-    "type": "set",
-    "name": "set vnfc parameters",
-    "xml": "<set>\n<parameter name='vnfcName' value='`$vnfcFlow[$i].vnfcName`' />\n<parameter name='vnfcType' value='`$vnfcFlow[$i].vnfcType`' />\n<parameter name='vmCount' value='`$vnfcFlow[$i].vmCount`' />\n<parameter name='input.action' value='`$input.action`' />\n<parameter name='AAIUpdateSuccessFlag' value='false' />\n\n",
-    "comments": "",
-    "x": 1261.7376708984375,
-    "y": 1091.2935180664062,
-    "z": "25788422.0cd1fc",
-    "wires": []
-  },
-  {
-    "id": "6688cc5b.a481f4",
-    "type": "call",
-    "name": "call VNFC DG",
-    "xml": "<call module='`$Stop.dg_module`' rpc='`$Stop.dg_name`' mode='sync' >\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 1592.7378234863281,
-    "y": 1318.2936096191406,
-    "z": "25788422.0cd1fc",
-    "wires": [
-      [
-        "d62f7e05.fc757",
-        "867811c.94c21f",
-        "abe16d65.fa0ad"
-      ]
-    ]
-  },
-  {
-    "id": "1ff36a5c.3a1fa6",
-    "type": "block",
-    "name": "block : atomic",
-    "xml": "<block atomic='true'>",
-    "atomic": "true",
-    "comments": "",
-    "outputs": 1,
-    "x": 622.7380981445312,
-    "y": 1258.1824645996094,
-    "z": "25788422.0cd1fc",
-    "wires": [
-      [
-        "1d9ddab5.667815",
-        "cacb482f.c409f8",
-        "442ba77d.874db8"
-      ]
-    ]
-  },
-  {
-    "id": "ce601d5.d4914e",
-    "type": "success",
-    "name": "success",
-    "xml": "<outcome value='success'>\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 1431.7375793457031,
-    "y": 1318.1824035644531,
-    "z": "25788422.0cd1fc",
-    "wires": [
-      [
-        "6688cc5b.a481f4"
-      ]
-    ]
-  },
-  {
-    "id": "ca1cbabc.1584a8",
-    "type": "failure",
-    "name": "failure",
-    "xml": "<outcome value='failure'>\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 1443.7377014160156,
-    "y": 1237.1824035644531,
-    "z": "25788422.0cd1fc",
-    "wires": [
-      [
-        "9a471db7.e302b"
-      ]
-    ]
-  },
-  {
-    "id": "9a471db7.e302b",
-    "type": "block",
-    "name": "block : atomic",
-    "xml": "<block atomic='true'>",
-    "atomic": "true",
-    "comments": "",
-    "outputs": 1,
-    "x": 1625.7376708984375,
-    "y": 1236.1824035644531,
-    "z": "25788422.0cd1fc",
-    "wires": [
-      [
-        "2b7c2fc2.fce28",
-        "d1b96ddb.ec598"
-      ]
-    ]
-  },
-  {
-    "id": "2b7c2fc2.fce28",
-    "type": "execute",
-    "name": "OutputMessageBuilder",
-    "xml": "<execute plugin='org.onap.appc.dg.common.OutputMessagePlugin' method='outputMessageBuilder' >\n<parameter name=\"error-message\" value=\"`$error-message`\" />\n<parameter name=\"event-message\" value=\"`'Failed to retrieve VNFC DG for ' + $vnfcFlow[$i].vnfcType`\"/>",
-    "comments": "",
-    "outputs": 1,
-    "x": 1905.7377624511719,
-    "y": 1195.1825256347656,
-    "z": "25788422.0cd1fc",
-    "wires": [
-      [
-        "7b9666da.06bef8"
-      ]
-    ]
-  },
-  {
-    "id": "867811c.94c21f",
-    "type": "not-found",
-    "name": "not-found",
-    "xml": "<outcome value='not-found'>\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 1782.5155944824219,
-    "y": 1278.4046936035156,
-    "z": "25788422.0cd1fc",
-    "wires": [
-      [
-        "a8bdf6b0.355778"
-      ]
-    ]
-  },
-  {
-    "id": "d62f7e05.fc757",
-    "type": "failure",
-    "name": "failure",
-    "xml": "<outcome value='failure'>\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 1771.5156555175781,
-    "y": 1361.4049072265625,
-    "z": "25788422.0cd1fc",
-    "wires": [
-      [
-        "d9f2c28b.c7429"
-      ]
-    ]
-  },
-  {
-    "id": "a8bdf6b0.355778",
-    "type": "block",
-    "name": "block : atomic",
-    "xml": "<block atomic='true'>",
-    "atomic": "true",
-    "comments": "",
-    "outputs": 1,
-    "x": 1959.9599914550781,
-    "y": 1278.4046936035156,
-    "z": "25788422.0cd1fc",
-    "wires": [
-      [
-        "44681b66.f4c3a4",
-        "9dc3e92d.6f7f18"
-      ]
-    ]
-  },
-  {
-    "id": "44681b66.f4c3a4",
-    "type": "execute",
-    "name": "OutputMessageBuilder",
-    "xml": "<execute plugin='org.onap.appc.dg.common.OutputMessagePlugin' method='outputMessageBuilder' >\n<parameter name=\"error-message\" value=\"`$error-message`\" />\n<parameter name=\"event-message\" value=\"`'VNFC DG not found for: ' + $vnfcFlow[$i].vnfcName`\"/>",
-    "comments": "",
-    "outputs": 1,
-    "x": 2185.960723876953,
-    "y": 1279.4048156738281,
-    "z": "25788422.0cd1fc",
-    "wires": [
-      [
-        "5b4bdcd5.0244f4"
-      ]
-    ]
-  },
-  {
-    "id": "d9f2c28b.c7429",
-    "type": "block",
-    "name": "block : atomic",
-    "xml": "<block atomic='true'>",
-    "atomic": "true",
-    "comments": "",
-    "outputs": 1,
-    "x": 1920.4045715332031,
-    "y": 1363.40478515625,
-    "z": "25788422.0cd1fc",
-    "wires": [
-      [
-        "6d279d37.78ccd4"
-      ]
-    ]
-  },
-  {
-    "id": "b0ac43b7.cee43",
-    "type": "block",
-    "name": "block : atomic",
-    "xml": "<block atomic='true'>",
-    "atomic": "true",
-    "comments": "",
-    "outputs": 1,
-    "x": 1038.4044647216797,
-    "y": 1177.4045715332031,
-    "z": "25788422.0cd1fc",
-    "wires": [
-      [
-        "741ec63e.47b658",
-        "504ee939.7682f8",
-        "ba8e7dc8.b3d94"
-      ]
-    ]
-  },
-  {
-    "id": "ba8e7dc8.b3d94",
-    "type": "for",
-    "name": "for_each_vm",
-    "xml": "<for index='j' start='0' end='`$vmCount`' >\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 1262.515640258789,
-    "y": 1177.9601135253906,
-    "z": "25788422.0cd1fc",
-    "wires": [
-      [
-        "73299151.c13e7"
-      ]
-    ]
-  },
-  {
-    "id": "89ef910b.6f179",
-    "type": "set",
-    "name": "set VM url",
-    "xml": "<set>\n<parameter name=\"vm[$j].url\" value='`$vnfcFlow[$i].vm[$j].url`' />\n\n\n\n\n\n",
-    "comments": "",
-    "x": 1681.515640258789,
-    "y": 1174.9601135253906,
-    "z": "25788422.0cd1fc",
-    "wires": []
-  },
-  {
-    "id": "73299151.c13e7",
-    "type": "block",
-    "name": "block : atomic",
-    "xml": "<block atomic='true'>",
-    "atomic": "true",
-    "comments": "",
-    "outputs": 1,
-    "x": 1497.515640258789,
-    "y": 1175.9601135253906,
-    "z": "25788422.0cd1fc",
-    "wires": [
-      [
-        "89ef910b.6f179"
-      ]
-    ]
-  },
-  {
-    "id": "3ccb7956.965646",
-    "type": "success",
-    "name": "success",
-    "xml": "<outcome value='success'>\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 842.515625,
-    "y": 962.7378540039062,
-    "z": "25788422.0cd1fc",
-    "wires": [
-      [
-        "926dd466.d05b38"
-      ]
-    ]
-  },
-  {
-    "id": "926dd466.d05b38",
-    "type": "switchNode",
-    "name": "switch_dependencyModelFound",
-    "xml": "<switch test='`$dependencyModelFound`'>\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 606.5157470703125,
-    "y": 1043.1823120117188,
-    "z": "25788422.0cd1fc",
-    "wires": [
-      [
-        "bcdaaae8.15d2e8",
-        "a9b756f3.902238"
-      ]
-    ]
-  },
-  {
-    "id": "bcdaaae8.15d2e8",
-    "type": "outcome",
-    "name": "outcome_false",
-    "xml": "<outcome value='false'>\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 955.1824340820312,
-    "y": 1014.2933959960938,
-    "z": "25788422.0cd1fc",
-    "wires": [
-      [
-        "a3432c6e.32994"
-      ]
-    ]
-  },
-  {
-    "id": "a9b756f3.902238",
-    "type": "outcome",
-    "name": "outcome_true",
-    "xml": "<outcome value='true'>\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 568.5156860351562,
-    "y": 1148.1822814941406,
-    "z": "25788422.0cd1fc",
-    "wires": [
-      [
-        "1ff36a5c.3a1fa6"
-      ]
-    ]
-  },
-  {
-    "id": "a3432c6e.32994",
-    "type": "call",
-    "name": "call Stop VNF without Model DG",
-    "xml": "<call module='APPC' rpc='Stop_VNF' version='2.0.1' mode='sync' >\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 1233.5154876708984,
-    "y": 1004.7378845214844,
-    "z": "25788422.0cd1fc",
-    "wires": [
-      [
-        "28d59860.ed9638",
-        "b6692659.08be28",
-        "85aacc05.3e737"
-      ]
-    ]
-  },
-  {
-    "id": "28d59860.ed9638",
-    "type": "not-found",
-    "name": "not-found",
-    "xml": "<outcome value='not-found'>\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 1490.2933197021484,
-    "y": 954.8490295410156,
-    "z": "25788422.0cd1fc",
-    "wires": [
-      [
-        "ddc29a60.9b4398"
-      ]
-    ]
-  },
-  {
-    "id": "b6692659.08be28",
-    "type": "failure",
-    "name": "failure",
-    "xml": "<outcome value='failure'>\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 1493.2933197021484,
-    "y": 995.8490295410156,
-    "z": "25788422.0cd1fc",
-    "wires": [
-      [
-        "7e1f30ff.7a6f7"
-      ]
-    ]
-  },
-  {
-    "id": "ddc29a60.9b4398",
-    "type": "block",
-    "name": "block : atomic",
-    "xml": "<block atomic='true'>",
-    "atomic": "true",
-    "comments": "",
-    "outputs": 1,
-    "x": 1677.7377319335938,
-    "y": 943.8490371704102,
-    "z": "25788422.0cd1fc",
-    "wires": [
-      [
-        "fabbee43.1dc99",
-        "f7377249.220f5"
-      ]
-    ]
-  },
-  {
-    "id": "f7377249.220f5",
-    "type": "execute",
-    "name": "OutputMessageBuilder",
-    "xml": "<execute plugin='org.onap.appc.dg.common.OutputMessagePlugin' method='outputMessageBuilder' >\n<parameter name=\"error-message\" value=\"`$error-message`\" />\n<parameter name=\"event-message\" value=\"Stop DG not found\"/>",
-    "comments": "",
-    "outputs": 1,
-    "x": 1895.7378845214844,
-    "y": 919.8490371704102,
-    "z": "25788422.0cd1fc",
-    "wires": [
-      [
-        "9324252c.fadd38"
-      ]
-    ]
-  },
-  {
-    "id": "fabbee43.1dc99",
-    "type": "returnFailure",
-    "name": "return failure",
-    "xml": "<return status='failure'>\n",
-    "comments": "",
-    "x": 1905.7378845214844,
-    "y": 974.8490982055664,
-    "z": "25788422.0cd1fc",
-    "wires": []
-  },
-  {
-    "id": "7e1f30ff.7a6f7",
-    "type": "returnFailure",
-    "name": "return failure",
-    "xml": "<return status='failure'>\n",
-    "comments": "",
-    "x": 1730.182357788086,
-    "y": 990.8491516113281,
-    "z": "25788422.0cd1fc",
-    "wires": []
-  },
-  {
-    "id": "85aacc05.3e737",
-    "type": "success",
-    "name": "success",
-    "xml": "<outcome value='success'>\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 1502.2933654785156,
-    "y": 1035.8489990234375,
-    "z": "25788422.0cd1fc",
-    "wires": [
-      [
-        "8d846ad5.9a88c8"
-      ]
-    ]
-  },
-  {
-    "id": "8d846ad5.9a88c8",
-    "type": "returnSuccess",
-    "name": "return success",
-    "xml": "<return status='success'>\n\n",
-    "comments": "",
-    "x": 1736.2933197021484,
-    "y": 1034.8490295410156,
-    "z": "25788422.0cd1fc",
-    "wires": []
-  },
-  {
-    "id": "442ba77d.874db8",
-    "type": "set",
-    "name": "init failed VNFC count",
-    "xml": "<set>\n<parameter name='stopFailedVNFCCount' value='0' />\n",
-    "comments": "",
-    "x": 892.6267242431641,
-    "y": 1101.1824035644531,
-    "z": "25788422.0cd1fc",
-    "wires": []
-  },
-  {
-    "id": "cacb482f.c409f8",
-    "type": "switchNode",
-    "name": "switch_server_restart_success",
-    "xml": "<switch test='`$stopFailedVNFCCount == 0`'>\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 895.8489379882812,
-    "y": 1446.1825866699219,
-    "z": "25788422.0cd1fc",
-    "wires": [
-      [
-        "11544b2a.bebbb5",
-        "9af5b3b0.6ce16"
-      ]
-    ]
-  },
-  {
-    "id": "11544b2a.bebbb5",
-    "type": "outcomeFalse",
-    "name": "false",
-    "xml": "<outcome value='false'>\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 1126.0988464355469,
-    "y": 1408.9324645996094,
-    "z": "25788422.0cd1fc",
-    "wires": [
-      [
-        "7d480213.47e71c"
-      ]
-    ]
-  },
-  {
-    "id": "9af5b3b0.6ce16",
-    "type": "outcomeTrue",
-    "name": "true",
-    "xml": "<outcome value='true'>\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 1123.5989379882812,
-    "y": 1467.9324645996094,
-    "z": "25788422.0cd1fc",
-    "wires": [
-      [
-        "744fa6c6.b167d8"
-      ]
-    ]
-  },
-  {
-    "id": "7d480213.47e71c",
-    "type": "block",
-    "name": "block : atomic",
-    "xml": "<block atomic='true'>",
-    "atomic": "true",
-    "comments": "",
-    "outputs": 1,
-    "x": 1302.8488464355469,
-    "y": 1409.4046325683594,
-    "z": "25788422.0cd1fc",
-    "wires": [
-      [
-        "9bb8d081.6d716"
-      ]
-    ]
-  },
-  {
-    "id": "9bb8d081.6d716",
-    "type": "returnFailure",
-    "name": "return failure",
-    "xml": "<return status='failure'>\n",
-    "comments": "",
-    "x": 1545.367691040039,
-    "y": 1409.4493408203125,
-    "z": "25788422.0cd1fc",
-    "wires": []
-  },
-  {
-    "id": "744fa6c6.b167d8",
-    "type": "block",
-    "name": "block : atomic",
-    "xml": "<block atomic='true'>",
-    "atomic": "true",
-    "comments": "",
-    "outputs": 1,
-    "x": 1303.8489379882812,
-    "y": 1468.4046325683594,
-    "z": "25788422.0cd1fc",
-    "wires": [
-      [
-        "306bf572.a2195a"
-      ]
-    ]
-  },
-  {
-    "id": "306bf572.a2195a",
-    "type": "returnSuccess",
-    "name": "return success",
-    "xml": "<return status='success'>\n",
-    "comments": "",
-    "x": 1540.5986938476562,
-    "y": 1468.8492126464844,
-    "z": "25788422.0cd1fc",
-    "wires": []
-  },
-  {
-    "id": "89bf85ab.857028",
-    "type": "set",
-    "name": "update failed VNFC count",
-    "xml": "<set>\n<parameter name=\"stopFailedVNFCCount\" value=\"`$stopFailedVNFCCount + 1`\" />\n",
-    "comments": "",
-    "x": 2546.6261291503906,
-    "y": 1402.0712890625,
-    "z": "25788422.0cd1fc",
-    "wires": []
-  },
-  {
-    "id": "abe16d65.fa0ad",
-    "type": "success",
-    "name": "success",
-    "xml": "<outcome value='success'>\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 1785.5156555175781,
-    "y": 1320.4049072265625,
-    "z": "25788422.0cd1fc",
-    "wires": [
-      []
-    ]
-  },
-  {
-    "id": "915b6526.fc9068",
-    "type": "execute",
-    "name": "OutputMessageBuilder",
-    "xml": "<execute plugin='org.onap.appc.dg.common.OutputMessagePlugin' method='outputMessageBuilder' >\n<parameter name=\"error-message\" value=\"`$error-message`\" />\n<parameter name=\"event-message\" value=\"Failure in flattening payload Json\" />",
-    "comments": "",
-    "outputs": 1,
-    "x": 1266.5155639648438,
-    "y": 391.18228912353516,
-    "z": "25788422.0cd1fc",
-    "wires": [
-      [
-        "88963945.2b6798"
-      ]
-    ]
-  },
-  {
-    "id": "88963945.2b6798",
-    "type": "success",
-    "name": "success",
-    "xml": "<outcome value='success'>\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 1476.5155639648438,
-    "y": 387.18228912353516,
-    "z": "25788422.0cd1fc",
-    "wires": [
-      [
-        "6a4cb650.71b798"
-      ]
-    ]
-  },
-  {
-    "id": "9324252c.fadd38",
-    "type": "success",
-    "name": "success",
-    "xml": "<outcome value='success'>\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 2103.515594482422,
-    "y": 923.1822891235352,
-    "z": "25788422.0cd1fc",
-    "wires": [
-      [
-        "6a4cb650.71b798"
-      ]
-    ]
-  },
-  {
-    "id": "7b9666da.06bef8",
-    "type": "success",
-    "name": "success",
-    "xml": "<outcome value='success'>\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 2109.1819763183594,
-    "y": 1194.8490295410156,
-    "z": "25788422.0cd1fc",
-    "wires": [
-      [
-        "6a4cb650.71b798"
-      ]
-    ]
-  },
-  {
-    "id": "5b4bdcd5.0244f4",
-    "type": "success",
-    "name": "success",
-    "xml": "<outcome value='success'>\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 2374.1827697753906,
-    "y": 1279.8489990234375,
-    "z": "25788422.0cd1fc",
-    "wires": [
-      [
-        "6a4cb650.71b798"
-      ]
-    ]
-  },
-  {
-    "id": "d1b96ddb.ec598",
-    "type": "returnFailure",
-    "name": "return failure",
-    "xml": "<return status='failure'>\n",
-    "comments": "",
-    "x": 1875.9600524902344,
-    "y": 1234.8490295410156,
-    "z": "25788422.0cd1fc",
-    "wires": []
-  },
-  {
-    "id": "9dc3e92d.6f7f18",
-    "type": "returnFailure",
-    "name": "return failure",
-    "xml": "<return status='failure'>\n",
-    "comments": "",
-    "x": 2160.960479736328,
-    "y": 1318.9600830078125,
-    "z": "25788422.0cd1fc",
-    "wires": []
-  },
-  {
-    "id": "6d279d37.78ccd4",
-    "type": "switchNode",
-    "name": "AAIUpdateSuccessFlag ?",
-    "xml": "<switch test='`$AAIUpdateSuccessFlag == true`'>\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 2126.6263732910156,
-    "y": 1363.9600830078125,
-    "z": "25788422.0cd1fc",
-    "wires": [
-      [
-        "ba58c904.507168",
-        "a925e3d2.fb1ff"
-      ]
-    ]
-  },
-  {
-    "id": "a925e3d2.fb1ff",
-    "type": "outcomeFalse",
-    "name": "false",
-    "xml": "<outcome value='false'>\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 2333.4044494628906,
-    "y": 1340.960205078125,
-    "z": "25788422.0cd1fc",
-    "wires": [
-      [
-        "fda81ffe.7d7c7"
-      ]
-    ]
-  },
-  {
-    "id": "ba58c904.507168",
-    "type": "outcomeTrue",
-    "name": "true",
-    "xml": "<outcome value='true'>\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 2332.9044494628906,
-    "y": 1401.960205078125,
-    "z": "25788422.0cd1fc",
-    "wires": [
-      [
-        "89bf85ab.857028"
-      ]
-    ]
-  },
-  {
-    "id": "ae5453ba.3f87c",
-    "type": "execute",
-    "name": "OutputMessageBuilder",
-    "xml": "<execute plugin='org.onap.appc.dg.common.OutputMessagePlugin' method='outputMessageBuilder' >\n<parameter name=\"error-message\" value=\"`$error-message`\" />\n<parameter name=\"event-message\" value=\"`'AAI update for VNFC ' + $vnfcName + '  failed. Not proceeding to the next VNFC.'`\" />\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 2692.6266174316406,
-    "y": 1288.9600830078125,
-    "z": "25788422.0cd1fc",
-    "wires": [
-      [
-        "c93a0a4b.c48288"
-      ]
-    ]
-  },
-  {
-    "id": "c93a0a4b.c48288",
-    "type": "success",
-    "name": "success",
-    "xml": "<outcome value='success'>\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 2723.8487854003906,
-    "y": 1171.404296875,
-    "z": "25788422.0cd1fc",
-    "wires": [
-      [
-        "6a4cb650.71b798"
-      ]
-    ]
-  },
-  {
-    "id": "c5c2ca6e.d26dc8",
-    "type": "returnFailure",
-    "name": "return failure",
-    "xml": "<return status='failure'>\n",
-    "comments": "",
-    "x": 2684.6263732910156,
-    "y": 1339.515380859375,
-    "z": "25788422.0cd1fc",
-    "wires": []
-  },
-  {
-    "id": "fda81ffe.7d7c7",
-    "type": "block",
-    "name": "block : atomic",
-    "xml": "<block atomic='true'>",
-    "atomic": "true",
-    "comments": "",
-    "outputs": 1,
-    "x": 2478.6266174316406,
-    "y": 1339.9600830078125,
-    "z": "25788422.0cd1fc",
-    "wires": [
-      [
-        "ae5453ba.3f87c",
-        "c5c2ca6e.d26dc8"
-      ]
-    ]
-  }
-]
+[\r
+    {\r
+        "id": "4586add3.72b8e4",\r
+        "type": "dgstart",\r
+        "name": "DGSTART",\r
+        "outputs": 1,\r
+        "x": 147.66665649414062,\r
+        "y": 116.99999809265137,\r
+        "z": "ceba7166.8262d",\r
+        "wires": [\r
+            [\r
+                "7d5898b3.b9ca18"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "7d5898b3.b9ca18",\r
+        "type": "service-logic",\r
+        "name": "APPC 2.0.2",\r
+        "module": "APPC",\r
+        "version": "2.0.2",\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.2'>",\r
+        "outputs": 1,\r
+        "x": 323.6666564941406,\r
+        "y": 116.99999809265137,\r
+        "z": "ceba7166.8262d",\r
+        "wires": [\r
+            [\r
+                "20d1624d.4a9ede"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "20d1624d.4a9ede",\r
+        "type": "method",\r
+        "name": "Stop_VNF",\r
+        "xml": "<method rpc='Stop_VNF' mode='sync'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 155.66671752929688,\r
+        "y": 198.99999809265137,\r
+        "z": "ceba7166.8262d",\r
+        "wires": [\r
+            [\r
+                "78cb5a30.2d2c04"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d844391f.78ca28",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 707.6669616699219,\r
+        "y": 140.99999809265137,\r
+        "z": "ceba7166.8262d",\r
+        "wires": [\r
+            [\r
+                "c9814409.fb9758"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "37ba8905.e49496",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 706.6669006347656,\r
+        "y": 88.99999809265137,\r
+        "z": "ceba7166.8262d",\r
+        "wires": [\r
+            [\r
+                "c9814409.fb9758"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "98ba4a73.15f9b8",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 702.6669616699219,\r
+        "y": 181.0000057220459,\r
+        "z": "ceba7166.8262d",\r
+        "wires": [\r
+            [\r
+                "c9814409.fb9758"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "78cb5a30.2d2c04",\r
+        "type": "execute",\r
+        "name": "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": 395.666748046875,\r
+        "y": 198.00001335144043,\r
+        "z": "ceba7166.8262d",\r
+        "wires": [\r
+            [\r
+                "d844391f.78ca28",\r
+                "37ba8905.e49496",\r
+                "98ba4a73.15f9b8",\r
+                "3c40d4c6.d5aeac"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "3c40d4c6.d5aeac",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 225.66668701171875,\r
+        "y": 306.0000286102295,\r
+        "z": "ceba7166.8262d",\r
+        "wires": [\r
+            [\r
+                "bf8e0710.af29d8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "bf8e0710.af29d8",\r
+        "type": "execute",\r
+        "name": "execute_getVnfHierarchy",\r
+        "xml": "<execute plugin='org.onap.appc.dg.aai.AAIPlugin' method='getVnfHierarchy'>\n<parameter name=\"resourceKey\" value=\"`$input.action-identifiers.vnf-id`\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 407.3334045410156,\r
+        "y": 306.00008964538574,\r
+        "z": "ceba7166.8262d",\r
+        "wires": [\r
+            [\r
+                "2e6691e0.dfcebe",\r
+                "1e453ec7.081121"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "1e453ec7.081121",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 652.3333435058594,\r
+        "y": 257.0000286102295,\r
+        "z": "ceba7166.8262d",\r
+        "wires": [\r
+            [\r
+                "e4110085.49b6c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "2e6691e0.dfcebe",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 377.3333740234375,\r
+        "y": 376.0000591278076,\r
+        "z": "ceba7166.8262d",\r
+        "wires": [\r
+            [\r
+                "9d0146ea.f51af8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9d0146ea.f51af8",\r
+        "type": "switchNode",\r
+        "name": "switch_getVnfHierarchy_result",\r
+        "xml": "<switch test='`$getVnfHierarchy_result`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 465.3333435058594,\r
+        "y": 439.11120414733887,\r
+        "z": "ceba7166.8262d",\r
+        "wires": [\r
+            [\r
+                "6f8a5202.a1cefc",\r
+                "be5279d0.2f4128"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "6f8a5202.a1cefc",\r
+        "type": "outcome",\r
+        "name": "outcome_SUCCESS",\r
+        "xml": "<outcome value='SUCCESS'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 468.3333435058594,\r
+        "y": 513.1112041473389,\r
+        "z": "ceba7166.8262d",\r
+        "wires": [\r
+            [\r
+                "3596dfbd.c9e1"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "be5279d0.2f4128",\r
+        "type": "outcome",\r
+        "name": "outcome_FAILURE",\r
+        "xml": "<outcome value='FAILURE'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 740.3334045410156,\r
+        "y": 365.11120414733887,\r
+        "z": "ceba7166.8262d",\r
+        "wires": [\r
+            [\r
+                "b98f2210.d922e"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "3596dfbd.c9e1",\r
+        "type": "switchNode",\r
+        "name": "switch_VNF_VMCount",\r
+        "xml": "<switch test='`$VNF.VMCount`'>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 583.3333740234375,\r
+        "y": 579.2222881317139,\r
+        "z": "ceba7166.8262d",\r
+        "wires": [\r
+            [\r
+                "ddce16c4.f368e8",\r
+                "6899ea89.94a984"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ddce16c4.f368e8",\r
+        "type": "outcome",\r
+        "name": "outcome_0",\r
+        "xml": "<outcome value='0'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 807.3333435058594,\r
+        "y": 481.22216606140137,\r
+        "z": "ceba7166.8262d",\r
+        "wires": [\r
+            [\r
+                "cc2a0266.6bb72"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "6899ea89.94a984",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 537.3333435058594,\r
+        "y": 642.2222881317139,\r
+        "z": "ceba7166.8262d",\r
+        "wires": [\r
+            [\r
+                "a37439b3.82fd88"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a37439b3.82fd88",\r
+        "type": "execute",\r
+        "name": "Get VNFC Execution Flow Data",\r
+        "xml": "<execute plugin='org.onap.appc.dg.common.VnfExecutionFlow' method='getVnfExecutionFlowData' >\n<parameter name=\"DependencyType\" value='RESOURCE' />\n<parameter name=\"FlowStrategy\" value='REVERSE' />\n<parameter name=\"vnfType\" value='`$vnf.type`' />\n<parameter name=\"vnfVersion\" value='`$vnf.version`' />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 569.3333435058594,\r
+        "y": 695.3333721160889,\r
+        "z": "ceba7166.8262d",\r
+        "wires": [\r
+            [\r
+                "231659d2.5f54e6",\r
+                "843b3b69.3e4b58"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "231659d2.5f54e6",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 819.3333435058594,\r
+        "y": 631.3333721160889,\r
+        "z": "ceba7166.8262d",\r
+        "wires": [\r
+            [\r
+                "d808d134.67813"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c9814409.fb9758",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 865.3335189819336,\r
+        "y": 139.99999809265137,\r
+        "z": "ceba7166.8262d",\r
+        "wires": [\r
+            [\r
+                "5955da0d.4a6ce4",\r
+                "7cbdcb18.b9e1b4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ccca564b.0565a8",\r
+        "type": "execute",\r
+        "name": "Report Error to DCAE",\r
+        "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"event-message\" value=\"`$event-message`\" />",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3056.238136291504,\r
+        "y": 1008.3809490203857,\r
+        "z": "ceba7166.8262d",\r
+        "wires": [\r
+            [\r
+                "388eaa6a.5e3386"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "388eaa6a.5e3386",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 3296.5236206054688,\r
+        "y": 1006.8095712661743,\r
+        "z": "ceba7166.8262d",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "5955da0d.4a6ce4",\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": 942.6664619445801,\r
+        "y": 213.52370262145996,\r
+        "z": "ceba7166.8262d",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "e4110085.49b6c",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 831.1110534667969,\r
+        "y": 256.88891410827637,\r
+        "z": "ceba7166.8262d",\r
+        "wires": [\r
+            [\r
+                "912353f9.d003c",\r
+                "7c4d73a3.e99a3c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "7c4d73a3.e99a3c",\r
+        "type": "execute",\r
+        "name": "OutputMessageBuilder",\r
+        "xml": "<execute plugin='org.onap.appc.dg.common.OutputMessagePlugin' method='outputMessageBuilder' >\n<parameter name=\"error-message\" value=\"`$error-message`\" />\n<parameter name=\"event-message\" value=\"Failed to retrieve VNF details from A&amp;AI\"/>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1255.1109313964844,\r
+        "y": 262.88891410827637,\r
+        "z": "ceba7166.8262d",\r
+        "wires": [\r
+            [\r
+                "2d93b41d.ff6e5c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "912353f9.d003c",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n",\r
+        "comments": "",\r
+        "x": 1071.1110534667969,\r
+        "y": 308.88891410827637,\r
+        "z": "ceba7166.8262d",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "2d93b41d.ff6e5c",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1470.1110534667969,\r
+        "y": 199.88888359069824,\r
+        "z": "ceba7166.8262d",\r
+        "wires": [\r
+            [\r
+                "ccca564b.0565a8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b98f2210.d922e",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 984.0000915527344,\r
+        "y": 366.11120414733887,\r
+        "z": "ceba7166.8262d",\r
+        "wires": [\r
+            [\r
+                "8201ca81.8d7f18",\r
+                "3bef4d5d.970862"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "3bef4d5d.970862",\r
+        "type": "execute",\r
+        "name": "OutputMessageBuilder",\r
+        "xml": "<execute plugin='org.onap.appc.dg.common.OutputMessagePlugin' method='outputMessageBuilder' >\n<parameter name=\"error-message\" value=\"`$error-message`\" />\n<parameter name=\"event-message\" value=\"Failed to retrieve VNF details from A&amp;AI\"/>\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1250.0000915527344,\r
+        "y": 364.11120414733887,\r
+        "z": "ceba7166.8262d",\r
+        "wires": [\r
+            [\r
+                "7b1cfaf6.d327e4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "7b1cfaf6.d327e4",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1474.0000915527344,\r
+        "y": 274.11120414733887,\r
+        "z": "ceba7166.8262d",\r
+        "wires": [\r
+            [\r
+                "ccca564b.0565a8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "8201ca81.8d7f18",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n",\r
+        "comments": "",\r
+        "x": 1232.0000915527344,\r
+        "y": 413.11120414733887,\r
+        "z": "ceba7166.8262d",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "cc2a0266.6bb72",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 995.6667175292969,\r
+        "y": 482.222318649292,\r
+        "z": "ceba7166.8262d",\r
+        "wires": [\r
+            [\r
+                "add4f3d3.65a9",\r
+                "27236690.84a33a"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "27236690.84a33a",\r
+        "type": "execute",\r
+        "name": "OutputMessageBuilder",\r
+        "xml": "<execute plugin='org.onap.appc.dg.common.OutputMessagePlugin' method='outputMessageBuilder' >\n<parameter name=\"error-message\" value=\"`$error-message`\" />",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1260.6667175292969,\r
+        "y": 464.22228813171387,\r
+        "z": "ceba7166.8262d",\r
+        "wires": [\r
+            [\r
+                "3fd2e01d.3411a"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "3fd2e01d.3411a",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1493.6667175292969,\r
+        "y": 372.22228813171387,\r
+        "z": "ceba7166.8262d",\r
+        "wires": [\r
+            [\r
+                "ccca564b.0565a8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "add4f3d3.65a9",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n",\r
+        "comments": "",\r
+        "x": 1225.6667175292969,\r
+        "y": 532.2222881317139,\r
+        "z": "ceba7166.8262d",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "d808d134.67813",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 987.6666564941406,\r
+        "y": 632.4444561004639,\r
+        "z": "ceba7166.8262d",\r
+        "wires": [\r
+            [\r
+                "7000e454.172a3c",\r
+                "990fc0df.d6773"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "990fc0df.d6773",\r
+        "type": "execute",\r
+        "name": "OutputMessageBuilder",\r
+        "xml": "<execute plugin='org.onap.appc.dg.common.OutputMessagePlugin' method='outputMessageBuilder' >\n<parameter name=\"error-message\" value=\"`$error-message`\" />",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1266.6666564941406,\r
+        "y": 598.4444561004639,\r
+        "z": "ceba7166.8262d",\r
+        "wires": [\r
+            [\r
+                "8e3d26c1.bf47f8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "8e3d26c1.bf47f8",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1495.6667175292969,\r
+        "y": 459.444486618042,\r
+        "z": "ceba7166.8262d",\r
+        "wires": [\r
+            [\r
+                "ccca564b.0565a8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "7000e454.172a3c",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n",\r
+        "comments": "",\r
+        "x": 1231.6665954589844,\r
+        "y": 668.4445171356201,\r
+        "z": "ceba7166.8262d",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "b8aa3889.7209c8",\r
+        "type": "execute",\r
+        "name": "Resolve VNFC DG",\r
+        "xml": "<execute plugin='org.onap.appc.dg.common.VNFCDgResolverPlugin' method='resolveVNFCDg'>\n<parameter name=\"vnfType\" value='`$vnf.type`' />\n<parameter name=\"vnfcType\" value='`$vnfcFlow[$i].vnfcType`' /> \n<parameter name=\"action\" value=\"Stop\" />\n<parameter name=\"api-ver\" value='`$input.common-header.api-ver`' /> \n<parameter name=\"prefix\" value=\"Stop\" />",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1229.8890991210938,\r
+        "y": 1001.6667156219482,\r
+        "z": "ceba7166.8262d",\r
+        "wires": [\r
+            [\r
+                "78ffac58.5bbb44",\r
+                "6393e48d.ec989c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "8e6da284.981f9",\r
+        "type": "for",\r
+        "name": "for_each_vnfcFlow",\r
+        "xml": "<for index='i' start='0' end='`$vnfcFlowCount`' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 823.8889617919922,\r
+        "y": 984.6667766571045,\r
+        "z": "ceba7166.8262d",\r
+        "wires": [\r
+            [\r
+                "70f4968b.a82928"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ce32f050.265b7",\r
+        "type": "set",\r
+        "name": "set vnfc parameters",\r
+        "xml": "<set>\n<parameter name='vnfcName' value='`$vnfcFlow[$i].vnfcName`' />\n<parameter name='vnfcType' value='`$vnfcFlow[$i].vnfcType`' />\n<parameter name='vmCount' value='`$vnfcFlow[$i].vmCount`' />\n<parameter name='input.action' value='`$input.action`' />\n<parameter name='AAIUpdateSuccessFlag' value='false' />\n\n",\r
+        "comments": "",\r
+        "x": 1234.8887023925781,\r
+        "y": 816.7778911590576,\r
+        "z": "ceba7166.8262d",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "887b627d.c97a8",\r
+        "type": "call",\r
+        "name": "call VNFC DG",\r
+        "xml": "<call module='`$Stop.dg_module`' rpc='`$Stop.dg_name`' mode='sync' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1565.8888549804688,\r
+        "y": 1043.777982711792,\r
+        "z": "ceba7166.8262d",\r
+        "wires": [\r
+            [\r
+                "6533192e.879128",\r
+                "58906d35.181134",\r
+                "442b432d.240c7c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "cbbe11be.d981a",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 595.8891296386719,\r
+        "y": 983.6668376922607,\r
+        "z": "ceba7166.8262d",\r
+        "wires": [\r
+            [\r
+                "8e6da284.981f9",\r
+                "15e2db11.9c2565",\r
+                "a3a56435.1499b8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "78ffac58.5bbb44",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1404.8886108398438,\r
+        "y": 1043.6667766571045,\r
+        "z": "ceba7166.8262d",\r
+        "wires": [\r
+            [\r
+                "887b627d.c97a8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "6393e48d.ec989c",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1416.8887329101562,\r
+        "y": 962.6667766571045,\r
+        "z": "ceba7166.8262d",\r
+        "wires": [\r
+            [\r
+                "a908427a.f6794"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a908427a.f6794",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1598.8887023925781,\r
+        "y": 961.6667766571045,\r
+        "z": "ceba7166.8262d",\r
+        "wires": [\r
+            [\r
+                "8a33d68e.ec1d38",\r
+                "dfe19af0.82cae8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "8a33d68e.ec1d38",\r
+        "type": "execute",\r
+        "name": "OutputMessageBuilder",\r
+        "xml": "<execute plugin='org.onap.appc.dg.common.OutputMessagePlugin' method='outputMessageBuilder' >\n<parameter name=\"error-message\" value=\"`$error-message`\" />\n<parameter name=\"event-message\" value=\"`'Failed to retrieve VNFC DG for ' + $vnfcFlow[$i].vnfcType`\"/>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1878.8887939453125,\r
+        "y": 920.666898727417,\r
+        "z": "ceba7166.8262d",\r
+        "wires": [\r
+            [\r
+                "b660ac91.d5c89"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "58906d35.181134",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1755.6666259765625,\r
+        "y": 1003.889066696167,\r
+        "z": "ceba7166.8262d",\r
+        "wires": [\r
+            [\r
+                "189a360d.9b1b7a"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "6533192e.879128",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1744.6666870117188,\r
+        "y": 1086.8892803192139,\r
+        "z": "ceba7166.8262d",\r
+        "wires": [\r
+            [\r
+                "c1ac2b61.ebcd48"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "189a360d.9b1b7a",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1933.1110229492188,\r
+        "y": 1003.889066696167,\r
+        "z": "ceba7166.8262d",\r
+        "wires": [\r
+            [\r
+                "8e652c3a.e5c4b",\r
+                "cc1a4643.f06768"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "8e652c3a.e5c4b",\r
+        "type": "execute",\r
+        "name": "OutputMessageBuilder",\r
+        "xml": "<execute plugin='org.onap.appc.dg.common.OutputMessagePlugin' method='outputMessageBuilder' >\n<parameter name=\"error-message\" value=\"`$error-message`\" />\n<parameter name=\"event-message\" value=\"`'VNFC DG not found for: ' + $vnfcFlow[$i].vnfcName`\"/>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2159.1117553710938,\r
+        "y": 1004.8891887664795,\r
+        "z": "ceba7166.8262d",\r
+        "wires": [\r
+            [\r
+                "329eb5e7.704f5a"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c1ac2b61.ebcd48",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1864.555778503418,\r
+        "y": 1146.8891859054565,\r
+        "z": "ceba7166.8262d",\r
+        "wires": [\r
+            [\r
+                "4f71e379.3c6aec",\r
+                "ce52794e.01e988",\r
+                "ccca564b.0565a8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "70f4968b.a82928",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1011.5554962158203,\r
+        "y": 902.8889446258545,\r
+        "z": "ceba7166.8262d",\r
+        "wires": [\r
+            [\r
+                "b8aa3889.7209c8",\r
+                "ce32f050.265b7",\r
+                "dd46ca2e.b2ed28"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "dd46ca2e.b2ed28",\r
+        "type": "for",\r
+        "name": "for_each_vm",\r
+        "xml": "<for index='j' start='0' end='`$vmCount`' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1235.6666717529297,\r
+        "y": 903.444486618042,\r
+        "z": "ceba7166.8262d",\r
+        "wires": [\r
+            [\r
+                "1683b9e4.841dd6"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e368d2ea.e45a5",\r
+        "type": "set",\r
+        "name": "set VM url",\r
+        "xml": "<set>\n<parameter name=\"vm[$j].url\" value='`$vnfcFlow[$i].vm[$j].url`' />\n\n\n\n\n\n",\r
+        "comments": "",\r
+        "x": 1654.6666717529297,\r
+        "y": 900.444486618042,\r
+        "z": "ceba7166.8262d",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "1683b9e4.841dd6",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1470.6666717529297,\r
+        "y": 901.444486618042,\r
+        "z": "ceba7166.8262d",\r
+        "wires": [\r
+            [\r
+                "e368d2ea.e45a5"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "843b3b69.3e4b58",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 815.6666564941406,\r
+        "y": 688.2222270965576,\r
+        "z": "ceba7166.8262d",\r
+        "wires": [\r
+            [\r
+                "86888bb3.7f43d8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "86888bb3.7f43d8",\r
+        "type": "switchNode",\r
+        "name": "switch_dependencyModelFound",\r
+        "xml": "<switch test='`$dependencyModelFound`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 579.6667785644531,\r
+        "y": 768.6666851043701,\r
+        "z": "ceba7166.8262d",\r
+        "wires": [\r
+            [\r
+                "b8dad876.1ba5e8",\r
+                "65f96c78.705ce4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b8dad876.1ba5e8",\r
+        "type": "outcome",\r
+        "name": "outcome_false",\r
+        "xml": "<outcome value='false'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 928.3334655761719,\r
+        "y": 739.7777690887451,\r
+        "z": "ceba7166.8262d",\r
+        "wires": [\r
+            [\r
+                "6aa48c84.8869e4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "65f96c78.705ce4",\r
+        "type": "outcome",\r
+        "name": "outcome_true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 541.6667175292969,\r
+        "y": 873.666654586792,\r
+        "z": "ceba7166.8262d",\r
+        "wires": [\r
+            [\r
+                "cbbe11be.d981a"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "6aa48c84.8869e4",\r
+        "type": "call",\r
+        "name": "call Stop VNF without Model DG",\r
+        "xml": "<call module='APPC' rpc='Stop_VNF' version='2.0.1' mode='sync' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1206.666519165039,\r
+        "y": 730.2222576141357,\r
+        "z": "ceba7166.8262d",\r
+        "wires": [\r
+            [\r
+                "e399aa39.d4ed78",\r
+                "820cfe48.755dc",\r
+                "5ed7c0f.a206a4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e399aa39.d4ed78",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1463.444351196289,\r
+        "y": 680.333402633667,\r
+        "z": "ceba7166.8262d",\r
+        "wires": [\r
+            [\r
+                "aaebcdd9.9731c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "820cfe48.755dc",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1466.444351196289,\r
+        "y": 721.333402633667,\r
+        "z": "ceba7166.8262d",\r
+        "wires": [\r
+            [\r
+                "482420ae.93334"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "aaebcdd9.9731c",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1650.8887634277344,\r
+        "y": 669.3334102630615,\r
+        "z": "ceba7166.8262d",\r
+        "wires": [\r
+            [\r
+                "4bcf49ab.6d9658",\r
+                "1b04e855.6d0158"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "1b04e855.6d0158",\r
+        "type": "execute",\r
+        "name": "OutputMessageBuilder",\r
+        "xml": "<execute plugin='org.onap.appc.dg.common.OutputMessagePlugin' method='outputMessageBuilder' >\n<parameter name=\"error-message\" value=\"`$error-message`\" />\n<parameter name=\"event-message\" value=\"Stop DG not found\"/>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1868.888916015625,\r
+        "y": 645.3334102630615,\r
+        "z": "ceba7166.8262d",\r
+        "wires": [\r
+            [\r
+                "9ccb600d.3735f"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "4bcf49ab.6d9658",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n",\r
+        "comments": "",\r
+        "x": 1878.888916015625,\r
+        "y": 700.3334712982178,\r
+        "z": "ceba7166.8262d",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "482420ae.93334",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n",\r
+        "comments": "",\r
+        "x": 1703.3333892822266,\r
+        "y": 716.3335247039795,\r
+        "z": "ceba7166.8262d",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "5ed7c0f.a206a4",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1475.4443969726562,\r
+        "y": 761.3333721160889,\r
+        "z": "ceba7166.8262d",\r
+        "wires": [\r
+            [\r
+                "15648934.830567"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "15648934.830567",\r
+        "type": "returnSuccess",\r
+        "name": "return success",\r
+        "xml": "<return status='success'>\n\n",\r
+        "comments": "",\r
+        "x": 1709.444351196289,\r
+        "y": 760.333402633667,\r
+        "z": "ceba7166.8262d",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "a3a56435.1499b8",\r
+        "type": "set",\r
+        "name": "init failed VNFC count",\r
+        "xml": "<set>\n<parameter name='stopFailedVNFCCount' value='0' />\n",\r
+        "comments": "",\r
+        "x": 865.7777557373047,\r
+        "y": 826.6667766571045,\r
+        "z": "ceba7166.8262d",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "15e2db11.9c2565",\r
+        "type": "switchNode",\r
+        "name": "switch_server_restart_success",\r
+        "xml": "<switch test='`$stopFailedVNFCCount == 0`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 868.9999694824219,\r
+        "y": 1171.6669597625732,\r
+        "z": "ceba7166.8262d",\r
+        "wires": [\r
+            [\r
+                "7f31de58.8d30f",\r
+                "20361085.667b9"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "7f31de58.8d30f",\r
+        "type": "outcomeFalse",\r
+        "name": "false",\r
+        "xml": "<outcome value='false'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1099.2498779296875,\r
+        "y": 1134.4168376922607,\r
+        "z": "ceba7166.8262d",\r
+        "wires": [\r
+            [\r
+                "ecef896a.6dc048"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "20361085.667b9",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1096.7499694824219,\r
+        "y": 1193.4168376922607,\r
+        "z": "ceba7166.8262d",\r
+        "wires": [\r
+            [\r
+                "8035937a.e0a66"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ecef896a.6dc048",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1275.9998779296875,\r
+        "y": 1134.8890056610107,\r
+        "z": "ceba7166.8262d",\r
+        "wires": [\r
+            [\r
+                "294dfebc.038382"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "294dfebc.038382",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n",\r
+        "comments": "",\r
+        "x": 1518.5187225341797,\r
+        "y": 1134.9337139129639,\r
+        "z": "ceba7166.8262d",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "8035937a.e0a66",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic='true'>",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1276.9999694824219,\r
+        "y": 1193.8890056610107,\r
+        "z": "ceba7166.8262d",\r
+        "wires": [\r
+            [\r
+                "1bb10a80.dfce06"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "1bb10a80.dfce06",\r
+        "type": "returnSuccess",\r
+        "name": "return success",\r
+        "xml": "<return status='success'>\n",\r
+        "comments": "",\r
+        "x": 1513.7497253417969,\r
+        "y": 1194.3335857391357,\r
+        "z": "ceba7166.8262d",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "4f71e379.3c6aec",\r
+        "type": "set",\r
+        "name": "update failed VNFC count",\r
+        "xml": "<set>\n<parameter name=\"stopFailedVNFCCount\" value=\"`$stopFailedVNFCCount + 1`\" />\n",\r
+        "comments": "",\r
+        "x": 2078.7774658203125,\r
+        "y": 1079.5556888580322,\r
+        "z": "ceba7166.8262d",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "442b432d.240c7c",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1758.6666870117188,\r
+        "y": 1045.8892803192139,\r
+        "z": "ceba7166.8262d",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "7cbdcb18.b9e1b4",\r
+        "type": "execute",\r
+        "name": "OutputMessageBuilder",\r
+        "xml": "<execute plugin='org.onap.appc.dg.common.OutputMessagePlugin' method='outputMessageBuilder' >\n<parameter name=\"error-message\" value=\"`$error-message`\" />\n<parameter name=\"event-message\" value=\"Failure in flattening payload Json\" />",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1239.6665954589844,\r
+        "y": 116.66666221618652,\r
+        "z": "ceba7166.8262d",\r
+        "wires": [\r
+            [\r
+                "55f619c7.8d89d8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "55f619c7.8d89d8",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1449.6665954589844,\r
+        "y": 112.66666221618652,\r
+        "z": "ceba7166.8262d",\r
+        "wires": [\r
+            [\r
+                "ccca564b.0565a8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9ccb600d.3735f",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2076.6666259765625,\r
+        "y": 648.6666622161865,\r
+        "z": "ceba7166.8262d",\r
+        "wires": [\r
+            [\r
+                "ccca564b.0565a8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b660ac91.d5c89",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2082.3330078125,\r
+        "y": 920.333402633667,\r
+        "z": "ceba7166.8262d",\r
+        "wires": [\r
+            [\r
+                "ccca564b.0565a8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "329eb5e7.704f5a",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2347.3338012695312,\r
+        "y": 1005.3333721160889,\r
+        "z": "ceba7166.8262d",\r
+        "wires": [\r
+            [\r
+                "ccca564b.0565a8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "dfe19af0.82cae8",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n",\r
+        "comments": "",\r
+        "x": 1849.111083984375,\r
+        "y": 960.333402633667,\r
+        "z": "ceba7166.8262d",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "cc1a4643.f06768",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n",\r
+        "comments": "",\r
+        "x": 2134.1115112304688,\r
+        "y": 1044.4444561004639,\r
+        "z": "ceba7166.8262d",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "ce52794e.01e988",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n",\r
+        "comments": "",\r
+        "x": 2030.7777938842773,\r
+        "y": 1204.9997863769531,\r
+        "z": "ceba7166.8262d",\r
+        "wires": []\r
+    }\r
+]
\ No newline at end of file