diff options
author | 2018-09-07 14:38:22 +0530 | |
---|---|---|
committer | 2018-09-07 17:24:17 +0530 | |
commit | 55b429cfc73802e3e52fa2f3864ecc4cdd552728 (patch) | |
tree | 5eee99f5b0b7e039ea0250d5549ca25aae74fd04 /platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_sdwan-vnf-topology-operation-wanport-deactivate.json | |
parent | db323d0fa39eabc03faf8c803876da5f87079e58 (diff) |
integration test issues fix for sdwan and sotn
Change-Id: I406550404f0cfb661d6e480cf1df48d39fad06e7
Issue-ID: SDNC-357
Signed-off-by: shashikanth.vh <shashikanth.vh@huawei.com>
Former-commit-id: 3e4fa46160a5d6d52bb7eccf08dbb790d96a4682
Diffstat (limited to 'platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_sdwan-vnf-topology-operation-wanport-deactivate.json')
-rw-r--r-- | platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_sdwan-vnf-topology-operation-wanport-deactivate.json | 504 |
1 files changed, 258 insertions, 246 deletions
diff --git a/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_sdwan-vnf-topology-operation-wanport-deactivate.json b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_sdwan-vnf-topology-operation-wanport-deactivate.json index c941eb14..b6ff38b7 100644 --- a/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_sdwan-vnf-topology-operation-wanport-deactivate.json +++ b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_sdwan-vnf-topology-operation-wanport-deactivate.json @@ -1,20 +1,20 @@ [ { - "id": "7b8cbc85.2da064", + "id": "160bd41b.750adc", "type": "dgstart", "name": "DGSTART", "outputs": 1, - "x": 100.00390625, - "y": 55.99999871850014, - "z": "b1933fd7.45eec", + "x": 97, + "y": 50, + "z": "60265787.2327c8", "wires": [ [ - "e9b1afb9.5ff99" + "7010ff28.09428" ] ] }, { - "id": "e9b1afb9.5ff99", + "id": "7010ff28.09428", "type": "service-logic", "name": "GENERIC-RESOURCE-API ${project.version}", "module": "GENERIC-RESOURCE-API", @@ -22,701 +22,713 @@ "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='GENERIC-RESOURCE-API' version='${project.version}'>", "outputs": 1, - "x": 248.2895965576172, - "y": 106.23810735344887, - "z": "b1933fd7.45eec", + "x": 245.2856903076172, + "y": 100.23810863494873, + "z": "60265787.2327c8", "wires": [ [ - "4b2b7cbd.d36844" + "f412ee4c.d62e7" ] ] }, { - "id": "4b2b7cbd.d36844", + "id": "f412ee4c.d62e7", "type": "method", "name": "method sdwan-vnf-topology-operation-wanport-deactivate", "xml": "<method rpc='sdwan-vnf-topology-operation-wanport-deactivate' mode='sync'>\n", "comments": "", "outputs": 1, - "x": 282.4325180053711, - "y": 190.00001588463783, - "z": "b1933fd7.45eec", + "x": 279.4286117553711, + "y": 184.0000171661377, + "z": "60265787.2327c8", "wires": [ [ - "5407681f.e8b5e8" + "cc23525.50310b" ] ] }, { - "id": "5407681f.e8b5e8", + "id": "cc23525.50310b", "type": "block", "name": "block : atomic", "xml": "<block atomic=\"true\">", "atomic": "true", "outputs": 1, - "x": 257.6706123352051, - "y": 574.6666819155216, - "z": "b1933fd7.45eec", + "x": 254.66670608520508, + "y": 568.6666831970215, + "z": "60265787.2327c8", "wires": [ [ - "df156b9b.893498", - "be3201ef.467c4", - "860b5ecf.dd7b5", - "16992179.73e94f", - "98f2142f.e861f8", - "d04b477e.b0b688", - "873153fb.ad4f6", - "104270ca.7ed57f", - "e4cc3ba0.aaef78", - "8c780213.0f5d9", - "a5d33dff.966b" + "8af94d5d.882d", + "db706027.a79c1", + "a0bc8740.7ee818", + "13704b55.ddb7b5", + "f6e2bea8.930d7", + "1d165946.98b807", + "e263e9f9.47b878", + "ec6fef57.1d937", + "f2ee43ab.85fef" ] ] }, { - "id": "df156b9b.893498", + "id": "8af94d5d.882d", "type": "switchNode", "name": "switch service-data.vnfs.vnf_length", "xml": "<switch test='`$service-data.vnfs.vnf_length`'>\n", "comments": "", "outputs": 1, - "x": 763.0248603820801, - "y": 99.02095222473145, - "z": "b1933fd7.45eec", + "x": 760.0209541320801, + "y": 93.02095350623131, + "z": "60265787.2327c8", "wires": [ [ - "cd5b067d.e6ac48", - "8805239b.f3949", - "b1447a06.d6b6b8" + "80fd0bfd.39f738", + "7b7c3289.46689c", + "eedac48f.477958" ] ] }, { - "id": "cd5b067d.e6ac48", + "id": "80fd0bfd.39f738", "type": "other", "name": "Null", "xml": "<outcome value=''>\n", "comments": "", "outputs": 1, - "x": 1006.024787902832, - "y": 124.02103519439697, - "z": "b1933fd7.45eec", + "x": 1003.020881652832, + "y": 118.02103647589684, + "z": "60265787.2327c8", "wires": [ [ - "e50203dd.f1638" + "bd8e7274.c99a" ] ] }, { - "id": "e50203dd.f1638", + "id": "bd8e7274.c99a", "type": "returnFailure", "name": "return failure", "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=\"vnf-topology-operation-input.vnf-request-input.vnf-id not found in service-data\" />\n", "comments": "", - "x": 1154.8022994995117, - "y": 103.9099702835083, - "z": "b1933fd7.45eec", + "x": 1151.7983932495117, + "y": 97.90997156500816, + "z": "60265787.2327c8", "wires": [] }, { - "id": "8805239b.f3949", + "id": "7b7c3289.46689c", "type": "other", "name": "other", "xml": "<outcome value='Other'>\n", "comments": "", "outputs": 1, - "x": 1007.0251121520996, - "y": 157.02105808258057, - "z": "b1933fd7.45eec", + "x": 1004.0212059020996, + "y": 151.02105936408043, + "z": "60265787.2327c8", "wires": [ [ - "ec39454c.89fad8" + "fc040973.03bed8" ] ] }, { - "id": "ec39454c.89fad8", + "id": "fc040973.03bed8", "type": "block", "name": "block : atomic", "xml": "<block atomic=\"true\">", "atomic": "true", "outputs": 1, - "x": 1154.2948150634766, - "y": 146.57558059692383, - "z": "b1933fd7.45eec", + "x": 1151.2909088134766, + "y": 140.5755818784237, + "z": "60265787.2327c8", "wires": [ [ - "581f3be0.95f264", - "9ccafa3a.a3a8e8" + "41b2ec7a.c9fac4", + "ed9b9aab.53af18" ] ] }, { - "id": "581f3be0.95f264", + "id": "41b2ec7a.c9fac4", "type": "for", "name": "for vidx..service-data.vnfs.vnf_length[]", "xml": "<for index='vidx' start='0' end='`$service-data.vnfs.vnf_length`' >\n", "comments": "", "outputs": 1, - "x": 1399.310775756836, - "y": 98.44958019256592, - "z": "b1933fd7.45eec", + "x": 1396.306869506836, + "y": 92.44958147406578, + "z": "60265787.2327c8", "wires": [ [ - "66dc1ec4.8151c" + "da4ef740.d83fa8" ] ] }, { - "id": "9ccafa3a.a3a8e8", + "id": "ed9b9aab.53af18", "type": "switchNode", "name": "switch tmp.vidx ", "xml": "<switch test=\"`$tmp.vidx`\">\n\n", "comments": "", "outputs": 1, - "x": 1330.6121292114258, - "y": 146.43275928497314, - "z": "b1933fd7.45eec", + "x": 1327.6082229614258, + "y": 140.432760566473, + "z": "60265787.2327c8", "wires": [ [ - "4834ec00.0aabb4" + "742d2b6f.de3234" ] ] }, { - "id": "4834ec00.0aabb4", + "id": "742d2b6f.de3234", "type": "outcome", "name": "NULL", "xml": "<outcome value=''>\n", "comments": "", "outputs": 1, - "x": 1484.0407676696777, - "y": 145.00417232513428, - "z": "b1933fd7.45eec", + "x": 1481.0368614196777, + "y": 139.00417360663414, + "z": "60265787.2327c8", "wires": [ [ - "fddc1ade.282818" + "373d4940.5a03b6" ] ] }, { - "id": "5b23a76a.488d28", + "id": "cf1a968e.65c658", "type": "switchNode", "name": "switch vnfid found", "xml": "<switch test=\"`$service-data.vnfs.vnf[$vidx].vnf-id == $vnf-topology-operation-input.vnf-information.vnf-id`\">\n\n", "comments": "", "outputs": 1, - "x": 1770.739356994629, - "y": 95.69969272613525, - "z": "b1933fd7.45eec", + "x": 1767.735450744629, + "y": 89.69969400763512, + "z": "60265787.2327c8", "wires": [ [ - "acf51a78.0a9178" + "6d3e9e16.89bfe" ] ] }, { - "id": "fddc1ade.282818", + "id": "373d4940.5a03b6", "type": "returnFailure", "name": "return failure", "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=\"vnf-topology-operation-input.vnf-request-input.vnf-id not found in service-data\" />\n", "comments": "", - "x": 1620.4691619873047, - "y": 144.14703464508057, - "z": "b1933fd7.45eec", + "x": 1617.4652557373047, + "y": 138.14703592658043, + "z": "60265787.2327c8", "wires": [] }, { - "id": "acf51a78.0a9178", + "id": "6d3e9e16.89bfe", "type": "outcomeTrue", "name": "true", "xml": "<outcome value='true'>\n", "comments": "", "outputs": 1, - "x": 1809.691505432129, - "y": 150.59241199493408, - "z": "b1933fd7.45eec", + "x": 1806.687599182129, + "y": 144.59241327643394, + "z": "60265787.2327c8", "wires": [ [ - "4a7918ac.67fac8" + "c733e74a.c143c8" ] ] }, { - "id": "b1447a06.d6b6b8", + "id": "eedac48f.477958", "type": "outcome", "name": "0", "xml": "<outcome value='0'>\n", "comments": "", "outputs": 1, - "x": 1002.9935340881348, - "y": 91.98973083496094, - "z": "b1933fd7.45eec", + "x": 999.9896278381348, + "y": 85.9897321164608, + "z": "60265787.2327c8", "wires": [ [ - "e50203dd.f1638" + "bd8e7274.c99a" ] ] }, { - "id": "66dc1ec4.8151c", + "id": "da4ef740.d83fa8", "type": "block", "name": "block", "xml": "<block>\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 1618.6604080200195, - "y": 97.9896411895752, - "z": "b1933fd7.45eec", + "x": 1615.6565017700195, + "y": 91.98964247107506, + "z": "60265787.2327c8", "wires": [ [ - "5b23a76a.488d28" + "cf1a968e.65c658" ] ] }, { - "id": "be3201ef.467c4", + "id": "db706027.a79c1", "type": "set", "name": "set vnf in service-data", "xml": "<set>\n<!--parameter name='service-data.vnfs.vnf[$tmp.vidx].vnf-id' value='`$vnf-topology-operation-input.vnf-information.vnf-id`' /-->\n<parameter name='service-data.vnfs.vnf[$tmp.vidx].vnf-data.sdnc-request-header.' value='`$vnf-topology-operation-input.sdnc-request-header.`' />\n<parameter name='service-data.vnfs.vnf[$tmp.vidx].vnf-data.request-information.' value='`$vnf-topology-operation-input.request-information.`' />\n<parameter name='service-data.vnfs.vnf[$tmp.vidx].vnf-data.service-information.' value='`$vnf-topology-operation-input.service-information.`' />\n<parameter name='service-data.vnfs.vnf[$tmp.vidx].vnf-data.vnf-information.' value='`$vnf-topology-operation-input.vnf-information.`' />\n\n", "comments": "", - "x": 718.338077545166, - "y": 747.6668863296509, - "z": "b1933fd7.45eec", + "x": 715.334171295166, + "y": 741.6668876111507, + "z": "60265787.2327c8", "wires": [] }, { - "id": "860b5ecf.dd7b5", + "id": "a0bc8740.7ee818", "type": "set", "name": "set vnfId and vnf-object-path", "xml": "<set>\n<parameter name='vnfId' value='`$vnf-topology-operation-input.vnf-information.vnf-id`' />\n<parameter name=\"vnf-object-path\" value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/' + $vnf-topology-operation-input.service-information.service-instance-id + '/service-data/vnfs/vnf/' + $vnf-topology-operation-input.vnf-information.vnf-id + '/vnf-data/'` \" />", "comments": "", - "x": 730.8937187194824, - "y": 804.889181137085, - "z": "b1933fd7.45eec", + "x": 727.8898124694824, + "y": 798.8891824185848, + "z": "60265787.2327c8", "wires": [] }, { - "id": "16992179.73e94f", + "id": "13704b55.ddb7b5", "type": "set", "name": "set vnf-level-oper-status to PendingDelete", "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$tmp.vidx].vnf-data.vnf-level-oper-status.order-status' value='PendingDelete' />\n<parameter name='service-data.vnfs.vnf[$tmp.vidx].vnf-data.vnf-level-oper-status.last-rpc-action' value='`$vnf-topology-operation-input.sdnc-request-header.svc-action`' />\n<parameter name='service-data.vnfs.vnf[$tmp.vidx].vnf-data.vnf-level-oper-status.last-action' value='`$vnf-topology-operation-input.request-information.request-action`' />\n", "comments": "", - "x": 773.3380928039551, - "y": 839.6670169830322, - "z": "b1933fd7.45eec", + "x": 770.3341865539551, + "y": 833.6670182645321, + "z": "60265787.2327c8", "wires": [] }, { - "id": "98f2142f.e861f8", + "id": "f6e2bea8.930d7", "type": "returnSuccess", "name": "return success", "xml": "<return status='success'>\n<parameter name=\"ack-final-indicator\" value=\"Y\" />\n<parameter name=\"error-code\" value=\"200\" />\n<parameter name=\"error-message\" value=\"`$error-message`\" />\n", "comments": "", - "x": 683.6714630126953, - "y": 928.4448499679565, - "z": "b1933fd7.45eec", + "x": 680.6675567626953, + "y": 922.4448512494564, + "z": "60265787.2327c8", "wires": [] }, { - "id": "873153fb.ad4f6", + "id": "e263e9f9.47b878", "type": "get-resource", "name": "get-resource esr-thirdparty-sdnc", "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"esr-thirdparty-sdnc\" \n\t\tkey=\"esr-thirdparty-sdnc.thirdparty-sdnc-id = SDWANController AND \n\t\t depth = '1'\"\n pfx='tmp.aai.esr-thirdparty-sdnc' local-only='false' >\n\n", "comments": "", "outputs": 1, - "x": 743.5042667388916, - "y": 267.00012239813805, - "z": "b1933fd7.45eec", + "x": 740.5003604888916, + "y": 261.0001236796379, + "z": "60265787.2327c8", "wires": [ [ - "5df9a8e2.afb138", - "e0b2bff0.163f1", - "a120de42.8cdeb" + "553a8d46.b43834", + "4956fcb2.4927a4", + "b5f5e61a.4229a8" ] ] }, { - "id": "5df9a8e2.afb138", + "id": "553a8d46.b43834", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 962.5042362213135, - "y": 226.00011897087097, - "z": "b1933fd7.45eec", + "x": 959.5003299713135, + "y": 220.00012025237083, + "z": "60265787.2327c8", "wires": [ [ - "c101e40a.a37c18" + "f8d39c98.f3e5a" ] ] }, { - "id": "e0b2bff0.163f1", + "id": "4956fcb2.4927a4", "type": "not-found", "name": "not-found", "xml": "<outcome value='not-found'>\n", "comments": "", "outputs": 1, - "x": 965.9952030181885, - "y": 273.5741546154022, - "z": "b1933fd7.45eec", + "x": 962.9912967681885, + "y": 267.5741558969021, + "z": "60265787.2327c8", "wires": [ [ - "1f1c50e3.e0332f" + "60e56df6.080ca4" ] ] }, { - "id": "a120de42.8cdeb", + "id": "b5f5e61a.4229a8", "type": "other", "name": "other", "xml": "<outcome value='Other'>\n", "comments": "", "outputs": 1, - "x": 961.3282108306885, - "y": 314.9074676036835, - "z": "b1933fd7.45eec", + "x": 958.3243045806885, + "y": 308.90746888518333, + "z": "60265787.2327c8", "wires": [ [ - "4fef696b.8e5e98" + "15107992.3c8136" ] ] }, { - "id": "4fef696b.8e5e98", + "id": "15107992.3c8136", "type": "returnFailure", "name": "return failure", "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=\"`'Unexpected error occurred while querying esr-thirdparty-sdnc from AnAI with thirdparty-sdnc-id = ' + $tmp.thirdparty-sdnc-id`\" />\n\n", "comments": "", - "x": 1149.1007671356201, - "y": 310.3466603755951, - "z": "b1933fd7.45eec", + "x": 1146.0968608856201, + "y": 304.34666165709496, + "z": "60265787.2327c8", "wires": [] }, { - "id": "1f1c50e3.e0332f", + "id": "60e56df6.080ca4", "type": "returnFailure", "name": "return failure", "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=\"`'An error occurred while querying esr-thirdparty-sdnc from AnAI with thirdparty-sdnc-id = ' + $tmp.thirdparty-sdnc-id`\" />\n\n", "comments": "", - "x": 1142.566614151001, - "y": 261.8598906993866, - "z": "b1933fd7.45eec", + "x": 1139.562707901001, + "y": 255.85989198088646, + "z": "60265787.2327c8", "wires": [] }, { - "id": "c101e40a.a37c18", + "id": "f8d39c98.f3e5a", "type": "set", "name": "set controller data", "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.url' value=\"`$tmp.aai.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.user' value=\"`$tmp.aai.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.password' value=\"`$tmp.aai.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`\" />\n", "comments": "", - "x": 1143.0043392181396, - "y": 220.00015768408775, - "z": "b1933fd7.45eec", + "x": 1140.0004329681396, + "y": 214.00015896558762, + "z": "60265787.2327c8", "wires": [] }, { - "id": "8c780213.0f5d9", + "id": "1d346910.f82317", "type": "execute", "name": "execute RestApiCallNode device port delete", "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/sdwan-device-port-del.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/controller/campus/v1/sdwan/net/ports/action/batch-delete'`\" />\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=\"post\"/>\n<parameter name=\"responsePrefix\" value=\"portResp\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.openecomp.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`\" />", "comments": "", "outputs": 1, - "x": 776.0044193267822, - "y": 642.666867017746, - "z": "b1933fd7.45eec", + "x": 773.0005130767822, + "y": 636.6668682992458, + "z": "60265787.2327c8", "wires": [ [ - "a8a639cc.af8fc8", - "b547a1c8.93a66" + "42db533e.b56eac", + "3455c58f.b562ea" ] ] }, { - "id": "a8a639cc.af8fc8", + "id": "42db533e.b56eac", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 1022.0044040679932, - "y": 680.6669557094574, - "z": "b1933fd7.45eec", + "x": 1019.0004978179932, + "y": 674.6669569909573, + "z": "60265787.2327c8", "wires": [ [ - "da37396d.3af718" + "77804da4.2bade4" ] ] }, { - "id": "b547a1c8.93a66", + "id": "3455c58f.b562ea", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 1018.0044841766357, - "y": 634.6668708324432, - "z": "b1933fd7.45eec", + "x": 1015.0005779266357, + "y": 628.6668721139431, + "z": "60265787.2327c8", "wires": [ [ - "bf4f49a8.2593f8" + "7c085513.57701c" ] ] }, { - "id": "bf4f49a8.2593f8", + "id": "7c085513.57701c", "type": "returnFailure", "name": "return failure", "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 Create vpn rest api\" />\n", "comments": "", - "x": 1159.0045757293701, - "y": 634.6668717861176, - "z": "b1933fd7.45eec", + "x": 1156.0006694793701, + "y": 628.6668730676174, + "z": "60265787.2327c8", "wires": [] }, { - "id": "da37396d.3af718", + "id": "77804da4.2bade4", "type": "block", "name": "block : atomic", "xml": "<block atomic=\"true\">", "atomic": "true", "comments": "", "outputs": 1, - "x": 1166.0042705535889, - "y": 678.6668746471405, - "z": "b1933fd7.45eec", + "x": 1163.0003643035889, + "y": 672.6668759286404, + "z": "60265787.2327c8", "wires": [ [] ] }, { - "id": "e4cc3ba0.aaef78", + "id": "b1683370.08944", "type": "execute", "name": "execute RestApiCallNode wan port delete", "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/sdwan-wan-port-del.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/controller/campus/v1/sdwan/net/transport-network-ports/action/batch-delete'`\" />\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=\"post\"/>\n<parameter name=\"responsePrefix\" value=\"portResp\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.openecomp.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`\" />", "comments": "", "outputs": 1, - "x": 767.0045871734619, - "y": 535.666864156723, - "z": "b1933fd7.45eec", + "x": 764.0006809234619, + "y": 529.6668654382229, + "z": "60265787.2327c8", "wires": [ [ - "456c9aa6.bae384", - "c9572446.4deba8" + "25b510d9.36284", + "3a348892.4f4ad8" ] ] }, { - "id": "456c9aa6.bae384", + "id": "25b510d9.36284", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 1000.0046825408936, - "y": 568.6668565273285, - "z": "b1933fd7.45eec", + "x": 997.0007762908936, + "y": 562.6668578088284, + "z": "60265787.2327c8", "wires": [ [ - "3ae835e7.d94c3a" + "cc96ff80.a3e57" ] ] }, { - "id": "c9572446.4deba8", + "id": "3a348892.4f4ad8", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 1004.0047626495361, - "y": 504.66693472862244, - "z": "b1933fd7.45eec", + "x": 1001.0008563995361, + "y": 498.6669360101223, + "z": "60265787.2327c8", "wires": [ [ - "2bd63ac3.ca30f6" + "ce0c3d97.4bdf8" ] ] }, { - "id": "2bd63ac3.ca30f6", + "id": "ce0c3d97.4bdf8", "type": "returnFailure", "name": "return failure", "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 Create vpn rest api\" />\n", "comments": "", - "x": 1149.004934310913, - "y": 506.66693472862244, - "z": "b1933fd7.45eec", + "x": 1146.001028060913, + "y": 500.6669360101223, + "z": "60265787.2327c8", "wires": [] }, { - "id": "3ae835e7.d94c3a", + "id": "cc96ff80.a3e57", "type": "block", "name": "block : atomic", "xml": "<block atomic=\"true\">", "atomic": "true", "comments": "", "outputs": 1, - "x": 1156.0045261383057, - "y": 566.6668565273285, - "z": "b1933fd7.45eec", + "x": 1153.0006198883057, + "y": 560.6668578088284, + "z": "60265787.2327c8", "wires": [ [] ] }, { - "id": "d04b477e.b0b688", + "id": "1d165946.98b807", "type": "execute", "name": "execute Properties", "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.prop.PropertiesNode' method='readProperties' >\n <parameter name='fileName' value='%SDNC_CONFIG_DIR%/generic-resource-api-dg.properties' />\n <parameter name='contextPrefix' value='prop' />\n", "comments": "", "outputs": 1, - "x": 711.0038948059082, - "y": 142.0000295639038, - "z": "b1933fd7.45eec", + "x": 707.9999885559082, + "y": 136.00003084540367, + "z": "60265787.2327c8", "wires": [ [] ] }, { - "id": "104270ca.7ed57f", + "id": "ec6fef57.1d937", "type": "execute", "name": "execute RestApiCallNode Get token", "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/actokentemplate.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/controller/v2/tokens'`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"post\"/>\n<parameter name=\"responsePrefix\" value=\"token-result\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.openecomp.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\"/>", "comments": "", "outputs": 1, - "x": 760.0041751861572, - "y": 405.66669368743896, - "z": "b1933fd7.45eec", + "x": 757.0002689361572, + "y": 399.6666949689388, + "z": "60265787.2327c8", "wires": [ [ - "4437f7fc.652918", - "1c05902b.92524" + "4f27175.40c29e8", + "50a6cd99.43e804" ] ] }, { - "id": "4437f7fc.652918", + "id": "4f27175.40c29e8", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 994.0042133331299, - "y": 391.6667184829712, - "z": "b1933fd7.45eec", + "x": 991.0003070831299, + "y": 385.66671976447105, + "z": "60265787.2327c8", "wires": [ [ - "a3e2158c.084138" + "ba76090.b8b84f8" ] ] }, { - "id": "1c05902b.92524", + "id": "50a6cd99.43e804", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 987.2541751861572, - "y": 437.3095769882202, - "z": "b1933fd7.45eec", + "x": 984.2502689361572, + "y": 431.3095782697201, + "z": "60265787.2327c8", "wires": [ [ - "7ff91448.c6f30c" + "a32d5aa2.e0b408" ] ] }, { - "id": "7ff91448.c6f30c", + "id": "a32d5aa2.e0b408", "type": "returnFailure", "name": "return failure", "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 get token rest api\" />\n", "comments": "", - "x": 1140.0041751861572, - "y": 437.05963802337646, - "z": "b1933fd7.45eec", + "x": 1137.0002689361572, + "y": 431.0596393048763, + "z": "60265787.2327c8", "wires": [] }, { - "id": "a3e2158c.084138", + "id": "ba76090.b8b84f8", "type": "set", "name": "set token-id", "xml": "<set>\n<parameter name='prop.sdncRestApi.token_id' value='`$token-result.data.token_id`' />\n", "comments": "", - "x": 1148.0042133331299, - "y": 392.6667184829712, - "z": "b1933fd7.45eec", + "x": 1145.0003070831299, + "y": 386.66671976447105, + "z": "60265787.2327c8", "wires": [] }, { - "id": "4a7918ac.67fac8", + "id": "c733e74a.c143c8", "type": "block", "name": "block : atomic", "xml": "<block atomic=\"true\">", "atomic": "true", "outputs": 1, - "x": 1950.0040168762207, - "y": 151.00004482269287, - "z": "b1933fd7.45eec", + "x": 1947.0001106262207, + "y": 145.00004610419273, + "z": "60265787.2327c8", "wires": [ [ - "bb491f3b.31d3b", - "af8f15c9.eb4d58", - "df2693ee.5beea" + "2115f98.c329d06", + "5f1edf6a.5abca", + "e126aeff.fd3f4" ] ] }, { - "id": "a5d33dff.966b", + "id": "f2ee43ab.85fef", "type": "update", - "name": "save SDWAN wan port instance configuration in AAI", + "name": "update SDWAN wan port instance configuration in AAI", "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='wan-port-config' \n key='wan-port-config.wan-port-config-id = $vnf-topology-operation-input.vnf-information.vnf-id' >\n<parameter name='wan-port-config-id' value=\"`$vnf-topology-operation-input.vnf-information.vnf-id`\" />\n<parameter name='operational-status' value='PendingDelete' />\n<parameter name='model-customization-id' value='`$vnf-topology-operation-input.vnf-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$vnf-topology-operation-input.vnf-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$vnf-topology-operation-input.vnf-information.onap-model-information.model-uuid`' />\n", "comments": "", "outputs": 1, - "x": 796.0041923522949, - "y": 881.0004291534424, - "z": "b1933fd7.45eec", + "x": 793.0002861022949, + "y": 875.0004304349422, + "z": "60265787.2327c8", "wires": [ [] ] }, { - "id": "bb491f3b.31d3b", + "id": "2115f98.c329d06", "type": "set", "name": "set tmp.vidx and ctx.vnf-data", "xml": "<set>\n<parameter name='tmp.vidx' value='`$vidx`' />\n<parameter name='ctx.vnf-data.' value='`$service-data.vnfs.vnf[$vidx].`' />\n", "comments": "", - "x": 2200.0352516174316, - "y": 102.03129148483276, - "z": "b1933fd7.45eec", + "x": 2197.0313453674316, + "y": 96.03129276633263, + "z": "60265787.2327c8", "wires": [] }, { - "id": "af8f15c9.eb4d58", + "id": "5f1edf6a.5abca", "type": "set", "name": "set vnf-request-input.", "xml": "<set>\n<parameter name='vnf-request-input.' value='`$ctx.vnf-data.vnf-data.vnf-request-input.`' />\n\n", "comments": "", - "x": 2172.4815406799316, - "y": 148.6889271736145, - "z": "b1933fd7.45eec", + "x": 2169.4776344299316, + "y": 142.68892845511436, + "z": "60265787.2327c8", "wires": [] }, { - "id": "df2693ee.5beea", + "id": "e126aeff.fd3f4", "type": "call", "name": "call sdwan-get-wan-param", "xml": "<call module='GENERIC-RESOURCE-API' rpc='sdwan-get-wan-param' mode='sync' >\n", "comments": "", "outputs": 1, - "x": 2196.481491088867, - "y": 198.68891525268555, - "z": "b1933fd7.45eec", + "x": 2193.477584838867, + "y": 192.6889165341854, + "z": "60265787.2327c8", + "wires": [ + [] + ] + }, + { + "id": "e35c5cc.ba705a", + "type": "call", + "name": "call sdwan-get-tenant-auth", + "xml": "<call module='GENERIC-RESOURCE-API' rpc='sdwan-get-tenant-auth' mode='sync' >\n", + "comments": "", + "outputs": 1, + "x": 727, + "y": 462, + "z": "60265787.2327c8", "wires": [ [] ] |