diff options
author | 2020-03-02 06:35:43 +0000 | |
---|---|---|
committer | 2020-03-02 06:36:45 +0000 | |
commit | bea938e72991786e13566d9df66b24a102442495 (patch) | |
tree | b10b02e28b4dc9a01e624f234588158381f2b426 /platform-logic/optical-service/src/main/json/optical-service_success-aai-update-tapi.json | |
parent | 329b7c6477ec677507b0de33a053f887526b3d84 (diff) |
DG'S added for MDONS use case
Change-Id: Ie9570b9be519e54d43b547bcfbffc16d12b16123
Issue-ID: SDNC-928
Signed-off-by: Mehreen Kaleem <mehreen.kaleem@us.fujitsu.com>
Former-commit-id: 6493900ed7a55ff00b2f31f8802f30f54bf335ae
Diffstat (limited to 'platform-logic/optical-service/src/main/json/optical-service_success-aai-update-tapi.json')
-rw-r--r-- | platform-logic/optical-service/src/main/json/optical-service_success-aai-update-tapi.json | 156 |
1 files changed, 156 insertions, 0 deletions
diff --git a/platform-logic/optical-service/src/main/json/optical-service_success-aai-update-tapi.json b/platform-logic/optical-service/src/main/json/optical-service_success-aai-update-tapi.json new file mode 100644 index 00000000..497a75c8 --- /dev/null +++ b/platform-logic/optical-service/src/main/json/optical-service_success-aai-update-tapi.json @@ -0,0 +1,156 @@ +[
+ {
+ "id": "257d2596.c5ecca",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 571,
+ "y": 662,
+ "z": "2ef02d36.ca2f92",
+ "wires": [
+ [
+ "5432b538.633ffc",
+ "7695aa94.c622d4",
+ "ebe3ff74.b36dd"
+ ]
+ ]
+ },
+ {
+ "id": "1cc69ab0.52e865",
+ "type": "dgstart",
+ "name": "DGSTART",
+ "outputs": 1,
+ "x": 101.5,
+ "y": 597,
+ "z": "2ef02d36.ca2f92",
+ "wires": [
+ [
+ "d088abd2.9587b8"
+ ]
+ ]
+ },
+ {
+ "id": "d088abd2.9587b8",
+ "type": "service-logic",
+ "name": "optical-service ${project.version}",
+ "module": "optical-service",
+ "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='optical-service' version='${project.version}'>",
+ "outputs": 1,
+ "x": 249.5,
+ "y": 654,
+ "z": "2ef02d36.ca2f92",
+ "wires": [
+ [
+ "ddbd4624.086548"
+ ]
+ ]
+ },
+ {
+ "id": "ddbd4624.086548",
+ "type": "method",
+ "name": "method success-aai-update-tapi",
+ "xml": "<method rpc='success-aai-update-tapi' mode='sync'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 439.5,
+ "y": 589,
+ "z": "2ef02d36.ca2f92",
+ "wires": [
+ [
+ "257d2596.c5ecca"
+ ]
+ ]
+ },
+ {
+ "id": "5432b538.633ffc",
+ "type": "save",
+ "name": "save",
+ "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n key='customer.global-customer-id = $optical-service-create-input.global-customer-id AND\n service-subscription.service-type = $optical-service-create-input.service-type AND\n service-instance.service-instance-id = $optical-service-create-input.service-id' force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"p-interface\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/pnfs/pnf/' + $aend-node-uuid + '/p-interfaces/p-interface/' + $aend-nep `\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"pnf.pnf-name\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$aend-node-uuid`\" /> \n<parameter name=\"relationship-list.relationship[1].related-to\" value=\"p-interface\" />\n<parameter name=\"relationship-list.relationship[1].related-link\" value=\"`'/network/pnfs/pnf/' + $zend-node-uuid + '/p-interfaces/p-interface/' + $zend-nep `\" />\n<parameter name=\"relationship-list.relationship[1].relationship-data[0].relationship-key\" value=\"pnf.pnf-name\" />\n<parameter name=\"relationship-list.relationship[1].relationship-data[0].relationship-value\" value=\"`$zend-node-uuid`\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 729,
+ "y": 607,
+ "z": "2ef02d36.ca2f92",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "7695aa94.c622d4",
+ "type": "get-resource",
+ "name": "Get service from AAI",
+ "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\"\nresource=\"service-instance\"\nkey='customer.global-customer-id = $optical-service-create-input.global-customer-id AND\n service-subscription.service-type = $optical-service-create-input.service-type AND\n service-instance.service-instance-id = $optical-service-create-input.service-id' \npfx='aai.service' local-only='false'>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 788,
+ "y": 661,
+ "z": "2ef02d36.ca2f92",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "ebe3ff74.b36dd",
+ "type": "for",
+ "name": "for",
+ "xml": "<for index='idy' start='0' end='`$aai.service.relationship-list.relationship_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 700,
+ "y": 733,
+ "z": "2ef02d36.ca2f92",
+ "wires": [
+ [
+ "50909009.4a074"
+ ]
+ ]
+ },
+ {
+ "id": "50909009.4a074",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 847,
+ "y": 733,
+ "z": "2ef02d36.ca2f92",
+ "wires": [
+ [
+ "65d0b7bd.e13a18",
+ "9f8f4fb.cc3cbb"
+ ]
+ ]
+ },
+ {
+ "id": "65d0b7bd.e13a18",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n<parameter name='pnf-name' value='`$aai.service.relationship-list.relationship[$idx].relationship-data[0].relationship-value`' />\n<parameter name='pinterface-name' value='`$aai.service.relationship-list.relationship[$idx].relationship-data[1].relationship-value`' />\n\n",
+ "comments": "",
+ "x": 991,
+ "y": 637,
+ "z": "2ef02d36.ca2f92",
+ "wires": []
+ },
+ {
+ "id": "9f8f4fb.cc3cbb",
+ "type": "call",
+ "name": "call call-bandwidth-update-pinterface",
+ "xml": "<call module='optical-service' rpc='call-bandwidth-update-pinterface' mode='sync' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1127,
+ "y": 732,
+ "z": "2ef02d36.ca2f92",
+ "wires": [
+ []
+ ]
+ }
+]
\ No newline at end of file |