summaryrefslogtreecommitdiffstats
path: root/platform-logic/generic-resource-api/src/main/json/cloud_leased_line/GENERIC-RESOURCE-API_cll-vnf-topology-operation-cll-callbackdg-notification.json
diff options
context:
space:
mode:
Diffstat (limited to 'platform-logic/generic-resource-api/src/main/json/cloud_leased_line/GENERIC-RESOURCE-API_cll-vnf-topology-operation-cll-callbackdg-notification.json')
-rw-r--r--platform-logic/generic-resource-api/src/main/json/cloud_leased_line/GENERIC-RESOURCE-API_cll-vnf-topology-operation-cll-callbackdg-notification.json177
1 files changed, 113 insertions, 64 deletions
diff --git a/platform-logic/generic-resource-api/src/main/json/cloud_leased_line/GENERIC-RESOURCE-API_cll-vnf-topology-operation-cll-callbackdg-notification.json b/platform-logic/generic-resource-api/src/main/json/cloud_leased_line/GENERIC-RESOURCE-API_cll-vnf-topology-operation-cll-callbackdg-notification.json
index 8897cd2b..a670133a 100644
--- a/platform-logic/generic-resource-api/src/main/json/cloud_leased_line/GENERIC-RESOURCE-API_cll-vnf-topology-operation-cll-callbackdg-notification.json
+++ b/platform-logic/generic-resource-api/src/main/json/cloud_leased_line/GENERIC-RESOURCE-API_cll-vnf-topology-operation-cll-callbackdg-notification.json
@@ -1,20 +1,20 @@
[
{
- "id": "e4aeb52e.202cc8",
+ "id": "8a5b20c9.2d6958",
"type": "dgstart",
"name": "DGSTART",
"outputs": 1,
- "x": 204.56666564941406,
- "y": 120,
- "z": "bdffb6ef.b80cc8",
+ "x": 261.566650390625,
+ "y": 139.56666564941406,
+ "z": "2d18ff94.88c5f",
"wires": [
[
- "9feb921c.82a788"
+ "bdb245f1.4da368"
]
]
},
{
- "id": "9feb921c.82a788",
+ "id": "bdb245f1.4da368",
"type": "service-logic",
"name": "GENERIC-RESOURCE-API 777",
"module": "GENERIC-RESOURCE-API",
@@ -22,169 +22,218 @@
"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='777'>",
"outputs": 1,
- "x": 488.85235595703125,
- "y": 181.23810863494873,
- "z": "bdffb6ef.b80cc8",
+ "x": 545.8523406982422,
+ "y": 200.8047742843628,
+ "z": "2d18ff94.88c5f",
"wires": [
[
- "6348e040.131e2"
+ "4eb0b947.e83b78"
]
]
},
{
- "id": "6348e040.131e2",
+ "id": "4eb0b947.e83b78",
"type": "method",
"name": "method cll-vnf-topology-operation-cll-callbackdg-notification",
"xml": "<method rpc='cll-vnf-topology-operation-cll-callbackdg-notification' mode='sync'>\n",
"comments": "",
"outputs": 1,
- "x": 475.99525451660156,
- "y": 257.0000305175781,
- "z": "bdffb6ef.b80cc8",
+ "x": 532.9952392578125,
+ "y": 276.5666961669922,
+ "z": "2d18ff94.88c5f",
"wires": [
[
- "afa43904.62cb1"
+ "416b6213.27c614"
]
]
},
{
- "id": "afa43904.62cb1",
+ "id": "96fcdbbe.b24fe",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 804.8047027587891,
- "y": 257.66668701171875,
- "z": "bdffb6ef.b80cc8",
+ "x": 1120.8046875,
+ "y": 501.23333740234375,
+ "z": "2d18ff94.88c5f",
"wires": [
[
- "b180367c.1f9198",
- "7ef57ba6.1f727c",
- "c42a69a0.a4eb7",
- "5786b926.3906a8",
- "b1e4d5b8.551e78",
- "38d39329.9d1d2c",
- "25fc0d1d.85e28a",
- "93ceb81d.d133c"
+ "fe25bf06.e1202",
+ "e39f74e0.3b6dd",
+ "621e169.bbf1768",
+ "ff3bf0b0.2c575",
+ "bbfd60be.b270e",
+ "5d29e3cc.fdd34c"
]
]
},
{
- "id": "b180367c.1f9198",
+ "id": "b5bac117.85774",
"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": 1055.566665649414,
- "y": 258,
- "z": "bdffb6ef.b80cc8",
+ "x": 1112.566650390625,
+ "y": 277.56666564941406,
+ "z": "2d18ff94.88c5f",
"wires": [
[]
]
},
{
- "id": "7ef57ba6.1f727c",
+ "id": "fe25bf06.e1202",
"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`' />",
"comments": "",
- "x": 1083.5667266845703,
- "y": 431,
- "z": "bdffb6ef.b80cc8",
+ "x": 1441.566650390625,
+ "y": 459.566650390625,
+ "z": "2d18ff94.88c5f",
"wires": []
},
{
- "id": "93ceb81d.d133c",
+ "id": "d60d98ea.d791b8",
"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": 1019.5667266845703,
- "y": 202,
- "z": "bdffb6ef.b80cc8",
+ "x": 1076.5667114257812,
+ "y": 221.56666564941406,
+ "z": "2d18ff94.88c5f",
"wires": [
[]
]
},
{
- "id": "c42a69a0.a4eb7",
+ "id": "5d29e3cc.fdd34c",
"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 = $network-topology-operation-input.service-information.service-id -->\n<!--\tAND customer.global-customer-id = $network-topology-operation-input.service-information.global-customer-id-->\n<!--\t AND service-subscription.service-type = $network-topology-operation-input.service-information.subscription-service-type-->\n<!--\t AND service-instance.service-instance-id = $rcvd-service-instance-id\" force=\"true\" pfx=\"tmp.AnAI-data\">-->\n\n<!--<save plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" resource=\"service-instance:metadata\"-->\n<!-- key=\"service-instance.service-instance-id = $rcvd-service-instance-id\" 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<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 = '5GCustomer' \n AND service-subscription.service-type = '5G'\" 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 \n ",
+ "xml": "<update 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": 1040.5667266845703,
- "y": 494,
- "z": "bdffb6ef.b80cc8",
+ "x": 1398.566650390625,
+ "y": 522.566650390625,
+ "z": "2d18ff94.88c5f",
"wires": [
[]
]
},
{
- "id": "38d39329.9d1d2c",
+ "id": "ff3bf0b0.2c575",
"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",
"comments": "",
- "x": 1019.5667266845703,
- "y": 740.9999694824219,
- "z": "bdffb6ef.b80cc8",
+ "x": 1377.566650390625,
+ "y": 769.5666198730469,
+ "z": "2d18ff94.88c5f",
"wires": []
},
{
- "id": "25fc0d1d.85e28a",
+ "id": "bbfd60be.b270e",
"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.cll-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": 1077.5667266845703,
- "y": 783.9999694824219,
- "z": "bdffb6ef.b80cc8",
+ "x": 1435.566650390625,
+ "y": 812.5666198730469,
+ "z": "2d18ff94.88c5f",
"wires": [
[]
]
},
{
- "id": "5786b926.3906a8",
+ "id": "e39f74e0.3b6dd",
"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": 1081.5667266845703,
- "y": 648.9999694824219,
- "z": "bdffb6ef.b80cc8",
+ "x": 1439.566650390625,
+ "y": 677.5666198730469,
+ "z": "2d18ff94.88c5f",
"wires": [
[]
]
},
{
- "id": "b1e4d5b8.551e78",
+ "id": "621e169.bbf1768",
"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": 1094.5667266845703,
- "y": 690.9999694824219,
- "z": "bdffb6ef.b80cc8",
+ "x": 1452.566650390625,
+ "y": 719.5666198730469,
+ "z": "2d18ff94.88c5f",
"wires": [
[]
]
},
{
- "id": "2ee5d5bb.37a0e2",
+ "id": "b2f5ba8c.666eb8",
"type": "comment",
"name": "Calling VES and passing notification parameters",
"info": "",
"comments": "",
- "x": 1108.5667266845703,
- "y": 593.9999694824219,
- "z": "bdffb6ef.b80cc8",
+ "x": 1466.566650390625,
+ "y": 622.5666198730469,
+ "z": "2d18ff94.88c5f",
"wires": []
+ },
+ {
+ "id": "6d59e09e.bb9828",
+ "type": "switchNode",
+ "name": "switch change type == upadte",
+ "xml": "<switch test=\"`$push-change-update.datastore-changes.type == 'update' `\">\n\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1137.566650390625,
+ "y": 352.566650390625,
+ "z": "2d18ff94.88c5f",
+ "wires": [
+ [
+ "967e790f.f55248"
+ ]
+ ]
+ },
+ {
+ "id": "967e790f.f55248",
+ "type": "outcome",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1352.566650390625,
+ "y": 350.566650390625,
+ "z": "2d18ff94.88c5f",
+ "wires": [
+ [
+ "96fcdbbe.b24fe"
+ ]
+ ]
+ },
+ {
+ "id": "416b6213.27c614",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 867.566650390625,
+ "y": 277.566650390625,
+ "z": "2d18ff94.88c5f",
+ "wires": [
+ [
+ "d60d98ea.d791b8",
+ "b5bac117.85774",
+ "6d59e09e.bb9828"
+ ]
+ ]
}
] \ No newline at end of file