summaryrefslogtreecommitdiffstats
path: root/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/APPC_Stop_VNF_2.0.2.json
diff options
context:
space:
mode:
Diffstat (limited to 'appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/APPC_Stop_VNF_2.0.2.json')
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/APPC_Stop_VNF_2.0.2.json2823
1 files changed, 1363 insertions, 1460 deletions
diff --git a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/APPC_Stop_VNF_2.0.2.json b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/APPC_Stop_VNF_2.0.2.json
index 357dcf383..8c23e8b18 100644
--- a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/APPC_Stop_VNF_2.0.2.json
+++ b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/APPC_Stop_VNF_2.0.2.json
@@ -1,1460 +1,1363 @@
-[
- {
- "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"
- ]
- ]
- }
-]
+[
+ {
+ "id": "4586add3.72b8e4",
+ "type": "dgstart",
+ "name": "DGSTART",
+ "outputs": 1,
+ "x": 147.66665649414062,
+ "y": 116.99999809265137,
+ "z": "ceba7166.8262d",
+ "wires": [
+ [
+ "7d5898b3.b9ca18"
+ ]
+ ]
+ },
+ {
+ "id": "7d5898b3.b9ca18",
+ "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": 323.6666564941406,
+ "y": 116.99999809265137,
+ "z": "ceba7166.8262d",
+ "wires": [
+ [
+ "20d1624d.4a9ede"
+ ]
+ ]
+ },
+ {
+ "id": "20d1624d.4a9ede",
+ "type": "method",
+ "name": "Stop_VNF",
+ "xml": "<method rpc='Stop_VNF' mode='sync'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 155.66671752929688,
+ "y": 198.99999809265137,
+ "z": "ceba7166.8262d",
+ "wires": [
+ [
+ "78cb5a30.2d2c04"
+ ]
+ ]
+ },
+ {
+ "id": "d844391f.78ca28",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 707.6669616699219,
+ "y": 140.99999809265137,
+ "z": "ceba7166.8262d",
+ "wires": [
+ [
+ "c9814409.fb9758"
+ ]
+ ]
+ },
+ {
+ "id": "37ba8905.e49496",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 706.6669006347656,
+ "y": 88.99999809265137,
+ "z": "ceba7166.8262d",
+ "wires": [
+ [
+ "c9814409.fb9758"
+ ]
+ ]
+ },
+ {
+ "id": "98ba4a73.15f9b8",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 702.6669616699219,
+ "y": 181.0000057220459,
+ "z": "ceba7166.8262d",
+ "wires": [
+ [
+ "c9814409.fb9758"
+ ]
+ ]
+ },
+ {
+ "id": "78cb5a30.2d2c04",
+ "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": 395.666748046875,
+ "y": 198.00001335144043,
+ "z": "ceba7166.8262d",
+ "wires": [
+ [
+ "d844391f.78ca28",
+ "37ba8905.e49496",
+ "98ba4a73.15f9b8",
+ "3c40d4c6.d5aeac"
+ ]
+ ]
+ },
+ {
+ "id": "3c40d4c6.d5aeac",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 225.66668701171875,
+ "y": 306.0000286102295,
+ "z": "ceba7166.8262d",
+ "wires": [
+ [
+ "bf8e0710.af29d8"
+ ]
+ ]
+ },
+ {
+ "id": "bf8e0710.af29d8",
+ "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": 407.3334045410156,
+ "y": 306.00008964538574,
+ "z": "ceba7166.8262d",
+ "wires": [
+ [
+ "2e6691e0.dfcebe",
+ "1e453ec7.081121"
+ ]
+ ]
+ },
+ {
+ "id": "1e453ec7.081121",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 652.3333435058594,
+ "y": 257.0000286102295,
+ "z": "ceba7166.8262d",
+ "wires": [
+ [
+ "e4110085.49b6c"
+ ]
+ ]
+ },
+ {
+ "id": "2e6691e0.dfcebe",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 377.3333740234375,
+ "y": 376.0000591278076,
+ "z": "ceba7166.8262d",
+ "wires": [
+ [
+ "9d0146ea.f51af8"
+ ]
+ ]
+ },
+ {
+ "id": "9d0146ea.f51af8",
+ "type": "switchNode",
+ "name": "switch_getVnfHierarchy_result",
+ "xml": "<switch test='`$getVnfHierarchy_result`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 465.3333435058594,
+ "y": 439.11120414733887,
+ "z": "ceba7166.8262d",
+ "wires": [
+ [
+ "6f8a5202.a1cefc",
+ "be5279d0.2f4128"
+ ]
+ ]
+ },
+ {
+ "id": "6f8a5202.a1cefc",
+ "type": "outcome",
+ "name": "outcome_SUCCESS",
+ "xml": "<outcome value='SUCCESS'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 468.3333435058594,
+ "y": 513.1112041473389,
+ "z": "ceba7166.8262d",
+ "wires": [
+ [
+ "3596dfbd.c9e1"
+ ]
+ ]
+ },
+ {
+ "id": "be5279d0.2f4128",
+ "type": "outcome",
+ "name": "outcome_FAILURE",
+ "xml": "<outcome value='FAILURE'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 740.3334045410156,
+ "y": 365.11120414733887,
+ "z": "ceba7166.8262d",
+ "wires": [
+ [
+ "b98f2210.d922e"
+ ]
+ ]
+ },
+ {
+ "id": "3596dfbd.c9e1",
+ "type": "switchNode",
+ "name": "switch_VNF_VMCount",
+ "xml": "<switch test='`$VNF.VMCount`'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 583.3333740234375,
+ "y": 579.2222881317139,
+ "z": "ceba7166.8262d",
+ "wires": [
+ [
+ "ddce16c4.f368e8",
+ "6899ea89.94a984"
+ ]
+ ]
+ },
+ {
+ "id": "ddce16c4.f368e8",
+ "type": "outcome",
+ "name": "outcome_0",
+ "xml": "<outcome value='0'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 807.3333435058594,
+ "y": 481.22216606140137,
+ "z": "ceba7166.8262d",
+ "wires": [
+ [
+ "cc2a0266.6bb72"
+ ]
+ ]
+ },
+ {
+ "id": "6899ea89.94a984",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 537.3333435058594,
+ "y": 642.2222881317139,
+ "z": "ceba7166.8262d",
+ "wires": [
+ [
+ "a37439b3.82fd88"
+ ]
+ ]
+ },
+ {
+ "id": "a37439b3.82fd88",
+ "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": 569.3333435058594,
+ "y": 695.3333721160889,
+ "z": "ceba7166.8262d",
+ "wires": [
+ [
+ "231659d2.5f54e6",
+ "843b3b69.3e4b58"
+ ]
+ ]
+ },
+ {
+ "id": "231659d2.5f54e6",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 819.3333435058594,
+ "y": 631.3333721160889,
+ "z": "ceba7166.8262d",
+ "wires": [
+ [
+ "d808d134.67813"
+ ]
+ ]
+ },
+ {
+ "id": "c9814409.fb9758",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 865.3335189819336,
+ "y": 139.99999809265137,
+ "z": "ceba7166.8262d",
+ "wires": [
+ [
+ "5955da0d.4a6ce4",
+ "7cbdcb18.b9e1b4"
+ ]
+ ]
+ },
+ {
+ "id": "ccca564b.0565a8",
+ "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": 3056.238136291504,
+ "y": 1008.3809490203857,
+ "z": "ceba7166.8262d",
+ "wires": [
+ [
+ "388eaa6a.5e3386"
+ ]
+ ]
+ },
+ {
+ "id": "388eaa6a.5e3386",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3296.5236206054688,
+ "y": 1006.8095712661743,
+ "z": "ceba7166.8262d",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "5955da0d.4a6ce4",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name=\"output.status.message\" value=\"Failure in flattening payload Json\" />",
+ "comments": "",
+ "x": 942.6664619445801,
+ "y": 213.52370262145996,
+ "z": "ceba7166.8262d",
+ "wires": []
+ },
+ {
+ "id": "e4110085.49b6c",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 831.1110534667969,
+ "y": 256.88891410827637,
+ "z": "ceba7166.8262d",
+ "wires": [
+ [
+ "912353f9.d003c",
+ "7c4d73a3.e99a3c"
+ ]
+ ]
+ },
+ {
+ "id": "7c4d73a3.e99a3c",
+ "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": 1255.1109313964844,
+ "y": 262.88891410827637,
+ "z": "ceba7166.8262d",
+ "wires": [
+ [
+ "2d93b41d.ff6e5c"
+ ]
+ ]
+ },
+ {
+ "id": "912353f9.d003c",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n",
+ "comments": "",
+ "x": 1071.1110534667969,
+ "y": 308.88891410827637,
+ "z": "ceba7166.8262d",
+ "wires": []
+ },
+ {
+ "id": "2d93b41d.ff6e5c",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1470.1110534667969,
+ "y": 199.88888359069824,
+ "z": "ceba7166.8262d",
+ "wires": [
+ [
+ "ccca564b.0565a8"
+ ]
+ ]
+ },
+ {
+ "id": "b98f2210.d922e",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 984.0000915527344,
+ "y": 366.11120414733887,
+ "z": "ceba7166.8262d",
+ "wires": [
+ [
+ "8201ca81.8d7f18",
+ "3bef4d5d.970862"
+ ]
+ ]
+ },
+ {
+ "id": "3bef4d5d.970862",
+ "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": 1250.0000915527344,
+ "y": 364.11120414733887,
+ "z": "ceba7166.8262d",
+ "wires": [
+ [
+ "7b1cfaf6.d327e4"
+ ]
+ ]
+ },
+ {
+ "id": "7b1cfaf6.d327e4",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1474.0000915527344,
+ "y": 274.11120414733887,
+ "z": "ceba7166.8262d",
+ "wires": [
+ [
+ "ccca564b.0565a8"
+ ]
+ ]
+ },
+ {
+ "id": "8201ca81.8d7f18",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n",
+ "comments": "",
+ "x": 1232.0000915527344,
+ "y": 413.11120414733887,
+ "z": "ceba7166.8262d",
+ "wires": []
+ },
+ {
+ "id": "cc2a0266.6bb72",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 995.6667175292969,
+ "y": 482.222318649292,
+ "z": "ceba7166.8262d",
+ "wires": [
+ [
+ "add4f3d3.65a9",
+ "27236690.84a33a"
+ ]
+ ]
+ },
+ {
+ "id": "27236690.84a33a",
+ "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": 1260.6667175292969,
+ "y": 464.22228813171387,
+ "z": "ceba7166.8262d",
+ "wires": [
+ [
+ "3fd2e01d.3411a"
+ ]
+ ]
+ },
+ {
+ "id": "3fd2e01d.3411a",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1493.6667175292969,
+ "y": 372.22228813171387,
+ "z": "ceba7166.8262d",
+ "wires": [
+ [
+ "ccca564b.0565a8"
+ ]
+ ]
+ },
+ {
+ "id": "add4f3d3.65a9",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n",
+ "comments": "",
+ "x": 1225.6667175292969,
+ "y": 532.2222881317139,
+ "z": "ceba7166.8262d",
+ "wires": []
+ },
+ {
+ "id": "d808d134.67813",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 987.6666564941406,
+ "y": 632.4444561004639,
+ "z": "ceba7166.8262d",
+ "wires": [
+ [
+ "7000e454.172a3c",
+ "990fc0df.d6773"
+ ]
+ ]
+ },
+ {
+ "id": "990fc0df.d6773",
+ "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": 1266.6666564941406,
+ "y": 598.4444561004639,
+ "z": "ceba7166.8262d",
+ "wires": [
+ [
+ "8e3d26c1.bf47f8"
+ ]
+ ]
+ },
+ {
+ "id": "8e3d26c1.bf47f8",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1495.6667175292969,
+ "y": 459.444486618042,
+ "z": "ceba7166.8262d",
+ "wires": [
+ [
+ "ccca564b.0565a8"
+ ]
+ ]
+ },
+ {
+ "id": "7000e454.172a3c",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n",
+ "comments": "",
+ "x": 1231.6665954589844,
+ "y": 668.4445171356201,
+ "z": "ceba7166.8262d",
+ "wires": []
+ },
+ {
+ "id": "b8aa3889.7209c8",
+ "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": 1229.8890991210938,
+ "y": 1001.6667156219482,
+ "z": "ceba7166.8262d",
+ "wires": [
+ [
+ "78ffac58.5bbb44",
+ "6393e48d.ec989c"
+ ]
+ ]
+ },
+ {
+ "id": "8e6da284.981f9",
+ "type": "for",
+ "name": "for_each_vnfcFlow",
+ "xml": "<for index='i' start='0' end='`$vnfcFlowCount`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 823.8889617919922,
+ "y": 984.6667766571045,
+ "z": "ceba7166.8262d",
+ "wires": [
+ [
+ "70f4968b.a82928"
+ ]
+ ]
+ },
+ {
+ "id": "ce32f050.265b7",
+ "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": 1234.8887023925781,
+ "y": 816.7778911590576,
+ "z": "ceba7166.8262d",
+ "wires": []
+ },
+ {
+ "id": "887b627d.c97a8",
+ "type": "call",
+ "name": "call VNFC DG",
+ "xml": "<call module='`$Stop.dg_module`' rpc='`$Stop.dg_name`' mode='sync' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1565.8888549804688,
+ "y": 1043.777982711792,
+ "z": "ceba7166.8262d",
+ "wires": [
+ [
+ "6533192e.879128",
+ "58906d35.181134",
+ "442b432d.240c7c"
+ ]
+ ]
+ },
+ {
+ "id": "cbbe11be.d981a",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 595.8891296386719,
+ "y": 983.6668376922607,
+ "z": "ceba7166.8262d",
+ "wires": [
+ [
+ "8e6da284.981f9",
+ "15e2db11.9c2565",
+ "a3a56435.1499b8"
+ ]
+ ]
+ },
+ {
+ "id": "78ffac58.5bbb44",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1404.8886108398438,
+ "y": 1043.6667766571045,
+ "z": "ceba7166.8262d",
+ "wires": [
+ [
+ "887b627d.c97a8"
+ ]
+ ]
+ },
+ {
+ "id": "6393e48d.ec989c",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1416.8887329101562,
+ "y": 962.6667766571045,
+ "z": "ceba7166.8262d",
+ "wires": [
+ [
+ "a908427a.f6794"
+ ]
+ ]
+ },
+ {
+ "id": "a908427a.f6794",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1598.8887023925781,
+ "y": 961.6667766571045,
+ "z": "ceba7166.8262d",
+ "wires": [
+ [
+ "8a33d68e.ec1d38",
+ "dfe19af0.82cae8"
+ ]
+ ]
+ },
+ {
+ "id": "8a33d68e.ec1d38",
+ "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": 1878.8887939453125,
+ "y": 920.666898727417,
+ "z": "ceba7166.8262d",
+ "wires": [
+ [
+ "b660ac91.d5c89"
+ ]
+ ]
+ },
+ {
+ "id": "58906d35.181134",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1755.6666259765625,
+ "y": 1003.889066696167,
+ "z": "ceba7166.8262d",
+ "wires": [
+ [
+ "189a360d.9b1b7a"
+ ]
+ ]
+ },
+ {
+ "id": "6533192e.879128",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1744.6666870117188,
+ "y": 1086.8892803192139,
+ "z": "ceba7166.8262d",
+ "wires": [
+ [
+ "c1ac2b61.ebcd48"
+ ]
+ ]
+ },
+ {
+ "id": "189a360d.9b1b7a",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1933.1110229492188,
+ "y": 1003.889066696167,
+ "z": "ceba7166.8262d",
+ "wires": [
+ [
+ "8e652c3a.e5c4b",
+ "cc1a4643.f06768"
+ ]
+ ]
+ },
+ {
+ "id": "8e652c3a.e5c4b",
+ "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": 2159.1117553710938,
+ "y": 1004.8891887664795,
+ "z": "ceba7166.8262d",
+ "wires": [
+ [
+ "329eb5e7.704f5a"
+ ]
+ ]
+ },
+ {
+ "id": "c1ac2b61.ebcd48",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1864.555778503418,
+ "y": 1146.8891859054565,
+ "z": "ceba7166.8262d",
+ "wires": [
+ [
+ "4f71e379.3c6aec",
+ "ce52794e.01e988",
+ "ccca564b.0565a8"
+ ]
+ ]
+ },
+ {
+ "id": "70f4968b.a82928",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1011.5554962158203,
+ "y": 902.8889446258545,
+ "z": "ceba7166.8262d",
+ "wires": [
+ [
+ "b8aa3889.7209c8",
+ "ce32f050.265b7",
+ "dd46ca2e.b2ed28"
+ ]
+ ]
+ },
+ {
+ "id": "dd46ca2e.b2ed28",
+ "type": "for",
+ "name": "for_each_vm",
+ "xml": "<for index='j' start='0' end='`$vmCount`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1235.6666717529297,
+ "y": 903.444486618042,
+ "z": "ceba7166.8262d",
+ "wires": [
+ [
+ "1683b9e4.841dd6"
+ ]
+ ]
+ },
+ {
+ "id": "e368d2ea.e45a5",
+ "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": 1654.6666717529297,
+ "y": 900.444486618042,
+ "z": "ceba7166.8262d",
+ "wires": []
+ },
+ {
+ "id": "1683b9e4.841dd6",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1470.6666717529297,
+ "y": 901.444486618042,
+ "z": "ceba7166.8262d",
+ "wires": [
+ [
+ "e368d2ea.e45a5"
+ ]
+ ]
+ },
+ {
+ "id": "843b3b69.3e4b58",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 815.6666564941406,
+ "y": 688.2222270965576,
+ "z": "ceba7166.8262d",
+ "wires": [
+ [
+ "86888bb3.7f43d8"
+ ]
+ ]
+ },
+ {
+ "id": "86888bb3.7f43d8",
+ "type": "switchNode",
+ "name": "switch_dependencyModelFound",
+ "xml": "<switch test='`$dependencyModelFound`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 579.6667785644531,
+ "y": 768.6666851043701,
+ "z": "ceba7166.8262d",
+ "wires": [
+ [
+ "b8dad876.1ba5e8",
+ "65f96c78.705ce4"
+ ]
+ ]
+ },
+ {
+ "id": "b8dad876.1ba5e8",
+ "type": "outcome",
+ "name": "outcome_false",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 928.3334655761719,
+ "y": 739.7777690887451,
+ "z": "ceba7166.8262d",
+ "wires": [
+ [
+ "6aa48c84.8869e4"
+ ]
+ ]
+ },
+ {
+ "id": "65f96c78.705ce4",
+ "type": "outcome",
+ "name": "outcome_true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 541.6667175292969,
+ "y": 873.666654586792,
+ "z": "ceba7166.8262d",
+ "wires": [
+ [
+ "cbbe11be.d981a"
+ ]
+ ]
+ },
+ {
+ "id": "6aa48c84.8869e4",
+ "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": 1206.666519165039,
+ "y": 730.2222576141357,
+ "z": "ceba7166.8262d",
+ "wires": [
+ [
+ "e399aa39.d4ed78",
+ "820cfe48.755dc",
+ "5ed7c0f.a206a4"
+ ]
+ ]
+ },
+ {
+ "id": "e399aa39.d4ed78",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1463.444351196289,
+ "y": 680.333402633667,
+ "z": "ceba7166.8262d",
+ "wires": [
+ [
+ "aaebcdd9.9731c"
+ ]
+ ]
+ },
+ {
+ "id": "820cfe48.755dc",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1466.444351196289,
+ "y": 721.333402633667,
+ "z": "ceba7166.8262d",
+ "wires": [
+ [
+ "482420ae.93334"
+ ]
+ ]
+ },
+ {
+ "id": "aaebcdd9.9731c",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1650.8887634277344,
+ "y": 669.3334102630615,
+ "z": "ceba7166.8262d",
+ "wires": [
+ [
+ "4bcf49ab.6d9658",
+ "1b04e855.6d0158"
+ ]
+ ]
+ },
+ {
+ "id": "1b04e855.6d0158",
+ "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": 1868.888916015625,
+ "y": 645.3334102630615,
+ "z": "ceba7166.8262d",
+ "wires": [
+ [
+ "9ccb600d.3735f"
+ ]
+ ]
+ },
+ {
+ "id": "4bcf49ab.6d9658",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n",
+ "comments": "",
+ "x": 1878.888916015625,
+ "y": 700.3334712982178,
+ "z": "ceba7166.8262d",
+ "wires": []
+ },
+ {
+ "id": "482420ae.93334",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n",
+ "comments": "",
+ "x": 1703.3333892822266,
+ "y": 716.3335247039795,
+ "z": "ceba7166.8262d",
+ "wires": []
+ },
+ {
+ "id": "5ed7c0f.a206a4",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1475.4443969726562,
+ "y": 761.3333721160889,
+ "z": "ceba7166.8262d",
+ "wires": [
+ [
+ "15648934.830567"
+ ]
+ ]
+ },
+ {
+ "id": "15648934.830567",
+ "type": "returnSuccess",
+ "name": "return success",
+ "xml": "<return status='success'>\n\n",
+ "comments": "",
+ "x": 1709.444351196289,
+ "y": 760.333402633667,
+ "z": "ceba7166.8262d",
+ "wires": []
+ },
+ {
+ "id": "a3a56435.1499b8",
+ "type": "set",
+ "name": "init failed VNFC count",
+ "xml": "<set>\n<parameter name='stopFailedVNFCCount' value='0' />\n",
+ "comments": "",
+ "x": 865.7777557373047,
+ "y": 826.6667766571045,
+ "z": "ceba7166.8262d",
+ "wires": []
+ },
+ {
+ "id": "15e2db11.9c2565",
+ "type": "switchNode",
+ "name": "switch_server_restart_success",
+ "xml": "<switch test='`$stopFailedVNFCCount == 0`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 868.9999694824219,
+ "y": 1171.6669597625732,
+ "z": "ceba7166.8262d",
+ "wires": [
+ [
+ "7f31de58.8d30f",
+ "20361085.667b9"
+ ]
+ ]
+ },
+ {
+ "id": "7f31de58.8d30f",
+ "type": "outcomeFalse",
+ "name": "false",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1099.2498779296875,
+ "y": 1134.4168376922607,
+ "z": "ceba7166.8262d",
+ "wires": [
+ [
+ "ecef896a.6dc048"
+ ]
+ ]
+ },
+ {
+ "id": "20361085.667b9",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1096.7499694824219,
+ "y": 1193.4168376922607,
+ "z": "ceba7166.8262d",
+ "wires": [
+ [
+ "8035937a.e0a66"
+ ]
+ ]
+ },
+ {
+ "id": "ecef896a.6dc048",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1275.9998779296875,
+ "y": 1134.8890056610107,
+ "z": "ceba7166.8262d",
+ "wires": [
+ [
+ "294dfebc.038382"
+ ]
+ ]
+ },
+ {
+ "id": "294dfebc.038382",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n",
+ "comments": "",
+ "x": 1518.5187225341797,
+ "y": 1134.9337139129639,
+ "z": "ceba7166.8262d",
+ "wires": []
+ },
+ {
+ "id": "8035937a.e0a66",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1276.9999694824219,
+ "y": 1193.8890056610107,
+ "z": "ceba7166.8262d",
+ "wires": [
+ [
+ "1bb10a80.dfce06"
+ ]
+ ]
+ },
+ {
+ "id": "1bb10a80.dfce06",
+ "type": "returnSuccess",
+ "name": "return success",
+ "xml": "<return status='success'>\n",
+ "comments": "",
+ "x": 1513.7497253417969,
+ "y": 1194.3335857391357,
+ "z": "ceba7166.8262d",
+ "wires": []
+ },
+ {
+ "id": "4f71e379.3c6aec",
+ "type": "set",
+ "name": "update failed VNFC count",
+ "xml": "<set>\n<parameter name=\"stopFailedVNFCCount\" value=\"`$stopFailedVNFCCount + 1`\" />\n",
+ "comments": "",
+ "x": 2078.7774658203125,
+ "y": 1079.5556888580322,
+ "z": "ceba7166.8262d",
+ "wires": []
+ },
+ {
+ "id": "442b432d.240c7c",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1758.6666870117188,
+ "y": 1045.8892803192139,
+ "z": "ceba7166.8262d",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "7cbdcb18.b9e1b4",
+ "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": 1239.6665954589844,
+ "y": 116.66666221618652,
+ "z": "ceba7166.8262d",
+ "wires": [
+ [
+ "55f619c7.8d89d8"
+ ]
+ ]
+ },
+ {
+ "id": "55f619c7.8d89d8",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1449.6665954589844,
+ "y": 112.66666221618652,
+ "z": "ceba7166.8262d",
+ "wires": [
+ [
+ "ccca564b.0565a8"
+ ]
+ ]
+ },
+ {
+ "id": "9ccb600d.3735f",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2076.6666259765625,
+ "y": 648.6666622161865,
+ "z": "ceba7166.8262d",
+ "wires": [
+ [
+ "ccca564b.0565a8"
+ ]
+ ]
+ },
+ {
+ "id": "b660ac91.d5c89",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2082.3330078125,
+ "y": 920.333402633667,
+ "z": "ceba7166.8262d",
+ "wires": [
+ [
+ "ccca564b.0565a8"
+ ]
+ ]
+ },
+ {
+ "id": "329eb5e7.704f5a",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2347.3338012695312,
+ "y": 1005.3333721160889,
+ "z": "ceba7166.8262d",
+ "wires": [
+ [
+ "ccca564b.0565a8"
+ ]
+ ]
+ },
+ {
+ "id": "dfe19af0.82cae8",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n",
+ "comments": "",
+ "x": 1849.111083984375,
+ "y": 960.333402633667,
+ "z": "ceba7166.8262d",
+ "wires": []
+ },
+ {
+ "id": "cc1a4643.f06768",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n",
+ "comments": "",
+ "x": 2134.1115112304688,
+ "y": 1044.4444561004639,
+ "z": "ceba7166.8262d",
+ "wires": []
+ },
+ {
+ "id": "ce52794e.01e988",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n",
+ "comments": "",
+ "x": 2030.7777938842773,
+ "y": 1204.9997863769531,
+ "z": "ceba7166.8262d",
+ "wires": []
+ }
+] \ No newline at end of file