3 "id": "a64f3290.a6791",
\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[$vnf-index].vnf-data.vf-modules.vf-module[$tmp.vidx].vf-module-data.service-information.subscription-service-type\n AND customer.global-customer-id = $service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$tmp.vidx].vf-module-data.service-information.global-customer-id'\n force=\"true\" pfx=\"tmp.AnAI-data-tenant\">\n \n",
\r
10 "y": 413.09522104263306,
\r
11 "z": "734fbe9e.c17a1",
\r
20 "id": "a43b0986.72aee8",
\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": 1053.0313415527344,
\r
27 "y": 377.84530210494995,
\r
28 "z": "734fbe9e.c17a1",
\r
37 "id": "5fa9cabc.5c37a4",
\r
40 "xml": "<outcome value=''>",
\r
43 "x": 1245.745792388916,
\r
44 "y": 351.84534311294556,
\r
45 "z": "734fbe9e.c17a1",
\r
53 "id": "625dfb34.3c2da4",
\r
56 "xml": "<outcome value='Other'>",
\r
59 "x": 1246.0313568115234,
\r
60 "y": 406.8453059196472,
\r
61 "z": "734fbe9e.c17a1",
\r
69 "id": "d8117fcb.f28fc",
\r
72 "xml": "<outcome value='success'>\n",
\r
75 "x": 851.5311126708984,
\r
76 "y": 385.84127950668335,
\r
77 "z": "734fbe9e.c17a1",
\r
85 "id": "d8ad970.7e76268",
\r
88 "xml": "<outcome value='failure'>\n",
\r
91 "x": 845.2097015380859,
\r
92 "y": 438.0555911064148,
\r
93 "z": "734fbe9e.c17a1",
\r
101 "id": "3d299dd2.2779d2",
\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": 997.9597015380859,
\r
107 "y": 437.80565214157104,
\r
108 "z": "734fbe9e.c17a1",
\r
112 "id": "22ec666.190639a",
\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": 140.23810720443726,
\r
122 "z": "734fbe9e.c17a1",
\r
130 "id": "3762da11.93d966",
\r
134 "x": 141.74554443359375,
\r
135 "y": 77.99999761581421,
\r
136 "z": "734fbe9e.c17a1",
\r
144 "id": "6b7a2ebd.00d69",
\r
146 "name": "block : atomic",
\r
147 "xml": "<block atomic=\"true\">",
\r
150 "x": 374.98365020751953,
\r
151 "y": 376.8095316886902,
\r
152 "z": "734fbe9e.c17a1",
\r
161 "id": "8abe47ad.c27bd8",
\r
163 "name": "method sdwan-get-tenant-auth",
\r
164 "xml": "<method rpc='sdwan-get-tenant-auth' mode='sync'>\n",
\r
167 "x": 232.74554443359375,
\r
168 "y": 234.58633947372437,
\r
169 "z": "734fbe9e.c17a1",
\r
177 "id": "f90c9031.98073",
\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": 1423.888427734375,
\r
183 "y": 405.9523615837097,
\r
184 "z": "734fbe9e.c17a1",
\r
188 "id": "4bfcb671.50b358",
\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/v2/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": 668.5312805175781,
\r
195 "y": 515.988030910492,
\r
196 "z": "734fbe9e.c17a1",
\r
202 "id": "cc0fb2fe.338bf",
\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": 1428.1740341186523,
\r
208 "y": 351.6666522026062,
\r
209 "z": "734fbe9e.c17a1",
\r