- "id": "d4773b75.f02ff8",\r
- "type": "block",\r
- "name": "block : atomic",\r
- "xml": "<block atomic=\"true\">",\r
- "atomic": "true",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 1423.831729888916,\r
- "y": 1618.6653962135315,\r
- "z": "fe3a5d18.ca1b6",\r
- "wires": [\r
- []\r
- ]\r
- },\r
- {\r
- "id": "654cee32.d9b47",\r
- "type": "block",\r
- "name": "block : atomic",\r
- "xml": "<block atomic=\"true\">",\r
- "atomic": "true",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 1419.8355903625488,\r
- "y": 1584.169144153595,\r
- "z": "fe3a5d18.ca1b6",\r
- "wires": [\r
- []\r
- ]\r
- },\r
- {\r
- "id": "496f73f1.608cec",\r
- "type": "success",\r
- "name": "success",\r
- "xml": "<outcome value='success'>\n",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 1279.831714630127,\r
- "y": 1619.6655592918396,\r
- "z": "fe3a5d18.ca1b6",\r
- "wires": [\r
- [\r
- "d4773b75.f02ff8"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "93a36b7f.6e1e08",\r
- "type": "failure",\r
- "name": "failure",\r
- "xml": "<outcome value='failure'>\n",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 1275.831745147705,\r
- "y": 1585.6654524803162,\r
- "z": "fe3a5d18.ca1b6",\r
- "wires": [\r
- [\r
- "654cee32.d9b47"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "62263572.725b3c",\r
- "type": "execute",\r
- "name": "execute RestApiCallNode wan port update",\r
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/sdwan-wan-port.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/controller/campus/v1/sdwan/net/transport-network-ports'`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"put\"/>\n<parameter name=\"responsePrefix\" value=\"wanPortResp\"/>\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": 1012.8321380615234,\r
- "y": 1594.6657781600952,\r
- "z": "fe3a5d18.ca1b6",\r
- "wires": [\r
- [\r
- "496f73f1.608cec",\r
- "93a36b7f.6e1e08"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "e76d9029.37f13",\r
- "type": "switchNode",\r
- "name": "switch prop.wanPortUpdate null",\r
- "xml": "<switch test=\"`$prop.wanPortUpdate`\">",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 558.1964721679688,\r
- "y": 1594.696870803833,\r
- "z": "fe3a5d18.ca1b6",\r
- "wires": [\r
- [\r
- "125755f3.b6968a"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "125755f3.b6968a",\r
- "type": "outcome",\r
- "name": "NULL",\r
- "xml": "<outcome value=''>\n",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 770.1965560913086,\r
- "y": 1595.1965408325195,\r
- "z": "fe3a5d18.ca1b6",\r
- "wires": [\r
- [\r
- "62263572.725b3c"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "1e1aff6a.3deca1",\r