--- /dev/null
+[\r
+ {\r
+ "id": "ef271e98.1343d",\r
+ "type": "dgstart",\r
+ "name": "DGSTART",\r
+ "outputs": 1,\r
+ "x": 225.5555419921875,\r
+ "y": 244.44442749023438,\r
+ "z": "d7735114.f6066",\r
+ "wires": [\r
+ [\r
+ "69929ea4.2407d"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "69929ea4.2407d",\r
+ "type": "service-logic",\r
+ "name": "optical-service ${project.version}",\r
+ "module": "optical-service",\r
+ "version": "${project.version}",\r
+ "comments": "",\r
+ "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
+ "outputs": 1,\r
+ "x": 412.5555419921875,\r
+ "y": 193.44442749023438,\r
+ "z": "d7735114.f6066",\r
+ "wires": [\r
+ [\r
+ "926e362a.257c68"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "926e362a.257c68",\r
+ "type": "method",\r
+ "name": "method",\r
+ "xml": "<method rpc='create-service-async' mode='sync'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 266.5555419921875,\r
+ "y": 367.4444274902344,\r
+ "z": "d7735114.f6066",\r
+ "wires": [\r
+ [\r
+ "1e677fcc.18edb"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "1e677fcc.18edb",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic='true'>",\r
+ "atomic": "true",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 439.5555419921875,\r
+ "y": 366.4444274902344,\r
+ "z": "d7735114.f6066",\r
+ "wires": [\r
+ [\r
+ "570787b6.c60918",\r
+ "8b32ac88.06a0b",\r
+ "d11ad8e1.0343c8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "570787b6.c60918",\r
+ "type": "record",\r
+ "name": "record",\r
+ "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 Create Service Async\"/>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 612.5555419921875,\r
+ "y": 277.4444274902344,\r
+ "z": "d7735114.f6066",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "28c538c4.2302f8",\r
+ "type": "record",\r
+ "name": "record",\r
+ "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=\"Finished updating service in AAI and DB to CREATED\"/>\n\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1140.5555419921875,\r
+ "y": 359.4444274902344,\r
+ "z": "d7735114.f6066",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "5e382c44.972184",\r
+ "type": "update",\r
+ "name": "update AAI service 'CREATED'",\r
+ "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",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1163.5555419921875,\r
+ "y": 227.44442749023438,\r
+ "z": "d7735114.f6066",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "11f258cf.0cfbe7",\r
+ "type": "outcome",\r
+ "name": "outcome",\r
+ "xml": "<outcome value='200'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 744.5555419921875,\r
+ "y": 328.4444274902344,\r
+ "z": "d7735114.f6066",\r
+ "wires": [\r
+ [\r
+ "6823decd.1c0f4"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "1f9398a1.9403f7",\r
+ "type": "other",\r
+ "name": "other",\r
+ "xml": "<outcome value='Other'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 735.5555419921875,\r
+ "y": 440.4444274902344,\r
+ "z": "d7735114.f6066",\r
+ "wires": [\r
+ [\r
+ "a0d9ffaf.322a"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "6823decd.1c0f4",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic='true'>",\r
+ "atomic": "true",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 914.5555419921875,\r
+ "y": 306.4444274902344,\r
+ "z": "d7735114.f6066",\r
+ "wires": [\r
+ [\r
+ "28c538c4.2302f8",\r
+ "5e382c44.972184",\r
+ "8124c756.1dde88",\r
+ "15476d01.4a1043"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "a0d9ffaf.322a",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic='true'>",\r
+ "atomic": "true",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 907.5555419921875,\r
+ "y": 443.4444274902344,\r
+ "z": "d7735114.f6066",\r
+ "wires": [\r
+ [\r
+ "20546055.63c8f",\r
+ "7353aa4c.564df4"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "8b32ac88.06a0b",\r
+ "type": "switchNode",\r
+ "name": "switch",\r
+ "xml": "<switch test='`$response-code`'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 613.5555419921875,\r
+ "y": 366.4444274902344,\r
+ "z": "d7735114.f6066",\r
+ "wires": [\r
+ [\r
+ "11f258cf.0cfbe7",\r
+ "1f9398a1.9403f7"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "8124c756.1dde88",\r
+ "type": "save",\r
+ "name": "update DB 'CREATED'",\r
+ "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'>",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1177.5555419921875,\r
+ "y": 299.4444274902344,\r
+ "z": "d7735114.f6066",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "20546055.63c8f",\r
+ "type": "call",\r
+ "name": "call",\r
+ "xml": "<call module='optical-service' rpc='aai-delete-service-handling' mode='sync' >\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1058.5555419921875,\r
+ "y": 471.4444274902344,\r
+ "z": "d7735114.f6066",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "d11ad8e1.0343c8",\r
+ "type": "execute",\r
+ "name": "execute",\r
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.template.so.response.filename`\" />\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' />",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 600.5555419921875,\r
+ "y": 501.4444274902344,\r
+ "z": "d7735114.f6066",\r
+ "wires": [\r
+ [\r
+ "7c0eb31b.04d7bc",\r
+ "f4076cb2.329c4"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "7c0eb31b.04d7bc",\r
+ "type": "failure",\r
+ "name": "failure",\r
+ "xml": "<outcome value='failure'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 762.5555419921875,\r
+ "y": 494.4444274902344,\r
+ "z": "d7735114.f6066",\r
+ "wires": [\r
+ [\r
+ "d698b0bd.4bbda"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "f4076cb2.329c4",\r
+ "type": "success",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 764.5555419921875,\r
+ "y": 564.4444274902344,\r
+ "z": "d7735114.f6066",\r
+ "wires": [\r
+ [\r
+ "43f03cc3.9bf324"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "d698b0bd.4bbda",\r
+ "type": "record",\r
+ "name": "record",\r
+ "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 create\"/>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 904.5555419921875,\r
+ "y": 494.4444274902344,\r
+ "z": "d7735114.f6066",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "43f03cc3.9bf324",\r
+ "type": "record",\r
+ "name": "record",\r
+ "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 Success for service create\"/>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 904.5555419921875,\r
+ "y": 564.4444274902344,\r
+ "z": "d7735114.f6066",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "15476d01.4a1043",\r
+ "type": "set",\r
+ "name": "set",\r
+ "xml": "<set>\n<parameter name='response-message' value='SUCCESS' />\n",\r
+ "comments": "",\r
+ "x": 1073.5555419921875,\r
+ "y": 146.44442749023438,\r
+ "z": "d7735114.f6066",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "7353aa4c.564df4",\r
+ "type": "set",\r
+ "name": "set",\r
+ "xml": "<set>\n<parameter name='response-message' value='FAILURE' />\n",\r
+ "comments": "",\r
+ "x": 1052.5555419921875,\r
+ "y": 401.4444274902344,\r
+ "z": "d7735114.f6066",\r
+ "wires": []\r
+ }\r
+]
\ No newline at end of file