- },\r
- {\r
- "id": "4b5d7c6c.dfedd4",\r
- "type": "switchNode",\r
- "name": "switch domain-type",\r
- "xml": "<switch test='`$optical-service-create-input.payload.domain-type`'>\n \n",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 705,\r
- "y": 477,\r
- "z": "7d0d9c37.54e5a4",\r
- "wires": [\r
- [\r
- "d809de29.7d03f8",\r
- "c1db711f.fdedc"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "d809de29.7d03f8",\r
- "type": "outcome",\r
- "name": "MSA",\r
- "xml": "<outcome value='MSA'>\n",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 878,\r
- "y": 442,\r
- "z": "7d0d9c37.54e5a4",\r
- "wires": [\r
- [\r
- "4f2bcf28.f836e8"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "c1db711f.fdedc",\r
- "type": "outcome",\r
- "name": "TAPI",\r
- "xml": "<outcome value='TAPI'>\n",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 875,\r
- "y": 518,\r
- "z": "7d0d9c37.54e5a4",\r
- "wires": [\r
- [\r
- "1de8f6d7.6e55d9"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "4f2bcf28.f836e8",\r
- "type": "block",\r
- "name": "block",\r
- "xml": "<block>\n",\r
- "atomic": "false",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 1001,\r
- "y": 437,\r
- "z": "7d0d9c37.54e5a4",\r
- "wires": [\r
- [\r
- "8efcdbce.63cc68",\r
- "efcf557d.c3a5f8"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "1de8f6d7.6e55d9",\r
- "type": "block",\r
- "name": "block",\r
- "xml": "<block>\n",\r
- "atomic": "false",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 1008,\r
- "y": 548,\r
- "z": "7d0d9c37.54e5a4",\r
- "wires": [\r
- [\r
- "35944f6f.0c2038",\r
- "a30d1744.eb9978"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "35944f6f.0c2038",\r
- "type": "save",\r
- "name": "save Service Request Details in DB",\r
- "xml": "<save plugin=\"org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource\" resource=\"SQL\" key=\"INSERT INTO REQUEST_DETAILS (request_id, controller_id, status, service_rate, service_instance_id, service_type, global_customer_id, notification_url) VALUES ( $optical-service-create-input.request-id , $controller-id , 'CREATED' , $optical-service-create-input.payload.service-rate , $optical-service-create-input.service-id , $optical-service-create-input.service-type , $optical-service-create-input.global-customer-id , $optical-service-create-input.notification-url );\">\n",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 1243,\r
- "y": 514,\r
- "z": "7d0d9c37.54e5a4",\r
- "wires": [\r
- []\r
- ]\r
- },\r
- {\r
- "id": "a30d1744.eb9978",\r
- "type": "save",\r
- "name": "save service-instance details in AAI",\r
- "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance' \n key='customer.global-customer-id = $optical-service-create-input.global-customer-id AND\n service-subscription.service-type = $optical-service-create-input.service-type AND\n service-instance.service-instance-id = $optical-service-create-input.service-id' >\n<parameter name='service-instance-id' value='`$optical-service-create-input.service-id`' />\n<parameter name='service-instance-name' value='`$optical-service-create-input.payload.service-name`' />\n<parameter name='service-type' value='Domain-Service' />\n<parameter name='orchestration-status' value='CREATED' />\n<parameter name='service-rate' value='`$optical-service-create-input.payload.service-rate`' />\n<parameter name='service-layer' value='`$optical-service-create-input.payload.service-layer`' />\n\n",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 1245,\r
- "y": 592,\r
- "z": "7d0d9c37.54e5a4",\r
- "wires": [\r
- []\r
- ]\r