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.json254
1 files changed, 254 insertions, 0 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
new file mode 100644
index 00000000..e2d91c00
--- /dev/null
+++ b/platform-logic/generic-resource-api/src/main/json/p2p_eline/GENERIC-RESOURCE-API_p2p-vnf-topology-operation-p2p-callbackdg-notification.json
@@ -0,0 +1,254 @@
+[
+ {
+ "id": "146661fc.5f1716",
+ "type": "dgstart",
+ "name": "DGSTART",
+ "outputs": 1,
+ "x": 231.3333282470703,
+ "y": 168.33334350585938,
+ "z": "b7370f57.e5898",
+ "wires": [
+ [
+ "86a2b61b.9e561"
+ ]
+ ]
+ },
+ {
+ "id": "86a2b61b.9e561",
+ "type": "service-logic",
+ "name": "GENERIC-RESOURCE-API 888",
+ "module": "GENERIC-RESOURCE-API",
+ "version": "888",
+ "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": 515.6190185546875,
+ "y": 229.5714521408081,
+ "z": "b7370f57.e5898",
+ "wires": [
+ [
+ "75333460.3692e4"
+ ]
+ ]
+ },
+ {
+ "id": "75333460.3692e4",
+ "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": 502.7619171142578,
+ "y": 305.3333740234375,
+ "z": "b7370f57.e5898",
+ "wires": [
+ [
+ "a3ba9640.ce2a68"
+ ]
+ ]
+ },
+ {
+ "id": "3fe77da.9239682",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 1090.5713653564453,
+ "y": 530.0000152587891,
+ "z": "b7370f57.e5898",
+ "wires": [
+ [
+ "431c42fb.f6e204",
+ "3460fdb3.e8d272",
+ "730e4c82.49807c",
+ "c0f75bcd.e70238",
+ "11c77827.79f3f8",
+ "467dc2f0.3c1dec",
+ "cea32b3b.64c058"
+ ]
+ ]
+ },
+ {
+ "id": "5ebdcbc8.001434",
+ "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": 1082.3333282470703,
+ "y": 306.3333435058594,
+ "z": "b7370f57.e5898",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "431c42fb.f6e204",
+ "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": 1411.3333282470703,
+ "y": 488.3333282470703,
+ "z": "b7370f57.e5898",
+ "wires": []
+ },
+ {
+ "id": "a593f0c.3d3a59",
+ "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": 1046.3333892822266,
+ "y": 250.33334350585938,
+ "z": "b7370f57.e5898",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "467dc2f0.3c1dec",
+ "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": 1349.3333129882812,
+ "y": 698.3333282470703,
+ "z": "b7370f57.e5898",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "c0f75bcd.e70238",
+ "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": 1340.3333129882812,
+ "y": 1026.3332977294922,
+ "z": "b7370f57.e5898",
+ "wires": []
+ },
+ {
+ "id": "11c77827.79f3f8",
+ "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": 1398.3333129882812,
+ "y": 1069.3332977294922,
+ "z": "b7370f57.e5898",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "3460fdb3.e8d272",
+ "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": 1402.3333129882812,
+ "y": 934.3332977294922,
+ "z": "b7370f57.e5898",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "730e4c82.49807c",
+ "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": 1415.3333129882812,
+ "y": 976.3332977294922,
+ "z": "b7370f57.e5898",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "65d0a166.302088",
+ "type": "comment",
+ "name": "Calling VES and passing notification parameters",
+ "info": "",
+ "comments": "",
+ "x": 1429.3333129882812,
+ "y": 879.3332977294922,
+ "z": "b7370f57.e5898",
+ "wires": []
+ },
+ {
+ "id": "349d4c54.f7933c",
+ "type": "switchNode",
+ "name": "switch change type == upadte",
+ "xml": "<switch test=\"`$push-change-update.datastore-changes.type == 'update' `\">\n\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1107.3333282470703,
+ "y": 381.3333282470703,
+ "z": "b7370f57.e5898",
+ "wires": [
+ [
+ "fb0217.09e69de8"
+ ]
+ ]
+ },
+ {
+ "id": "fb0217.09e69de8",
+ "type": "outcome",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1322.3333282470703,
+ "y": 379.3333282470703,
+ "z": "b7370f57.e5898",
+ "wires": [
+ [
+ "3fe77da.9239682"
+ ]
+ ]
+ },
+ {
+ "id": "a3ba9640.ce2a68",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 837.3333282470703,
+ "y": 306.3333282470703,
+ "z": "b7370f57.e5898",
+ "wires": [
+ [
+ "a593f0c.3d3a59",
+ "5ebdcbc8.001434",
+ "349d4c54.f7933c"
+ ]
+ ]
+ },
+ {
+ "id": "cea32b3b.64c058",
+ "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": 1358.3333129882812,
+ "y": 753.3333282470703,
+ "z": "b7370f57.e5898",
+ "wires": [
+ []
+ ]
+ }
+] \ No newline at end of file