17 "id":"e6efa6d3.e15398",
18 "type":"service-logic",
19 "name":"GENERIC-RESOURCE-API ${project.version}",
20 "module":"GENERIC-RESOURCE-API",
21 "version":"${project.version}",
23 "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}'>",
27 "z":"4954cd5d.30ecf4",
35 "id":"55bb413f.73fa7",
37 "name":"method dci-connects-network-topology-operation-deactivate",
38 "xml":"<method rpc='dci-connects-network-topology-operation-deactivate' mode='sync'>\n",
43 "z":"4954cd5d.30ecf4",
51 "id":"750ee4c.8fdd21c",
53 "name":"block : atomic",
54 "xml":"<block atomic=\"true\">",
59 "z":"4954cd5d.30ecf4",
72 "id":"ea6f8a69.5601e8",
74 "name":"call GENERIC-RESOURCE-API:validate-network-input-parameters",
75 "xml":"<call module='GENERIC-RESOURCE-API' rpc='validate-network-input-parameters' mode='sync' >\n",
80 "z":"4954cd5d.30ecf4",
88 "id":"2f344129.2fe78e",
89 "type":"returnSuccess",
90 "name":"return success",
91 "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",
93 "x":763.9999771118164,
94 "y":838.9999732971191,
95 "z":"4954cd5d.30ecf4",
101 "id":"33c821d9.b212fe",
102 "type":"get-resource",
103 "name":"get-resource dci-connects",
104 "xml":"<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"dci-connects\" \n\t\tkey=\"dci-connects.id AND depth = '1'\"\n pfx='tmp.aai.dci-connects' local-only='false' >\n",
107 "x":803.9999847412109,
108 "y":306.9999887943268,
109 "z":"4954cd5d.30ecf4",
119 "id":"bcbac350.046e5",
122 "xml":"<outcome value='success'>\n",
125 "x":1052.999984741211,
126 "y":270.9999887943268,
127 "z":"4954cd5d.30ecf4",
135 "id":"bcb8c268.c1efd",
138 "xml":"<outcome value='not-found'>\n",
141 "x":1059.999984741211,
142 "y":308.9999887943268,
143 "z":"4954cd5d.30ecf4",
151 "id":"95a7f0ae.33df5",
154 "xml":"<outcome value='Other'>\n",
157 "x":1051.999984741211,
158 "y":350.9999887943268,
159 "z":"4954cd5d.30ecf4",
167 "id":"22635f7c.d7e7a",
168 "type":"returnFailure",
169 "name":"return failure",
170 "xml":"<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
172 "x":1216.999984741211,
173 "y":312.9999887943268,
174 "z":"4954cd5d.30ecf4",
180 "id":"a0aae260.9c5c2",
181 "type":"returnFailure",
182 "name":"return failure",
183 "xml":"<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
185 "x":1209.999984741211,
186 "y":359.9999887943268,
187 "z":"4954cd5d.30ecf4",
193 "id":"15fa4d45.d0b353",
195 "name":"block : sendRequest",
196 "xml":"<block atomic=\"true\">",
201 "y":606.5156269073486,
202 "z":"4954cd5d.30ecf4",
212 "id":"c5be9b53.183ee8",
215 "xml":"<outcome value='success'>\n",
218 "x":1258.9997673034668,
219 "y":458.51514625549316,
220 "z":"4954cd5d.30ecf4",
228 "id":"dcc81047.e0f45",
231 "xml":"<outcome value='not-found'>\n",
234 "x":1265.9997673034668,
235 "y":496.51514625549316,
236 "z":"4954cd5d.30ecf4",
244 "id":"38f7300e.03a3f",
247 "xml":"<outcome value='Other'>\n",
250 "x":1257.9997673034668,
251 "y":538.5151462554932,
252 "z":"4954cd5d.30ecf4",
260 "id":"c033d341.3f6dc",
262 "name":"block : atomic",
263 "xml":"<block atomic=\"true\">\n",
267 "x":1423.9997673034668,
268 "y":447.51514625549316,
269 "z":"4954cd5d.30ecf4",
277 "id":"a86ff2ba.5ed55",
278 "type":"returnFailure",
279 "name":"return failure",
280 "xml":"<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
282 "x":1422.9997673034668,
283 "y":500.51514625549316,
284 "z":"4954cd5d.30ecf4",
290 "id":"d2f0ad9e.7cf8d",
291 "type":"returnFailure",
292 "name":"return failure",
293 "xml":"<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
295 "x":1415.9997673034668,
296 "y":547.5151462554932,
297 "z":"4954cd5d.30ecf4",
303 "id":"e1e92378.2c99d",
304 "type":"get-resource",
305 "name":"get-resource dci-connects",
306 "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 = $prop.dci-connects.id AND \n\t\t depth = '1'\"\n pfx='tmp.aai.esr-thirdparty-sdnc' local-only='false' >\n",
309 "x":1070.9998893737793,
310 "y":505.5151653289795,
311 "z":"4954cd5d.30ecf4",
321 "id":"673c8079.171c7",
323 "name":"set controller data",
324 "xml":"<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.url' value=\"`$tmp.aai.esr-thirdparty-sdnc.esr-system-info-list[0].esr-system-info.serviceUrl`\" />\n<parameter name='prop.sdncRestApi.templateDir' value='/opt/onap/sdnc/data' />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.user' value=\"`$tmp.aai.esr-thirdparty-sdnc.esr-system-info-list[0].esr-system-info.user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.password' value=\"`$tmp.aai.esr-thirdparty-sdnc.esr-system-info-list[0].esr-system-info.password`\" />\n\n",
326 "x":1042.499740600586,
327 "y":607.0151195526123,
328 "z":"4954cd5d.30ecf4",
334 "id":"2589b144.7be4de",
336 "name":"execute RestApiCallNode De-Activate Vxlan Tunnel",
337 "xml":"<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"$prop.sdncRestApi.thirdpartySdnc.url + '/v2.0/l3-dci-connects/' + $prop.dci-connects.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=\"delete\"/>\n<parameter name=\"responsePrefix\" value=\"restapi-result\"/>\n",
340 "x":1573.5002746582031,
341 "y":669.5155820846558,
342 "z":"4954cd5d.30ecf4",
350 "id":"5c11d741.ea97f8",
352 "name":"switch tunnelType",
353 "xml":"<switch test=\"`$prop.dci-connects.tunnelType`\">\n",
356 "x":1036.4997329711914,
357 "y":694.0150928497314,
358 "z":"4954cd5d.30ecf4",
367 "id":"6492045a.52a02c",
368 "type":"outcomeTrue",
370 "xml":"<outcome value='L3-DCI'>\n",
373 "x":1249.4998626708984,
374 "y":674.0150928497314,
375 "z":"4954cd5d.30ecf4",
383 "id":"647c96d8.6f1708",
384 "type":"outcomeTrue",
386 "xml":"<outcome value='L2-DCI'>\n",
389 "x":1247.499683380127,
390 "y":746.0150928497314,
391 "z":"4954cd5d.30ecf4",
399 "id":"4fb66e63.84804",
401 "name":"execute RestApiCallNode De-Activate Vxlan Tunnel",
402 "xml":"<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"$prop.sdncRestApi.thirdpartySdnc.url + '/v2.0/l2-dci-connects/' + $prop.dci-connects.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=\"delete\"/>\n<parameter name=\"responsePrefix\" value=\"restapi-result\"/>",
405 "x":1567.500228881836,
406 "y":746.5155181884766,
407 "z":"4954cd5d.30ecf4",
415 "id":"7e978ea8.0c5a1",
418 "xml":"<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"network-topology-operation-deactivate\"/>\n<parameter name=\"field3\" value=\"dci-connects.id\" />\n<parameter name=\"field4\" value=\"`$prop.dci-connects.id`\"/>\n<parameter name=\"field5\" value=\"dci-connects.tunnelType\" />\n<parameter name=\"field6\" value=\"`$prop.dci-connects.tunnelType`\"/>",
422 "y":429.0000171661377,
423 "z":"4954cd5d.30ecf4",
431 "id":"9441b536.e2c908",
433 "name":"set tunnelType",
434 "xml":"<set>\n<parameter name='prop.dci-connects.tunnelType' value=\"`$tmp.aai.dci-connects.dci-connects.serviceType`\" />\n",
436 "x":1241.0000839233398,
437 "y":260.51568603515625,
438 "z":"4954cd5d.30ecf4",
444 "id":"a04a290c.948ab8",
446 "name":"for each network-input-parameters",
447 "xml":"<for index='idx' start='0' end='`$network-topology-operation-input.network-request-input.network-input-parameters.param_length`' >\n\n",
451 "y":180.51562690734863,
452 "z":"4954cd5d.30ecf4",
460 "id":"ecdadcb9.f534b",
463 "xml":"<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'site1_id'`\">\n",
466 "x":1045.500099182129,
467 "y":181.5156364440918,
468 "z":"4954cd5d.30ecf4",
476 "id":"6f6c6213.b682dc",
477 "type":"outcomeTrue",
479 "xml":"<outcome value='true'>\n",
482 "x":1247.5002250671387,
483 "y":180.51565170288086,
484 "z":"4954cd5d.30ecf4",
492 "id":"9c537412.9158a8",
495 "xml":"<set>\n<parameter name='prop.dci-connects.id' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`' />\n",
497 "x":1429.1666069030762,
498 "y":179.18220138549805,
499 "z":"4954cd5d.30ecf4",