summaryrefslogtreecommitdiffstats
path: root/platform-logic/optical-service/src/main/json/optical-service_inter-domain-handling.json
diff options
context:
space:
mode:
Diffstat (limited to 'platform-logic/optical-service/src/main/json/optical-service_inter-domain-handling.json')
-rw-r--r--platform-logic/optical-service/src/main/json/optical-service_inter-domain-handling.json1033
1 files changed, 1033 insertions, 0 deletions
diff --git a/platform-logic/optical-service/src/main/json/optical-service_inter-domain-handling.json b/platform-logic/optical-service/src/main/json/optical-service_inter-domain-handling.json
new file mode 100644
index 00000000..3c56d2a0
--- /dev/null
+++ b/platform-logic/optical-service/src/main/json/optical-service_inter-domain-handling.json
@@ -0,0 +1,1033 @@
+[
+ {
+ "id": "f758e877.9aa428",
+ "type": "dgstart",
+ "name": "DGSTART",
+ "outputs": 1,
+ "x": 170,
+ "y": 35,
+ "z": "5c4cb98c.063918",
+ "wires": [
+ [
+ "5c17b7ee.ab4f88"
+ ]
+ ]
+ },
+ {
+ "id": "5c17b7ee.ab4f88",
+ "type": "service-logic",
+ "name": "optical-service ${project.version}",
+ "module": "optical-service",
+ "version": "${project.version}",
+ "comments": "",
+ "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}'>",
+ "outputs": 1,
+ "x": 183,
+ "y": 95,
+ "z": "5c4cb98c.063918",
+ "wires": [
+ [
+ "748bfbc0.155724"
+ ]
+ ]
+ },
+ {
+ "id": "748bfbc0.155724",
+ "type": "method",
+ "name": "method service-create-tapi",
+ "xml": "<method rpc='inter-domain-handling' mode='sync'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 203,
+ "y": 175,
+ "z": "5c4cb98c.063918",
+ "wires": [
+ [
+ "dbf465e6.f48758"
+ ]
+ ]
+ },
+ {
+ "id": "dbf465e6.f48758",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 413.5,
+ "y": 159.99998474121094,
+ "z": "5c4cb98c.063918",
+ "wires": [
+ [
+ "28583d0f.279172"
+ ]
+ ]
+ },
+ {
+ "id": "28583d0f.279172",
+ "type": "get-resource",
+ "name": "get-resource",
+ "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\"\nresource=\"logical-links\"\nkey=\" \"\npfx='inter' local-only='false' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 580.3333435058594,
+ "y": 114.66667175292969,
+ "z": "5c4cb98c.063918",
+ "wires": [
+ [
+ "b70b6289.977c1",
+ "6ef8cbe3.e8bef4",
+ "6bf74a48.446dd4"
+ ]
+ ]
+ },
+ {
+ "id": "b70b6289.977c1",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 737.3333435058594,
+ "y": 55.66667175292969,
+ "z": "5c4cb98c.063918",
+ "wires": [
+ [
+ "85b966b9.0f8cf8"
+ ]
+ ]
+ },
+ {
+ "id": "6ef8cbe3.e8bef4",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 746.3333435058594,
+ "y": 106.66667175292969,
+ "z": "5c4cb98c.063918",
+ "wires": [
+ [
+ "cd963a4d.e22ee8"
+ ]
+ ]
+ },
+ {
+ "id": "85b966b9.0f8cf8",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='500' />\n<parameter name='error-message' value='No inter-domain-links available' />\n<parameter name='ack-final-indicator' value=\"Y\" />",
+ "comments": "",
+ "x": 901.3333435058594,
+ "y": 53.66667175292969,
+ "z": "5c4cb98c.063918",
+ "wires": []
+ },
+ {
+ "id": "cd963a4d.e22ee8",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='500' />\n<parameter name='error-message' value='Could not retrieve logical-links' />\n<parameter name='ack-final-indicator' value=\"Y\" />",
+ "comments": "",
+ "x": 908.3333435058594,
+ "y": 106.66667175292969,
+ "z": "5c4cb98c.063918",
+ "wires": []
+ },
+ {
+ "id": "6bf74a48.446dd4",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 567.3333435058594,
+ "y": 256.6666717529297,
+ "z": "5c4cb98c.063918",
+ "wires": [
+ [
+ "9c819276.24e11"
+ ]
+ ]
+ },
+ {
+ "id": "9c819276.24e11",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 571.3333435058594,
+ "y": 343.6666717529297,
+ "z": "5c4cb98c.063918",
+ "wires": [
+ [
+ "d737ac6d.616bf",
+ "26ccb9a4.4d6756",
+ "220b1d2a.b6a942"
+ ]
+ ]
+ },
+ {
+ "id": "26ccb9a4.4d6756",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/inter-domain.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"`'Aaccess bend---' + $access-bend`\"/>\n<parameter name=\"field2\" value=\"`'Aaccess cend---' + $access-cend`\"/>\n<parameter name=\"field3\" value=\"`'Service 1 req id---' + $service1-request-id`\"/>\n<parameter name=\"field4\" value=\"`'Service 2 req id---' + $service2-request-id`\"/>\n\n\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 735.3333435058594,
+ "y": 398.6666717529297,
+ "z": "5c4cb98c.063918",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "c76734fa.8d1cc8",
+ "type": "switchNode",
+ "name": "switch",
+ "xml": "<switch test='`$inter.logical-link[$ida].link-type`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 861.3333435058594,
+ "y": 349.6666717529297,
+ "z": "5c4cb98c.063918",
+ "wires": [
+ [
+ "272d946f.d2dc2c"
+ ]
+ ]
+ },
+ {
+ "id": "d737ac6d.616bf",
+ "type": "for",
+ "name": "for",
+ "xml": "<for index='ida' start='0' end='`$inter.logical-link_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 730.3333435058594,
+ "y": 349.6666717529297,
+ "z": "5c4cb98c.063918",
+ "wires": [
+ [
+ "c76734fa.8d1cc8"
+ ]
+ ]
+ },
+ {
+ "id": "272d946f.d2dc2c",
+ "type": "outcome",
+ "name": "inter-domain",
+ "xml": "<outcome value='inter-domain'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1003.3333435058594,
+ "y": 349.6666717529297,
+ "z": "5c4cb98c.063918",
+ "wires": [
+ [
+ "9b0d1c2e.0faa7"
+ ]
+ ]
+ },
+ {
+ "id": "ca4ee674.defdf8",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n<parameter name='access-bend' value='`$inter.logical-link[$ida].relationship-list.relationship[0].relationship-data[1].relationship-value`' />\n<parameter name='access-cend' value='`$inter.logical-link[$ida].relationship-list.relationship[1].relationship-data[1].relationship-value`' />\n",
+ "comments": "",
+ "x": 1570.083396911621,
+ "y": 200.4166898727417,
+ "z": "5c4cb98c.063918",
+ "wires": []
+ },
+ {
+ "id": "a5175c91.4398b",
+ "type": "break",
+ "name": "break",
+ "xml": "<break>\n",
+ "comments": "",
+ "x": 1587.833396911621,
+ "y": 298.91669178009033,
+ "z": "5c4cb98c.063918",
+ "wires": []
+ },
+ {
+ "id": "13f040fa.3faaef",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1431.083396911621,
+ "y": 292.416690826416,
+ "z": "5c4cb98c.063918",
+ "wires": [
+ [
+ "ca4ee674.defdf8",
+ "a5175c91.4398b"
+ ]
+ ]
+ },
+ {
+ "id": "220b1d2a.b6a942",
+ "type": "switchNode",
+ "name": "switch",
+ "xml": "<switch test=\"`$access-bend == ''`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 693.3333435058594,
+ "y": 455.6666717529297,
+ "z": "5c4cb98c.063918",
+ "wires": [
+ [
+ "130ab846.d0f008",
+ "50eacb5c.990954"
+ ]
+ ]
+ },
+ {
+ "id": "130ab846.d0f008",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 837.3333435058594,
+ "y": 455.6666717529297,
+ "z": "5c4cb98c.063918",
+ "wires": [
+ [
+ "ee14f7be.3c7fa8"
+ ]
+ ]
+ },
+ {
+ "id": "ee14f7be.3c7fa8",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='500' />\n<parameter name='error-message' value='No inter-domain-links available' />\n<parameter name='ack-final-indicator' value=\"Y\" />",
+ "comments": "",
+ "x": 986.3333435058594,
+ "y": 456.6666717529297,
+ "z": "5c4cb98c.063918",
+ "wires": []
+ },
+ {
+ "id": "50eacb5c.990954",
+ "type": "outcomeFalse",
+ "name": "false",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 572.3333435058594,
+ "y": 531.6666717529297,
+ "z": "5c4cb98c.063918",
+ "wires": [
+ [
+ "347e2915.cc1706"
+ ]
+ ]
+ },
+ {
+ "id": "347e2915.cc1706",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 717.3333435058594,
+ "y": 532.6666717529297,
+ "z": "5c4cb98c.063918",
+ "wires": [
+ [
+ "856ca7c4.6b82e8",
+ "8837a281.40c0b",
+ "de103600.3d65d8",
+ "c43967.77247698"
+ ]
+ ]
+ },
+ {
+ "id": "856ca7c4.6b82e8",
+ "type": "for",
+ "name": "for",
+ "xml": "<for index='idb' start='0' end='2' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 906.3333435058594,
+ "y": 530.6666717529297,
+ "z": "5c4cb98c.063918",
+ "wires": [
+ [
+ "a72d7f41.fec8f"
+ ]
+ ]
+ },
+ {
+ "id": "82932067.81591",
+ "type": "call",
+ "name": "call",
+ "xml": "<call module='optical-service' rpc='main-create' mode='sync' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1457.3333435058594,
+ "y": 545.6666717529297,
+ "z": "5c4cb98c.063918",
+ "wires": [
+ [
+ "e5f10270.f273a",
+ "7ab99a2a.02a9b4"
+ ]
+ ]
+ },
+ {
+ "id": "a72d7f41.fec8f",
+ "type": "switchNode",
+ "name": "switch",
+ "xml": "<switch test='`$idb`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1032.3333435058594,
+ "y": 530.6666717529297,
+ "z": "5c4cb98c.063918",
+ "wires": [
+ [
+ "a10d9b09.c6a018",
+ "65f0439d.6850dc"
+ ]
+ ]
+ },
+ {
+ "id": "a10d9b09.c6a018",
+ "type": "outcome",
+ "name": "outcome",
+ "xml": "<outcome value='0'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1160.3333435058594,
+ "y": 497.6666717529297,
+ "z": "5c4cb98c.063918",
+ "wires": [
+ [
+ "e11165ce.81f408"
+ ]
+ ]
+ },
+ {
+ "id": "e11165ce.81f408",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1304.3333435058594,
+ "y": 497.6666717529297,
+ "z": "5c4cb98c.063918",
+ "wires": [
+ [
+ "82932067.81591",
+ "8944795b.be9238"
+ ]
+ ]
+ },
+ {
+ "id": "7242da65.49c644",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n<parameter name='optical-service-create-input.payload.service-aend.port-id' value='`$access-cend`' />\n<parameter name='optical-service-create-input.payload.service-zend.port-id' value='`$access-zend`' />\n<parameter name='optical-service-create-input.payload.service-name' value=\"`$access-service-name + '_' + 'MDONS-OTN-TAPI-2'`\" />\n<parameter name='domain-type' value=\"TAPI\" />\n<parameter name='optical-service-create-input.request-id' value=\"`$service2-request-id`\" />\n<parameter name='optical-service-create-input.service-id' value=\"`$service2-svc-instance-id`\" />\n",
+ "comments": "",
+ "x": 1465.3333435058594,
+ "y": 751.6666717529297,
+ "z": "5c4cb98c.063918",
+ "wires": []
+ },
+ {
+ "id": "d9d5ec95.325f2",
+ "type": "call",
+ "name": "call",
+ "xml": "<call module='optical-service' rpc='main-create' mode='sync' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1302.3333435058594,
+ "y": 1038.6666717529297,
+ "z": "5c4cb98c.063918",
+ "wires": [
+ [
+ "3bece07b.4143",
+ "308f7f65.579ea"
+ ]
+ ]
+ },
+ {
+ "id": "65f0439d.6850dc",
+ "type": "outcome",
+ "name": "outcome",
+ "xml": "<outcome value='1'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1144.3333435058594,
+ "y": 745.6666717529297,
+ "z": "5c4cb98c.063918",
+ "wires": [
+ [
+ "4117c3fb.234e2c"
+ ]
+ ]
+ },
+ {
+ "id": "4117c3fb.234e2c",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1294.3333435058594,
+ "y": 768.6666717529297,
+ "z": "5c4cb98c.063918",
+ "wires": [
+ [
+ "7242da65.49c644",
+ "d9d5ec95.325f2"
+ ]
+ ]
+ },
+ {
+ "id": "8944795b.be9238",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n<parameter name='optical-service-create-input.payload.service-aend.port-id' value='`$access-aend`' />\n<parameter name='optical-service-create-input.payload.service-zend.port-id' value='`$access-bend`' />\n<parameter name='optical-service-create-input.payload.service-name' value=\"`$access-service-name + '_' + 'MDONS-OTN-TAPI-1'`\" />\n<parameter name='domain-type' value=\"TAPI\" />\n<parameter name='optical-service-create-input.request-id' value=\"`$service1-request-id`\" />\n<parameter name='optical-service-create-input.service-id' value=\"`$service1-svc-instance-id`\" />\n\n",
+ "comments": "",
+ "x": 1457.3333435058594,
+ "y": 480.6666717529297,
+ "z": "5c4cb98c.063918",
+ "wires": []
+ },
+ {
+ "id": "8837a281.40c0b",
+ "type": "switchNode",
+ "name": "switch",
+ "xml": "<switch test='`$service1 == $service2 == success`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 467.8333511352539,
+ "y": 972.9166975021362,
+ "z": "5c4cb98c.063918",
+ "wires": [
+ [
+ "b7e3ef8e.7574d",
+ "ebdeccd7.d965"
+ ]
+ ]
+ },
+ {
+ "id": "3ebe2880.5d2848",
+ "type": "returnSuccess",
+ "name": "return success",
+ "xml": "<return status='success'>\n<parameter name='error-code' value='200' />\n<parameter name='error-message' value='Multi-domain-service successfully created' />\n<parameter name='ack-final-indicator' value=\"Y\" />",
+ "comments": "",
+ "x": 972.3333892822266,
+ "y": 970.4167022705078,
+ "z": "5c4cb98c.063918",
+ "wires": []
+ },
+ {
+ "id": "e32376ab.722ab8",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='500' />\n<parameter name='error-message' value='Multi-domain-service creation failed' />\n<parameter name='ack-final-indicator' value=\"Y\" />",
+ "comments": "",
+ "x": 886.5833892822266,
+ "y": 1182.9167022705078,
+ "z": "5c4cb98c.063918",
+ "wires": []
+ },
+ {
+ "id": "e5f10270.f273a",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1602.3333435058594,
+ "y": 520.6666717529297,
+ "z": "5c4cb98c.063918",
+ "wires": [
+ [
+ "ce267118.2a781"
+ ]
+ ]
+ },
+ {
+ "id": "3bece07b.4143",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1444.3333435058594,
+ "y": 1034.6666717529297,
+ "z": "5c4cb98c.063918",
+ "wires": [
+ [
+ "5d7bb97e.9b9168"
+ ]
+ ]
+ },
+ {
+ "id": "de103600.3d65d8",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n<parameter name='access-service-name' value='`$optical-service-create-input.payload.service-name`' />\n",
+ "comments": "",
+ "x": 853.3333435058594,
+ "y": 493.6666717529297,
+ "z": "5c4cb98c.063918",
+ "wires": []
+ },
+ {
+ "id": "d7bea264.ac4f",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 777.0833892822266,
+ "y": 890.6666994094849,
+ "z": "5c4cb98c.063918",
+ "wires": [
+ [
+ "45335899.f65cd8",
+ "3ebe2880.5d2848",
+ "5ad6860e.7c4058",
+ "105084eb.36fa9b"
+ ]
+ ]
+ },
+ {
+ "id": "45335899.f65cd8",
+ "type": "save",
+ "name": "update acc service db",
+ "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' \nresource='SQL' \nkey='UPDATE REQUEST_DETAILS SET status = \"CREATED\" WHERE request_id = $as-request-id'\nforce='true' pfx='save-result'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 983.3333892822266,
+ "y": 790.6666984558105,
+ "z": "5c4cb98c.063918",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "ef433cfb.addb6",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/inter-domain.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Access service creation failed\"/>\n\n\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 862.8333892822266,
+ "y": 1084.4167003631592,
+ "z": "5c4cb98c.063918",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "5ffac9eb.b5f648",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 725.5833854675293,
+ "y": 1123.916766166687,
+ "z": "5c4cb98c.063918",
+ "wires": [
+ [
+ "ef433cfb.addb6",
+ "e32376ab.722ab8"
+ ]
+ ]
+ },
+ {
+ "id": "1a20d556.18cf3b",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n<parameter name='service1-status' value='`$final-response-code`' />\n",
+ "comments": "",
+ "x": 1850.3333435058594,
+ "y": 448.6666717529297,
+ "z": "5c4cb98c.063918",
+ "wires": []
+ },
+ {
+ "id": "ce267118.2a781",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1700.3333435058594,
+ "y": 450.6666717529297,
+ "z": "5c4cb98c.063918",
+ "wires": [
+ [
+ "1a20d556.18cf3b",
+ "1e9f2b96.152c94"
+ ]
+ ]
+ },
+ {
+ "id": "1e9f2b96.152c94",
+ "type": "switchNode",
+ "name": "switch",
+ "xml": "<switch test='`$service1-status == 200`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1728.3333435058594,
+ "y": 580.6666717529297,
+ "z": "5c4cb98c.063918",
+ "wires": [
+ [
+ "69014b74.07f204",
+ "1a2962dc.544a6d"
+ ]
+ ]
+ },
+ {
+ "id": "69014b74.07f204",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1897.3333435058594,
+ "y": 535.6666717529297,
+ "z": "5c4cb98c.063918",
+ "wires": [
+ [
+ "312af284.d49a7e"
+ ]
+ ]
+ },
+ {
+ "id": "1a2962dc.544a6d",
+ "type": "outcomeFalse",
+ "name": "false",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1898.3333435058594,
+ "y": 602.6666717529297,
+ "z": "5c4cb98c.063918",
+ "wires": [
+ [
+ "1d22b46d.2540bc"
+ ]
+ ]
+ },
+ {
+ "id": "312af284.d49a7e",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n<parameter name='service1' value='success' />\n",
+ "comments": "",
+ "x": 2032.3333435058594,
+ "y": 524.6666717529297,
+ "z": "5c4cb98c.063918",
+ "wires": []
+ },
+ {
+ "id": "1d22b46d.2540bc",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n<parameter name='service1' value='failure' />\n",
+ "comments": "",
+ "x": 2034.3333435058594,
+ "y": 601.6666717529297,
+ "z": "5c4cb98c.063918",
+ "wires": []
+ },
+ {
+ "id": "5d7bb97e.9b9168",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1617.3333435058594,
+ "y": 1015.6666717529297,
+ "z": "5c4cb98c.063918",
+ "wires": [
+ [
+ "6ec325e8.81817c",
+ "b7239a52.656e68"
+ ]
+ ]
+ },
+ {
+ "id": "b7239a52.656e68",
+ "type": "switchNode",
+ "name": "switch",
+ "xml": "<switch test='`$service2-status == 200`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1749.3333435058594,
+ "y": 1114.6666717529297,
+ "z": "5c4cb98c.063918",
+ "wires": [
+ [
+ "53ffa173.fbef1",
+ "2ad5ca.ed0e4a36"
+ ]
+ ]
+ },
+ {
+ "id": "53ffa173.fbef1",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1905.3333435058594,
+ "y": 1039.6666717529297,
+ "z": "5c4cb98c.063918",
+ "wires": [
+ [
+ "4007f828.6542e8"
+ ]
+ ]
+ },
+ {
+ "id": "2ad5ca.ed0e4a36",
+ "type": "outcomeFalse",
+ "name": "false",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1962.3333435058594,
+ "y": 1121.6666717529297,
+ "z": "5c4cb98c.063918",
+ "wires": [
+ [
+ "dd3cb13a.463cf"
+ ]
+ ]
+ },
+ {
+ "id": "4007f828.6542e8",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n<parameter name='service2' value='success' />\n",
+ "comments": "",
+ "x": 2106.3333435058594,
+ "y": 1029.6666717529297,
+ "z": "5c4cb98c.063918",
+ "wires": []
+ },
+ {
+ "id": "dd3cb13a.463cf",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n<parameter name='service2' value='success' />\n",
+ "comments": "",
+ "x": 2105.3333435058594,
+ "y": 1099.6666717529297,
+ "z": "5c4cb98c.063918",
+ "wires": []
+ },
+ {
+ "id": "6ec325e8.81817c",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n<parameter name='service2-status' value='`$final-response-code`' />\n",
+ "comments": "",
+ "x": 1787.3333435058594,
+ "y": 962.6666717529297,
+ "z": "5c4cb98c.063918",
+ "wires": []
+ },
+ {
+ "id": "c43967.77247698",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n<parameter name='inter' value='' />\n",
+ "comments": "",
+ "x": 901.8333854675293,
+ "y": 578.4166970252991,
+ "z": "5c4cb98c.063918",
+ "wires": []
+ },
+ {
+ "id": "7ab99a2a.02a9b4",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1605.3333435058594,
+ "y": 615.6666717529297,
+ "z": "5c4cb98c.063918",
+ "wires": [
+ [
+ "f872b304.25e82"
+ ]
+ ]
+ },
+ {
+ "id": "f872b304.25e82",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='500' />\n<parameter name='error-message' value='Main Create Dg not available' />\n<parameter name='ack-final-indicator' value=\"Y\" />",
+ "comments": "",
+ "x": 1765.3333435058594,
+ "y": 636.6666717529297,
+ "z": "5c4cb98c.063918",
+ "wires": []
+ },
+ {
+ "id": "308f7f65.579ea",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1403.3333435058594,
+ "y": 1116.6666717529297,
+ "z": "5c4cb98c.063918",
+ "wires": [
+ [
+ "472ab920.66f758"
+ ]
+ ]
+ },
+ {
+ "id": "472ab920.66f758",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='500' />\n<parameter name='error-message' value='Main Create Dg not available' />\n<parameter name='ack-final-indicator' value=\"Y\" />",
+ "comments": "",
+ "x": 1563.3333435058594,
+ "y": 1137.6666717529297,
+ "z": "5c4cb98c.063918",
+ "wires": []
+ },
+ {
+ "id": "b7e3ef8e.7574d",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 636.333381652832,
+ "y": 896.1666984558105,
+ "z": "5c4cb98c.063918",
+ "wires": [
+ [
+ "d7bea264.ac4f"
+ ]
+ ]
+ },
+ {
+ "id": "ebdeccd7.d965",
+ "type": "outcomeFalse",
+ "name": "false",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 600.583381652832,
+ "y": 1125.166699886322,
+ "z": "5c4cb98c.063918",
+ "wires": [
+ [
+ "5ffac9eb.b5f648"
+ ]
+ ]
+ },
+ {
+ "id": "5ad6860e.7c4058",
+ "type": "call",
+ "name": "create-service-relationship",
+ "xml": "<call module='optical-service' rpc='create-service-relationship' mode='sync' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 983.3333892822266,
+ "y": 889.4166984558105,
+ "z": "5c4cb98c.063918",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "9b0d1c2e.0faa7",
+ "type": "switchNode",
+ "name": "switch",
+ "xml": "<switch test='`$inter.logical-link[$ida].available-capacity == 0`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1145,
+ "y": 241.25,
+ "z": "5c4cb98c.063918",
+ "wires": [
+ [
+ "39e8a51e.7cdb9a",
+ "73566e12.b8034"
+ ]
+ ]
+ },
+ {
+ "id": "39e8a51e.7cdb9a",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1262.5000190734863,
+ "y": 190.00000190734863,
+ "z": "5c4cb98c.063918",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "73566e12.b8034",
+ "type": "outcomeFalse",
+ "name": "false",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1268.7500190734863,
+ "y": 296.2500057220459,
+ "z": "5c4cb98c.063918",
+ "wires": [
+ [
+ "13f040fa.3faaef"
+ ]
+ ]
+ },
+ {
+ "id": "105084eb.36fa9b",
+ "type": "update",
+ "name": "update logical-link-status AAI",
+ "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' \nforce='true'\nresource='logical-link'\n key='logical-link.link-name = $inter.logical-link[$ida].link-name '\n local-only='false'>\n<parameter name='available-capacity' value='0' />\n\n\n\n\n\n\n\n\n\n \n \n \n \n \n \n \n \n \n \n \n \n\n \n \n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1027.5,
+ "y": 841.25,
+ "z": "5c4cb98c.063918",
+ "wires": [
+ []
+ ]
+ }
+] \ No newline at end of file