summaryrefslogtreecommitdiffstats
path: root/platform-logic/optical-service/src/main/json/optical-service_delete-service-async.json
diff options
context:
space:
mode:
Diffstat (limited to 'platform-logic/optical-service/src/main/json/optical-service_delete-service-async.json')
-rw-r--r--platform-logic/optical-service/src/main/json/optical-service_delete-service-async.json310
1 files changed, 310 insertions, 0 deletions
diff --git a/platform-logic/optical-service/src/main/json/optical-service_delete-service-async.json b/platform-logic/optical-service/src/main/json/optical-service_delete-service-async.json
new file mode 100644
index 00000000..b63fca09
--- /dev/null
+++ b/platform-logic/optical-service/src/main/json/optical-service_delete-service-async.json
@@ -0,0 +1,310 @@
+[
+ {
+ "id": "8cc3da66.4f40d8",
+ "type": "dgstart",
+ "name": "DGSTART",
+ "outputs": 1,
+ "x": 207.77777099609375,
+ "y": 274.3333263397217,
+ "z": "cd7e2d57.0833e",
+ "wires": [
+ [
+ "1e550516.1038fb"
+ ]
+ ]
+ },
+ {
+ "id": "1e550516.1038fb",
+ "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": 394.77777099609375,
+ "y": 223.33332633972168,
+ "z": "cd7e2d57.0833e",
+ "wires": [
+ [
+ "8bf17f5d.611f3"
+ ]
+ ]
+ },
+ {
+ "id": "8bf17f5d.611f3",
+ "type": "method",
+ "name": "method",
+ "xml": "<method rpc='delete-service-async' mode='sync'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 248.77777099609375,
+ "y": 397.3333263397217,
+ "z": "cd7e2d57.0833e",
+ "wires": [
+ [
+ "b44c3e44.1bd1b"
+ ]
+ ]
+ },
+ {
+ "id": "b44c3e44.1bd1b",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 421.77777099609375,
+ "y": 396.3333263397217,
+ "z": "cd7e2d57.0833e",
+ "wires": [
+ [
+ "6d08e4a5.fe6bac",
+ "11020991.7c7d86",
+ "9db1a4b5.47b0b8"
+ ]
+ ]
+ },
+ {
+ "id": "6d08e4a5.fe6bac",
+ "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/async-notif.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Inside Delete Service Async\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 594.7777709960938,
+ "y": 307.3333263397217,
+ "z": "cd7e2d57.0833e",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "11020991.7c7d86",
+ "type": "switchNode",
+ "name": "switch",
+ "xml": "<switch test='`$response-code`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 595.7777709960938,
+ "y": 396.3333263397217,
+ "z": "cd7e2d57.0833e",
+ "wires": [
+ [
+ "25e55ab4.b92da6",
+ "b0822e31.3769c"
+ ]
+ ]
+ },
+ {
+ "id": "25e55ab4.b92da6",
+ "type": "outcome",
+ "name": "outcome",
+ "xml": "<outcome value='200'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 763.7777709960938,
+ "y": 339.3333263397217,
+ "z": "cd7e2d57.0833e",
+ "wires": [
+ [
+ "4a5e5e93.4bb0a"
+ ]
+ ]
+ },
+ {
+ "id": "26f00225.07a6ee",
+ "type": "call",
+ "name": "call",
+ "xml": "<call module='optical-service' rpc='aai-delete-service-handling' mode='sync' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1110.7777709960938,
+ "y": 340.3333263397217,
+ "z": "cd7e2d57.0833e",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "4a5e5e93.4bb0a",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 939.7777709960938,
+ "y": 339.3333263397217,
+ "z": "cd7e2d57.0833e",
+ "wires": [
+ [
+ "26f00225.07a6ee",
+ "bfe4da6d.23bff8"
+ ]
+ ]
+ },
+ {
+ "id": "e2afd11c.20c8",
+ "type": "update",
+ "name": "update AAI service 'CREATED'",
+ "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' \nforce='true'\nresource='service-instance'\n key='customer.global-customer-id = $output.global-customer-id AND\n service-subscription.service-type = $output.service-type AND\n service-instance.service-instance-id = $output.service-instance-id' \n local-only='false'>\n<parameter name='orchestration-status' value='CREATED' />\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": 1164.1110534667969,
+ "y": 459.2222137451172,
+ "z": "cd7e2d57.0833e",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "b0822e31.3769c",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 738.7777709960938,
+ "y": 410.3333263397217,
+ "z": "cd7e2d57.0833e",
+ "wires": [
+ [
+ "7741584b.61db58"
+ ]
+ ]
+ },
+ {
+ "id": "7741584b.61db58",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 901.7777709960938,
+ "y": 412.3333263397217,
+ "z": "cd7e2d57.0833e",
+ "wires": [
+ [
+ "e2afd11c.20c8",
+ "80fddf5d.9a9f2",
+ "e0a008e3.38d8a8"
+ ]
+ ]
+ },
+ {
+ "id": "9db1a4b5.47b0b8",
+ "type": "execute",
+ "name": "execute",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/async-response-so.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$output.notification-url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.so.username`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.so.password`\"/>\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"so-response\"/>\n<parameter name='contentType' value='application/json' />\n<parameter name='format' value='json' />",
+ "comments": "",
+ "outputs": 1,
+ "x": 596.7777709960938,
+ "y": 483.3333263397217,
+ "z": "cd7e2d57.0833e",
+ "wires": [
+ [
+ "e497ea1c.ea2f88",
+ "d8b75d43.49a72"
+ ]
+ ]
+ },
+ {
+ "id": "e497ea1c.ea2f88",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 758.7777709960938,
+ "y": 476.3333263397217,
+ "z": "cd7e2d57.0833e",
+ "wires": [
+ [
+ "18019049.2a70d"
+ ]
+ ]
+ },
+ {
+ "id": "d8b75d43.49a72",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 760.7777709960938,
+ "y": 546.3333263397217,
+ "z": "cd7e2d57.0833e",
+ "wires": [
+ [
+ "9194dca2.b34f"
+ ]
+ ]
+ },
+ {
+ "id": "18019049.2a70d",
+ "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/async-notif.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Send to SO fails for service delete\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 904.7777709960938,
+ "y": 476.3333263397217,
+ "z": "cd7e2d57.0833e",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "9194dca2.b34f",
+ "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/async-notif.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Send to SO fails for service delete\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 900.7777709960938,
+ "y": 546.3333263397217,
+ "z": "cd7e2d57.0833e",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "bfe4da6d.23bff8",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n<parameter name='response-message' value='SUCCESS' />\n",
+ "comments": "",
+ "x": 1093.7777709960938,
+ "y": 276.3333263397217,
+ "z": "cd7e2d57.0833e",
+ "wires": []
+ },
+ {
+ "id": "80fddf5d.9a9f2",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n<parameter name='response-message' value='FAILURE' />\n",
+ "comments": "",
+ "x": 1103.7777709960938,
+ "y": 397.3333263397217,
+ "z": "cd7e2d57.0833e",
+ "wires": []
+ },
+ {
+ "id": "e0a008e3.38d8a8",
+ "type": "save",
+ "name": "update DB 'CREATED'",
+ "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' \nresource='SQL' \nkey='UPDATE REQUEST_DETAILS SET status = \"CREATED\" WHERE request_id = $request-id'\nforce='true' pfx='save-result'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1127.7777404785156,
+ "y": 515.5554885864258,
+ "z": "cd7e2d57.0833e",
+ "wires": [
+ []
+ ]
+ }
+] \ No newline at end of file