- },\r
- {\r
- "id": "af2360f3.a1b32",\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": 1616,\r
- "y": 750,\r
- "z": "b4969602.e5a2a8",\r
- "wires": [\r
- []\r
- ]\r
- },\r
- {\r
- "id": "c058b1a3.cafa7",\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
- "comments": "",\r
- "outputs": 1,\r
- "x": 1622,\r
- "y": 793,\r
- "z": "b4969602.e5a2a8",\r
- "wires": [\r
- []\r
- ]\r
- },\r
- {\r
- "id": "d59d4575.f7aa08",\r
- "type": "switchNode",\r
- "name": "switch outputPayload",\r
- "xml": "<switch test='`$outputPayload`'>\n",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 1606,\r
- "y": 840,\r
- "z": "b4969602.e5a2a8",\r
- "wires": [\r
- [\r
- "676d5ce5.e9d864",\r
- "8ecd1678.ebdff8"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "676d5ce5.e9d864",\r
- "type": "outcome",\r
- "name": "null",\r
- "xml": "<outcome value=''>\n",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 1783,\r
- "y": 819,\r
- "z": "b4969602.e5a2a8",\r
- "wires": [\r
- [\r
- "72836a7a.768624"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "8ecd1678.ebdff8",\r
- "type": "outcome",\r
- "name": "other",\r
- "xml": "<outcome value='Other'>\n",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 1782,\r
- "y": 859,\r
- "z": "b4969602.e5a2a8",\r
- "wires": [\r
- [\r
- "5f5e736e.9d3b8c"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "5f5e736e.9d3b8c",\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=\"`$upgrade-post-check-input.common-header.request-id + '-' + $upgrade-post-check-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='upgrade-post-check'/>\n<parameter name='lcm-dmaap.type' value='`$prop.lcm.dmaap.type`'/>\n<parameter name='lcm-dmaap.timestamp' value='`$upgrade-post-check-input.common-header.timestamp`'/>\n<parameter name='lcm-dmaap.api-ver' value='`$upgrade-post-check-input.common-header.api-ver`'/>\n<parameter name='lcm-dmaap.originator-id' value='`$upgrade-post-check-input.common-header.originator-id`'/>\n<parameter name='lcm-dmaap.request-id' value='`$upgrade-post-check-input.common-header.request-id`'/>\n<parameter name='lcm-dmaap.sub-request-id' value='`$upgrade-post-check-input.common-header.sub-request-id`'/>\n<parameter name='lcm-dmaap.flags.mode' value='`$upgrade-post-check-input.common-header.flags.mode`'/>\n<parameter name='lcm-dmaap.flags.force' value='`$upgrade-post-check-input.common-header.flags.force`'/>\n<parameter name='lcm-dmaap.flags.ttl' value='`$upgrade-post-check-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
- "comments": "",\r
- "x": 1980,\r
- "y": 859,\r
- "z": "b4969602.e5a2a8",\r
- "wires": []\r
- },\r
- {\r
- "id": "bd7deada.205038",\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": 2322,\r
- "y": 937,\r
- "z": "b4969602.e5a2a8",\r
- "wires": []\r
- },\r
- {\r
- "id": "530e9d63.07dd34",\r
- "type": "outcome",\r
- "name": "null",\r
- "xml": "<outcome value=''>\n",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 1788.000244140625,\r
- "y": 958.9999389648438,\r
- "z": "b4969602.e5a2a8",\r
- "wires": [\r
- [\r
- "aba50f21.a535d"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "d6c0e471.9108d8",\r
- "type": "outcome",\r
- "name": "other",\r
- "xml": "<outcome value='Other'>\n",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 1787.000244140625,\r
- "y": 1034.9999389648438,\r
- "z": "b4969602.e5a2a8",\r
- "wires": [\r
- [\r
- "801dd50e.8622c8"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "97b68625.59c538",\r
- "type": "switchNode",\r
- "name": "switch outputPayload",\r
- "xml": "<switch test='`$outputPayload`'>\n",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 1605.000244140625,\r
- "y": 994.9999389648438,\r
- "z": "b4969602.e5a2a8",\r
- "wires": [\r
- [\r
- "530e9d63.07dd34",\r
- "d6c0e471.9108d8"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "acbbf9db.eeba28",\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": 2363.000244140625,\r
- "y": 1018.9999389648438,\r
- "z": "b4969602.e5a2a8",\r
- "wires": []\r
- },\r
- {\r
- "id": "aba50f21.a535d",\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": 1958.000244140625,\r
- "y": 958.9999389648438,\r
- "z": "b4969602.e5a2a8",\r
- "wires": [\r
- [\r
- "3ac4241b.62144c",\r
- "c67e4b5c.d70a28"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "801dd50e.8622c8",\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": 1958.000244140625,\r
- "y": 1034.9999389648438,\r
- "z": "b4969602.e5a2a8",\r
- "wires": [\r
- [\r
- "8dcd3ae3.608a58",\r
- "a94e8dc6.52647"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "657ecc9e.2687c4",\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": 2316.000244140625,\r
- "y": 974.9999389648438,\r
- "z": "b4969602.e5a2a8",\r
- "wires": []\r
- },\r
- {\r
- "id": "52f49f6f.dcf4",\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": 2359.000244140625,\r
- "y": 1056.9999389648438,\r
- "z": "b4969602.e5a2a8",\r
- "wires": []\r
- },\r
- {\r
- "id": "3ac4241b.62144c",\r
- "type": "other",\r
- "name": "outcome 400",\r
- "xml": "<outcome value='400'>\n",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 2146.000244140625,\r
- "y": 936.9999389648438,\r
- "z": "b4969602.e5a2a8",\r
- "wires": [\r
- [\r
- "bd7deada.205038"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "c67e4b5c.d70a28",\r
- "type": "outcome",\r
- "name": "other",\r
- "xml": "<outcome value='Other'>\n",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 2127.000244140625,\r
- "y": 974.9999389648438,\r
- "z": "b4969602.e5a2a8",\r
- "wires": [\r
- [\r
- "657ecc9e.2687c4"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "8dcd3ae3.608a58",\r
- "type": "other",\r
- "name": "outcome 400",\r
- "xml": "<outcome value='400'>\n",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 2147.000244140625,\r
- "y": 1018.9999389648438,\r
- "z": "b4969602.e5a2a8",\r
- "wires": [\r
- [\r
- "acbbf9db.eeba28"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "a94e8dc6.52647",\r
- "type": "outcome",\r
- "name": "other",\r
- "xml": "<outcome value='Other'>\n",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 2129.000244140625,\r
- "y": 1056.9999389648438,\r
- "z": "b4969602.e5a2a8",\r
- "wires": [\r
- [\r
- "52f49f6f.dcf4"\r
- ]\r
- ]\r