3 "id": "30fe9468.76f32c",
4 "type": "get-resource",
5 "name": "get-resource service-subscription",
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",
9 "x": 632.8652648925781,
10 "y": 374.2938051223755,
11 "z": "97aa802d.404bc",
20 "id": "516f9f53.00463",
22 "name": "switch temp-ub-sub-account-id",
23 "xml": "<switch test='`$tmp.AnAI-data-tenant.temp-ub-sub-account-id`'>\n",
26 "x": 1044.8653564453125,
27 "y": 339.0438861846924,
28 "z": "97aa802d.404bc",
37 "id": "f1e993a3.ae05f",
40 "xml": "<outcome value=''>",
43 "x": 1237.5798072814941,
44 "y": 313.043927192688,
45 "z": "97aa802d.404bc",
53 "id": "6af3c030.9694c",
56 "xml": "<outcome value='Other'>",
59 "x": 1237.8653717041016,
60 "y": 368.04388999938965,
61 "z": "97aa802d.404bc",
69 "id": "a889eb39.2fcd08",
72 "xml": "<outcome value='success'>\n",
75 "x": 843.3651275634766,
76 "y": 347.0398635864258,
77 "z": "97aa802d.404bc",
85 "id": "483504b1.ecba4c",
88 "xml": "<outcome value='failure'>\n",
91 "x": 837.0437164306641,
92 "y": 399.2541751861572,
93 "z": "97aa802d.404bc",
101 "id": "212060fe.4fc32",
102 "type": "returnFailure",
103 "name": "return failure",
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",
106 "x": 989.7937164306641,
107 "y": 399.0042362213135,
108 "z": "97aa802d.404bc",
112 "id": "b6a8c3c7.8bc03",
113 "type": "service-logic",
114 "name": "GENERIC-RESOURCE-API ${project.version}",
115 "module": "GENERIC-RESOURCE-API",
116 "version": "${project.version}",
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}'>",
120 "x": 212.86526489257812,
121 "y": 101.43669128417969,
122 "z": "97aa802d.404bc",
130 "id": "f788aa3b.dab3e8",
134 "x": 133.57955932617188,
135 "y": 39.19858169555664,
136 "z": "97aa802d.404bc",
144 "id": "672a5bc8.7ace04",
146 "name": "block : atomic",
147 "xml": "<block atomic=\"true\">",
150 "x": 366.81766510009766,
151 "y": 338.0081157684326,
152 "z": "97aa802d.404bc",
161 "id": "68fe5032.b2685",
163 "name": "method sdwan-get-tenant-auth",
164 "xml": "<method rpc='sdwan-get-tenant-auth' mode='sync'>\n",
167 "x": 224.57955932617188,
168 "y": 195.7849235534668,
169 "z": "97aa802d.404bc",
177 "id": "3bf7a2b9.96247e",
179 "name": "set prop.tenant-id",
180 "xml": "<set>\n<parameter name='prop.tenant-id' value='`$tmp.AnAI-data-tenant.temp-ub-sub-account-id`' />\n",
182 "x": 1415.7224426269531,
183 "y": 367.15094566345215,
184 "z": "97aa802d.404bc",
188 "id": "ef87bbc7.0bf428",
190 "name": "execute RestApiCallNode Create tenant auth",
191 "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\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`\" />",
194 "x": 660.3652954101562,
195 "y": 477.1866149902344,
196 "z": "97aa802d.404bc",
202 "id": "be0f95e9.861918",
203 "type": "returnFailure",
204 "name": "return failure",
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",
207 "x": 1420.0080490112305,
208 "y": 312.86523628234863,
209 "z": "97aa802d.404bc",