- "id": "6b9897c8.516f28",\r
- "type": "execute",\r
- "name": "execute RestApiCallNode domainA UNI Coloring",\r
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.ts-coloring-uni-port.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainA.url + '/restconf/data/ietf-network:networks/network=' + $tmp.domainA.eth-network-id + '/node=' + $tmp.src.pnf-name + '/ietf-network-topology:termination-point=' + $tmp.src.ltpId + '/ietf-te-topology:te' `\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainA.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainA.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"patch\"/>\n<parameter name=\"responsePrefix\" value=\"otn-oof\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 2718,\r
- "y": 3473,\r
- "z": "b31344e1.6b9228",\r
- "wires": [\r
- [\r
- "423bbf1a.980188",\r
- "5a878bc1.0c7c24"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "5a878bc1.0c7c24",\r
- "type": "failure",\r
- "name": "failure",\r
- "xml": "<outcome value='failure'>\n",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 2984,\r
- "y": 3453,\r
- "z": "b31344e1.6b9228",\r
- "wires": [\r
- [\r
- "857ed73a.517d58"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "423bbf1a.980188",\r
- "type": "success",\r
- "name": "success",\r
- "xml": "<outcome value='success'>\n",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 2985.000213623047,\r
- "y": 3503.99990940094,\r
- "z": "b31344e1.6b9228",\r
- "wires": [\r
- [\r
- "c8157b69.44d2d"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "857ed73a.517d58",\r
- "type": "returnFailure",\r
- "name": "return failure",\r
- "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"Error executing UNI Coloring for domain A\" />\n",\r
- "comments": "",\r
- "x": 3124.0002479553223,\r
- "y": 3453.0000009536743,\r
- "z": "b31344e1.6b9228",\r
- "wires": []\r
- },\r
- {\r
- "id": "c8157b69.44d2d",\r
- "type": "block",\r
- "name": "block",\r
- "xml": "<block>\n",\r
- "atomic": "false",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 3130.02725982666,\r
- "y": 3501.745394706726,\r
- "z": "b31344e1.6b9228",\r
- "wires": [\r
- []\r
- ]\r
- },\r
- {\r
- "id": "1473b1fb.f66ede",\r
- "type": "execute",\r
- "name": "execute RestApiCallNode domainB UNI Coloring",\r
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.ts-coloring-uni-port.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainB.url + '/restconf/data/ietf-network:networks/network=' + $tmp.domainB.eth-network-id + '/node=' + $tmp.dst.pnf-name + '/ietf-network-topology:termination-point=' + $tmp.dst.ltpId + '/ietf-te-topology:te' `\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainB.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainB.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"patch\"/>\n<parameter name=\"responsePrefix\" value=\"otn-oof\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 2718,\r
- "y": 3839,\r
- "z": "b31344e1.6b9228",\r
- "wires": [\r
- [\r
- "8f6a2d0c.d8e1f8",\r
- "9fe0565f.7886"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "9fe0565f.7886",\r
- "type": "failure",\r
- "name": "failure",\r
- "xml": "<outcome value='failure'>\n",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 2984,\r
- "y": 3819,\r
- "z": "b31344e1.6b9228",\r
- "wires": [\r
- [\r
- "9f93d2ab.f5b508"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "8f6a2d0c.d8e1f8",\r
- "type": "success",\r
- "name": "success",\r
- "xml": "<outcome value='success'>\n",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 2985.000213623047,\r
- "y": 3869.99990940094,\r
- "z": "b31344e1.6b9228",\r
- "wires": [\r
- [\r
- "c9ec128c.8a9e98"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "9f93d2ab.f5b508",\r
- "type": "returnFailure",\r
- "name": "return failure",\r
- "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"Error executing UNI coloring for domain B\" />\n",\r
- "comments": "",\r
- "x": 3124.0002479553223,\r
- "y": 3819.0000009536743,\r
- "z": "b31344e1.6b9228",\r
- "wires": []\r
- },\r
- {\r
- "id": "c9ec128c.8a9e98",\r
- "type": "block",\r
- "name": "block",\r
- "xml": "<block>\n",\r
- "atomic": "false",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 3130.02725982666,\r
- "y": 3867.745394706726,\r
- "z": "b31344e1.6b9228",\r
- "wires": [\r
- []\r
- ]\r
- },\r
- {\r
- "id": "420f3616.2f701",\r