3 "id": "b8581db5.dbca7",
\r
4 "type": "get-resource",
\r
5 "name": "get-resource service-subscription",
\r
6 "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"service-subscription\" \n key= 'service-subscription.service-type = $service-data.vnfs.vnf[$tmp.vidx].vnf-data.service-information.subscription-service-type \n AND customer.global-customer-id = $service-data.vnfs.vnf[$tmp.vidx].vnf-data.service-information.global-customer-id'\n force=\"true\" pfx=\"tmp.AnAI-data-tenant\">\n \n",
\r
10 "y": 418.09522092342377,
\r
11 "z": "a703782b.2992b8",
\r
20 "id": "5d45ba87.92c374",
\r
21 "type": "switchNode",
\r
22 "name": "switch temp-ub-sub-account-id",
\r
23 "xml": "<switch test='`$tmp.AnAI-data-tenant.temp-ub-sub-account-id`'>\n",
\r
26 "x": 1009.0000915527344,
\r
27 "y": 382.84530198574066,
\r
28 "z": "a703782b.2992b8",
\r
37 "id": "5358b5db.d1e49c",
\r
40 "xml": "<outcome value=''>",
\r
43 "x": 1201.714542388916,
\r
44 "y": 356.84534299373627,
\r
45 "z": "a703782b.2992b8",
\r
53 "id": "28c300d9.7fa36",
\r
56 "xml": "<outcome value='Other'>",
\r
59 "x": 1202.0001068115234,
\r
60 "y": 411.8453058004379,
\r
61 "z": "a703782b.2992b8",
\r
69 "id": "1a771e75.f79d12",
\r
72 "xml": "<outcome value='success'>\n",
\r
75 "x": 807.4998626708984,
\r
76 "y": 390.84127938747406,
\r
77 "z": "a703782b.2992b8",
\r
85 "id": "ac62029.181ce",
\r
88 "xml": "<outcome value='failure'>\n",
\r
91 "x": 801.1784515380859,
\r
92 "y": 443.0555909872055,
\r
93 "z": "a703782b.2992b8",
\r
101 "id": "f81e2009.7dbd5",
\r
102 "type": "returnFailure",
\r
103 "name": "return failure",
\r
104 "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",
\r
106 "x": 953.9284515380859,
\r
107 "y": 442.80565202236176,
\r
108 "z": "a703782b.2992b8",
\r
112 "id": "4bd31b43.411d14",
\r
113 "type": "service-logic",
\r
114 "name": "GENERIC-RESOURCE-API ${project.version}",
\r
115 "module": "GENERIC-RESOURCE-API",
\r
116 "version": "${project.version}",
\r
118 "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}'>",
\r
121 "y": 145.23810708522797,
\r
122 "z": "a703782b.2992b8",
\r
130 "id": "c863bd10.503ce",
\r
134 "x": 97.71429443359375,
\r
135 "y": 82.99999749660492,
\r
136 "z": "a703782b.2992b8",
\r
144 "id": "5dc11f37.9dd37",
\r
146 "name": "block : atomic",
\r
147 "xml": "<block atomic=\"true\">",
\r
150 "x": 330.95240020751953,
\r
151 "y": 381.8095315694809,
\r
152 "z": "a703782b.2992b8",
\r
161 "id": "d79d2c6f.11854",
\r
163 "name": "method sdwan-get-tenant-auth",
\r
164 "xml": "<method rpc='sdwan-get-tenant-auth' mode='sync'>\n",
\r
167 "x": 188.71429443359375,
\r
168 "y": 239.58633935451508,
\r
169 "z": "a703782b.2992b8",
\r
177 "id": "e1a74ece.52f65",
\r
179 "name": "set prop.tenant-id",
\r
180 "xml": "<set>\n<parameter name='prop.tenant-id' value='`$tmp.AnAI-data-tenant.temp-ub-sub-account-id`' />\n",
\r
182 "x": 1379.857177734375,
\r
183 "y": 410.9523614645004,
\r
184 "z": "a703782b.2992b8",
\r
188 "id": "c8c0bf77.157a7",
\r
190 "name": "execute RestApiCallNode Create tenant auth",
\r
191 "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/campus/v1/baseservice/tenants/authorization/' + $prop.tenant-id`\" />\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=\"tenant-result\"/>\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
194 "x": 624.5000305175781,
\r
195 "y": 520.9880307912827,
\r
196 "z": "a703782b.2992b8",
\r
202 "id": "831b80bb.e08e8",
\r
203 "type": "returnFailure",
\r
204 "name": "return failure",
\r
205 "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",
\r
207 "x": 1384.1427841186523,
\r
208 "y": 356.6666520833969,
\r
209 "z": "a703782b.2992b8",
\r