3 "id": "96a5b969.30fca8",
\r
7 "x": 155.0094757080078,
\r
8 "y": 95.00946807861328,
\r
9 "z": "ae52800f.42b85",
\r
17 "id": "1d5d884c.37fd58",
\r
18 "type": "service-logic",
\r
19 "name": "optical-service ${project.version}",
\r
20 "module": "optical-service",
\r
21 "version": "${project.version}",
\r
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='optical-service' version='${project.version}'>",
\r
25 "x": 168.0094757080078,
\r
26 "y": 155.00946807861328,
\r
27 "z": "ae52800f.42b85",
\r
35 "id": "5e65cfab.dd111",
\r
37 "name": "method service-delete-tapi",
\r
38 "xml": "<method rpc='service-delete-tapi' mode='sync'>\n",
\r
41 "x": 188.0094757080078,
\r
42 "y": 235.00946807861328,
\r
43 "z": "ae52800f.42b85",
\r
51 "id": "f4aad36f.30bf3",
\r
53 "name": "block : atomic",
\r
54 "xml": "<block atomic=\"true\">\n",
\r
58 "x": 435.5094757080078,
\r
59 "y": 235.00946807861328,
\r
60 "z": "ae52800f.42b85",
\r
74 "id": "baeb3a20.8dfc38",
\r
77 "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/service-create-tapi.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Inside optical service delete tapi\"/>\n\n\n\n\n\n",
\r
80 "x": 532.0094757080078,
\r
81 "y": 58.00946807861328,
\r
82 "z": "ae52800f.42b85",
\r
88 "id": "b7cdfff3.60956",
\r
91 "xml": "<set>\n<parameter name='request-id' value='`$optical-service-delete-input.request-id`' />\n",
\r
93 "x": 724.6760940551758,
\r
94 "y": 43.67613506317139,
\r
95 "z": "ae52800f.42b85",
\r
99 "id": "fac7a5ef.c80558",
\r
102 "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"` $controller-ip + $prop.tapi.get.services.url + $service-name`\" />\n<parameter name=\"restapiUser\" value=\"admin\"/> \n<parameter name=\"restapiPassword\" value=\"admin\"/> \n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"services-response\"/>\n<parameter name='contentType' value='application/json' />\n<parameter name='format' value='json' />\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.tapi.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\"/> ",
\r
105 "x": 609.0094223022461,
\r
106 "y": 333.39834213256836,
\r
107 "z": "ae52800f.42b85",
\r
116 "id": "32ea3700.8daa7a",
\r
119 "xml": "<set>\n<parameter name='aend-nep' value=\"`$services-response.service[0].end-point[0].connection-end-point[0].node-edge-point-uuid`\" />\n<parameter name='zend-nep' value=\"`$services-response.service[0].end-point[1].connection-end-point[0].node-edge-point-uuid`\" />\n<parameter name='aend-cep' value=\"`$services-response.service[0].end-point[0].connection-end-point[0].connection-end-point-uuid`\" />\n<parameter name='zend-cep' value=\"`$services-response.service[0].end-point[1].connection-end-point[0].connection-end-point-uuid`\" />\n",
\r
121 "x": 1366.2316627502441,
\r
122 "y": 102.56498146057129,
\r
123 "z": "ae52800f.42b85",
\r
127 "id": "7d0dfa0.f280408",
\r
130 "xml": "<outcome value='failure'>\n",
\r
133 "x": 827.3427391052246,
\r
134 "y": 290.34276962280273,
\r
135 "z": "ae52800f.42b85",
\r
141 "id": "c2e935ef.e4a2e8",
\r
144 "xml": "<outcome value='success'>\n",
\r
147 "x": 811.5093650817871,
\r
148 "y": 382.56501388549805,
\r
149 "z": "ae52800f.42b85",
\r
157 "id": "32f937f0.4e8528",
\r
159 "name": "block : atomic",
\r
160 "xml": "<block atomic='true'>",
\r
164 "x": 1014.5649490356445,
\r
165 "y": 308.67615127563477,
\r
166 "z": "ae52800f.42b85",
\r
177 "id": "885424f1.0069b8",
\r
178 "type": "get-resource",
\r
179 "name": "get-resource",
\r
180 "xml": "<get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' resource='SQL'\nkey='SELECT *\nfrom TOPOLOGY_LOGICAL_RELATION_TO_PINTERFACE\nWHERE interface_name = $aend-nep'\npfx='db-aend'>",
\r
183 "x": 1397.0651626586914,
\r
184 "y": 157.28724098205566,
\r
185 "z": "ae52800f.42b85",
\r
191 "id": "54c031dd.863f3",
\r
192 "type": "get-resource",
\r
193 "name": "get-resource",
\r
194 "xml": "<get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' resource='SQL'\nkey='SELECT *\nfrom TOPOLOGY_LOGICAL_RELATION_TO_PINTERFACE\nWHERE interface_name = $zend-nep'\npfx='db-zend'>",
\r
197 "x": 1399.565040588379,
\r
198 "y": 214.23169994354248,
\r
199 "z": "ae52800f.42b85",
\r
205 "id": "b2aec0dc.c2c89",
\r
208 "xml": "<set>\n<parameter name='aend-new' value='`$aend-cep`' />\n",
\r
210 "x": 1810.2313995361328,
\r
211 "y": 509.2316360473633,
\r
212 "z": "ae52800f.42b85",
\r
216 "id": "828818ca.4aad88",
\r
217 "type": "get-resource",
\r
218 "name": "find if aend is uni or nni or enni",
\r
219 "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\"\nresource=\"p-interface\"\n key=\"pnf.pnf-name = $db-aend.pnf-name AND\n p-interface.interface-name = $aend-nep\"\npfx='aend' local-only='false'>\n\n",
\r
222 "x": 1598.1201934814453,
\r
223 "y": 424.89832305908203,
\r
224 "z": "ae52800f.42b85",
\r
230 "id": "de1cabdc.96bb48",
\r
233 "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"` $controller-ip + $prop.tapi.delete.service.url + $service-name`\" />\n<parameter name=\"restapiUser\" value=\"admin\"/> \n<parameter name=\"restapiPassword\" value=\"admin\"/> \n<parameter name=\"httpMethod\" value=\"DELETE\"/>\n<parameter name=\"responsePrefix\" value=\"tapi-service-response\"/>\n<parameter name='contentType' value='application/json' />\n<parameter name='format' value='json' />\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.tapi.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\"/> ",
\r
236 "x": 1162.3425903320312,
\r
237 "y": 376.453875541687,
\r
238 "z": "ae52800f.42b85",
\r
247 "id": "cf272327.98557",
\r
250 "xml": "<outcome value='success'>\n",
\r
253 "x": 1131.3425903320312,
\r
254 "y": 518.453875541687,
\r
255 "z": "ae52800f.42b85",
\r
263 "id": "700524c3.0d43fc",
\r
265 "name": "block : atomic",
\r
266 "xml": "<block atomic='true'>",
\r
270 "x": 1285.564826965332,
\r
271 "y": 472.67609548568726,
\r
272 "z": "ae52800f.42b85",
\r
288 "id": "adcf3c26.2cf95",
\r
291 "xml": "<outcome value='failure'>\n",
\r
294 "x": 1289.00927734375,
\r
295 "y": 360.89827251434326,
\r
296 "z": "ae52800f.42b85",
\r
304 "id": "5bce5b0c.ac8be4",
\r
306 "name": "block : atomic",
\r
307 "xml": "<block atomic='true'>",
\r
311 "x": 1456.00927734375,
\r
312 "y": 359.89827251434326,
\r
313 "z": "ae52800f.42b85",
\r
321 "id": "18f011de.c92bae",
\r
322 "type": "returnFailure",
\r
323 "name": "return failure",
\r
324 "xml": "<return status='failure'>\n<parameter name='error-code' value='500' />\n<parameter name='error-message' value='Service Deletion failed' />\n<parameter name='ack-final-indicator' value=\"Y\" />",
\r
326 "x": 1623.8981742858887,
\r
327 "y": 358.676043510437,
\r
328 "z": "ae52800f.42b85",
\r
332 "id": "85389b8c.88a8e8",
\r
333 "type": "switchNode",
\r
335 "xml": "<switch test='`$aend.network-interface-type`'>\n",
\r
338 "x": 1520.120361328125,
\r
339 "y": 527.564959526062,
\r
340 "z": "ae52800f.42b85",
\r
349 "id": "644a8ff3.a04c3",
\r
352 "xml": "<outcome value='UNI'>\n",
\r
355 "x": 1684.8981475830078,
\r
356 "y": 509.2316360473633,
\r
357 "z": "ae52800f.42b85",
\r
365 "id": "45753948.c945e8",
\r
368 "xml": "<outcome value='Other'>\n",
\r
371 "x": 1687.1203536987305,
\r
372 "y": 582.5650100708008,
\r
373 "z": "ae52800f.42b85",
\r
381 "id": "67825a8e.147714",
\r
383 "name": "update pinterface cep DB Aend",
\r
384 "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' \nresource='SQL' \nkey='UPDATE TOPOLOGY_LOGICAL_RELATION_TO_PINTERFACE SET connection_point = $aend-new WHERE interface_name = $aend-nep'\nforce='true' pfx='save-result'>",
\r
387 "x": 1550.120361328125,
\r
388 "y": 625.3427305221558,
\r
389 "z": "ae52800f.42b85",
\r
395 "id": "abca3112.cebd3",
\r
396 "type": "get-resource",
\r
397 "name": "find if zend is uni or nni or enni",
\r
398 "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\"\nresource=\"p-interface\"\n key=\"pnf.pnf-name = $db-zend.pnf-name AND\n p-interface.interface-name = $zend-nep\"\npfx='zend' local-only='false'>\n\n",
\r
401 "x": 1526.786735534668,
\r
402 "y": 708.6760673522949,
\r
403 "z": "ae52800f.42b85",
\r
409 "id": "ade690c3.af541",
\r
410 "type": "switchNode",
\r
412 "xml": "<switch test='`$zend.network-interface-type`'>\n",
\r
415 "x": 1429.0092906951904,
\r
416 "y": 777.5649089813232,
\r
417 "z": "ae52800f.42b85",
\r
426 "id": "8e0c1510.b363d8",
\r
429 "xml": "<outcome value='UNI'>\n",
\r
432 "x": 1619.3425521850586,
\r
433 "y": 765.2316265106201,
\r
434 "z": "ae52800f.42b85",
\r
442 "id": "9ddd7d7c.d1f57",
\r
445 "xml": "<outcome value='Other'>\n",
\r
448 "x": 1621.564811706543,
\r
449 "y": 832.5650100708008,
\r
450 "z": "ae52800f.42b85",
\r
458 "id": "2a3f3874.b27468",
\r
460 "name": "update pinterface cep DB Zend",
\r
461 "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' \nresource='SQL' \nkey='UPDATE TOPOLOGY_LOGICAL_RELATION_TO_PINTERFACE SET connection_point = $zend-new WHERE interface_name = $zend-nep'\nforce='true' pfx='save-result'>",
\r
464 "x": 1450.1206817626953,
\r
465 "y": 872.0093822479248,
\r
466 "z": "ae52800f.42b85",
\r
472 "id": "987b345f.99da18",
\r
475 "xml": "<set>\n<parameter name='zend-new' value=\"`$zend-cep`\" />\n",
\r
477 "x": 2019.0093612670898,
\r
478 "y": 834.2316093444824,
\r
479 "z": "ae52800f.42b85",
\r
483 "id": "c517caee.e227b8",
\r
486 "xml": "<set>\n<parameter name='zend-new' value='`$zend-cep`' />\n",
\r
488 "x": 1745.675910949707,
\r
489 "y": 764.2316303253174,
\r
490 "z": "ae52800f.42b85",
\r
494 "id": "897491a8.a70ea",
\r
496 "name": "delete service instance AAI",
\r
497 "xml": "<delete plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\"\nresource=\"service-instance\"\nkey='customer.global-customer-id = $output.global-customer-id AND\nservice-subscription.service-type = $output.service-type AND\nservice-instance.service-instance-id = $output.service-instance-id'>\n",
\r
500 "x": 1345.675895690918,
\r
501 "y": 986.4537935256958,
\r
502 "z": "ae52800f.42b85",
\r
508 "id": "7ea6e466.0c8b7c",
\r
509 "type": "switchNode",
\r
511 "xml": "<switch test='`$db-zend.connection-point`'>\n",
\r
514 "x": 1763.4539201524522,
\r
515 "y": 835.3428014119465,
\r
516 "z": "ae52800f.42b85",
\r
525 "id": "999904dc.fc7cb8",
\r
528 "xml": "<outcome value=''>\n",
\r
531 "x": 1891.2316818237305,
\r
532 "y": 836.4538898468018,
\r
533 "z": "ae52800f.42b85",
\r
541 "id": "d74d6061.0e996",
\r
544 "xml": "<set>\n<parameter name='zend-new' value=\"`$db-zend.connection-point + ',' + $zend-cep`\" />\n",
\r
546 "x": 2021.2314567565918,
\r
547 "y": 900.8982620239258,
\r
548 "z": "ae52800f.42b85",
\r
552 "id": "adbee89.147ee18",
\r
555 "xml": "<outcome value='Other'>\n",
\r
558 "x": 1903.4539201524522,
\r
559 "y": 899.7872458563911,
\r
560 "z": "ae52800f.42b85",
\r
568 "id": "7e74bb5.db6fd44",
\r
569 "type": "switchNode",
\r
571 "xml": "<switch test='`$db-aend.connection-point`'>\n",
\r
574 "x": 1814.5649185180664,
\r
575 "y": 585.3427829742432,
\r
576 "z": "ae52800f.42b85",
\r
585 "id": "7279e4ff.1814cc",
\r
588 "xml": "<set>\n<parameter name='aend-new' value=\"`$aend-cep`\" />\n",
\r
590 "x": 2089.009475708008,
\r
591 "y": 574.2316360473633,
\r
592 "z": "ae52800f.42b85",
\r
596 "id": "a505e3a1.91e69",
\r
599 "xml": "<outcome value=''>\n",
\r
602 "x": 1961.2317962646484,
\r
603 "y": 576.4539165496826,
\r
604 "z": "ae52800f.42b85",
\r
612 "id": "22cfd3ec.44ae6c",
\r
615 "xml": "<set>\n<parameter name='aend-new' value=\"`$db-aend.connection-point + ',' + $aend-cep`\" />\n",
\r
617 "x": 2091.2315711975098,
\r
618 "y": 640.8982887268066,
\r
619 "z": "ae52800f.42b85",
\r
623 "id": "1c74a938.614077",
\r
626 "xml": "<outcome value='Other'>\n",
\r
629 "x": 1973.4540345933701,
\r
630 "y": 639.787272559272,
\r
631 "z": "ae52800f.42b85",
\r
639 "id": "61b774be.b66afc",
\r
641 "name": "delete from db",
\r
642 "xml": "<delete plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource'\n resource=\"SQL\"\n key=\"DELETE FROM REQUEST_DETAILS WHERE request_id = $request-id\">",
\r
645 "x": 1256.787109375,
\r
646 "y": 1047.5649490356445,
\r
647 "z": "ae52800f.42b85",
\r
653 "id": "45655a72.080ca4",
\r
656 "xml": "<set>\n<parameter name='final-response-code' value=\"200\" />\n",
\r
658 "x": 1204.0094757080078,
\r
659 "y": 1119.0094680786133,
\r
660 "z": "ae52800f.42b85",
\r
664 "id": "26889205.8ed4ce",
\r
665 "type": "get-resource",
\r
666 "name": "get-resource",
\r
667 "xml": "<get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' resource='SQL' \nkey='SELECT * from REQUEST_DETAILS WHERE request_id = $request-id '\npfx='output'>\n \n \n \n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n",
\r
670 "x": 743.5094871520996,
\r
671 "y": 112.5094690322876,
\r
672 "z": "ae52800f.42b85",
\r
678 "id": "b25ded2.8528d1",
\r
681 "xml": "<set>\n<parameter name='esr-id' value='`$output.controller-id`' />\n",
\r
683 "x": 759.3427124023438,
\r
684 "y": 157.50946426391602,
\r
685 "z": "ae52800f.42b85",
\r
689 "id": "1c70a864.9f7418",
\r
692 "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$esr-id`'/>\n<parameter name=\"regex\" value=\"_\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"new-esr\"/> ",
\r
695 "x": 742.6761665344238,
\r
696 "y": 207.50947380065918,
\r
697 "z": "ae52800f.42b85",
\r
703 "id": "736dbac8.fe21e4",
\r
706 "xml": "<set>\n<parameter name='service-name' value=\"`$optical-service-delete-input.payload.service-name + $new-esr[2]`\" />\n<parameter name='controller-ip' value=\"`$new-esr[1]`\" />\n\n",
\r
708 "x": 708.5094871520996,
\r
709 "y": 267.50947189331055,
\r
710 "z": "ae52800f.42b85",
\r