3 "id": "d4295740.c12e18",
\r
7 "x": 278.3428039550781,
\r
8 "y": 140.00946044921875,
\r
9 "z": "5af8d27f.fc4b1c",
\r
17 "id": "ac487a45.8727c8",
\r
20 "xml": "<method rpc='optical-service-create-sync-success' mode='sync'>\n",
\r
23 "x": 472.3428039550781,
\r
24 "y": 112.00946044921875,
\r
25 "z": "5af8d27f.fc4b1c",
\r
33 "id": "5b3e4a47.637864",
\r
34 "type": "service-logic",
\r
35 "name": "optical-service ${project.version}",
\r
36 "module": "optical-service",
\r
37 "version": "${project.version}",
\r
39 "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
41 "x": 313.8428039550781,
\r
42 "y": 263.00946044921875,
\r
43 "z": "5af8d27f.fc4b1c",
\r
51 "id": "f7120a00.d17148",
\r
53 "name": "block : atomic",
\r
54 "xml": "<block atomic='true'>",
\r
58 "x": 575.3428039550781,
\r
59 "y": 176.00946044921875,
\r
60 "z": "5af8d27f.fc4b1c",
\r
77 "id": "f6dad6b5.f6a6d8",
\r
79 "name": "update rate in aend in DB",
\r
80 "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' \nresource='SQL' \nkey='UPDATE TOPOLOGY_LOGICAL_RELATION_TO_PINTERFACE SET rate = $available-bandwidth-aend WHERE \ninterface_name = $optical-service-create-input.payload.service-aend.port-id'\nforce='true' pfx='save-result'>\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 \n \n \n\n\n\n\n\n\n\n\n\n\n\n",
\r
83 "x": 976.3428039550781,
\r
84 "y": 220.00946044921875,
\r
85 "z": "5af8d27f.fc4b1c",
\r
91 "id": "78255cf4.62dbd4",
\r
93 "name": "update p-interface a-End in AAI",
\r
94 "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' \nforce='true'\nresource='p-interface'\nkey = 'pnf.pnf-name = $a-end-pnf-name\n AND p-interface.interface-name = $optical-service-create-input.payload.service-aend.port-id'\n local-only='false'>\n<parameter name='available-capacity' value='`$available-bandwidth-aend`' />\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
97 "x": 900.3428039550781,
\r
98 "y": 350.00946044921875,
\r
99 "z": "5af8d27f.fc4b1c",
\r
105 "id": "abf2f09.770521",
\r
107 "name": "update rate in azend DB",
\r
108 "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' \nresource='SQL' \nkey='UPDATE TOPOLOGY_LOGICAL_RELATION_TO_PINTERFACE SET rate = $available-bandwidth-zend WHERE \ninterface_name = $optical-service-create-input.payload.service-zend.port-id'\nforce='true' pfx='save-result'>\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 \n \n \n\n\n\n\n\n\n\n\n\n\n\n",
\r
111 "x": 914.3428039550781,
\r
112 "y": 294.00946044921875,
\r
113 "z": "5af8d27f.fc4b1c",
\r
119 "id": "1a4fe0d2.9104df",
\r
121 "name": "update p-interface z-End in AAI",
\r
122 "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' \nforce='true'\nresource='p-interface'\nkey = 'pnf.pnf-name = $z-end-pnf-name\n AND p-interface.interface-name = $optical-service-create-input.payload.service-zend.port-id'\n local-only='false'>\n<parameter name='available-capacity' value='`$available-bandwidth-zend`' />\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
125 "x": 896.3428039550781,
\r
126 "y": 422.00946044921875,
\r
127 "z": "5af8d27f.fc4b1c",
\r
133 "id": "10419a02.5279a6",
\r
136 "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/optical-service-create.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Inside sync success\"/>\n\n",
\r
139 "x": 735.3428039550781,
\r
140 "y": 123.00946044921875,
\r
141 "z": "5af8d27f.fc4b1c",
\r
147 "id": "dec6cfa9.b29a2",
\r
149 "name": "set available rate as 0",
\r
150 "xml": "<set>\n<parameter name='available-bandwidth-aend' value='0' />\n<parameter name='available-bandwidth-zend' value='0' />\n\n\n\n\n\n\n\n\n\n",
\r
152 "x": 847.3428039550781,
\r
153 "y": 173.00946044921875,
\r
154 "z": "5af8d27f.fc4b1c",
\r
158 "id": "2f74f1c4.b8113e",
\r
160 "name": "save Service Request Details in DB",
\r
161 "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 , 'CREATING' , $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
164 "x": 840.3428039550781,
\r
165 "y": 498.00946044921875,
\r
166 "z": "5af8d27f.fc4b1c",
\r
172 "id": "127d45c8.8b89aa",
\r
174 "name": "save service-instance details in AAI",
\r
175 "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='CREATING' />\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
178 "x": 809.3428039550781,
\r
179 "y": 566.0094604492188,
\r
180 "z": "5af8d27f.fc4b1c",
\r
186 "id": "950ee350.7984c",
\r
188 "name": "save service-instance relation with p-interface",
\r
189 "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \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' force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"p-interface\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/pnfs/pnf/' + $a-end-pnf-name + '/p-interfaces/p-interface/' + $optical-service-create-input.payload.service-aend.port-id `\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"pnf.pnf-name\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$a-end-pnf-name`\" /> \n<parameter name=\"relationship-list.relationship[1].related-to\" value=\"p-interface\" />\n<parameter name=\"relationship-list.relationship[1].related-link\" value=\"`'/network/pnfs/pnf/' + $z-end-pnf-name + '/p-interfaces/p-interface/' + $optical-service-create-input.payload.service-zend.port-id `\" />\n<parameter name=\"relationship-list.relationship[1].relationship-data[0].relationship-key\" value=\"pnf.pnf-name\" />\n<parameter name=\"relationship-list.relationship[1].relationship-data[0].relationship-value\" value=\"`$z-end-pnf-name`\" />\n \n ",
\r
192 "x": 794.3428039550781,
\r
193 "y": 639.0094604492188,
\r
194 "z": "5af8d27f.fc4b1c",
\r
200 "id": "6433103.5b64df",
\r
203 "xml": "<set>\n<parameter name='final-response-code' value='200' />\n",
\r
205 "x": 642.4094543457031,
\r
206 "y": 734.5761108398438,
\r
207 "z": "5af8d27f.fc4b1c",
\r