summaryrefslogtreecommitdiffstats
path: root/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Appc-API/Appc-API_update-vserver-info.json
diff options
context:
space:
mode:
Diffstat (limited to 'appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Appc-API/Appc-API_update-vserver-info.json')
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Appc-API/Appc-API_update-vserver-info.json595
1 files changed, 594 insertions, 1 deletions
diff --git a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Appc-API/Appc-API_update-vserver-info.json b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Appc-API/Appc-API_update-vserver-info.json
index bc1d49d66..1a4be0056 100644
--- a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Appc-API/Appc-API_update-vserver-info.json
+++ b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Appc-API/Appc-API_update-vserver-info.json
@@ -1 +1,594 @@
-[{"id":"fb57c265.1ba01","type":"dgstart","name":"DGSTART","outputs":1,"x":219,"y":54,"z":"7ec136e2.e63208","wires":[["185188b4.36cb77"]]},{"id":"185188b4.36cb77","type":"service-logic","name":"Appc-API 4.0.0","module":"Appc-API","version":"4.0.0","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='Appc-API' version='4.0.0'>","outputs":1,"x":390,"y":52,"z":"7ec136e2.e63208","wires":[["d3b34772.6e59f8"]]},{"id":"d3b34772.6e59f8","type":"method","name":"method update-vserver-info","xml":"<method rpc='update-vserver-info' mode='sync'>\n","comments":"","outputs":1,"x":618,"y":54,"z":"7ec136e2.e63208","wires":[["531cec36.49f504"]]},{"id":"531cec36.49f504","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":208,"y":108,"z":"7ec136e2.e63208","wires":[["875b1407.c421d8","41c061d8.a53ca","73a4109.f924ef"]]},{"id":"875b1407.c421d8","type":"set","name":"set listlen=0","xml":"<set>\n<parameter name='listlen' value='0' />\n","comments":"","x":386,"y":110,"z":"7ec136e2.e63208","wires":[]},{"id":"41c061d8.a53ca","type":"switchNode","name":"switch: relationship length","xml":"<switch test=\"`$tmp.aai-data-vnf.relationship-list.relationship_length`\">","comments":"","outputs":1,"x":240,"y":182,"z":"7ec136e2.e63208","wires":[["abcca544.fa55e8","4d4625e4.11b96c"]]},{"id":"4d4625e4.11b96c","type":"other","name":"Other","xml":"<outcome value=\"Other\">","comments":"","outputs":1,"x":441,"y":263,"z":"7ec136e2.e63208","wires":[["782291d7.96aa1"]]},{"id":"abcca544.fa55e8","type":"outcome","name":"NULL","xml":"<outcome value=\"\">","comments":"","outputs":1,"x":448,"y":181,"z":"7ec136e2.e63208","wires":[["53fc41ee.f2a9f"]]},{"id":"53fc41ee.f2a9f","type":"block","name":"block","xml":"<block>","atomic":"false","comments":"","outputs":1,"x":584,"y":180,"z":"7ec136e2.e63208","wires":[["f7e3690.45d8a98"]]},{"id":"4d016af.3128194","type":"for","name":"for: ...relationship[]","xml":"<for atomic=\"true\" index=\"i\" start=\"0\" end=\"`$tmp.aai-data-vnf.relationship-list.relationship_length`\" >","comments":"","outputs":1,"x":779,"y":269,"z":"7ec136e2.e63208","wires":[["1a71448.22d60bc"]]},{"id":"9b3225cd.90bf18","type":"switchNode","name":"switch: ...related-to","xml":"<switch test=\"`$tmp.aai-data-vnf.relationship-list.relationship[$i].related-to`\">","comments":"","outputs":1,"x":651,"y":343,"z":"7ec136e2.e63208","wires":[["df84265d.f084a8"]]},{"id":"df84265d.f084a8","type":"outcome","name":"vserver","xml":"<outcome value=\"vserver\">","comments":"","outputs":1,"x":376,"y":433,"z":"7ec136e2.e63208","wires":[["53e2f95c.eafab8"]]},{"id":"96f6935c.60847","type":"for","name":"for: ...relationship-data[]","xml":"<for atomic=\"true\" index=\"j\" start=\"0\" end=\"`$tmp.aai-data-vnf.relationship-list.relationship[$i].relationship-data_length`\" >","comments":"","outputs":1,"x":774,"y":429,"z":"7ec136e2.e63208","wires":[["f4ad596a.fd0f58"]]},{"id":"7255506e.be107","type":"switchNode","name":"switch: ...relationship-key","xml":"<switch test=\"`$tmp.aai-data-vnf.relationship-list.relationship[$i].relationship-data[$j].relationship-key`\">","comments":"","outputs":1,"x":1281,"y":406,"z":"7ec136e2.e63208","wires":[["93748d51.43dc5","d91de34.d004d2","8770a1e7.506fc","205912c3.6a437e"]]},{"id":"93748d51.43dc5","type":"outcome","name":"vserver-id","xml":"<outcome value=\"vserver.vserver-id\">","comments":"","outputs":1,"x":1515.5,"y":340,"z":"7ec136e2.e63208","wires":[["a9a68c63.9d993"]]},{"id":"d91de34.d004d2","type":"outcome","name":"tenant-id","xml":"<outcome value=\"tenant.tenant-id\">","comments":"","outputs":1,"x":1509,"y":413,"z":"7ec136e2.e63208","wires":[["bcb84af7.25e408"]]},{"id":"8770a1e7.506fc","type":"outcome","name":"cloud-owner","xml":"<outcome value=\"cloud-region.cloud-owner\">","comments":"","outputs":1,"x":1518,"y":502,"z":"7ec136e2.e63208","wires":[["b647ebc2.e53768"]]},{"id":"205912c3.6a437e","type":"outcome","name":"cloud-region-id","xml":"<outcome value=\"cloud-region.cloud-region-id\">","comments":"","outputs":1,"x":1518,"y":591,"z":"7ec136e2.e63208","wires":[["14d7bb26.c3cfd5"]]},{"id":"a9a68c63.9d993","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":1698,"y":339,"z":"7ec136e2.e63208","wires":[["699f0edf.474f4"]]},{"id":"bcb84af7.25e408","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":1699,"y":413,"z":"7ec136e2.e63208","wires":[["cb69969f.96fd98"]]},{"id":"b647ebc2.e53768","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":1711,"y":503,"z":"7ec136e2.e63208","wires":[["1fc1517e.50999f"]]},{"id":"14d7bb26.c3cfd5","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":1719,"y":582,"z":"7ec136e2.e63208","wires":[["c95c710e.e3083"]]},{"id":"699f0edf.474f4","type":"set","name":"set vserverid","xml":"<set>\n<parameter name=\"aaiinfo[$listlen].vserverid\" value=\"`$tmp.aai-data-vnf.relationship-list.relationship[$i].relationship-data[$j].relationship-value`\" />\n","comments":"","x":1940,"y":346,"z":"7ec136e2.e63208","wires":[]},{"id":"cb69969f.96fd98","type":"set","name":"set tenantid","xml":"<set>\n<parameter name='aaiinfo[$listlen].tenantid' value='`$tmp.aai-data-vnf.relationship-list.relationship[$i].relationship-data[$j].relationship-value`' />\n","comments":"","x":1947,"y":413,"z":"7ec136e2.e63208","wires":[]},{"id":"1fc1517e.50999f","type":"set","name":"set cloudowner","xml":"<set>\n<parameter name='aaiinfo[$listlen].cloudowner' value='`$tmp.aai-data-vnf.relationship-list.relationship[$i].relationship-data[$j].relationship-value`' />\n","comments":"","x":1946,"y":498,"z":"7ec136e2.e63208","wires":[]},{"id":"c95c710e.e3083","type":"set","name":"set cloudregion","xml":"<set>\n<parameter name='aaiinfo[$listlen].cloudregionid' value='`$tmp.aai-data-vnf.relationship-list.relationship[$i].relationship-data[$j].relationship-value`' />\n","comments":"","x":1933,"y":571,"z":"7ec136e2.e63208","wires":[]},{"id":"f4ad596a.fd0f58","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":994,"y":430,"z":"7ec136e2.e63208","wires":[["7255506e.be107"]]},{"id":"6ede6908.924968","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=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"VSERVERID\" value=\"`$aaiinfo[$listlen].vserverid`\"/>\n<parameter name=\"TENANTID\" value=\"`$aaiinfo[$listlen].tenantid`\"/>\n<parameter name=\"CLOUDOWNER\" value=\"`$aaiinfo[$listlen].cloudowner`\"/>\n<parameter name=\"CLOUDREGIONID\" value=\"`$aaiinfo[$listlen].cloudregionid`\"/>\n","comments":"","outputs":1,"x":740,"y":590,"z":"7ec136e2.e63208","wires":[[]]},{"id":"f7e3690.45d8a98","type":"set","name":"set listlen=0","xml":"<set>\n<parameter name='listlen' value='0' />\n","comments":"","x":736,"y":177,"z":"7ec136e2.e63208","wires":[]},{"id":"9efd4b8.e1f9eb8","type":"set","name":"increment listlen","xml":"<set>\n\t<parameter name='listlen' value='`$listlen + 1`' />\n\n","comments":"","x":763,"y":778,"z":"7ec136e2.e63208","wires":[]},{"id":"8701a0e1.96a92","type":"save","name":"update: A&AI ( VM)","xml":"<update plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" resource=\"vserver\" \nkey=\"vserver.vserver-id = $aaiinfo[$listlen].vserverid AND \ntenant.tenant-id = $aaiinfo[$listlen].tenantid AND\ncloud-region.cloud-owner = $aaiinfo[$listlen].cloudowner AND\ncloud-region.cloud-region-id = $aaiinfo[$listlen].cloudregionid\"\n force=\"true\" local-only=\"false\" pfx=\"tmp.AnAI-data.vnf\" >\n<parameter name=\"prov-status\" value=\"`$tmp.aai-prov-status`\"/>\n","comments":"","outputs":1,"x":769.5,"y":654,"z":"7ec136e2.e63208","wires":[["37951ea8.1137b2"]]},{"id":"37951ea8.1137b2","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":963.5,"y":654,"z":"7ec136e2.e63208","wires":[["b793f606.57c9d8"]]},{"id":"b793f606.57c9d8","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1132.5,"y":655,"z":"7ec136e2.e63208","wires":[["40a42380.b197ac","e7af383f.fc57f8"]]},{"id":"40a42380.b197ac","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=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"Update Request to AnAI Failed\"/>\n<parameter name=\"VSERVERID\" value=\"`$aaiinfo[$i].vserverid`\"/>\n<parameter name=\"TENANTID\" value=\"`$aaiinfo[$i].tenantid`\"/>\n\n","comments":"","outputs":1,"x":1331.5,"y":635,"z":"7ec136e2.e63208","wires":[[]]},{"id":"e7af383f.fc57f8","type":"set","name":"set: Append to error message","xml":"<set>\n\t <parameter name=\"error-message\" value=\"`'Update to A&amp;AI Failed for ' + $aaiinfo[$i].vserverid + ' and ' + $aaiinfo[$i].tenantid + '.' + $error-message`\"/>","comments":"","x":1406.5,"y":696,"z":"7ec136e2.e63208","wires":[]},{"id":"53e2f95c.eafab8","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":552,"y":431,"z":"7ec136e2.e63208","wires":[["96f6935c.60847","8701a0e1.96a92","9efd4b8.e1f9eb8","6ede6908.924968"]]},{"id":"782291d7.96aa1","type":"block","name":"block","xml":"<block>","atomic":"false","comments":"","outputs":1,"x":599,"y":267,"z":"7ec136e2.e63208","wires":[["4d016af.3128194"]]},{"id":"1a71448.22d60bc","type":"block","name":"block","xml":"<block>","atomic":"false","comments":"","outputs":1,"x":453,"y":343,"z":"7ec136e2.e63208","wires":[["9b3225cd.90bf18"]]},{"id":"73a4109.f924ef","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=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"RELATIONSHIPLEN\" value=\"`$tmp.aai-data-vnf.relationship-list.relationship_length`\"/>\n\n","comments":"","outputs":1,"x":375,"y":145,"z":"7ec136e2.e63208","wires":[[]]}]
+[
+ {
+ "id": "fb57c265.1ba01",
+ "type": "dgstart",
+ "name": "DGSTART",
+ "outputs": 1,
+ "x": 219,
+ "y": 54,
+ "z": "7ec136e2.e63208",
+ "wires": [
+ [
+ "185188b4.36cb77"
+ ]
+ ]
+ },
+ {
+ "id": "185188b4.36cb77",
+ "type": "service-logic",
+ "name": "Appc-API 4.0.0",
+ "module": "Appc-API",
+ "version": "4.0.0",
+ "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='Appc-API' version='4.0.0'>",
+ "outputs": 1,
+ "x": 390,
+ "y": 52,
+ "z": "7ec136e2.e63208",
+ "wires": [
+ [
+ "d3b34772.6e59f8"
+ ]
+ ]
+ },
+ {
+ "id": "d3b34772.6e59f8",
+ "type": "method",
+ "name": "method update-vserver-info",
+ "xml": "<method rpc='update-vserver-info' mode='sync'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 618,
+ "y": 54,
+ "z": "7ec136e2.e63208",
+ "wires": [
+ [
+ "531cec36.49f504"
+ ]
+ ]
+ },
+ {
+ "id": "531cec36.49f504",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 208,
+ "y": 108,
+ "z": "7ec136e2.e63208",
+ "wires": [
+ [
+ "875b1407.c421d8",
+ "41c061d8.a53ca",
+ "73a4109.f924ef"
+ ]
+ ]
+ },
+ {
+ "id": "875b1407.c421d8",
+ "type": "set",
+ "name": "set listlen=0",
+ "xml": "<set>\n<parameter name='listlen' value='0' />\n",
+ "comments": "",
+ "x": 386,
+ "y": 110,
+ "z": "7ec136e2.e63208",
+ "wires": []
+ },
+ {
+ "id": "41c061d8.a53ca",
+ "type": "switchNode",
+ "name": "switch: relationship length",
+ "xml": "<switch test=\"`$tmp.aai-data-vnf.relationship-list.relationship_length`\">",
+ "comments": "",
+ "outputs": 1,
+ "x": 240,
+ "y": 182,
+ "z": "7ec136e2.e63208",
+ "wires": [
+ [
+ "abcca544.fa55e8",
+ "4d4625e4.11b96c"
+ ]
+ ]
+ },
+ {
+ "id": "4d4625e4.11b96c",
+ "type": "other",
+ "name": "Other",
+ "xml": "<outcome value=\"Other\">",
+ "comments": "",
+ "outputs": 1,
+ "x": 441,
+ "y": 263,
+ "z": "7ec136e2.e63208",
+ "wires": [
+ [
+ "782291d7.96aa1"
+ ]
+ ]
+ },
+ {
+ "id": "abcca544.fa55e8",
+ "type": "outcome",
+ "name": "NULL",
+ "xml": "<outcome value=\"\">",
+ "comments": "",
+ "outputs": 1,
+ "x": 448,
+ "y": 181,
+ "z": "7ec136e2.e63208",
+ "wires": [
+ [
+ "53fc41ee.f2a9f"
+ ]
+ ]
+ },
+ {
+ "id": "53fc41ee.f2a9f",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 584,
+ "y": 180,
+ "z": "7ec136e2.e63208",
+ "wires": [
+ [
+ "f7e3690.45d8a98"
+ ]
+ ]
+ },
+ {
+ "id": "4d016af.3128194",
+ "type": "for",
+ "name": "for: ...relationship[]",
+ "xml": "<for atomic=\"true\" index=\"i\" start=\"0\" end=\"`$tmp.aai-data-vnf.relationship-list.relationship_length`\" >",
+ "comments": "",
+ "outputs": 1,
+ "x": 779,
+ "y": 269,
+ "z": "7ec136e2.e63208",
+ "wires": [
+ [
+ "1a71448.22d60bc"
+ ]
+ ]
+ },
+ {
+ "id": "9b3225cd.90bf18",
+ "type": "switchNode",
+ "name": "switch: ...related-to",
+ "xml": "<switch test=\"`$tmp.aai-data-vnf.relationship-list.relationship[$i].related-to`\">",
+ "comments": "",
+ "outputs": 1,
+ "x": 651,
+ "y": 343,
+ "z": "7ec136e2.e63208",
+ "wires": [
+ [
+ "df84265d.f084a8"
+ ]
+ ]
+ },
+ {
+ "id": "df84265d.f084a8",
+ "type": "outcome",
+ "name": "vserver",
+ "xml": "<outcome value=\"vserver\">",
+ "comments": "",
+ "outputs": 1,
+ "x": 376,
+ "y": 433,
+ "z": "7ec136e2.e63208",
+ "wires": [
+ [
+ "53e2f95c.eafab8"
+ ]
+ ]
+ },
+ {
+ "id": "96f6935c.60847",
+ "type": "for",
+ "name": "for: ...relationship-data[]",
+ "xml": "<for atomic=\"true\" index=\"j\" start=\"0\" end=\"`$tmp.aai-data-vnf.relationship-list.relationship[$i].relationship-data_length`\" >",
+ "comments": "",
+ "outputs": 1,
+ "x": 774,
+ "y": 429,
+ "z": "7ec136e2.e63208",
+ "wires": [
+ [
+ "f4ad596a.fd0f58"
+ ]
+ ]
+ },
+ {
+ "id": "7255506e.be107",
+ "type": "switchNode",
+ "name": "switch: ...relationship-key",
+ "xml": "<switch test=\"`$tmp.aai-data-vnf.relationship-list.relationship[$i].relationship-data[$j].relationship-key`\">",
+ "comments": "",
+ "outputs": 1,
+ "x": 1281,
+ "y": 406,
+ "z": "7ec136e2.e63208",
+ "wires": [
+ [
+ "93748d51.43dc5",
+ "d91de34.d004d2",
+ "8770a1e7.506fc",
+ "205912c3.6a437e"
+ ]
+ ]
+ },
+ {
+ "id": "93748d51.43dc5",
+ "type": "outcome",
+ "name": "vserver-id",
+ "xml": "<outcome value=\"vserver.vserver-id\">",
+ "comments": "",
+ "outputs": 1,
+ "x": 1515.5,
+ "y": 340,
+ "z": "7ec136e2.e63208",
+ "wires": [
+ [
+ "a9a68c63.9d993"
+ ]
+ ]
+ },
+ {
+ "id": "d91de34.d004d2",
+ "type": "outcome",
+ "name": "tenant-id",
+ "xml": "<outcome value=\"tenant.tenant-id\">",
+ "comments": "",
+ "outputs": 1,
+ "x": 1509,
+ "y": 413,
+ "z": "7ec136e2.e63208",
+ "wires": [
+ [
+ "bcb84af7.25e408"
+ ]
+ ]
+ },
+ {
+ "id": "8770a1e7.506fc",
+ "type": "outcome",
+ "name": "cloud-owner",
+ "xml": "<outcome value=\"cloud-region.cloud-owner\">",
+ "comments": "",
+ "outputs": 1,
+ "x": 1518,
+ "y": 502,
+ "z": "7ec136e2.e63208",
+ "wires": [
+ [
+ "b647ebc2.e53768"
+ ]
+ ]
+ },
+ {
+ "id": "205912c3.6a437e",
+ "type": "outcome",
+ "name": "cloud-region-id",
+ "xml": "<outcome value=\"cloud-region.cloud-region-id\">",
+ "comments": "",
+ "outputs": 1,
+ "x": 1518,
+ "y": 591,
+ "z": "7ec136e2.e63208",
+ "wires": [
+ [
+ "14d7bb26.c3cfd5"
+ ]
+ ]
+ },
+ {
+ "id": "a9a68c63.9d993",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 1698,
+ "y": 339,
+ "z": "7ec136e2.e63208",
+ "wires": [
+ [
+ "699f0edf.474f4"
+ ]
+ ]
+ },
+ {
+ "id": "bcb84af7.25e408",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 1699,
+ "y": 413,
+ "z": "7ec136e2.e63208",
+ "wires": [
+ [
+ "cb69969f.96fd98"
+ ]
+ ]
+ },
+ {
+ "id": "b647ebc2.e53768",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 1711,
+ "y": 503,
+ "z": "7ec136e2.e63208",
+ "wires": [
+ [
+ "1fc1517e.50999f"
+ ]
+ ]
+ },
+ {
+ "id": "14d7bb26.c3cfd5",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 1719,
+ "y": 582,
+ "z": "7ec136e2.e63208",
+ "wires": [
+ [
+ "c95c710e.e3083"
+ ]
+ ]
+ },
+ {
+ "id": "699f0edf.474f4",
+ "type": "set",
+ "name": "set vserverid",
+ "xml": "<set>\n<parameter name=\"aaiinfo[$listlen].vserverid\" value=\"`$tmp.aai-data-vnf.relationship-list.relationship[$i].relationship-data[$j].relationship-value`\" />\n",
+ "comments": "",
+ "x": 1940,
+ "y": 346,
+ "z": "7ec136e2.e63208",
+ "wires": []
+ },
+ {
+ "id": "cb69969f.96fd98",
+ "type": "set",
+ "name": "set tenantid",
+ "xml": "<set>\n<parameter name='aaiinfo[$listlen].tenantid' value='`$tmp.aai-data-vnf.relationship-list.relationship[$i].relationship-data[$j].relationship-value`' />\n",
+ "comments": "",
+ "x": 1947,
+ "y": 413,
+ "z": "7ec136e2.e63208",
+ "wires": []
+ },
+ {
+ "id": "1fc1517e.50999f",
+ "type": "set",
+ "name": "set cloudowner",
+ "xml": "<set>\n<parameter name='aaiinfo[$listlen].cloudowner' value='`$tmp.aai-data-vnf.relationship-list.relationship[$i].relationship-data[$j].relationship-value`' />\n",
+ "comments": "",
+ "x": 1946,
+ "y": 498,
+ "z": "7ec136e2.e63208",
+ "wires": []
+ },
+ {
+ "id": "c95c710e.e3083",
+ "type": "set",
+ "name": "set cloudregion",
+ "xml": "<set>\n<parameter name='aaiinfo[$listlen].cloudregionid' value='`$tmp.aai-data-vnf.relationship-list.relationship[$i].relationship-data[$j].relationship-value`' />\n",
+ "comments": "",
+ "x": 1933,
+ "y": 571,
+ "z": "7ec136e2.e63208",
+ "wires": []
+ },
+ {
+ "id": "f4ad596a.fd0f58",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 994,
+ "y": 430,
+ "z": "7ec136e2.e63208",
+ "wires": [
+ [
+ "7255506e.be107"
+ ]
+ ]
+ },
+ {
+ "id": "6ede6908.924968",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"VSERVERID\" value=\"`$aaiinfo[$listlen].vserverid`\"/>\n<parameter name=\"TENANTID\" value=\"`$aaiinfo[$listlen].tenantid`\"/>\n<parameter name=\"CLOUDOWNER\" value=\"`$aaiinfo[$listlen].cloudowner`\"/>\n<parameter name=\"CLOUDREGIONID\" value=\"`$aaiinfo[$listlen].cloudregionid`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 740,
+ "y": 590,
+ "z": "7ec136e2.e63208",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f7e3690.45d8a98",
+ "type": "set",
+ "name": "set listlen=0",
+ "xml": "<set>\n<parameter name='listlen' value='0' />\n",
+ "comments": "",
+ "x": 736,
+ "y": 177,
+ "z": "7ec136e2.e63208",
+ "wires": []
+ },
+ {
+ "id": "9efd4b8.e1f9eb8",
+ "type": "set",
+ "name": "increment listlen",
+ "xml": "<set>\n\t<parameter name='listlen' value='`$listlen + 1`' />\n\n",
+ "comments": "",
+ "x": 763,
+ "y": 778,
+ "z": "7ec136e2.e63208",
+ "wires": []
+ },
+ {
+ "id": "8701a0e1.96a92",
+ "type": "save",
+ "name": "update: A&AI ( VM)",
+ "xml": "<update plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" resource=\"vserver\" \nkey=\"vserver.vserver-id = $aaiinfo[$listlen].vserverid AND \ntenant.tenant-id = $aaiinfo[$listlen].tenantid AND\ncloud-region.cloud-owner = $aaiinfo[$listlen].cloudowner AND\ncloud-region.cloud-region-id = $aaiinfo[$listlen].cloudregionid\"\n force=\"true\" local-only=\"false\" pfx=\"tmp.AnAI-data.vnf\" >\n<parameter name=\"prov-status\" value=\"`$tmp.aai-prov-status`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 769.5,
+ "y": 654,
+ "z": "7ec136e2.e63208",
+ "wires": [
+ [
+ "37951ea8.1137b2"
+ ]
+ ]
+ },
+ {
+ "id": "37951ea8.1137b2",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 963.5,
+ "y": 654,
+ "z": "7ec136e2.e63208",
+ "wires": [
+ [
+ "b793f606.57c9d8"
+ ]
+ ]
+ },
+ {
+ "id": "b793f606.57c9d8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1132.5,
+ "y": 655,
+ "z": "7ec136e2.e63208",
+ "wires": [
+ [
+ "40a42380.b197ac",
+ "e7af383f.fc57f8"
+ ]
+ ]
+ },
+ {
+ "id": "40a42380.b197ac",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"Update Request to AnAI Failed\"/>\n<parameter name=\"VSERVERID\" value=\"`$aaiinfo[$i].vserverid`\"/>\n<parameter name=\"TENANTID\" value=\"`$aaiinfo[$i].tenantid`\"/>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1331.5,
+ "y": 635,
+ "z": "7ec136e2.e63208",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "e7af383f.fc57f8",
+ "type": "set",
+ "name": "set: Append to error message",
+ "xml": "<set>\n\t <parameter name=\"error-message\" value=\"`'Update to A&amp;AI Failed for ' + $aaiinfo[$i].vserverid + ' and ' + $aaiinfo[$i].tenantid + '.' + $error-message`\"/>",
+ "comments": "",
+ "x": 1406.5,
+ "y": 696,
+ "z": "7ec136e2.e63208",
+ "wires": []
+ },
+ {
+ "id": "53e2f95c.eafab8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 552,
+ "y": 431,
+ "z": "7ec136e2.e63208",
+ "wires": [
+ [
+ "96f6935c.60847",
+ "8701a0e1.96a92",
+ "9efd4b8.e1f9eb8",
+ "6ede6908.924968"
+ ]
+ ]
+ },
+ {
+ "id": "782291d7.96aa1",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 599,
+ "y": 267,
+ "z": "7ec136e2.e63208",
+ "wires": [
+ [
+ "4d016af.3128194"
+ ]
+ ]
+ },
+ {
+ "id": "1a71448.22d60bc",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 453,
+ "y": 343,
+ "z": "7ec136e2.e63208",
+ "wires": [
+ [
+ "9b3225cd.90bf18"
+ ]
+ ]
+ },
+ {
+ "id": "73a4109.f924ef",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"RELATIONSHIPLEN\" value=\"`$tmp.aai-data-vnf.relationship-list.relationship_length`\"/>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 375,
+ "y": 145,
+ "z": "7ec136e2.e63208",
+ "wires": [
+ []
+ ]
+ }
+]