aboutsummaryrefslogtreecommitdiffstats
path: root/platform-logic/generic-resource-api/src/main/json/p2p_eline/GENERIC-RESOURCE-API_p2p-vnf-topology-operation-p2p-callbackdg-notification.json
diff options
context:
space:
mode:
Diffstat (limited to 'platform-logic/generic-resource-api/src/main/json/p2p_eline/GENERIC-RESOURCE-API_p2p-vnf-topology-operation-p2p-callbackdg-notification.json')
-rw-r--r--platform-logic/generic-resource-api/src/main/json/p2p_eline/GENERIC-RESOURCE-API_p2p-vnf-topology-operation-p2p-callbackdg-notification.json917
1 files changed, 832 insertions, 85 deletions
diff --git a/platform-logic/generic-resource-api/src/main/json/p2p_eline/GENERIC-RESOURCE-API_p2p-vnf-topology-operation-p2p-callbackdg-notification.json b/platform-logic/generic-resource-api/src/main/json/p2p_eline/GENERIC-RESOURCE-API_p2p-vnf-topology-operation-p2p-callbackdg-notification.json
index 258b58a9..8676b85c 100644
--- a/platform-logic/generic-resource-api/src/main/json/p2p_eline/GENERIC-RESOURCE-API_p2p-vnf-topology-operation-p2p-callbackdg-notification.json
+++ b/platform-logic/generic-resource-api/src/main/json/p2p_eline/GENERIC-RESOURCE-API_p2p-vnf-topology-operation-p2p-callbackdg-notification.json
@@ -1,20 +1,20 @@
[
{
- "id": "3a09fc70.fad8d4",
+ "id": "d59cf7f5.6f23b8",
"type": "dgstart",
"name": "DGSTART",
"outputs": 1,
- "x": 149.56666564941406,
- "y": 131.56666564941406,
- "z": "b88832a3.96c4c8",
+ "x": 262.566650390625,
+ "y": 164.56666564941406,
+ "z": "1297170d.795181",
"wires": [
[
- "168caa1c.41dcf6"
+ "c8eb50f3.190d78"
]
]
},
{
- "id": "168caa1c.41dcf6",
+ "id": "c8eb50f3.190d78",
"type": "service-logic",
"name": "GENERIC-RESOURCE-API 888",
"module": "GENERIC-RESOURCE-API",
@@ -22,233 +22,980 @@
"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='888'>",
"outputs": 1,
- "x": 433.85235595703125,
- "y": 192.8047742843628,
- "z": "b88832a3.96c4c8",
+ "x": 546.8523406982422,
+ "y": 225.8047742843628,
+ "z": "1297170d.795181",
"wires": [
[
- "952f2b0e.26e698"
+ "fd155992.75a8"
]
]
},
{
- "id": "952f2b0e.26e698",
+ "id": "fd155992.75a8",
"type": "method",
"name": "method p2p-vnf-topology-operation-p2p-callbackdg-notification",
"xml": "<method rpc='p2p-vnf-topology-operation-p2p-callbackdg-notification' mode='sync'>\n",
"comments": "",
"outputs": 1,
- "x": 420.99525451660156,
- "y": 268.5666961669922,
- "z": "b88832a3.96c4c8",
+ "x": 533.9952392578125,
+ "y": 301.5666961669922,
+ "z": "1297170d.795181",
"wires": [
[
- "3e8ccd3.e3636b2"
+ "b8c276c9.6b5808"
]
]
},
{
- "id": "aaf25071.bda21",
+ "id": "b78fba66.45bc",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 1008.8047027587891,
- "y": 493.23333740234375,
- "z": "b88832a3.96c4c8",
+ "x": 1121.8046875,
+ "y": 526.2333374023438,
+ "z": "1297170d.795181",
"wires": [
[
- "aa57cf0f.26b688",
- "db7f4638.552cb8",
- "45fe05e4.ea10c4",
- "a0587b08.08777",
- "fff7b9b7.2af748",
- "23a47076.84785",
- "991df3c2.230cc8"
+ "97dc74a2.90a7f",
+ "b5e2af16.7c67f",
+ "d85bcbac.610a28",
+ "7b3e0b51.e71b54",
+ "f6a1818b.69f698",
+ "5c598e9b.b62af",
+ "37760266.d3d3ae",
+ "2fac2d00.57aa3c",
+ "42d1ed51.356a24",
+ "885bab91.42dd48",
+ "754e20ae.34eb5"
]
]
},
{
- "id": "9d09c472.dc19b",
+ "id": "7caf8b3a.4b81c4",
"type": "execute",
"name": "execute properties",
"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' />",
"comments": "",
"outputs": 1,
- "x": 1000.5666656494141,
- "y": 269.56666564941406,
- "z": "b88832a3.96c4c8",
+ "x": 1113.566650390625,
+ "y": 302.56666564941406,
+ "z": "1297170d.795181",
"wires": [
[]
]
},
{
- "id": "aa57cf0f.26b688",
+ "id": "97dc74a2.90a7f",
"type": "set",
"name": "set received notification parameters",
- "xml": "<set>\n<!--<parameter name='rcvdNotif' value='`$notifvalue`' />-->\n<parameter name='rcvd-etht-svc-end-point' value='`$push-change-update.datastore-changes.payload.parameter-value[0].etht-svc-end-point`' />\n<parameter name='rcvd-subscription-id' value='`$push-change-update.subscription-id`' />\n<parameter name='rcvd-bandwidth-value' value='`$push-change-update.datastore-changes.payload.parameter-value[0].value`' />\n<parameter name='rcvd-service-instance-id' value='`$push-change-update.datastore-changes.payload.parameter-value[0].value-description`' />",
+ "xml": "<set>\n<parameter name='rcvd-etht-svc-end-point' value='`$performance-monitoring.service-pm[0].service-pm-state.performance-data[3].parameter-value[0].index`' />\n<!--<parameter name='rcvd-subscription-id' value='`$push-change-update.subscription-id`' />-->\n<parameter name='rcvd-bandwidth-value' value='`$performance-monitoring.service-pm[0].service-pm-state.performance-data[3].parameter-value[0].value`' />\n<parameter name='rcvd-etht-service-name' value='`$performance-monitoring.service-pm[0].service-name`' />\n\n",
"comments": "",
- "x": 1329.566665649414,
- "y": 451.566650390625,
- "z": "b88832a3.96c4c8",
+ "x": 1442.566650390625,
+ "y": 484.566650390625,
+ "z": "1297170d.795181",
"wires": []
},
{
- "id": "4699eb86.540554",
+ "id": "d0a8aff8.6a4e",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"CallBack DG For SSE CONNECTION is called\"/>\n<!--<parameter name=\"field2\" value=\"`$rcvdNotif`\"/>-->",
"comments": "",
"outputs": 1,
- "x": 964.5667266845703,
- "y": 213.56666564941406,
- "z": "b88832a3.96c4c8",
+ "x": 1077.5667114257812,
+ "y": 246.56666564941406,
+ "z": "1297170d.795181",
"wires": [
[]
]
},
{
- "id": "23a47076.84785",
+ "id": "4691407b.b01b88",
"type": "save",
"name": "save:metadata to AAI",
"xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource=\"service-instance:metadata\"\n key=\"service-instance.service-instance-id = $rcvd-service-instance-id\n AND customer.global-customer-id = 'IBNCustomer' \n AND service-subscription.service-type = 'IBN'\" force=\"true\" pfx=\"tmp.AnAI-data\">\n <parameter name=\"metadata.metadatum[0].metaname\" value=\"`$rcvd-etht-svc-end-point`\" />\n <parameter name=\"metadata.metadatum[0].metaval\" value=\"`$rcvd-bandwidth-value`\" />\n\n \n",
"comments": "",
"outputs": 1,
- "x": 1267.566650390625,
- "y": 661.566650390625,
- "z": "b88832a3.96c4c8",
+ "x": 1367.566650390625,
+ "y": 1615.5667114257812,
+ "z": "1297170d.795181",
"wires": [
[]
]
},
{
- "id": "a0587b08.08777",
+ "id": "7b3e0b51.e71b54",
"type": "set",
"name": "set parameters",
- "xml": "<set>\n<parameter name='eventIdUuid' value=\"`'BandwidthChanged_' + $eventId-uuid`\" />\n<parameter name='eventNameUuid' value='`$eventName-uuid`' />\n<parameter name='cclId' value='`$rcvd-service-instance-id`' />\n<parameter name='uniId' value='`$rcvd-etht-svc-end-point`' />\n<parameter name='bandwidthValue' value='`$rcvd-bandwidth-value`' />\n",
+ "xml": "<set>\n<parameter name='eventIdUuid' value=\"`'BandwidthChanged_' + $eventId-uuid`\" />\n<parameter name='eventNameUuid' value='`$eventName-uuid`' />\n<parameter name='cclId' value='`$rcvd-service-instance-id`' />\n<parameter name='uniId' value='`$rcvd-etht-svc-end-point`' />\n<!--<parameter name='bandwidthValue' value='`$rcvd-bandwidth-value`' />-->\n<parameter name='bandwidthValue' value='`$tmp.metavalue`' />\n",
"comments": "",
- "x": 1258.566650390625,
- "y": 989.5666198730469,
- "z": "b88832a3.96c4c8",
+ "x": 1358.566650390625,
+ "y": 1943.5666809082031,
+ "z": "1297170d.795181",
"wires": []
},
{
- "id": "fff7b9b7.2af748",
+ "id": "f6a1818b.69f698",
"type": "execute",
"name": "execute RestApiCallNode call VES",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.p2p-call-ves.templatefile`\" />\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.dcaeAddrAndPort + '/eventListener/v7'`\" />-->\n<parameter name=\"restapiUrl\" value=\"https://dcae-ves-collector:8443/eventListener/v7\" />\n<parameter name=\"restapiUser\" value=\"sample1\" />\n<parameter name=\"restapiPassword\" value=\"sample1\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"post\"/>\n<parameter name='dirPath' value=\"/opt/onap/sdnc/restconfapi/yang\" />\n<parameter name=\"responsePrefix\" value=\"ves-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\"/>-->\n<parameter name=\"disableHostVerification\" value=\"true\"/>\n<parameter name=\"ssl\" value=\"false\"/>\n\n",
"comments": "",
"outputs": 1,
- "x": 1316.566650390625,
- "y": 1032.5666198730469,
- "z": "b88832a3.96c4c8",
+ "x": 1416.566650390625,
+ "y": 1986.5666809082031,
+ "z": "1297170d.795181",
"wires": [
[]
]
},
{
- "id": "db7f4638.552cb8",
+ "id": "b5e2af16.7c67f",
"type": "execute",
"name": "execute UUID generator for eventId",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"eventId-uuid\"/>\n",
"comments": "",
"outputs": 1,
- "x": 1320.566650390625,
- "y": 897.5666198730469,
- "z": "b88832a3.96c4c8",
+ "x": 1420.566650390625,
+ "y": 1851.5666809082031,
+ "z": "1297170d.795181",
"wires": [
[]
]
},
{
- "id": "45fe05e4.ea10c4",
+ "id": "d85bcbac.610a28",
"type": "execute",
"name": "execute UUID generator for eventName",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"eventName-uuid\"/>\n",
"comments": "",
"outputs": 1,
- "x": 1333.566650390625,
- "y": 939.5666198730469,
- "z": "b88832a3.96c4c8",
+ "x": 1433.566650390625,
+ "y": 1893.5666809082031,
+ "z": "1297170d.795181",
"wires": [
[]
]
},
{
- "id": "3f0e3083.b3f668",
+ "id": "b63d26e2.cce958",
"type": "comment",
"name": "Calling VES and passing notification parameters",
"info": "",
"comments": "",
- "x": 1347.566650390625,
- "y": 842.5666198730469,
- "z": "b88832a3.96c4c8",
+ "x": 1447.566650390625,
+ "y": 1796.5666809082031,
+ "z": "1297170d.795181",
"wires": []
},
{
- "id": "99a9316.f88035",
+ "id": "f7b6d9ec.2d9a4",
"type": "switchNode",
"name": "switch change type == upadte",
"xml": "<switch test=\"`$push-change-update.datastore-changes.type == 'update' `\">\n\n\n",
"comments": "",
"outputs": 1,
- "x": 1025.566665649414,
- "y": 344.566650390625,
- "z": "b88832a3.96c4c8",
+ "x": 1138.566650390625,
+ "y": 377.566650390625,
+ "z": "1297170d.795181",
"wires": [
[
- "86fcedb4.196448"
+ "abef7566.b569a8"
]
]
},
{
- "id": "86fcedb4.196448",
+ "id": "abef7566.b569a8",
"type": "outcome",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1240.566665649414,
- "y": 342.566650390625,
- "z": "b88832a3.96c4c8",
+ "x": 1353.566650390625,
+ "y": 375.566650390625,
+ "z": "1297170d.795181",
"wires": [
[
- "aaf25071.bda21"
+ "b78fba66.45bc"
]
]
},
{
- "id": "3e8ccd3.e3636b2",
+ "id": "b8c276c9.6b5808",
"type": "block",
"name": "block",
"xml": "<block>",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 755.5666656494141,
- "y": 269.566650390625,
- "z": "b88832a3.96c4c8",
+ "x": 868.566650390625,
+ "y": 302.566650390625,
+ "z": "1297170d.795181",
"wires": [
[
- "4699eb86.540554",
- "9d09c472.dc19b",
- "99a9316.f88035"
+ "d0a8aff8.6a4e",
+ "7caf8b3a.4b81c4",
+ "b78fba66.45bc"
]
]
},
{
- "id": "991df3c2.230cc8",
+ "id": "d0d01c1c.340638",
"type": "save",
"name": "update:metadata to AAI",
"xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource=\"service-instance\"\n key=\"service-instance.service-instance-id = $rcvd-service-instance-id\n AND customer.global-customer-id = 'IBNCustomer' \n AND service-subscription.service-type = 'IBN'\n AND metadatum.metaname = $rcvd-etht-svc-end-point\" force=\"true\" pfx=\"tmp.AnAI-data\">\n <parameter name=\"metaname\" value=\"`$rcvd-etht-svc-end-point`\" />\n <parameter name=\"metaval\" value=\"`$rcvd-bandwidth-value`\" />\n\n \n<!--AND metadatum.metaname = $rcvd-etht-svc-end-point-->\n\n<!--<parameter name=\"metadata.metadatum[0].metaname\" value=\"`$rcvd-etht-svc-end-point`\" />-->\n<!-- <parameter name=\"metadata.metadatum[0].metaval\" value=\"`$rcvd-bandwidth-value`\" />-->",
"comments": "",
"outputs": 1,
- "x": 1276.566650390625,
- "y": 716.566650390625,
- "z": "b88832a3.96c4c8",
+ "x": 1376.566650390625,
+ "y": 1670.5667114257812,
+ "z": "1297170d.795181",
"wires": [
[]
]
+ },
+ {
+ "id": "5c598e9b.b62af",
+ "type": "set",
+ "name": "unset found-connectivity",
+ "xml": "<set>\n<parameter name='found-connectivity' value=\"false\" />\n",
+ "comments": "",
+ "x": 1435.32861328125,
+ "y": 629.7000427246094,
+ "z": "1297170d.795181",
+ "wires": []
+ },
+ {
+ "id": "37760266.d3d3ae",
+ "type": "set",
+ "name": "unset tmp.the-connectivity.",
+ "xml": "<set>\n<parameter name='tmp.the-connectivity.' value=\"\" />\n<parameter name='rcvd-service-instance-id' value=\"\" />\n\n",
+ "comments": "",
+ "x": 1439.32861328125,
+ "y": 673.7000427246094,
+ "z": "1297170d.795181",
+ "wires": []
+ },
+ {
+ "id": "2fac2d00.57aa3c",
+ "type": "set",
+ "name": "unset tmp.aai.helper-all-connectivities",
+ "xml": "<set>\n<parameter name='tmp.aai.helper-all-connectivities.' value=\"\" />\n",
+ "comments": "",
+ "x": 1465.4452819824219,
+ "y": 725.8167114257812,
+ "z": "1297170d.795181",
+ "wires": []
+ },
+ {
+ "id": "42d1ed51.356a24",
+ "type": "save",
+ "name": "get all-connectivities from aai",
+ "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"connectivities\"\n\t key=\"selflink = 'https://aai.onap:8443/aai/v24/network/connectivities/'\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.helper-all-connectivities\" >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1444.32861328125,
+ "y": 795.7000122070312,
+ "z": "1297170d.795181",
+ "wires": [
+ [
+ "91d95ba7.5b6a5",
+ "66587b64.a556dc",
+ "f0329270.34fa9"
+ ]
+ ]
+ },
+ {
+ "id": "91d95ba7.5b6a5",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1688.32861328125,
+ "y": 755.7000122070312,
+ "z": "1297170d.795181",
+ "wires": [
+ [
+ "b46551be.df8e48"
+ ]
+ ]
+ },
+ {
+ "id": "66587b64.a556dc",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1685.819580078125,
+ "y": 805.2740478515625,
+ "z": "1297170d.795181",
+ "wires": [
+ [
+ "ec8cd128.829bb"
+ ]
+ ]
+ },
+ {
+ "id": "f0329270.34fa9",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1683.32861328125,
+ "y": 847.7000122070312,
+ "z": "1297170d.795181",
+ "wires": [
+ [
+ "544f09f5.696cc"
+ ]
+ ]
+ },
+ {
+ "id": "b46551be.df8e48",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 1836.32861328125,
+ "y": 756.7000122070312,
+ "z": "1297170d.795181",
+ "wires": [
+ [
+ "fc401d85.92bf5"
+ ]
+ ]
+ },
+ {
+ "id": "ec8cd128.829bb",
+ "type": "returnFailure",
+ "name": "return failure",
+ "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=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",
+ "comments": "",
+ "x": 1835.3909912109375,
+ "y": 805.5597839355469,
+ "z": "1297170d.795181",
+ "wires": []
+ },
+ {
+ "id": "544f09f5.696cc",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
+ "comments": "",
+ "x": 1834.32861328125,
+ "y": 844.7000122070312,
+ "z": "1297170d.795181",
+ "wires": []
+ },
+ {
+ "id": "fc401d85.92bf5",
+ "type": "for",
+ "name": "for helpconnidx in all-connectivities",
+ "xml": "<for index='helpconnidx' start='0' end='`$tmp.aai.helper-all-connectivities.connectivity_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2083.32861328125,
+ "y": 751.7000122070312,
+ "z": "1297170d.795181",
+ "wires": [
+ [
+ "a3100fb9.0a3768"
+ ]
+ ]
+ },
+ {
+ "id": "a3100fb9.0a3768",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1954.3285827636719,
+ "y": 928.7000122070312,
+ "z": "1297170d.795181",
+ "wires": [
+ [
+ "6c4f8450.a757d4",
+ "a5b08b75.86894"
+ ]
+ ]
+ },
+ {
+ "id": "6c4f8450.a757d4",
+ "type": "record",
+ "name": "record etht-svc-name",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"`$tmp.aai.helper-all-connectivities.connectivity[$helpconnidx].etht-svc-name`\"/>\n\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2191.445281982422,
+ "y": 868.8166809082031,
+ "z": "1297170d.795181",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a5b08b75.86894",
+ "type": "switchNode",
+ "name": "etht-svc-name == rcvd-etht-service-name",
+ "xml": "<switch test='`$tmp.aai.helper-all-connectivities.connectivity[$helpconnidx].etht-svc-name == $rcvd-etht-service-name`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2240.4453125,
+ "y": 938.816650390625,
+ "z": "1297170d.795181",
+ "wires": [
+ [
+ "4e31600b.c4823",
+ "edffa6bf.c5435"
+ ]
+ ]
+ },
+ {
+ "id": "4e31600b.c4823",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2508.4453125,
+ "y": 938.816650390625,
+ "z": "1297170d.795181",
+ "wires": [
+ [
+ "7cc358d8.409bd8"
+ ]
+ ]
+ },
+ {
+ "id": "edffa6bf.c5435",
+ "type": "outcomeFalse",
+ "name": "false",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2509.4453125,
+ "y": 870.816650390625,
+ "z": "1297170d.795181",
+ "wires": [
+ [
+ "2cc21558.382a3a"
+ ]
+ ]
+ },
+ {
+ "id": "7cc358d8.409bd8",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 2647.4453125,
+ "y": 939.816650390625,
+ "z": "1297170d.795181",
+ "wires": [
+ [
+ "4c07e718.df3c38"
+ ]
+ ]
+ },
+ {
+ "id": "2cc21558.382a3a",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 2641.4453125,
+ "y": 871.816650390625,
+ "z": "1297170d.795181",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "4c07e718.df3c38",
+ "type": "for",
+ "name": "for each relationship",
+ "xml": "<for silentFailure='true' index='cridx' start='0' end='`$tmp.aai.helper-all-connectivities.connectivity[$helpconnidx].relationship-list.relationship_length`' >\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2107.433349609375,
+ "y": 1079.36669921875,
+ "z": "1297170d.795181",
+ "wires": [
+ [
+ "30fe2155.4a5bfe"
+ ]
+ ]
+ },
+ {
+ "id": "30fe2155.4a5bfe",
+ "type": "switchNode",
+ "name": "switch related-to",
+ "xml": "<switch test='`$tmp.aai.helper-all-connectivities.connectivity[$helpconnidx].relationship-list.relationship[$cridx].related-to`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2312.433349609375,
+ "y": 1079.36669921875,
+ "z": "1297170d.795181",
+ "wires": [
+ [
+ "792670ef.d99f98"
+ ]
+ ]
+ },
+ {
+ "id": "792670ef.d99f98",
+ "type": "outcome",
+ "name": "service-instance",
+ "xml": "<outcome value='service-instance'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2098.433349609375,
+ "y": 1159.3666381835938,
+ "z": "1297170d.795181",
+ "wires": [
+ [
+ "ec346262.1c551"
+ ]
+ ]
+ },
+ {
+ "id": "ec346262.1c551",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 2292.433349609375,
+ "y": 1159.3666381835938,
+ "z": "1297170d.795181",
+ "wires": [
+ [
+ "ff9fc9aa.5404c",
+ "5e27e0e2.a6b098"
+ ]
+ ]
+ },
+ {
+ "id": "ff9fc9aa.5404c",
+ "type": "set",
+ "name": "set rcvd-service-instance-id",
+ "xml": "<set>\n<parameter name='rcvd-service-instance-id' value=\"`$tmp.aai.helper-all-connectivities.connectivity[$helpconnidx].relationship-list.relationship[$cridx].relationship-data[2].relationship-value`\" />\n",
+ "comments": "",
+ "x": 2536.433349609375,
+ "y": 1159.7664794921875,
+ "z": "1297170d.795181",
+ "wires": []
+ },
+ {
+ "id": "5e27e0e2.a6b098",
+ "type": "break",
+ "name": "break",
+ "xml": "<break>\n",
+ "comments": "",
+ "x": 2478.566650390625,
+ "y": 1217.566650390625,
+ "z": "1297170d.795181",
+ "wires": []
+ },
+ {
+ "id": "885bab91.42dd48",
+ "type": "save",
+ "name": "get metadatum from aai",
+ "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"metadatum\"\n\tkey=\"service-instance.service-instance-id = $rcvd-service-instance-id\n AND customer.global-customer-id = 'IBNCustomer' \n AND service-subscription.service-type = 'IBN'\n AND metadatum.metaname = $rcvd-etht-svc-end-point\"\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.service-instance.metadatum\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1396.566650390625,
+ "y": 1345.7666015625,
+ "z": "1297170d.795181",
+ "wires": [
+ [
+ "f3457bba.eedaa",
+ "a05f96d7.2fad8",
+ "9091c907.baaed8"
+ ]
+ ]
+ },
+ {
+ "id": "f3457bba.eedaa",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1441.566650390625,
+ "y": 1265.7666015625,
+ "z": "1297170d.795181",
+ "wires": [
+ [
+ "cdad1618.9a3e28"
+ ]
+ ]
+ },
+ {
+ "id": "a05f96d7.2fad8",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1600.0576171875,
+ "y": 1330.340576171875,
+ "z": "1297170d.795181",
+ "wires": [
+ [
+ "5dcd64be.8c4a84"
+ ]
+ ]
+ },
+ {
+ "id": "9091c907.baaed8",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1597.566650390625,
+ "y": 1372.7666015625,
+ "z": "1297170d.795181",
+ "wires": [
+ [
+ "6bbde9c8.acec98"
+ ]
+ ]
+ },
+ {
+ "id": "55675509.568934",
+ "type": "switchNode",
+ "name": "switch metadatum.metaval == null",
+ "xml": "<switch test=\"`length($tmp.aai.service-instance.metadatum.metaval) == 0`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1804.566650390625,
+ "y": 1282.36669921875,
+ "z": "1297170d.795181",
+ "wires": [
+ [
+ "953fe683.244f4",
+ "2d96a9.89c58158"
+ ]
+ ]
+ },
+ {
+ "id": "953fe683.244f4",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2015.566650390625,
+ "y": 1282.36669921875,
+ "z": "1297170d.795181",
+ "wires": [
+ [
+ "c9532733.72bdb"
+ ]
+ ]
+ },
+ {
+ "id": "c9532733.72bdb",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 2154.566650390625,
+ "y": 1283.36669921875,
+ "z": "1297170d.795181",
+ "wires": [
+ [
+ "d89dc0f.27948c",
+ "56d21a80.90cca4",
+ "82529f4f.027098"
+ ]
+ ]
+ },
+ {
+ "id": "754e20ae.34eb5",
+ "type": "set",
+ "name": "unset tmp.metavalue parameters",
+ "xml": "<set>\n<parameter name='tmp.metavalue' value='' />\n",
+ "comments": "",
+ "x": 1421.566650390625,
+ "y": 1183.36669921875,
+ "z": "1297170d.795181",
+ "wires": []
+ },
+ {
+ "id": "d89dc0f.27948c",
+ "type": "set",
+ "name": "set tmp.metavalue initial value",
+ "xml": "<set>\n<parameter name='tmp.metavalue' value='2000000' />\n",
+ "comments": "",
+ "x": 2371.566650390625,
+ "y": 1283.36669921875,
+ "z": "1297170d.795181",
+ "wires": []
+ },
+ {
+ "id": "2d96a9.89c58158",
+ "type": "outcomeTrue",
+ "name": "false",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1995.5667724609375,
+ "y": 1551.3667602539062,
+ "z": "1297170d.795181",
+ "wires": [
+ [
+ "e72bfb1a.57d1f8"
+ ]
+ ]
+ },
+ {
+ "id": "e72bfb1a.57d1f8",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 2128.5670166015625,
+ "y": 1551.3667602539062,
+ "z": "1297170d.795181",
+ "wires": [
+ [
+ "41de4c18.37870c",
+ "194bf97a.eaa36f",
+ "adfbd81e.574f1"
+ ]
+ ]
+ },
+ {
+ "id": "41de4c18.37870c",
+ "type": "set",
+ "name": "set tmp.metavalue",
+ "xml": "<set>\n<parameter name='tmp.metavalue' value='`$tmp.aai.service-instance.metadatum.metaval + 500000`' />\n",
+ "comments": "",
+ "x": 2323.5670166015625,
+ "y": 1496.36669921875,
+ "z": "1297170d.795181",
+ "wires": []
+ },
+ {
+ "id": "56d21a80.90cca4",
+ "type": "record",
+ "name": "record tmp.metavalue",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"`$tmp.metavalue`\"/>\n\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2343.566650390625,
+ "y": 1330.9666748046875,
+ "z": "1297170d.795181",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "194bf97a.eaa36f",
+ "type": "record",
+ "name": "record tmp.metavalue",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"`$tmp.metavalue`\"/>\n\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2333.600341796875,
+ "y": 1548.1668701171875,
+ "z": "1297170d.795181",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "82529f4f.027098",
+ "type": "save",
+ "name": "save:metadata to AAI",
+ "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource=\"service-instance:metadata\"\n key=\"service-instance.service-instance-id = $rcvd-service-instance-id\n AND customer.global-customer-id = 'IBNCustomer' \n AND service-subscription.service-type = 'IBN'\" force=\"true\" pfx=\"tmp.AnAI-data\">\n <parameter name=\"metadata.metadatum[0].metaname\" value=\"`$rcvd-etht-svc-end-point`\" />\n <parameter name=\"metadata.metadatum[0].metaval\" value=\"`$tmp.metavalue`\" />\n\n \n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2351.60009765625,
+ "y": 1381.166748046875,
+ "z": "1297170d.795181",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "adfbd81e.574f1",
+ "type": "save",
+ "name": "update:metadata to AAI",
+ "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource=\"service-instance\"\n key=\"service-instance.service-instance-id = $rcvd-service-instance-id\n AND customer.global-customer-id = 'IBNCustomer' \n AND service-subscription.service-type = 'IBN'\n AND metadatum.metaname = $rcvd-etht-svc-end-point\" force=\"true\" pfx=\"tmp.AnAI-data\">\n <parameter name=\"metaname\" value=\"`$rcvd-etht-svc-end-point`\" />\n <parameter name=\"metaval\" value=\"`$tmp.metavalue`\" />\n\n \n<!--AND metadatum.metaname = $rcvd-etht-svc-end-point-->\n\n<!--<parameter name=\"metadata.metadatum[0].metaname\" value=\"`$rcvd-etht-svc-end-point`\" />-->\n<!-- <parameter name=\"metadata.metadatum[0].metaval\" value=\"`$rcvd-bandwidth-value`\" />-->",
+ "comments": "",
+ "outputs": 1,
+ "x": 2335.6002197265625,
+ "y": 1617.166748046875,
+ "z": "1297170d.795181",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "5dcd64be.8c4a84",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 2162,
+ "y": 1815.7667236328125,
+ "z": "1297170d.795181",
+ "wires": [
+ [
+ "cb2e10fc.e4ef48",
+ "8e3d62dc.9e0f88",
+ "46872528.f533dc"
+ ]
+ ]
+ },
+ {
+ "id": "cb2e10fc.e4ef48",
+ "type": "set",
+ "name": "set tmp.metavalue initial value",
+ "xml": "<set>\n<parameter name='tmp.metavalue' value='2000000' />\n",
+ "comments": "",
+ "x": 2379,
+ "y": 1815.7667236328125,
+ "z": "1297170d.795181",
+ "wires": []
+ },
+ {
+ "id": "8e3d62dc.9e0f88",
+ "type": "record",
+ "name": "record tmp.metavalue",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"`$tmp.metavalue`\"/>\n\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2351,
+ "y": 1863.36669921875,
+ "z": "1297170d.795181",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "46872528.f533dc",
+ "type": "save",
+ "name": "save:metadata to AAI",
+ "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource=\"service-instance:metadata\"\n key=\"service-instance.service-instance-id = $rcvd-service-instance-id\n AND customer.global-customer-id = 'IBNCustomer' \n AND service-subscription.service-type = 'IBN'\" force=\"true\" pfx=\"tmp.AnAI-data\">\n <parameter name=\"metadata.metadatum[0].metaname\" value=\"`$rcvd-etht-svc-end-point`\" />\n <parameter name=\"metadata.metadatum[0].metaval\" value=\"`$tmp.metavalue`\" />\n\n \n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2359.033447265625,
+ "y": 1913.5667724609375,
+ "z": "1297170d.795181",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "6bbde9c8.acec98",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 2179,
+ "y": 2018.7667236328125,
+ "z": "1297170d.795181",
+ "wires": [
+ [
+ "b9300e96.1857d8",
+ "5870b980.decd2",
+ "93cd30c0.6be678"
+ ]
+ ]
+ },
+ {
+ "id": "b9300e96.1857d8",
+ "type": "set",
+ "name": "set tmp.metavalue initial value",
+ "xml": "<set>\n<parameter name='tmp.metavalue' value='2000000' />\n",
+ "comments": "",
+ "x": 2396,
+ "y": 2018.7667236328125,
+ "z": "1297170d.795181",
+ "wires": []
+ },
+ {
+ "id": "5870b980.decd2",
+ "type": "record",
+ "name": "record tmp.metavalue",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"`$tmp.metavalue`\"/>\n\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2368,
+ "y": 2066.36669921875,
+ "z": "1297170d.795181",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "93cd30c0.6be678",
+ "type": "save",
+ "name": "save:metadata to AAI",
+ "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource=\"service-instance:metadata\"\n key=\"service-instance.service-instance-id = $rcvd-service-instance-id\n AND customer.global-customer-id = 'IBNCustomer' \n AND service-subscription.service-type = 'IBN'\" force=\"true\" pfx=\"tmp.AnAI-data\">\n <parameter name=\"metadata.metadatum[0].metaname\" value=\"`$rcvd-etht-svc-end-point`\" />\n <parameter name=\"metadata.metadatum[0].metaval\" value=\"`$tmp.metavalue`\" />\n\n \n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2376.033447265625,
+ "y": 2116.5667724609375,
+ "z": "1297170d.795181",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "1c76f23b.e9a096",
+ "type": "record",
+ "name": "record tmp.metavalue",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"`$tmp.aai.service-instance.metadatum.metaval`\"/>\n\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1783.0999755859375,
+ "y": 1229.566650390625,
+ "z": "1297170d.795181",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "cdad1618.9a3e28",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1585.0999755859375,
+ "y": 1262.566650390625,
+ "z": "1297170d.795181",
+ "wires": [
+ [
+ "1c76f23b.e9a096",
+ "55675509.568934"
+ ]
+ ]
}
] \ No newline at end of file