3 "id": "1473da35.b14246",
6 "xml": "<outcome value='Update'>\n",
9 "x": 630.0000991821289,
10 "y": 276.6667003631592,
11 "z": "8cb5d046.a5aaf",
19 "id": "63d9b444.fbeb4c",
22 "xml": "<outcome value='delete'>\n",
25 "x": 666.2222137451172,
27 "z": "8cb5d046.a5aaf",
35 "id": "cf4516fc.415338",
37 "name": "block : atomic",
38 "xml": "<block atomic=\"true\">",
41 "x": 816.6668586730957,
42 "y": 473.3335485458374,
43 "z": "8cb5d046.a5aaf",
49 "id": "aa391e7d.06c04",
51 "name": "TODO: Delete topology from AAI",
54 "x": 774.3335266113281,
55 "y": 429.0001735687256,
56 "z": "8cb5d046.a5aaf",
60 "id": "7e2d4ad0.53ea04",
62 "name": "switch aai-event-trigger",
63 "xml": "<switch test=\"`$data-change-notification-input.aai-event-trigger`\">\n",
67 "y": 345.2222261428833,
68 "z": "8cb5d046.a5aaf",
77 "id": "4718051e.d2c46c",
79 "name": "block : atomic",
80 "xml": "<block atomic=\"true\">",
83 "x": 1224.333854675293,
84 "y": 270.1112537384033,
85 "z": "8cb5d046.a5aaf",
95 "id": "e3be6aaa.e1c308",
97 "name": "execute RestApiCallNode Get token",
98 "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/actokentemplate.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/controller/v2/tokens'`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"post\"/>\n<parameter name=\"responsePrefix\" value=\"token-result\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>",
101 "x": 1480.9933624267578,
102 "y": 132.0305051803589,
103 "z": "8cb5d046.a5aaf",
112 "id": "6a112654.2ffd58",
115 "xml": "<outcome value='success'>\n",
118 "x": 1715.9933624267578,
119 "y": 110.03050518035889,
120 "z": "8cb5d046.a5aaf",
128 "id": "b242d748.545378",
131 "xml": "<outcome value='failure'>\n",
134 "x": 1708.2433624267578,
135 "y": 163.67338848114014,
136 "z": "8cb5d046.a5aaf",
144 "id": "e5b3fd51.2397c",
146 "name": "set token-id",
147 "xml": "<set>\n<parameter name='prop.sdncRestApi.token_id' value='`$token-result.data.token_id`' />\n",
149 "x": 1875.9934921264648,
150 "y": 104.03051090240479,
151 "z": "8cb5d046.a5aaf",
155 "id": "d910de32.e62ae",
157 "name": "execute RestApiCallNode Get Topology",
158 "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-network:networks'`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"get\"/>\n<parameter name=\"responsePrefix\" value=\"topology\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />",
161 "x": 1929.3267669677734,
162 "y": 293.2342710494995,
163 "z": "8cb5d046.a5aaf",
172 "id": "3dc2b196.085a9e",
175 "xml": "<outcome value='success'>\n",
178 "x": 2244.8823013305664,
179 "y": 322.2342777252197,
180 "z": "8cb5d046.a5aaf",
188 "id": "94766aa2.652398",
190 "name": "block : atomic",
191 "xml": "<block atomic=\"true\">",
195 "x": 2428.437847137451,
196 "y": 316.90099835395813,
197 "z": "8cb5d046.a5aaf",
205 "id": "5ca06a0d.d6b0d4",
206 "type": "returnFailure",
207 "name": "return failure",
208 "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"Error executing Create vpn rest api\" />\n",
210 "x": 2389.6601524353027,
211 "y": 225.12310695648193,
212 "z": "8cb5d046.a5aaf",
216 "id": "c53d2802.f6ecf8",
219 "xml": "<outcome value='failure'>\n",
222 "x": 2243.3268852233887,
223 "y": 226.34534358978271,
224 "z": "8cb5d046.a5aaf",
232 "id": "3177a11f.85bf9e",
237 "y": 62.50000333786011,
238 "z": "8cb5d046.a5aaf",
246 "id": "774441cb.70134",
247 "type": "service-logic",
248 "name": "DataChange ${project.version}",
249 "module": "DataChange",
250 "version": "${project.version}",
252 "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='DataChange' version='${project.version}'>",
254 "x": 201.11112594604492,
255 "y": 126.44446134567261,
256 "z": "8cb5d046.a5aaf",
264 "id": "5969d7b2.611c88",
266 "name": "method esr-thirdparty-sdnc-discovery",
267 "xml": "<method rpc='esr-thirdparty-sdnc-discovery' mode='sync'>\n",
270 "x": 297.5556869506836,
271 "y": 237.22224235534668,
272 "z": "8cb5d046.a5aaf",
280 "id": "70441765.9b30e8",
282 "name": "block : atomic",
283 "xml": "<block atomic=\"true\">\n",
287 "x": 205.77791595458984,
288 "y": 346.11122035980225,
289 "z": "8cb5d046.a5aaf",
297 "id": "c3e460ec.ed97f",
299 "name": "for each Network",
300 "xml": "<for index='nidx' start='0' end='`$topology.networks.network_length`' >\n",
303 "x": 2202.4818229675293,
304 "y": 443.72221183776855,
305 "z": "8cb5d046.a5aaf",
313 "id": "e5b6573.9876aa8",
320 "x": 2392.4817848205566,
321 "y": 451.5000047683716,
322 "z": "8cb5d046.a5aaf",
331 "id": "80a22745.8dc678",
333 "name": "call update-network-to-aai",
334 "xml": "<call module='DataChange' rpc='update-network-to-aai' mode='sync' >\n",
337 "x": 2645.81520652771,
338 "y": 514.8333749771118,
339 "z": "8cb5d046.a5aaf",
345 "id": "de6cf312.86823",
347 "name": "set network",
348 "xml": "<set>\n<parameter name='network.' value='`$topology.networks.network[$nidx].`' />\n",
350 "x": 2598.037326812744,
351 "y": 432.6111192703247,
352 "z": "8cb5d046.a5aaf",
356 "id": "71cf21cf.2814e",
363 "x": 1869.8147583007812,
364 "y": 158.77776765823364,
365 "z": "8cb5d046.a5aaf",
371 "id": "f641d4a3.15fe58",
373 "name": "Do Nothing",
376 "x": 2005.3703320821123,
377 "y": 157.66664340760974,
378 "z": "8cb5d046.a5aaf",
382 "id": "50cc0089.8c5b9",
383 "type": "switchNode",
384 "name": "switch type",
385 "xml": "<switch test=\"`$prop.sdncRestApi.type`\">\n",
388 "x": 905.0002479553223,
389 "y": 279.00003147125244,
390 "z": "8cb5d046.a5aaf",
399 "id": "9e41086f.f40978",
406 "x": 760.0000839233398,
407 "y": 277.00002002716064,
408 "z": "8cb5d046.a5aaf",
416 "id": "5f892fdd.7662a",
419 "xml": "<outcome value='SOTN'>\n",
422 "x": 1059.0000305175781,
423 "y": 235.00000190734863,
424 "z": "8cb5d046.a5aaf",
432 "id": "1ec39cc9.6f7b33",
435 "xml": "<outcome value='Other'>\n",
438 "x": 1056.0000305175781,
439 "y": 359.00000953674316,
440 "z": "8cb5d046.a5aaf",
448 "id": "57bc8339.f1a98c",
449 "type": "returnFailure",
450 "name": "return failure",
451 "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"`'Unsupported type = ' + $prop.sdncRestApi.type`\" />\n\n",
453 "x": 1204.7727355957031,
454 "y": 358.43917751312256,
455 "z": "8cb5d046.a5aaf",
459 "id": "d85bb5b1.82c4d8",
461 "name": "execute Properties",
462 "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",
467 "z": "8cb5d046.a5aaf",
473 "id": "3b1c8725.0fcfb8",
474 "type": "switchNode",
475 "name": "switch prop.sdncRestApi.token_id",
476 "xml": "<switch test=\"`$prop.sdncRestApi.token_id`\">\n\n",
479 "x": 1474.5310821533203,
480 "y": 270.000036239624,
481 "z": "8cb5d046.a5aaf",
490 "id": "51700151.3682f",
493 "xml": "<outcome value=''>\n",
496 "x": 1690.5312004089355,
497 "y": 242.00001335144043,
498 "z": "8cb5d046.a5aaf",
506 "id": "56c8ba7a.de2b04",
509 "xml": "<outcome value='Other'>\n",
512 "x": 1689.5311393737793,
513 "y": 291.5000228881836,
514 "z": "8cb5d046.a5aaf",
522 "id": "f5ddce51.60077",
524 "name": "execute RestApiCallNode Get Topology",
525 "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-network:networks'`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"get\"/>\n<parameter name=\"responsePrefix\" value=\"topology\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n",
528 "x": 1925.0311584472656,
529 "y": 239.03126525878906,
530 "z": "8cb5d046.a5aaf",