2 "id": "c81f4d78.b1e6c",
6 "x": 100.01040649414062,
7 "y": 75.99999976158142,
13 "id": "64b261af.cf184",
14 "type": "service-logic",
15 "name": "GENERIC-RESOURCE-API ${project.version}",
16 "module": "GENERIC-RESOURCE-API",
17 "version": "${project.version}",
19 "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='GENERIC-RESOURCE-API' version='${project.version}'>",
21 "x": 312.0104103088379,
22 "y": 148.00001692771912,
28 "id": "c6b54419.3039a8",
30 "name": "wan-connection-topology-operation-delete",
31 "xml": "<method rpc='wan-connection-topology-operation-delete' mode='sync'>\n",
34 "x": 300.0105285644531,
35 "y": 235.99999976158142,
41 "id": "140a99be.e1cda6",
43 "name": "contains FC",
44 "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='contains' >\n <parameter name=\"source\" value=\"`$network-topology-operation-input.network-information.onap-model-information.model-name`\"/>\n <parameter name=\"target\" value=\"FC\"/>\n",
47 "x": 467.04176330566406,
48 "y": 511.031311750412,
51 ["df506b8a.806268", "5d821249.e9d6cc"]
54 "id": "54dc8604.f2ccb8",
56 "name": "contains FD",
57 "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='contains' >\n <parameter name=\"source\" value=\"`$network-topology-operation-input.network-information.onap-model-information.model-name`\"/>\n <parameter name=\"target\" value=\"FD\"/>\n",
60 "x": 465.04168701171875,
61 "y": 589.0313127040863,
64 ["1ab6bc40.bffaf4", "7db0c17f.b059"]
67 "id": "df506b8a.806268",
68 "type": "outcomeTrue",
70 "xml": "<outcome value='true'>\n",
73 "x": 648.0417709350586,
74 "y": 513.0313451290131,
80 "id": "1ab6bc40.bffaf4",
81 "type": "outcomeTrue",
83 "xml": "<outcome value='true'>\n",
86 "x": 660.0417709350586,
87 "y": 591.0313451290131,
93 "id": "5d821249.e9d6cc",
94 "type": "outcomeTrue",
96 "xml": "<outcome value='false'>\n",
99 "x": 256.0416946411133,
100 "y": 592.0312840938568,
106 "id": "7f76e93c.a850f8",
108 "name": "execute Properties",
109 "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.prop.PropertiesNode' method='readProperties' >\n <parameter name='fileName' value='%SDNC_CONFIG_DIR%/generic-resource-api-dg.properties' />\n <parameter name='contextPrefix' value='prop' />\n",
112 "x": 491.010498046875,
113 "y": 356.00001883506775,
119 "id": "f3a69c11.4cac9",
121 "name": "block : atomic",
122 "xml": "<block atomic=\"true\">",
125 "x": 206.0104217529297,
126 "y": 335.99999594688416,
129 ["7f76e93c.a850f8", "99bcb143.6aec8", "30b4304f.e646c", "140a99be.e1cda6"]
132 "id": "99bcb143.6aec8",
133 "type": "switchNode",
134 "name": "switch network-id",
135 "xml": "<switch test='`$network-topology-operation-input.network-information.network-id`'>\n",
138 "x": 491.0104293823242,
139 "y": 294.0000092983246,
142 ["57d76327.9c63cc", "d50b31e0.e314e"]
145 "id": "57d76327.9c63cc",
148 "xml": "<outcome value=''>",
151 "x": 740.0105056762695,
152 "y": 233.00000929832458,
158 "id": "54153e4c.ec78c",
159 "type": "returnFailure",
160 "name": "return failure",
161 "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value=\"An error occured while generation allotted resource ID\" />\n",
163 "x": 1010.0105209350586,
164 "y": 234.99999809265137,
168 "id": "d50b31e0.e314e",
171 "xml": "<outcome value='Other'>\n",
174 "x": 737.5104026794434,
175 "y": 281.0000035762787,
181 "id": "30b4304f.e646c",
182 "type": "returnSuccess",
183 "name": "return success",
184 "xml": "<return status='success'>\n<parameter name=\"ack-final-indicator\" value=\"Y\" />\n<parameter name=\"error-code\" value=\"200\" />\n<parameter name=\"error-message\" value=\"`$error-message`\" />\n",
186 "x": 192.01040649414062,
187 "y": 943.0000705718994,
191 "id": "65a3a6ee.c50208",
198 "x": 258.01040267944336,
199 "y": 735.0001106262207,
205 "id": "7db0c17f.b059",
206 "type": "outcomeTrue",
208 "xml": "<outcome value='false'>\n",
211 "x": 261.04176330566406,
212 "y": 675.0314900875092,
218 "id": "44c3101c.7b387",
220 "name": "block : atomic",
221 "xml": "<block atomic=\"true\">",
224 "x": 843.010383605957,
225 "y": 542.1214942932129,
228 ["81240f98.0bd24", "51b098fe.5ee238", "e14455de.b9dcd8", "5e6ceda3.d49424", "629880b9.6f91a"]
231 "id": "81240f98.0bd24",
233 "name": "delete wan connection in AAI",
234 "xml": "<delete plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" resource='connectivity' \n key='connectivity.connectivity-id = $network-topology-operation-input.network-information.network-id'>\n",
237 "x": 1139.0104446411133,
238 "y": 492.1214962005615,
244 "id": "51b098fe.5ee238",
246 "name": "set new network length",
247 "xml": "<set>\n\t<parameter name=\"service-data.networks.network_length\" value=\"`$service-data.networks.network_length - 1`\"/>\n\n\t\n",
249 "x": 1116.4549293518066,
250 "y": 556.0104026794434,
254 "id": "e14455de.b9dcd8",
256 "name": "Remove networks from ServiceData",
257 "xml": "<set>\n\t<parameter name=\"service-data.networks.network[$tmp.nidx].\" value=\"\"/>\n\n",
259 "x": 1147.0791816711426,
260 "y": 607.9783487319946,
264 "id": "5e6ceda3.d49424",
266 "name": "set networkId and network-object-path",
267 "xml": "<set>\n<parameter name='networkId' value='`$network-topology-operation-input.network-information.network-id`' />\n<parameter name='service-object-path' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'\n + $network-topology-operation-input.service-information.service-instance-id\n + '/service-data/service-topology/'` \" />",
269 "x": 1157.8222579956055,
270 "y": 678.5394926071167,
274 "id": "629880b9.6f91a",
277 "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/svclogic.log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"wan-connection-topology-operation-delete\"/>\n<parameter name=\"field3\" value=\"`$network-topology-operation-input.network-information.onap-model-information.model-name + ' delete'`\"/>\n",
280 "x": 1075.0103759765625,