[\r
{\r
- "id": "603c1b6d.6124c4",\r
+ "id": "22644446.031e2c",\r
"type": "method",\r
"name": "rollback",\r
"xml": "<method rpc='rollback' mode='sync'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 577,\r
- "y": 47,\r
- "z": "deca6c6e.62787",\r
+ "x": 567.5,\r
+ "y": 73.75,\r
+ "z": "369f92b4.305cce",\r
"wires": [\r
[\r
- "8f078f23.03658"\r
+ "79b7cec0.5cb7d"\r
]\r
]\r
},\r
{\r
- "id": "88cbe26c.f2c83",\r
+ "id": "f17bcbcb.0eb2c8",\r
"type": "service-logic",\r
"name": "LCM ${project.version}",\r
"module": "LCM",\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='LCM' version='${project.version}'>",\r
"outputs": 1,\r
- "x": 364.99993896484375,\r
- "y": 48,\r
- "z": "deca6c6e.62787",\r
+ "x": 355.49993896484375,\r
+ "y": 74.75,\r
+ "z": "369f92b4.305cce",\r
"wires": [\r
[\r
- "603c1b6d.6124c4"\r
+ "22644446.031e2c"\r
]\r
]\r
},\r
{\r
- "id": "76631d3d.b2bda4",\r
+ "id": "f9678654.f75948",\r
"type": "execute",\r
"name": "execute AnsibleA.reqExec",\r
"xml": "<execute plugin='org.onap.ccsdk.sli.adaptors.ansible.AnsibleAdapter' method='reqExec' >\n<parameter name='AgentUrl' value='`$prop.ansible.agenturl`'/>\n<parameter name='User' value='`$prop.ansible.user`'/>\n<parameter name='Password' value='`$prop.ansible.password`'/>\n<parameter name='LocalParameters' value='`$prop.ansible.lcm.localparameters`'/>\n<parameter name='EnvParameters' value='`$rollback-input.payload`'/>\n<parameter name='NodeList' value=\"`$nodelist`\"/>\n<parameter name='Timeout' value='`$prop.ansible.timeout`'/>\n<parameter name='Version' value='`$prop.ansible.version`'/>\n<parameter name='Id' value='`$rollback-input.common-header.request-id`'/>\n<parameter name='PlaybookName' value='`$playbookname`'/>",\r
"comments": "",\r
"outputs": 1,\r
- "x": 432.00001525878906,\r
- "y": 655,\r
- "z": "deca6c6e.62787",\r
+ "x": 469.50001525878906,\r
+ "y": 720.75,\r
+ "z": "369f92b4.305cce",\r
"wires": [\r
[\r
- "86dfcb26.6ad318",\r
- "ace54675.d37718",\r
- "bac4c91b.f07a18"\r
+ "30da80ae.d9fb4",\r
+ "4fe2be8b.9f8b9",\r
+ "29b2f38.ce75c0c"\r
]\r
]\r
},\r
{\r
- "id": "4b37ff5.334c5",\r
+ "id": "db88e5a7.4dcf28",\r
"type": "switchNode",\r
"name": "switch",\r
"xml": "<switch test=\"`$org.onap.appc.adapter.ansible.result.code`\">\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 831.9999389648438,\r
- "y": 763.0000305175781,\r
- "z": "deca6c6e.62787",\r
+ "x": 869.4999389648438,\r
+ "y": 828.7500305175781,\r
+ "z": "369f92b4.305cce",\r
"wires": [\r
[\r
- "9a0bf3d2.1d44f",\r
- "2ee77d61.9094f2",\r
- "c9baa5a1.b1a3e8"\r
+ "96dbcf56.55476",\r
+ "22a86bdb.ccad74",\r
+ "80a5dac3.8e7148"\r
]\r
]\r
},\r
{\r
- "id": "9a0bf3d2.1d44f",\r
+ "id": "96dbcf56.55476",\r
"type": "other",\r
"name": "outcome 500",\r
"xml": "<outcome value='500'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 976.9999389648438,\r
- "y": 761.0000381469727,\r
- "z": "deca6c6e.62787",\r
+ "x": 1014.4999389648438,\r
+ "y": 826.7500381469727,\r
+ "z": "369f92b4.305cce",\r
"wires": [\r
[\r
- "c81014d9.4af6a8"\r
+ "56f57.16a810aa"\r
]\r
]\r
},\r
{\r
- "id": "2ee77d61.9094f2",\r
+ "id": "22a86bdb.ccad74",\r
"type": "other",\r
"name": "outcome 100",\r
"xml": "<outcome value='100'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 973.9999389648438,\r
- "y": 818.0000305175781,\r
- "z": "deca6c6e.62787",\r
+ "x": 1011.4999389648438,\r
+ "y": 883.7500305175781,\r
+ "z": "369f92b4.305cce",\r
"wires": [\r
[\r
- "b8c25e18.a4534"\r
+ "283d6739.74f598"\r
]\r
]\r
},\r
{\r
- "id": "b8c25e18.a4534",\r
+ "id": "283d6739.74f598",\r
"type": "execute",\r
"name": "execute reqExecResult",\r
"xml": "<execute plugin='org.onap.ccsdk.sli.adaptors.ansible.AnsibleAdapter' method='reqExecResult' >\n <parameter name='AgentUrl' value='`$prop.ansible.agenturl`'/>\n\t<parameter name='User' value='`$prop.ansible.user`'/>\n\t<parameter name='Password' value='`$prop.ansible.password`'/>\n\t<parameter name='Id' value='`$org.onap.appc.adapter.ansible.Id`'/>\n\t<parameter name='PlaybookName' value='`$playbookname`'/>\n\t\n\n\n\n\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1161,\r
- "y": 818.0000610351562,\r
- "z": "deca6c6e.62787",\r
+ "x": 1199.4999389648438,\r
+ "y": 882.7500305175781,\r
+ "z": "369f92b4.305cce",\r
"wires": [\r
[\r
- "9fd8cd6c.24d13",\r
- "f0a35f4d.9195a"\r
+ "d1f8a15d.af493",\r
+ "caff8737.7aa8b8"\r
]\r
]\r
},\r
{\r
- "id": "ace54675.d37718",\r
+ "id": "4fe2be8b.9f8b9",\r
"type": "failure",\r
"name": "failure",\r
"xml": "<outcome value='failure'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 690.9999389648438,\r
- "y": 676.0000915527344,\r
- "z": "deca6c6e.62787",\r
+ "x": 728.4999389648438,\r
+ "y": 741.7500915527344,\r
+ "z": "369f92b4.305cce",\r
"wires": [\r
[\r
- "c81014d9.4af6a8"\r
+ "56f57.16a810aa"\r
]\r
]\r
},\r
{\r
- "id": "86dfcb26.6ad318",\r
+ "id": "30da80ae.d9fb4",\r
"type": "other",\r
"name": "other",\r
"xml": "<outcome value='Other'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 692.9999389648438,\r
- "y": 728.0000610351562,\r
- "z": "deca6c6e.62787",\r
+ "x": 730.4999389648438,\r
+ "y": 793.7500610351562,\r
+ "z": "369f92b4.305cce",\r
"wires": [\r
[\r
- "4b37ff5.334c5"\r
+ "db88e5a7.4dcf28"\r
]\r
]\r
},\r
{\r
- "id": "c9baa5a1.b1a3e8",\r
+ "id": "d1f8a15d.af493",\r
+ "type": "failure",\r
+ "name": "failure",\r
+ "xml": "<outcome value='failure'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1368.4998779296875,\r
+ "y": 864.7500610351562,\r
+ "z": "369f92b4.305cce",\r
+ "wires": [\r
+ [\r
+ "18cd1743.3c3df9"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "80a5dac3.8e7148",\r
"type": "other",\r
"name": "outcome 101",\r
"xml": "<outcome value='101'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 973.9999389648438,\r
- "y": 719.0000686645508,\r
- "z": "deca6c6e.62787",\r
+ "x": 1011.4999389648438,\r
+ "y": 784.7500686645508,\r
+ "z": "369f92b4.305cce",\r
"wires": [\r
[\r
- "c81014d9.4af6a8"\r
+ "56f57.16a810aa"\r
]\r
]\r
},\r
{\r
- "id": "8024a972.fa79a8",\r
- "type": "returnSuccess",\r
- "name": "return success",\r
- "xml": "<return status='success'>\n<parameter name='status.code' value='`$org.onap.appc.adapter.ansible.result.code`' />\n<parameter name='status.message' value='`$org.onap.appc.adapter.ansible.message`'/>",\r
+ "id": "caff8737.7aa8b8",\r
+ "type": "success",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
"comments": "",\r
- "x": 2413.999755859375,\r
- "y": 948.0000610351562,\r
- "z": "deca6c6e.62787",\r
- "wires": []\r
+ "outputs": 1,\r
+ "x": 1372.4998779296875,\r
+ "y": 908.7501220703125,\r
+ "z": "369f92b4.305cce",\r
+ "wires": [\r
+ [\r
+ "18cd1743.3c3df9"\r
+ ]\r
+ ]\r
},\r
{\r
- "id": "9e6a1fde.3d38e",\r
+ "id": "eca36d4e.0587d",\r
"type": "dgstart",\r
"name": "DGSTART",\r
"outputs": 1,\r
- "x": 180,\r
- "y": 47,\r
- "z": "deca6c6e.62787",\r
+ "x": 170.5,\r
+ "y": 73.75,\r
+ "z": "369f92b4.305cce",\r
"wires": [\r
[\r
- "88cbe26c.f2c83"\r
+ "f17bcbcb.0eb2c8"\r
]\r
]\r
},\r
{\r
- "id": "8f078f23.03658",\r
+ "id": "79b7cec0.5cb7d",\r
"type": "block",\r
- "name": "block : atomic",\r
- "xml": "<block atomic='true'>",\r
- "atomic": "true",\r
+ "name": "block",\r
+ "xml": "<block atomic='true'>\n",\r
+ "atomic": "false",\r
"comments": "",\r
"outputs": 1,\r
- "x": 177.9166259765625,\r
- "y": 139.08331298828125,\r
- "z": "deca6c6e.62787",\r
+ "x": 215.41669082641602,\r
+ "y": 224.83334636688232,\r
+ "z": "369f92b4.305cce",\r
"wires": [\r
[\r
- "76631d3d.b2bda4",\r
- "18f99414.0f1f5c",\r
- "e9a0ae4a.a010c",\r
- "720dbe92.a2daf",\r
- "90d2eba5.bddd78",\r
- "e456084e.3d1b28",\r
- "abd53cca.80312",\r
- "86b92780.e4fd18"\r
+ "f9678654.f75948",\r
+ "3150eb49.56b364",\r
+ "3d311f40.b0356",\r
+ "d04dafe1.a776a",\r
+ "d6a84e4d.99cf8",\r
+ "23c2b9e5.228a76",\r
+ "f65e13cf.33e86",\r
+ "78201e79.92779"\r
]\r
]\r
},\r
{\r
- "id": "18f99414.0f1f5c",\r
+ "id": "3150eb49.56b364",\r
"type": "execute",\r
"name": "execute Properties",\r
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.prop.PropertiesNode' method='readProperties' >\n <parameter name='fileName' value='%SDNC_CONFIG_DIR%/lcm-dg.properties' />\n <parameter name='contextPrefix' value='prop' />\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 476.0000305175781,\r
- "y": 172.08334350585938,\r
- "z": "deca6c6e.62787",\r
+ "x": 513.5000305175781,\r
+ "y": 184.83334350585938,\r
+ "z": "369f92b4.305cce",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "dd58ea95.701bc8",\r
+ "id": "d6380b3d.e7dd58",\r
"type": "execute",\r
"name": "execute DmaapMsg",\r
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n <parameter name='templateFileName' value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.lcm.dmaap.publish.templatefile`\" />\n <parameter name='restapiUrl' value='`$prop.lcm.dmaap.url`' />\n <parameter name='restapiUser' value='`$prop.lcm.dmaap.user`' />\n <parameter name='restapiPassword' value='`$prop.lcm.dmaap.password`' />\n <parameter name='format' value='json' />\n <parameter name='httpMethod' value='POST' />\n <parameter name='contentType' value='application/json' />\n <parameter name=\"responsePrefix\" value=\"lcm\" />\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1642.9998779296875,\r
- "y": 625.0834045410156,\r
- "z": "deca6c6e.62787",\r
+ "x": 1680.4998779296875,\r
+ "y": 690.8334045410156,\r
+ "z": "369f92b4.305cce",\r
"wires": [\r
[\r
- "79c12f79.46a5"\r
+ "7d366735.40b318"\r
]\r
]\r
},\r
{\r
- "id": "79c12f79.46a5",\r
+ "id": "7d366735.40b318",\r
"type": "failure",\r
"name": "failure",\r
"xml": "<outcome value='failure'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1812.9998168945312,\r
- "y": 624.0834045410156,\r
- "z": "deca6c6e.62787",\r
+ "x": 1850.4998168945312,\r
+ "y": 689.8334045410156,\r
+ "z": "369f92b4.305cce",\r
"wires": [\r
[\r
- "69422560.e902dc"\r
+ "d429f6f2.1a8228"\r
]\r
]\r
},\r
{\r
- "id": "c81014d9.4af6a8",\r
+ "id": "56f57.16a810aa",\r
"type": "block",\r
"name": "block",\r
"xml": "<block>\n",\r
"atomic": "false",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1445.9998168945312,\r
- "y": 649.0834045410156,\r
- "z": "deca6c6e.62787",\r
+ "x": 1483.4998168945312,\r
+ "y": 714.8334045410156,\r
+ "z": "369f92b4.305cce",\r
"wires": [\r
[\r
- "dd58ea95.701bc8",\r
- "5a6746.ee1428bc",\r
- "3c47a348.5e546c"\r
+ "d6380b3d.e7dd58",\r
+ "712abf34.0d6f",\r
+ "d1b68f91.c944a"\r
]\r
]\r
},\r
{\r
- "id": "12844f47.97d421",\r
+ "id": "906287db.12ffb8",\r
"type": "execute",\r
"name": "execute DmaapMsg",\r
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n <parameter name='templateFileName' value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.lcm.dmaap.publish.templatefile`\" />\n <parameter name='restapiUrl' value='`$prop.lcm.dmaap.url`' />\n <parameter name='restapiUser' value='`$prop.lcm.dmaap.user`' />\n <parameter name='restapiPassword' value='`$prop.lcm.dmaap.password`' />\n <parameter name='format' value='json' />\n <parameter name='httpMethod' value='POST' />\n <parameter name='contentType' value='application/json' />\n <parameter name=\"responsePrefix\" value=\"lcm\" />\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1690.4998779296875,\r
- "y": 924.0833740234375,\r
- "z": "deca6c6e.62787",\r
+ "x": 1715.9998779296875,\r
+ "y": 956.8333740234375,\r
+ "z": "369f92b4.305cce",\r
"wires": [\r
[\r
- "cbef2423.2a36b8"\r
+ "3cbc715a.7ae70e"\r
]\r
]\r
},\r
{\r
- "id": "cbef2423.2a36b8",\r
+ "id": "3cbc715a.7ae70e",\r
"type": "failure",\r
"name": "failure",\r
"xml": "<outcome value='failure'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1877.5,\r
- "y": 924.0833740234375,\r
- "z": "deca6c6e.62787",\r
+ "x": 1900.9998779296875,\r
+ "y": 956.8333740234375,\r
+ "z": "369f92b4.305cce",\r
"wires": [\r
[\r
- "9fd0c5ed.f195b8"\r
+ "6851419b.3c644"\r
]\r
]\r
},\r
{\r
- "id": "69422560.e902dc",\r
+ "id": "d429f6f2.1a8228",\r
"type": "record",\r
"name": "record",\r
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\"> \n\t<parameter name=\"logger\" value=\"message-log\"/> \n\t<parameter name=\"field1\" value='Failed to Publish to DMaap'/>",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1932.9998779296875,\r
- "y": 623.0833740234375,\r
- "z": "deca6c6e.62787",\r
+ "x": 1970.4998779296875,\r
+ "y": 688.8333740234375,\r
+ "z": "369f92b4.305cce",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "5a6746.ee1428bc",\r
+ "id": "712abf34.0d6f",\r
"type": "returnFailure",\r
"name": "return failure",\r
"xml": "<return status='failure'>\n<parameter name='status.code' value='401' />\n<parameter name='status.message' value='`$org.onap.appc.adapter.ansible.message`' />\n",\r
"comments": "",\r
- "x": 1624.91650390625,\r
- "y": 676.0834045410156,\r
- "z": "deca6c6e.62787",\r
+ "x": 1662.41650390625,\r
+ "y": 741.8334045410156,\r
+ "z": "369f92b4.305cce",\r
"wires": []\r
},\r
{\r
- "id": "9fd0c5ed.f195b8",\r
+ "id": "6851419b.3c644",\r
"type": "record",\r
"name": "record",\r
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\"> \n\t<parameter name=\"logger\" value=\"message-log\"/> \n\t<parameter name=\"field1\" value='Failed to Publish to DMaap'/>",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2019.91650390625,\r
- "y": 924.0833740234375,\r
- "z": "deca6c6e.62787",\r
+ "x": 2033.4166259765625,\r
+ "y": 956.8333740234375,\r
+ "z": "369f92b4.305cce",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "3c47a348.5e546c",\r
+ "id": "d1b68f91.c944a",\r
"type": "set",\r
"name": "set DmaapReq",\r
"xml": "<set>\n<parameter name='lcm-dmaap.version' value='`$prop.lcm.dmaap.version`'/>\n<parameter name='lcm-dmaap.correlation-id' value=\"`$rollback-input.common-header.request-id + '-' + $rollback-input.common-header.sub-request-id`\"/>\n<parameter name='lcm-dmaap.partition' value='`$prop.lcm.dmaap.partition`'/>\n<parameter name='lcm-dmaap.rpc-name' value='rollback'/>\n<parameter name='lcm-dmaap.type' value='`$prop.lcm.dmaap.type`'/>\n<parameter name='lcm-dmaap.timestamp' value='`$rollback-input.common-header.timestamp`'/>\n<parameter name='lcm-dmaap.api-ver' value='`$rollback-input.common-header.api-ver`'/>\n<parameter name='lcm-dmaap.originator-id' value='`$rollback-input.common-header.originator-id`'/>\n<parameter name='lcm-dmaap.request-id' value='`$rollback-input.common-header.request-id`'/>\n<parameter name='lcm-dmaap.sub-request-id' value='`$rollback-input.common-header.sub-request-id`'/>\n<parameter name='lcm-dmaap.flags.mode' value='`$rollback-input.common-header.flags.mode`'/>\n<parameter name='lcm-dmaap.flags.force' value='`$rollback-input.common-header.flags.force`'/>\n<parameter name='lcm-dmaap.flags.ttl' value='`$rollback-input.common-header.flags.ttl`'/>\n<parameter name='lcm-dmaap.status.code' value='`$org.onap.appc.adapter.ansible.result.code`' />\n<parameter name='lcm-dmaap.status.message' value='`$org.onap.appc.adapter.ansible.message`'/>\n",\r
"comments": "",\r
- "x": 1629.9998779296875,\r
- "y": 572.0833740234375,\r
- "z": "deca6c6e.62787",\r
+ "x": 1667.4998779296875,\r
+ "y": 637.8333740234375,\r
+ "z": "369f92b4.305cce",\r
"wires": []\r
},\r
{\r
- "id": "542925f0.27fbdc",\r
+ "id": "18cd1743.3c3df9",\r
"type": "block",\r
"name": "block",\r
"xml": "<block>\n",\r
"atomic": "false",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1482.9998779296875,\r
- "y": 821.0833740234375,\r
- "z": "deca6c6e.62787",\r
+ "x": 1504.4998779296875,\r
+ "y": 883.8333740234375,\r
+ "z": "369f92b4.305cce",\r
"wires": [\r
[\r
- "12844f47.97d421",\r
- "e3737dc2.9a3b6",\r
- "764a748a.61b14c",\r
- "9775ae82.61b25",\r
- "9a61d7f0.2347b8"\r
+ "906287db.12ffb8",\r
+ "eb7f81a3.42757",\r
+ "ec9cf419.aed218",\r
+ "822ef90c.18eff8",\r
+ "abc170de.d927e",\r
+ "81befc92.0842f"\r
]\r
]\r
},\r
{\r
- "id": "63386817.4a7cc8",\r
+ "id": "81befc92.0842f",\r
"type": "set",\r
"name": "set DmaapReq",\r
- "xml": "<set>\n<parameter name='lcm-dmaap.version' value='`$prop.lcm.dmaap.version`'/>\n<parameter name='lcm-dmaap.correlation-id' value=\"`$rollback-input.common-header.request-id + '-' + $rollback-input.common-header.sub-request-id`\"/>\n<parameter name='lcm-dmaap.partition' value='`$prop.lcm.dmaap.partition`'/>\n<parameter name='lcm-dmaap.rpc-name' value='rollback'/>\n<parameter name='lcm-dmaap.type' value='`$prop.lcm.dmaap.type`'/>\n<parameter name='lcm-dmaap.timestamp' value='`$rollback-input.common-header.timestamp`'/>\n<parameter name='lcm-dmaap.api-ver' value='`$rollback-input.common-header.api-ver`'/>\n<parameter name='lcm-dmaap.originator-id' value='`$rollback-input.common-header.originator-id`'/>\n<parameter name='lcm-dmaap.request-id' value='`$rollback-input.common-header.request-id`'/>\n<parameter name='lcm-dmaap.sub-request-id' value='`$rollback-input.common-header.sub-request-id`'/>\n<parameter name='lcm-dmaap.flags.mode' value='`$rollback-input.common-header.flags.mode`'/>\n<parameter name='lcm-dmaap.flags.force' value='`$rollback-input.common-header.flags.force`'/>\n<parameter name='lcm-dmaap.flags.ttl' value='`$rollback-input.common-header.flags.ttl`'/>\n<parameter name='lcm-dmaap.status.code' value='`$org.onap.appc.adapter.ansible.result.code`' />\n<parameter name='lcm-dmaap.status.message' value='`$org.onap.appc.adapter.ansible.message`'/>",\r
+ "xml": "<set>\n<parameter name='lcm-dmaap.version' value='`$prop.lcm.dmaap.version`'/>\n<parameter name='lcm-dmaap.correlation-id' value=\"`$rollback-input.common-header.request-id + '-' + $rollback-input.common-header.sub-request-id`\"/>\n<parameter name='lcm-dmaap.partition' value='`$prop.lcm.dmaap.partition`'/>\n<parameter name='lcm-dmaap.rpc-name' value='rollback'/>\n<parameter name='lcm-dmaap.type' value='`$prop.lcm.dmaap.type`'/>\n<parameter name='lcm-dmaap.timestamp' value='`$rollback-input.common-header.timestamp`'/>\n<parameter name='lcm-dmaap.api-ver' value='`$rollback-input.common-header.api-ver`'/>\n<parameter name='lcm-dmaap.originator-id' value='`$rollback-input.common-header.originator-id`'/>\n<parameter name='lcm-dmaap.request-id' value='`$rollback-input.common-header.request-id`'/>\n<parameter name='lcm-dmaap.sub-request-id' value='`$rollback-input.common-header.sub-request-id`'/>\n<parameter name='lcm-dmaap.flags.mode' value='`$rollback-input.common-header.flags.mode`'/>\n<parameter name='lcm-dmaap.flags.force' value='`$rollback-input.common-header.flags.force`'/>\n<parameter name='lcm-dmaap.flags.ttl' value='`$rollback-input.common-header.flags.ttl`'/>\n<parameter name='lcm-dmaap.status.code' value='`$org.onap.appc.adapter.ansible.result.code`' />\n<parameter name='lcm-dmaap.status.message' value='`$org.onap.appc.adapter.ansible.message`'/>\n",\r
"comments": "",\r
- "x": 2042.16650390625,\r
- "y": 827.0833740234375,\r
- "z": "deca6c6e.62787",\r
+ "x": 1702.6666564941406,\r
+ "y": 870.5833864212036,\r
+ "z": "369f92b4.305cce",\r
"wires": []\r
},\r
{\r
- "id": "bac4c91b.f07a18",\r
+ "id": "29b2f38.ce75c0c",\r
"type": "not-found",\r
"name": "not-found",\r
"xml": "<outcome value='not-found'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 699.9999389648438,\r
- "y": 628.0000610351562,\r
- "z": "deca6c6e.62787",\r
+ "x": 737.4999389648438,\r
+ "y": 693.7500610351562,\r
+ "z": "369f92b4.305cce",\r
"wires": [\r
[\r
- "2763f6ed.1a7e1a"\r
+ "c004f41.ad08008"\r
]\r
]\r
},\r
{\r
- "id": "eb87e665.0acf88",\r
+ "id": "aec7b25c.15792",\r
"type": "set",\r
"name": "set Defaults",\r
"xml": "<set>\n<parameter name='org.onap.appc.adapter.ansible.result.code' value='401'/>\n<parameter name='org.onap.appc.adapter.ansible.message' value='Ansible Adapter was not found'/>\n",\r
"comments": "",\r
- "x": 990.9999389648438,\r
- "y": 587,\r
- "z": "deca6c6e.62787",\r
+ "x": 1028.4999389648438,\r
+ "y": 652.75,\r
+ "z": "369f92b4.305cce",\r
"wires": []\r
},\r
{\r
- "id": "2763f6ed.1a7e1a",\r
+ "id": "c004f41.ad08008",\r
"type": "block",\r
"name": "block",\r
"xml": "<block>\n",\r
"atomic": "false",\r
"comments": "",\r
"outputs": 1,\r
- "x": 836.9999389648438,\r
- "y": 622.0000610351562,\r
- "z": "deca6c6e.62787",\r
+ "x": 874.4999389648438,\r
+ "y": 687.7500610351562,\r
+ "z": "369f92b4.305cce",\r
"wires": [\r
[\r
- "eb87e665.0acf88",\r
- "c81014d9.4af6a8"\r
+ "aec7b25c.15792",\r
+ "56f57.16a810aa"\r
]\r
]\r
},\r
{\r
- "id": "e9a0ae4a.a010c",\r
+ "id": "3d311f40.b0356",\r
"type": "set",\r
"name": "set default values",\r
- "xml": "<set>\n<parameter name='status.code' value='200' />\n<parameter name='status.message' value='unexpected return from DG' />\n<parameter name='quote' value=\"'\" />\n",\r
+ "xml": "<set>\n<parameter name='status.code' value='200' />\n<parameter name='status.message' value='unexpected return from DG' />\n<parameter name='quote' value=\"'\" />\n<parameter name='outputPayloadField' value='.Output' />\n",\r
"comments": "",\r
- "x": 469,\r
- "y": 219,\r
- "z": "deca6c6e.62787",\r
+ "x": 506.5,\r
+ "y": 231.75,\r
+ "z": "369f92b4.305cce",\r
"wires": []\r
},\r
{\r
- "id": "abd53cca.80312",\r
+ "id": "1785264e.51581a",\r
+ "type": "get-resource",\r
+ "name": "get aai.generic-vnf ",\r
+ "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"generic-vnf\" \n\t\tkey=\"generic-vnf.vnf-id = $rollback-input.action-identifiers.vnf-id\" \n\t\tlocal-only=\"false\" \n\t\tpfx='aai.generic-vnf'>",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1046.5,\r
+ "y": 460.75,\r
+ "z": "369f92b4.305cce",\r
+ "wires": [\r
+ [\r
+ "64e1e5a.ee16c1c"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "64e1e5a.ee16c1c",\r
+ "type": "success",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1204.8907470703125,\r
+ "y": 459.03399658203125,\r
+ "z": "369f92b4.305cce",\r
+ "wires": [\r
+ [\r
+ "31c7d490.843fdc"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "f65e13cf.33e86",\r
"type": "record",\r
"name": "record",\r
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\"> \n\t<parameter name=\"logger\" value=\"message-log\"/> \n\t<parameter name=\"field1\" value='`$playbookname`'/>\n\t<parameter name=\"field2\" value='`$nodelist`'/>",\r
"comments": "",\r
"outputs": 1,\r
- "x": 397.9998779296875,\r
- "y": 583,\r
- "z": "deca6c6e.62787",\r
+ "x": 435.4998779296875,\r
+ "y": 648.75,\r
+ "z": "369f92b4.305cce",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "90d2eba5.bddd78",\r
+ "id": "d6a84e4d.99cf8",\r
"type": "switchNode",\r
"name": "switch pnf-flag",\r
"xml": "<switch test='`$payloadJson.pnf-flag`'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 451,\r
- "y": 320,\r
- "z": "deca6c6e.62787",\r
+ "x": 492.25000762939453,\r
+ "y": 379.5000057220459,\r
+ "z": "369f92b4.305cce",\r
"wires": [\r
[\r
- "97096eec.158be",\r
- "db62c67c.f16678"\r
+ "30e4f46c.d1480c",\r
+ "a2013485.ae3d68"\r
]\r
]\r
},\r
{\r
- "id": "720dbe92.a2daf",\r
+ "id": "d04dafe1.a776a",\r
"type": "execute",\r
"name": "execute jsonStringToCtx",\r
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='jsonStringToCtx'>\n\t<parameter name='source' value='rollback-input.payload' />\n\t<parameter name='outputPath' value='payloadJson' />\n\t<parameter name='isEscaped' value='true' />",\r
"comments": "",\r
"outputs": 1,\r
- "x": 483,\r
- "y": 266,\r
- "z": "deca6c6e.62787",\r
+ "x": 520.5,\r
+ "y": 278.75,\r
+ "z": "369f92b4.305cce",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "97096eec.158be",\r
+ "id": "30e4f46c.d1480c",\r
"type": "outcome",\r
"name": "true",\r
"xml": "<outcome value='true'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 648,\r
- "y": 299,\r
- "z": "deca6c6e.62787",\r
+ "x": 676.7500076293945,\r
+ "y": 323.5000057220459,\r
+ "z": "369f92b4.305cce",\r
"wires": [\r
[\r
- "2baa8c31.1c7364"\r
+ "c022042b.de2278"\r
]\r
]\r
},\r
{\r
- "id": "db62c67c.f16678",\r
+ "id": "a2013485.ae3d68",\r
"type": "outcome",\r
"name": "other",\r
"xml": "<outcome value='Other'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 648,\r
- "y": 360,\r
- "z": "deca6c6e.62787",\r
+ "x": 679.2499465942383,\r
+ "y": 431.2500057220459,\r
+ "z": "369f92b4.305cce",\r
"wires": [\r
[\r
- "e8ec5d49.26bb5"\r
+ "8adc4a30.e8aab8"\r
]\r
]\r
},\r
{\r
- "id": "e8ec5d49.26bb5",\r
+ "id": "8adc4a30.e8aab8",\r
"type": "block",\r
"name": "block",\r
"xml": "<block>\n",\r
"atomic": "false",\r
"comments": "",\r
"outputs": 1,\r
- "x": 795.9999389648438,\r
- "y": 359,\r
- "z": "deca6c6e.62787",\r
+ "x": 833.4999504089355,\r
+ "y": 432.2500057220459,\r
+ "z": "369f92b4.305cce",\r
"wires": [\r
[\r
- "d1d2edc3.c0ebb"\r
+ "1785264e.51581a",\r
+ "6b67b6b7.0fe388"\r
]\r
]\r
},\r
{\r
- "id": "2baa8c31.1c7364",\r
+ "id": "ba864124.fbd17",\r
"type": "set",\r
"name": "set AnsibleReq",\r
- "xml": "<set>\n<parameter name='nodelist' value=\"`'[' + $quote + $payloadJson.ipaddress-v4-oam + $quote + ']'`\"/>\n<parameter name='playbookname' value='`$prop.lcm.pnf.rollback.playbookname`'/>\n",\r
+ "xml": "<set>\n<parameter name='nodelist' value=\"`'[' + $quote + $payloadJson.ipaddress-v4-oam + $quote + ']'`\"/>\n<parameter name='outputPayloadField' value=\"`'.' + $payloadJson.ipaddress-v4-oam + '.Output'`\"/>\n",\r
"comments": "",\r
- "x": 809,\r
- "y": 297,\r
- "z": "deca6c6e.62787",\r
+ "x": 1004.0000152587891,\r
+ "y": 231.50000381469727,\r
+ "z": "369f92b4.305cce",\r
"wires": []\r
},\r
{\r
- "id": "e456084e.3d1b28",\r
+ "id": "6b67b6b7.0fe388",\r
+ "type": "execute",\r
+ "name": "set playbookname",\r
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='playbookname' />\n\t<parameter name='source' value=\"`'prop.lcm.' + $payloadJson.nf-naming-code + '.rollback.playbookname'`\" />\n\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1055.5,\r
+ "y": 404.75,\r
+ "z": "369f92b4.305cce",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "23c2b9e5.228a76",\r
"type": "switchNode",\r
"name": "switch playbookname",\r
"xml": "<switch test='`$playbookname`'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 448,\r
- "y": 451,\r
- "z": "deca6c6e.62787",\r
+ "x": 485.5,\r
+ "y": 516.75,\r
+ "z": "369f92b4.305cce",\r
"wires": [\r
[\r
- "852cba96.1b8598"\r
+ "c70d3d1f.891ee"\r
]\r
]\r
},\r
{\r
- "id": "852cba96.1b8598",\r
+ "id": "c70d3d1f.891ee",\r
"type": "outcome",\r
"name": "null",\r
"xml": "<outcome value=''>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 619,\r
- "y": 452,\r
- "z": "deca6c6e.62787",\r
+ "x": 656.5,\r
+ "y": 517.75,\r
+ "z": "369f92b4.305cce",\r
"wires": [\r
[\r
- "c3a06545.f22d98"\r
+ "83a84acf.4bd078"\r
]\r
]\r
},\r
{\r
- "id": "c3a06545.f22d98",\r
+ "id": "83a84acf.4bd078",\r
"type": "set",\r
"name": "set playbookname",\r
- "xml": "<set>\n<parameter name='nodelist' value=\"`$prop.ansible.nodelist`\"/>\n<parameter name='playbookname' value='`$prop.lcm.rollback.playbookname`'/>",\r
+ "xml": "<set>\n<parameter name='playbookname' value='`$prop.lcm.rollback.playbookname`'/>",\r
"comments": "",\r
- "x": 809,\r
- "y": 451,\r
- "z": "deca6c6e.62787",\r
+ "x": 846.5,\r
+ "y": 516.75,\r
+ "z": "369f92b4.305cce",\r
"wires": []\r
},\r
{\r
- "id": "86b92780.e4fd18",\r
+ "id": "78201e79.92779",\r
"type": "switchNode",\r
"name": "switch nodelist",\r
"xml": "<switch test='`$nodelist`'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 438,\r
- "y": 510,\r
- "z": "deca6c6e.62787",\r
+ "x": 475.5,\r
+ "y": 575.75,\r
+ "z": "369f92b4.305cce",\r
"wires": [\r
[\r
- "314228d.17719d8",\r
- "d39f4666.4c5158"\r
+ "cd45c66d.ce9838",\r
+ "17f4d31.c678b2d"\r
]\r
]\r
},\r
{\r
- "id": "314228d.17719d8",\r
+ "id": "cd45c66d.ce9838",\r
"type": "outcome",\r
"name": "null",\r
"xml": "<outcome value=''>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 618,\r
- "y": 503,\r
- "z": "deca6c6e.62787",\r
+ "x": 655.5,\r
+ "y": 568.75,\r
+ "z": "369f92b4.305cce",\r
"wires": [\r
[\r
- "e384eccc.6fd13"\r
+ "54593bc3.251964"\r
]\r
]\r
},\r
{\r
- "id": "e384eccc.6fd13",\r
+ "id": "54593bc3.251964",\r
"type": "set",\r
"name": "set nodelist",\r
"xml": "<set>\n<parameter name='nodelist' value=\"`$prop.ansible.nodelist`\"/>",\r
"comments": "",\r
- "x": 775,\r
- "y": 517,\r
- "z": "deca6c6e.62787",\r
+ "x": 812.5,\r
+ "y": 582.75,\r
+ "z": "369f92b4.305cce",\r
"wires": []\r
},\r
{\r
- "id": "d39f4666.4c5158",\r
+ "id": "17f4d31.c678b2d",\r
"type": "outcome",\r
"name": "empty",\r
"xml": "<outcome value=\"['']\">\n\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 617,\r
- "y": 547,\r
- "z": "deca6c6e.62787",\r
+ "x": 654.5,\r
+ "y": 612.75,\r
+ "z": "369f92b4.305cce",\r
"wires": [\r
[\r
- "e384eccc.6fd13"\r
+ "54593bc3.251964"\r
]\r
]\r
},\r
{\r
- "id": "d1d2edc3.c0ebb",\r
- "type": "returnFailure",\r
- "name": "return failure",\r
- "xml": "<return status='failure'>\n<parameter name='status.code' value='401' />\n<parameter name='status.message' value='Currently only support PNF.' />",\r
+ "id": "26a968e7.f7bf98",\r
+ "type": "switchNode",\r
+ "name": "switch playbookname",\r
+ "xml": "<switch test='`$playbookname`'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1530.5,\r
+ "y": 447.75,\r
+ "z": "369f92b4.305cce",\r
+ "wires": [\r
+ [\r
+ "5f54def1.a67ca"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "5f54def1.a67ca",\r
+ "type": "outcome",\r
+ "name": "null",\r
+ "xml": "<outcome value=''>\n",\r
"comments": "",\r
- "x": 969,\r
- "y": 359,\r
- "z": "deca6c6e.62787",\r
+ "outputs": 1,\r
+ "x": 1708.5,\r
+ "y": 447.75,\r
+ "z": "369f92b4.305cce",\r
+ "wires": [\r
+ [\r
+ "b2eb228.3781ce"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "294832a2.42287e",\r
+ "type": "set",\r
+ "name": "set nodelist",\r
+ "xml": "<set>\n<parameter name='nodelist' value=\"`'[' + $quote + $aai.generic-vnf.ipv4-oam-address + $quote + ']'`\"/>\n",\r
+ "comments": "",\r
+ "x": 1503.5,\r
+ "y": 500.75,\r
+ "z": "369f92b4.305cce",\r
"wires": []\r
},\r
{\r
- "id": "e3737dc2.9a3b6",\r
- "type": "execute",\r
- "name": "execute jsonStringToCtx",\r
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='jsonStringToCtx'>\n\t<parameter name='source' value='org.onap.appc.adapter.ansible.results' />\n\t<parameter name='outputPath' value='resultsJson' />\n\t<parameter name='isEscaped' value='false' />\n",\r
+ "id": "31c7d490.843fdc",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1703,\r
- "y": 741,\r
- "z": "deca6c6e.62787",\r
+ "x": 1333.5,\r
+ "y": 457.75,\r
+ "z": "369f92b4.305cce",\r
"wires": [\r
- []\r
+ [\r
+ "26a968e7.f7bf98",\r
+ "294832a2.42287e"\r
+ ]\r
]\r
},\r
{\r
- "id": "764a748a.61b14c",\r
+ "id": "b2eb228.3781ce",\r
"type": "execute",\r
- "name": "execute getAttributeValue",\r
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='source' value=\"`'resultsJson.' + $payloadJson.ipaddress-v4-oam + '.Output'`\" />\n\t<parameter name='outputPath' value='outputPayload' />",\r
+ "name": "set playbookname",\r
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='playbookname' />\n\t<parameter name='source' value=\"`'prop.lcm.' + $aai.generic-vnf.nf-naming-code + '.rollback.playbookname'`\" />\n\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1709,\r
- "y": 796,\r
- "z": "deca6c6e.62787",\r
+ "x": 1880.5,\r
+ "y": 445.75,\r
+ "z": "369f92b4.305cce",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "9775ae82.61b25",\r
- "type": "switchNode",\r
- "name": "switch outputPayload",\r
- "xml": "<switch test='`$outputPayload`'>\n",\r
+ "id": "eb7f81a3.42757",\r
+ "type": "execute",\r
+ "name": "execute jsonStringToCtx",\r
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='jsonStringToCtx'>\n\t<parameter name='source' value='org.onap.appc.adapter.ansible.results' />\n\t<parameter name='outputPath' value='resultsJson' />\n\t<parameter name='isEscaped' value='false' />\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1694,\r
- "y": 854,\r
- "z": "deca6c6e.62787",\r
+ "x": 1730.5,\r
+ "y": 789.75,\r
+ "z": "369f92b4.305cce",\r
"wires": [\r
- [\r
- "17082276.b4933e",\r
- "55bb01f1.008aa"\r
- ]\r
+ []\r
]\r
},\r
{\r
- "id": "ba985798.6d2de8",\r
- "type": "set",\r
- "name": "set DmaapReq with payload",\r
- "xml": "<set>\n<parameter name='lcm-dmaap.version' value='`$prop.lcm.dmaap.version`'/>\n<parameter name='lcm-dmaap.correlation-id' value=\"`$rollback-input.common-header.request-id + '-' + $rollback-input.common-header.sub-request-id`\"/>\n<parameter name='lcm-dmaap.partition' value='`$prop.lcm.dmaap.partition`'/>\n<parameter name='lcm-dmaap.rpc-name' value='rollback'/>\n<parameter name='lcm-dmaap.type' value='`$prop.lcm.dmaap.type`'/>\n<parameter name='lcm-dmaap.timestamp' value='`$rollback-input.common-header.timestamp`'/>\n<parameter name='lcm-dmaap.api-ver' value='`$rollback-input.common-header.api-ver`'/>\n<parameter name='lcm-dmaap.originator-id' value='`$rollback-input.common-header.originator-id`'/>\n<parameter name='lcm-dmaap.request-id' value='`$rollback-input.common-header.request-id`'/>\n<parameter name='lcm-dmaap.sub-request-id' value='`$rollback-input.common-header.sub-request-id`'/>\n<parameter name='lcm-dmaap.flags.mode' value='`$rollback-input.common-header.flags.mode`'/>\n<parameter name='lcm-dmaap.flags.force' value='`$rollback-input.common-header.flags.force`'/>\n<parameter name='lcm-dmaap.flags.ttl' value='`$rollback-input.common-header.flags.ttl`'/>\n<parameter name='lcm-dmaap.status.code' value='`$org.onap.appc.adapter.ansible.result.code`' />\n<parameter name='lcm-dmaap.status.message' value='`$org.onap.appc.adapter.ansible.message`'/>\n<parameter name='lcm-dmaap.payload' value='`$outputPayload`'/>",\r
+ "id": "ec9cf419.aed218",\r
+ "type": "execute",\r
+ "name": "execute getAttributeValue",\r
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='source' value=\"`'resultsJson' + $outputPayloadField`\" />\n\t<parameter name='outputPath' value='outputPayload' />",\r
"comments": "",\r
- "x": 2080,\r
- "y": 873,\r
- "z": "deca6c6e.62787",\r
- "wires": []\r
+ "outputs": 1,\r
+ "x": 1736.5,\r
+ "y": 834.75,\r
+ "z": "369f92b4.305cce",\r
+ "wires": [\r
+ []\r
+ ]\r
},\r
{\r
- "id": "17082276.b4933e",\r
- "type": "outcome",\r
- "name": "null",\r
- "xml": "<outcome value=''>\n",\r
+ "id": "822ef90c.18eff8",\r
+ "type": "switchNode",\r
+ "name": "switch outputPayload",\r
+ "xml": "<switch test='`$outputPayload`'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1876,\r
- "y": 827,\r
- "z": "deca6c6e.62787",\r
+ "x": 1722.5000228881836,\r
+ "y": 910.5000133514404,\r
+ "z": "369f92b4.305cce",\r
"wires": [\r
[\r
- "63386817.4a7cc8"\r
+ "c302475b.9df818"\r
]\r
]\r
},\r
{\r
- "id": "55bb01f1.008aa",\r
+ "id": "c302475b.9df818",\r
"type": "outcome",\r
"name": "other",\r
"xml": "<outcome value='Other'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1875,\r
- "y": 873,\r
- "z": "deca6c6e.62787",\r
+ "x": 1896.5000267028809,\r
+ "y": 910.7500133514404,\r
+ "z": "369f92b4.305cce",\r
"wires": [\r
[\r
- "ba985798.6d2de8"\r
+ "a48299cb.b78bd8"\r
]\r
]\r
},\r
{\r
- "id": "a556bfd0.26234",\r
+ "id": "a48299cb.b78bd8",\r
+ "type": "set",\r
+ "name": "set DmaapReq with payload",\r
+ "xml": "<set>\n<parameter name='lcm-dmaap.payload' value='`$outputPayload`'/>",\r
+ "comments": "",\r
+ "x": 2094.750030517578,\r
+ "y": 911.2500133514404,\r
+ "z": "369f92b4.305cce",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "6c329a17.f8bc34",\r
+ "type": "returnSuccess",\r
+ "name": "return success",\r
+ "xml": "<return status='success'>\n<parameter name='status.code' value='`$org.onap.appc.adapter.ansible.result.code`' />\n<parameter name='status.message' value='`$org.onap.appc.adapter.ansible.message`'/>",\r
+ "comments": "",\r
+ "x": 2433.5,\r
+ "y": 992.7499389648438,\r
+ "z": "369f92b4.305cce",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "6f27e34f.bfe1bc",\r
"type": "outcome",\r
"name": "null",\r
"xml": "<outcome value=''>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1875,\r
- "y": 970,\r
- "z": "deca6c6e.62787",\r
+ "x": 1899.500244140625,\r
+ "y": 1014.7498779296875,\r
+ "z": "369f92b4.305cce",\r
"wires": [\r
[\r
- "921bd724.038378"\r
+ "ecb031ca.9f34d"\r
]\r
]\r
},\r
{\r
- "id": "bfa7e392.13bb3",\r
+ "id": "aba48551.b856a8",\r
"type": "outcome",\r
"name": "other",\r
"xml": "<outcome value='Other'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1875,\r
- "y": 1046,\r
- "z": "deca6c6e.62787",\r
+ "x": 1898.500244140625,\r
+ "y": 1090.7498779296875,\r
+ "z": "369f92b4.305cce",\r
"wires": [\r
[\r
- "37bee539.62e3ea"\r
+ "6bf32a4b.832444"\r
]\r
]\r
},\r
{\r
- "id": "9a61d7f0.2347b8",\r
+ "id": "abc170de.d927e",\r
"type": "switchNode",\r
"name": "switch outputPayload",\r
"xml": "<switch test='`$outputPayload`'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1691,\r
- "y": 1009,\r
- "z": "deca6c6e.62787",\r
+ "x": 1716.500244140625,\r
+ "y": 1050.7498779296875,\r
+ "z": "369f92b4.305cce",\r
"wires": [\r
[\r
- "a556bfd0.26234",\r
- "bfa7e392.13bb3"\r
+ "6f27e34f.bfe1bc",\r
+ "aba48551.b856a8"\r
]\r
]\r
},\r
{\r
- "id": "dbab97fc.ffb6e8",\r
+ "id": "a234b745.0050e8",\r
"type": "returnSuccess",\r
"name": "return success with payload",\r
"xml": "<return status='success'>\n<parameter name='status.code' value='`$org.onap.appc.adapter.ansible.result.code`' />\n<parameter name='status.message' value='`$org.onap.appc.adapter.ansible.message`'/>\n<parameter name='payload' value='`$outputPayload`'/>",\r
"comments": "",\r
- "x": 2455,\r
- "y": 1030,\r
- "z": "deca6c6e.62787",\r
+ "x": 2474.500244140625,\r
+ "y": 1074.7498779296875,\r
+ "z": "369f92b4.305cce",\r
"wires": []\r
},\r
{\r
- "id": "f0a35f4d.9195a",\r
- "type": "success",\r
- "name": "success",\r
- "xml": "<outcome value='success'>\n",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 1343.9998779296875,\r
- "y": 841.0001220703125,\r
- "z": "deca6c6e.62787",\r
- "wires": [\r
- [\r
- "542925f0.27fbdc"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "9fd8cd6c.24d13",\r
- "type": "failure",\r
- "name": "failure",\r
- "xml": "<outcome value='failure'>\n",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 1340.9998779296875,\r
- "y": 799.0000610351562,\r
- "z": "deca6c6e.62787",\r
- "wires": [\r
- [\r
- "542925f0.27fbdc"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "921bd724.038378",\r
+ "id": "ecb031ca.9f34d",\r
"type": "switchNode",\r
"name": "switch result code",\r
"xml": "<switch test=\"`$org.onap.appc.adapter.ansible.result.code`\">\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2050,\r
- "y": 970,\r
- "z": "deca6c6e.62787",\r
+ "x": 2069.500244140625,\r
+ "y": 1014.7498779296875,\r
+ "z": "369f92b4.305cce",\r
"wires": [\r
[\r
- "292c4dcf.7880e2",\r
- "73b035d4.ad062c"\r
+ "7828ddac.7113c4",\r
+ "50103e86.045b8"\r
]\r
]\r
},\r
{\r
- "id": "37bee539.62e3ea",\r
+ "id": "6bf32a4b.832444",\r
"type": "switchNode",\r
"name": "switch result code",\r
"xml": "<switch test=\"`$org.onap.appc.adapter.ansible.result.code`\">\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2050,\r
- "y": 1046,\r
- "z": "deca6c6e.62787",\r
+ "x": 2069.500244140625,\r
+ "y": 1090.7498779296875,\r
+ "z": "369f92b4.305cce",\r
"wires": [\r
[\r
- "7e470c4a.386af4",\r
- "5feb02a4.d890ac"\r
+ "6e3f91ae.9416f",\r
+ "bbd2dd1d.f1bdc"\r
]\r
]\r
},\r
{\r
- "id": "7ef093b7.2cf64c",\r
+ "id": "c74eca80.53d6a8",\r
"type": "returnFailure",\r
"name": "return failure",\r
"xml": "<return status='failure'>\n<parameter name='status.code' value='401' />\n<parameter name='status.message' value='`$org.onap.appc.adapter.ansible.message`' />\n",\r
"comments": "",\r
- "x": 2408,\r
- "y": 986,\r
- "z": "deca6c6e.62787",\r
+ "x": 2427.500244140625,\r
+ "y": 1030.7498779296875,\r
+ "z": "369f92b4.305cce",\r
"wires": []\r
},\r
{\r
- "id": "b08c6ff3.d3ef1",\r
+ "id": "6a92df8c.f43f7",\r
"type": "returnFailure",\r
"name": "return failure with payload",\r
"xml": "<return status='failure'>\n<parameter name='status.code' value='401' />\n<parameter name='status.message' value='`$org.onap.appc.adapter.ansible.message`' />\n<parameter name='payload' value='`$outputPayload`'/>",\r
"comments": "",\r
- "x": 2451,\r
- "y": 1068,\r
- "z": "deca6c6e.62787",\r
+ "x": 2470.500244140625,\r
+ "y": 1112.7498779296875,\r
+ "z": "369f92b4.305cce",\r
"wires": []\r
},\r
{\r
- "id": "292c4dcf.7880e2",\r
+ "id": "7828ddac.7113c4",\r
"type": "other",\r
"name": "outcome 400",\r
"xml": "<outcome value='400'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2238,\r
- "y": 948,\r
- "z": "deca6c6e.62787",\r
+ "x": 2257.500244140625,\r
+ "y": 992.7498779296875,\r
+ "z": "369f92b4.305cce",\r
"wires": [\r
[\r
- "8024a972.fa79a8"\r
+ "6c329a17.f8bc34"\r
]\r
]\r
},\r
{\r
- "id": "73b035d4.ad062c",\r
+ "id": "50103e86.045b8",\r
"type": "outcome",\r
"name": "other",\r
"xml": "<outcome value='Other'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2219,\r
- "y": 986,\r
- "z": "deca6c6e.62787",\r
+ "x": 2238.500244140625,\r
+ "y": 1030.7498779296875,\r
+ "z": "369f92b4.305cce",\r
"wires": [\r
[\r
- "7ef093b7.2cf64c"\r
+ "c74eca80.53d6a8"\r
]\r
]\r
},\r
{\r
- "id": "7e470c4a.386af4",\r
+ "id": "6e3f91ae.9416f",\r
"type": "other",\r
"name": "outcome 400",\r
"xml": "<outcome value='400'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2239,\r
- "y": 1030,\r
- "z": "deca6c6e.62787",\r
+ "x": 2258.500244140625,\r
+ "y": 1074.7498779296875,\r
+ "z": "369f92b4.305cce",\r
+ "wires": [\r
+ [\r
+ "a234b745.0050e8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "bbd2dd1d.f1bdc",\r
+ "type": "outcome",\r
+ "name": "other",\r
+ "xml": "<outcome value='Other'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2240.500244140625,\r
+ "y": 1112.7498779296875,\r
+ "z": "369f92b4.305cce",\r
+ "wires": [\r
+ [\r
+ "6a92df8c.f43f7"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "c022042b.de2278",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 835.7500114440918,\r
+ "y": 282.00000381469727,\r
+ "z": "369f92b4.305cce",\r
"wires": [\r
[\r
- "dbab97fc.ffb6e8"\r
+ "ba864124.fbd17",\r
+ "8483b1ff.62265"\r
]\r
]\r
},\r
{\r
- "id": "5feb02a4.d890ac",\r
+ "id": "8483b1ff.62265",\r
+ "type": "switchNode",\r
+ "name": "switch playbook-name in req",\r
+ "xml": "<switch test='`$payloadJson.playbook-name`'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1042.0000133514404,\r
+ "y": 326.50000381469727,\r
+ "z": "369f92b4.305cce",\r
+ "wires": [\r
+ [\r
+ "bb00ffff.87cfb",\r
+ "433808fa.337a18"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "bb00ffff.87cfb",\r
+ "type": "outcome",\r
+ "name": "null",\r
+ "xml": "<outcome value=''>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1249.5000190734863,\r
+ "y": 290.25000381469727,\r
+ "z": "369f92b4.305cce",\r
+ "wires": [\r
+ [\r
+ "33939f7.002cb6"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "433808fa.337a18",\r
"type": "outcome",\r
"name": "other",\r
"xml": "<outcome value='Other'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2221,\r
- "y": 1068,\r
- "z": "deca6c6e.62787",\r
+ "x": 1248.2500228881836,\r
+ "y": 355.25000381469727,\r
+ "z": "369f92b4.305cce",\r
"wires": [\r
[\r
- "b08c6ff3.d3ef1"\r
+ "4b181e16.e7061"\r
]\r
]\r
+ },\r
+ {\r
+ "id": "33939f7.002cb6",\r
+ "type": "set",\r
+ "name": "set playbookname from prop",\r
+ "xml": "<set>\n<parameter name='playbookname' value='`$prop.lcm.pnf.rollback.playbookname`'/>\n",\r
+ "comments": "",\r
+ "x": 1452.0000228881836,\r
+ "y": 290.25000381469727,\r
+ "z": "369f92b4.305cce",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "4b181e16.e7061",\r
+ "type": "set",\r
+ "name": "set playbookname from req",\r
+ "xml": "<set>\n<parameter name='playbookname' value='`$payloadJson.playbook-name`'/>\n",\r
+ "comments": "",\r
+ "x": 1447.0000228881836,\r
+ "y": 355.25000381469727,\r
+ "z": "369f92b4.305cce",\r
+ "wires": []\r
}\r
]
\ No newline at end of file