3 "id": "f869c120.9a5e8",
\r
9 "z": "3bd40398.0e17fc",
\r
17 "id": "8af1dc93.0e0da",
\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
27 "z": "3bd40398.0e17fc",
\r
35 "id": "b03df385.9b70c",
\r
37 "name": "method service-delete-tapi",
\r
38 "xml": "<method rpc='service-delete-tapi' mode='sync'>\n",
\r
43 "z": "3bd40398.0e17fc",
\r
51 "id": "dae9b3c0.70198",
\r
53 "name": "block : atomic",
\r
54 "xml": "<block atomic=\"true\">\n",
\r
60 "z": "3bd40398.0e17fc",
\r
74 "id": "882993c6.73a42",
\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
82 "z": "3bd40398.0e17fc",
\r
88 "id": "9a7b4d91.dc0e5",
\r
91 "xml": "<set>\n<parameter name='request-id' value='`$optical-service-delete-input.request-id`' />\n",
\r
93 "x": 689.5000076293945,
\r
94 "y": 37.00000190734863,
\r
95 "z": "3bd40398.0e17fc",
\r
99 "id": "ca74a3e.de9376",
\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": 575.4999465942383,
\r
106 "y": 328.3888740539551,
\r
107 "z": "3bd40398.0e17fc",
\r
116 "id": "bfa60c53.34db1",
\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": 1332.7221870422363,
\r
122 "y": 97.55551338195801,
\r
123 "z": "3bd40398.0e17fc",
\r
127 "id": "63d373a2.41054c",
\r
130 "xml": "<outcome value='failure'>\n",
\r
133 "x": 793.8332633972168,
\r
134 "y": 285.33330154418945,
\r
135 "z": "3bd40398.0e17fc",
\r
141 "id": "5229271d.664468",
\r
144 "xml": "<outcome value='success'>\n",
\r
147 "x": 777.9998893737793,
\r
148 "y": 377.55554580688477,
\r
149 "z": "3bd40398.0e17fc",
\r
157 "id": "aa57e737.b0fed8",
\r
159 "name": "block : atomic",
\r
160 "xml": "<block atomic='true'>",
\r
164 "x": 981.0554733276367,
\r
165 "y": 303.6666831970215,
\r
166 "z": "3bd40398.0e17fc",
\r
177 "id": "863b12fd.05227",
\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": 1363.5556869506836,
\r
184 "y": 152.27777290344238,
\r
185 "z": "3bd40398.0e17fc",
\r
191 "id": "b8f3f329.852df",
\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": 1366.055564880371,
\r
198 "y": 209.2222318649292,
\r
199 "z": "3bd40398.0e17fc",
\r
205 "id": "a6a0d931.29ae78",
\r
208 "xml": "<set>\n<parameter name='aend-new' value='`$aend-cep`' />\n",
\r
210 "x": 1776.721923828125,
\r
211 "y": 504.22216796875,
\r
212 "z": "3bd40398.0e17fc",
\r
216 "id": "96350f11.361f",
\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": 1564.6107177734375,
\r
223 "y": 419.88885498046875,
\r
224 "z": "3bd40398.0e17fc",
\r
230 "id": "dbf2f1d6.f28c4",
\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": 1128.8331146240234,
\r
237 "y": 371.44440746307373,
\r
238 "z": "3bd40398.0e17fc",
\r
247 "id": "f321d77d.d8fcf8",
\r
250 "xml": "<outcome value='success'>\n",
\r
253 "x": 1097.8331146240234,
\r
254 "y": 513.4444074630737,
\r
255 "z": "3bd40398.0e17fc",
\r
263 "id": "91f84772.c4f2c8",
\r
265 "name": "block : atomic",
\r
266 "xml": "<block atomic='true'>",
\r
270 "x": 1252.0553512573242,
\r
271 "y": 467.666627407074,
\r
272 "z": "3bd40398.0e17fc",
\r
288 "id": "21838287.92c3fe",
\r
291 "xml": "<outcome value='failure'>\n",
\r
294 "x": 1255.4998016357422,
\r
295 "y": 355.88880443573,
\r
296 "z": "3bd40398.0e17fc",
\r
304 "id": "77e1cb8f.bccac4",
\r
306 "name": "block : atomic",
\r
307 "xml": "<block atomic='true'>",
\r
311 "x": 1422.4998016357422,
\r
312 "y": 354.88880443573,
\r
313 "z": "3bd40398.0e17fc",
\r
321 "id": "92f8a789.a292a8",
\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": 1590.3886985778809,
\r
327 "y": 353.66657543182373,
\r
328 "z": "3bd40398.0e17fc",
\r
332 "id": "fd9b7231.073dc",
\r
333 "type": "switchNode",
\r
335 "xml": "<switch test='`$aend.network-interface-type`'>\n",
\r
338 "x": 1486.6108856201172,
\r
339 "y": 522.5554914474487,
\r
340 "z": "3bd40398.0e17fc",
\r
349 "id": "1a5628eb.513f87",
\r
352 "xml": "<outcome value='UNI'>\n",
\r
355 "x": 1651.388671875,
\r
356 "y": 504.22216796875,
\r
357 "z": "3bd40398.0e17fc",
\r
365 "id": "b8eb04be.936ff8",
\r
368 "xml": "<outcome value='Other'>\n",
\r
371 "x": 1653.6108779907227,
\r
372 "y": 577.5555419921875,
\r
373 "z": "3bd40398.0e17fc",
\r
381 "id": "438c73c3.1e914c",
\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": 1516.6108856201172,
\r
388 "y": 620.3332624435425,
\r
389 "z": "3bd40398.0e17fc",
\r
395 "id": "f0125016.faa34",
\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": 1493.2772598266602,
\r
402 "y": 703.6665992736816,
\r
403 "z": "3bd40398.0e17fc",
\r
409 "id": "40bc2de7.03f354",
\r
410 "type": "switchNode",
\r
412 "xml": "<switch test='`$zend.network-interface-type`'>\n",
\r
415 "x": 1395.4998149871826,
\r
416 "y": 772.55544090271,
\r
417 "z": "3bd40398.0e17fc",
\r
426 "id": "c35140e8.3b796",
\r
429 "xml": "<outcome value='UNI'>\n",
\r
432 "x": 1585.8330764770508,
\r
433 "y": 760.2221584320068,
\r
434 "z": "3bd40398.0e17fc",
\r
442 "id": "59a847b5.312e98",
\r
445 "xml": "<outcome value='Other'>\n",
\r
448 "x": 1588.0553359985352,
\r
449 "y": 827.5555419921875,
\r
450 "z": "3bd40398.0e17fc",
\r
458 "id": "db818283.160ff",
\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": 1416.6112060546875,
\r
465 "y": 866.9999141693115,
\r
466 "z": "3bd40398.0e17fc",
\r
472 "id": "cf13929a.a5198",
\r
475 "xml": "<set>\n<parameter name='zend-new' value=\"`$zend-cep`\" />\n",
\r
477 "x": 1985.499885559082,
\r
478 "y": 829.2221412658691,
\r
479 "z": "3bd40398.0e17fc",
\r
483 "id": "5f2dae98.203c3",
\r
486 "xml": "<set>\n<parameter name='zend-new' value='`$zend-cep`' />\n",
\r
488 "x": 1712.1664352416992,
\r
489 "y": 759.2221622467041,
\r
490 "z": "3bd40398.0e17fc",
\r
494 "id": "f97e22d2.872f8",
\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": 1312.1664199829102,
\r
501 "y": 981.4443254470825,
\r
502 "z": "3bd40398.0e17fc",
\r
508 "id": "135bc522.303b8b",
\r
509 "type": "switchNode",
\r
511 "xml": "<switch test='`$db-zend.connection-point`'>\n",
\r
514 "x": 1729.9444444444443,
\r
515 "y": 830.3333333333333,
\r
516 "z": "3bd40398.0e17fc",
\r
525 "id": "dda38169.1a96b",
\r
528 "xml": "<outcome value=''>\n",
\r
531 "x": 1857.7222061157227,
\r
532 "y": 831.4444217681885,
\r
533 "z": "3bd40398.0e17fc",
\r
541 "id": "582c452e.50a00c",
\r
544 "xml": "<set>\n<parameter name='zend-new' value=\"`$db-zend.connection-point + ',' + $zend-cep`\" />\n",
\r
546 "x": 1987.721981048584,
\r
547 "y": 895.8887939453125,
\r
548 "z": "3bd40398.0e17fc",
\r
552 "id": "943fd023.cc6d9",
\r
555 "xml": "<outcome value='Other'>\n",
\r
558 "x": 1869.9444444444443,
\r
559 "y": 894.7777777777778,
\r
560 "z": "3bd40398.0e17fc",
\r
568 "id": "54b37131.ec50b",
\r
569 "type": "switchNode",
\r
571 "xml": "<switch test='`$db-aend.connection-point`'>\n",
\r
574 "x": 1781.0554428100586,
\r
575 "y": 580.3333148956299,
\r
576 "z": "3bd40398.0e17fc",
\r
585 "id": "cd72b99.aafe848",
\r
588 "xml": "<set>\n<parameter name='aend-new' value=\"`$aend-cep`\" />\n",
\r
591 "y": 569.22216796875,
\r
592 "z": "3bd40398.0e17fc",
\r
596 "id": "d7cb5d1f.868ba",
\r
599 "xml": "<outcome value=''>\n",
\r
602 "x": 1927.7223205566406,
\r
603 "y": 571.4444484710693,
\r
604 "z": "3bd40398.0e17fc",
\r
612 "id": "b905fec4.7ac5f",
\r
615 "xml": "<set>\n<parameter name='aend-new' value=\"`$db-aend.connection-point + ',' + $aend-cep`\" />\n",
\r
617 "x": 2057.722095489502,
\r
618 "y": 635.8888206481934,
\r
619 "z": "3bd40398.0e17fc",
\r
623 "id": "b8aa01ad.10807",
\r
626 "xml": "<outcome value='Other'>\n",
\r
629 "x": 1939.9445588853623,
\r
630 "y": 634.7778044806587,
\r
631 "z": "3bd40398.0e17fc",
\r
639 "id": "9544eb2a.40e488",
\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": 1223.2776336669922,
\r
646 "y": 1042.5554809570312,
\r
647 "z": "3bd40398.0e17fc",
\r
653 "id": "91c2f578.c64f58",
\r
656 "xml": "<set>\n<parameter name='final-response-code' value=\"200\" />\n",
\r
660 "z": "3bd40398.0e17fc",
\r
664 "id": "fe5645b4.4896a8",
\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": 710.0000114440918,
\r
671 "y": 107.50000095367432,
\r
672 "z": "3bd40398.0e17fc",
\r
678 "id": "361056c9.62d1aa",
\r
681 "xml": "<set>\n<parameter name='esr-id' value='`$output.controller-id`' />\n",
\r
685 "z": "3bd40398.0e17fc",
\r
689 "id": "fcf7ae69.66bac",
\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": 707.5000152587891,
\r
696 "y": 207.50000190734863,
\r
697 "z": "3bd40398.0e17fc",
\r
703 "id": "658b7b5f.7441e4",
\r
706 "xml": "<set>\n<parameter name='service-name' value=\"`$optical-service-delete-input.payload.service-name + $new-esr[2]`\" />\n",
\r
708 "x": 675.0000114440918,
\r
709 "y": 262.50000381469727,
\r
710 "z": "3bd40398.0e17fc",
\r