[
{
- "id": "6fceaf50.2ca8a",
+ "id": "e2842db5.a9071",
"type": "dgstart",
"name": "DGSTART",
"outputs": 1,
- "x": 97.03125762939453,
- "y": 60.531246185302734,
- "z": "4279d5d.f45972c",
+ "x": 107.00390625,
+ "y": 70.00390625,
+ "z": "54170a80.42c614",
"wires": [
[
- "cff1a431.d9d948"
+ "d0423637.689c18"
]
]
},
{
- "id": "cff1a431.d9d948",
+ "id": "d0423637.689c18",
"type": "service-logic",
- "name": "GENERIC-RESOURCE-API 1.2.1-SNAPSHOT",
+ "name": "GENERIC-RESOURCE-API ${project.version}",
"module": "GENERIC-RESOURCE-API",
- "version": "1.2.1-SNAPSHOT",
+ "version": "${project.version}",
"comments": "",
- "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='1.2.1-SNAPSHOT'>",
+ "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}'>",
"outputs": 1,
- "x": 309.0312614440918,
- "y": 132.53126335144043,
- "z": "4279d5d.f45972c",
+ "x": 319.00391006469727,
+ "y": 142.0039234161377,
+ "z": "54170a80.42c614",
"wires": [
[
- "f4a2f725.1d7778"
+ "8964c247.35272"
]
]
},
{
- "id": "f4a2f725.1d7778",
+ "id": "8964c247.35272",
"type": "method",
"name": "method sotn-network-topology-operation-delete",
"xml": "<method rpc='sotn-network-topology-operation-delete' mode='sync'>\n",
"comments": "",
"outputs": 1,
- "x": 297.03137969970703,
- "y": 220.53124618530273,
- "z": "4279d5d.f45972c",
+ "x": 307.0040283203125,
+ "y": 230.00390625,
+ "z": "54170a80.42c614",
"wires": [
[
- "977562d1.fa7af"
+ "7ece957c.81e36c"
]
]
},
{
- "id": "977562d1.fa7af",
+ "id": "7ece957c.81e36c",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 467.47571182250977,
- "y": 282.9757022857666,
- "z": "4279d5d.f45972c",
+ "x": 477.44836044311523,
+ "y": 292.44836235046387,
+ "z": "54170a80.42c614",
"wires": [
[
- "6af1abf.a866354",
- "18eeced4.574d91",
- "406c5f6.7e479a",
- "10a58dd4.391ce2",
- "60c54ca0.bb3fb4",
- "47c1a26c.4cd8ec",
- "a482b966.7af068"
+ "1ccc938f.2f224c",
+ "a9d1874f.281198",
+ "bebcb7e3.f95d48",
+ "f957f73b.5f1c98",
+ "77e06509.a268cc",
+ "ed0dab58.6e6938",
+ "53d6d08a.6aeb8"
]
]
},
{
- "id": "6af1abf.a866354",
+ "id": "1ccc938f.2f224c",
"type": "call",
"name": "call GENERIC-RESOURCE-API:validate-sotn-network-input-parameters",
"xml": "<call module='GENERIC-RESOURCE-API' rpc='validate-sotn-network-input-parameters' mode='sync' >\n",
"comments": "",
"outputs": 1,
- "x": 929.4201583862305,
- "y": 77.53124618530273,
- "z": "4279d5d.f45972c",
+ "x": 939.3928070068359,
+ "y": 87.00390625,
+ "z": "54170a80.42c614",
"wires": [
[
]
},
{
- "id": "18eeced4.574d91",
+ "id": "a9d1874f.281198",
"type": "record",
"name": "record",
"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=\"sotn-network-topology-operation-delete\"/>\n<parameter name=\"field3\" value=\"SOTN-Delete\"/>\n",
"comments": "",
"outputs": 1,
- "x": 742.8089828491211,
- "y": 143.8646183013916,
- "z": "4279d5d.f45972c",
+ "x": 752.7816314697266,
+ "y": 153.33727836608887,
+ "z": "54170a80.42c614",
"wires": [
[
]
},
{
- "id": "406c5f6.7e479a",
+ "id": "bebcb7e3.f95d48",
"type": "set",
"name": "set networkId and network-object-path",
"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/'` \" />",
"comments": "",
- "x": 827.4756660461426,
- "y": 391.9555377960205,
- "z": "4279d5d.f45972c",
+ "x": 837.448314666748,
+ "y": 401.4281978607178,
+ "z": "54170a80.42c614",
"wires": [
]
},
{
- "id": "10a58dd4.391ce2",
+ "id": "f957f73b.5f1c98",
"type": "returnSuccess",
"name": "return success",
"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",
"comments": "",
- "x": 756.5869140625,
- "y": 455.5109257698059,
- "z": "4279d5d.f45972c",
+ "x": 766.5595626831055,
+ "y": 464.9835858345032,
+ "z": "54170a80.42c614",
"wires": [
]
},
{
- "id": "47c1a26c.4cd8ec",
+ "id": "ed0dab58.6e6938",
"type": "set",
"name": "set new network length",
"xml": "<set>\n\t<parameter name=\"service-data.networks.network_length\" value=\"`$service-data.networks.network_length - 1`\"/>\n\n\t\n",
"comments": "",
- "x": 786.1083374023438,
- "y": 269.42644786834717,
- "z": "4279d5d.f45972c",
+ "x": 796.0809860229492,
+ "y": 278.89910793304443,
+ "z": "54170a80.42c614",
"wires": [
]
},
{
- "id": "60c54ca0.bb3fb4",
+ "id": "77e06509.a268cc",
"type": "set",
"name": "Remove networks from ServiceData",
- "xml": "<set>\n\t<parameter name=\"service-data.networks.network[$nidx].\" value=\"\"/>\n\n",
+ "xml": "<set>\n\t<parameter name=\"service-data.networks.network[$tmp.nidx].\" value=\"\"/>\n\n",
"comments": "",
- "x": 826.732494354248,
- "y": 317.394389629364,
- "z": "4279d5d.f45972c",
+ "x": 836.7051429748535,
+ "y": 326.8670496940613,
+ "z": "54170a80.42c614",
"wires": [
]
},
{
- "id": "a482b966.7af068",
+ "id": "53d6d08a.6aeb8",
"type": "delete",
- "name": "delete SOTN VPNInstance configuration in AAI",
- "xml": "<delete plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" resource='configuration' \n key='configuration.configuration-id = $network-topology-operation-input.network-information.network-id'>\n",
+ "name": "delete SOTN VPNInstance connectivity in AAI",
+ "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",
"comments": "",
"outputs": 1,
- "x": 864.6638374328613,
- "y": 210.53753185272217,
- "z": "4279d5d.f45972c",
+ "x": 874.6364860534668,
+ "y": 220.01019191741943,
+ "z": "54170a80.42c614",
"wires": [
[