summaryrefslogtreecommitdiffstats
path: root/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Appc-API/Appc-API_update-vnfc-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-vnfc-info.json')
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Appc-API/Appc-API_update-vnfc-info.json532
1 files changed, 531 insertions, 1 deletions
diff --git a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Appc-API/Appc-API_update-vnfc-info.json b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Appc-API/Appc-API_update-vnfc-info.json
index 89623f36d..669f9d018 100644
--- a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Appc-API/Appc-API_update-vnfc-info.json
+++ b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Appc-API/Appc-API_update-vnfc-info.json
@@ -1 +1,531 @@
-[{"id":"ca99a786.1adf8","type":"get-resource","name":"get-resource: A&AI Data for VServer","xml":"<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" resource=\"vserver\" \nkey=\"vserver.vserver-id = $aaiinfo[$k].vserverid AND \ntenant.tenant-id = $aaiinfo[$k].tenantid AND\ncloud-region.cloud-owner = $aaiinfo[$k].cloudowner AND\ncloud-region.cloud-region-id = $aaiinfo[$k].cloudregionid\"\npfx=\"tmp.vserver\" >\n\n","comments":"","outputs":1,"x":709.88330078125,"y":246,"z":"c52d74c3.6a173","wires":[["fde2a23.0ae856","2217ca10.f4dbfe","45df48e.32abe38"]]},{"id":"68770954.89e85","type":"dgstart","name":"DGSTART","outputs":1,"x":204.88330078125,"y":92,"z":"c52d74c3.6a173","wires":[["57a94af7.1d52e4"]]},{"id":"57a94af7.1d52e4","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":375.88330078125,"y":92,"z":"c52d74c3.6a173","wires":[["d80de510.a9535"]]},{"id":"d80de510.a9535","type":"method","name":"method update-vnfc-info","xml":"<method rpc='update-vnfc-info' mode='sync'>\n","comments":"","outputs":1,"x":593.88330078125,"y":91,"z":"c52d74c3.6a173","wires":[["36ef9227.2f9f7e"]]},{"id":"36ef9227.2f9f7e","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":213.88330078125,"y":173,"z":"c52d74c3.6a173","wires":[["e4367acb.1fb978","ec095f59.d1d65"]]},{"id":"e4367acb.1fb978","type":"set","name":"set vnfclistlen=0","xml":"<set>\n<parameter name='vnfclistlen' value='0' />\n","comments":"","x":411.88330078125,"y":173,"z":"c52d74c3.6a173","wires":[]},{"id":"ec095f59.d1d65","type":"for","name":"for: ...aaiinfo[]","xml":"<for atomic=\"true\" index=\"k\" start=\"0\" end=\"`$listlen`\" >","comments":"","outputs":1,"x":243.88330078125,"y":246,"z":"c52d74c3.6a173","wires":[["6b34e3c9.27ea34"]]},{"id":"6b34e3c9.27ea34","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":447.88330078125,"y":246,"z":"c52d74c3.6a173","wires":[["ca99a786.1adf8"]]},{"id":"fde2a23.0ae856","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":972.88330078125,"y":204,"z":"c52d74c3.6a173","wires":[["d8eb874c.b59238"]]},{"id":"2217ca10.f4dbfe","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":954.88330078125,"y":266,"z":"c52d74c3.6a173","wires":[["d8eb874c.b59238"]]},{"id":"45df48e.32abe38","type":"failure","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":197.88330078125,"y":365,"z":"c52d74c3.6a173","wires":[["9c9021bc.b88fa8"]]},{"id":"d8eb874c.b59238","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":1132.88330078125,"y":235,"z":"c52d74c3.6a173","wires":[["4590c797.1fa088","aed133a2.2225f8"]]},{"id":"9c9021bc.b88fa8","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":367.88330078125,"y":363,"z":"c52d74c3.6a173","wires":[["5baeb97d.8be528"]]},{"id":"5baeb97d.8be528","type":"switchNode","name":"switch: relationship length","xml":"<switch test=\"`$tmp.vserver.relationship-list.relationship_length`\">","comments":"","outputs":1,"x":614.88330078125,"y":360,"z":"c52d74c3.6a173","wires":[["6c48093.1fa56f8","a039aec1.91e03"]]},{"id":"a039aec1.91e03","type":"other","name":"Other","xml":"<outcome value=\"Other\">","comments":"","outputs":1,"x":170.88330078125,"y":474,"z":"c52d74c3.6a173","wires":[["b8d7820d.5420b"]]},{"id":"6c48093.1fa56f8","type":"outcome","name":"NULL","xml":"<outcome value=\"\">","comments":"","outputs":1,"x":859.88330078125,"y":364,"z":"c52d74c3.6a173","wires":[["6cb2d58.62be52c"]]},{"id":"6cb2d58.62be52c","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":1022.88330078125,"y":366,"z":"c52d74c3.6a173","wires":[[]]},{"id":"b8d7820d.5420b","type":"for","name":"for: ...relationship[]","xml":"<for atomic=\"true\" index=\"i\" start=\"0\" end=\"`$tmp.vserver.relationship-list.relationship_length`\" >","comments":"","outputs":1,"x":333.88330078125,"y":476,"z":"c52d74c3.6a173","wires":[["584bee63.5ef69"]]},{"id":"a801b938.dfe4","type":"switchNode","name":"switch: ...related-to","xml":"<switch test=\"`$tmp.vserver.relationship-list.relationship[$i].related-to`\">","comments":"","outputs":1,"x":438.88330078125,"y":538,"z":"c52d74c3.6a173","wires":[["f69424a2.0350d"]]},{"id":"f69424a2.0350d","type":"outcome","name":"vnfc","xml":"<outcome value=\"vnfc\">","comments":"","outputs":1,"x":628.88330078125,"y":535,"z":"c52d74c3.6a173","wires":[["e43d220d.0c97f"]]},{"id":"e43d220d.0c97f","type":"for","name":"for: ...relationship-data[]","xml":"<for atomic=\"true\" index=\"j\" start=\"0\" end=\"`$tmp.vserver.relationship-list.relationship[$i].relationship-data_length`\" >","comments":"","outputs":1,"x":832.88330078125,"y":528,"z":"c52d74c3.6a173","wires":[["5f70befc.28273"]]},{"id":"5f70befc.28273","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":227.88330078125,"y":631,"z":"c52d74c3.6a173","wires":[["b03df48b.fe3f4"]]},{"id":"b03df48b.fe3f4","type":"switchNode","name":"switch: ...relationship-key","xml":"<switch test=\"`$tmp.vserver.relationship-list.relationship[$i].relationship-data[$j].relationship-key`\">","comments":"","outputs":1,"x":450.88330078125,"y":631,"z":"c52d74c3.6a173","wires":[["d0c0b651.ef1c58"]]},{"id":"d0c0b651.ef1c58","type":"outcome","name":"vnfc-name","xml":"<outcome value=\"vnfc.vnfc-name\">","comments":"","outputs":1,"x":658.88330078125,"y":630,"z":"c52d74c3.6a173","wires":[["b7f0009.11cd18"]]},{"id":"584bee63.5ef69","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":221.88330078125,"y":543,"z":"c52d74c3.6a173","wires":[["a801b938.dfe4"]]},{"id":"aed133a2.2225f8","type":"set","name":"set: Append to error message","xml":"<set>\n\t <parameter name=\"error-message\" value=\"`'Get from A&amp;AI Failed for ' + $aaiinfo[$k].vserverid + '.' + $error-message`\"/>","comments":"","x":1372.88330078125,"y":256,"z":"c52d74c3.6a173","wires":[]},{"id":"4590c797.1fa088","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=\"Get Request to AnAI Failed\"/>\n<parameter name=\"field3\" value=\"`$service-configuration-notification-input.service-information.service-instance-id`\"/>\n\n","comments":"","outputs":1,"x":1301.88330078125,"y":187,"z":"c52d74c3.6a173","wires":[[]]},{"id":"44fa882d.37258","type":"save","name":"update: A&AI VNFC","xml":"<update plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" resource=\"vnfc\" \nkey=\"vnfc.vnfc-name = $tmp.vserver.relationship-list.relationship[$i].relationship-data[$j].relationship-value and \nvserver.vserver-id = $aaiinfo[$k].vserverid AND \ntenant.tenant-id = $aaiinfo[$k].tenantid AND \ncloud-region.region-id = $aaiinfo[$k].cloudregionid \" \nforce=\"true\" local-only=\"false\" pfx=\"tmp.AnAI-data.vnf\" >\n<parameter name=\"prov-status\" value=\"`$tmp.aai-prov-status`\"/>\n<parameter name=\"orchestration-status\" value=\"`$tmp.aai-orch-status`\"/>","comments":"","outputs":1,"x":1056.88330078125,"y":636,"z":"c52d74c3.6a173","wires":[["ac6f0c46.257ed8"]]},{"id":"ac6f0c46.257ed8","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1239.88330078125,"y":637,"z":"c52d74c3.6a173","wires":[["51900e55.4456b"]]},{"id":"51900e55.4456b","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1398.88330078125,"y":639,"z":"c52d74c3.6a173","wires":[["bf4d5312.a11fc","42ec4cbb.ffb7ec"]]},{"id":"bf4d5312.a11fc","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=\"VNFCNAME\" value=\"`$vnfcinfo[$vnfclistlen].vnfcname`\"/>\n<parameter name=\"VSERVERID\" value=\"`$vnfcinfo[$vnfclistlen].vserverid`\"/>\n<parameter name=\"TENANTID\" value=\"`$vnfcinfo[$vnfclistlen].tenantid`\"/>\n\n","comments":"","outputs":1,"x":1581.88330078125,"y":596,"z":"c52d74c3.6a173","wires":[[]]},{"id":"42ec4cbb.ffb7ec","type":"set","name":"set: Append to error message","xml":"<set>\n\t <parameter name=\"error-message\" value=\"`'Update to A&amp;AI Failed for VNFC ' + $vnfcinfo[$vnfclistlen].vnfcname + '.' + $error-message`\"/>","comments":"","x":1643.88330078125,"y":668,"z":"c52d74c3.6a173","wires":[]},{"id":"b7f0009.11cd18","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":834.88330078125,"y":632,"z":"c52d74c3.6a173","wires":[["44fa882d.37258","6309de41.c6ea18"]]},{"id":"6309de41.c6ea18","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=\"VNFCNAME\" value=\"`$tmp.vserver.relationship-list.relationship[$i].relationship-data[$j].relationship-value`\"/>\n<parameter name=\"VSERVERID\" value=\"`$aaiinfo[$k].vserverid`\"/>\n<parameter name=\"TENANTID\" value=\"`$aaiinfo[$k].tenantid`\"/>\n<parameter name=\"CLOUDOWNER\" value=\"`$aaiinfo[$k].cloudowner`\"/>\n<parameter name=\"CLOUDREGIONID\" value=\"`$aaiinfo[$k].cloudregionid`\"/>\n","comments":"","outputs":1,"x":1027.88330078125,"y":581,"z":"c52d74c3.6a173","wires":[[]]}]
+[
+ {
+ "id": "ca99a786.1adf8",
+ "type": "get-resource",
+ "name": "get-resource: A&AI Data for VServer",
+ "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" resource=\"vserver\" \nkey=\"vserver.vserver-id = $aaiinfo[$k].vserverid AND \ntenant.tenant-id = $aaiinfo[$k].tenantid AND\ncloud-region.cloud-owner = $aaiinfo[$k].cloudowner AND\ncloud-region.cloud-region-id = $aaiinfo[$k].cloudregionid\"\npfx=\"tmp.vserver\" >\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 709.88330078125,
+ "y": 246,
+ "z": "c52d74c3.6a173",
+ "wires": [
+ [
+ "fde2a23.0ae856",
+ "2217ca10.f4dbfe",
+ "45df48e.32abe38"
+ ]
+ ]
+ },
+ {
+ "id": "68770954.89e85",
+ "type": "dgstart",
+ "name": "DGSTART",
+ "outputs": 1,
+ "x": 204.88330078125,
+ "y": 92,
+ "z": "c52d74c3.6a173",
+ "wires": [
+ [
+ "57a94af7.1d52e4"
+ ]
+ ]
+ },
+ {
+ "id": "57a94af7.1d52e4",
+ "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": 375.88330078125,
+ "y": 92,
+ "z": "c52d74c3.6a173",
+ "wires": [
+ [
+ "d80de510.a9535"
+ ]
+ ]
+ },
+ {
+ "id": "d80de510.a9535",
+ "type": "method",
+ "name": "method update-vnfc-info",
+ "xml": "<method rpc='update-vnfc-info' mode='sync'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 593.88330078125,
+ "y": 91,
+ "z": "c52d74c3.6a173",
+ "wires": [
+ [
+ "36ef9227.2f9f7e"
+ ]
+ ]
+ },
+ {
+ "id": "36ef9227.2f9f7e",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 213.88330078125,
+ "y": 173,
+ "z": "c52d74c3.6a173",
+ "wires": [
+ [
+ "e4367acb.1fb978",
+ "ec095f59.d1d65"
+ ]
+ ]
+ },
+ {
+ "id": "e4367acb.1fb978",
+ "type": "set",
+ "name": "set vnfclistlen=0",
+ "xml": "<set>\n<parameter name='vnfclistlen' value='0' />\n",
+ "comments": "",
+ "x": 411.88330078125,
+ "y": 173,
+ "z": "c52d74c3.6a173",
+ "wires": []
+ },
+ {
+ "id": "ec095f59.d1d65",
+ "type": "for",
+ "name": "for: ...aaiinfo[]",
+ "xml": "<for atomic=\"true\" index=\"k\" start=\"0\" end=\"`$listlen`\" >",
+ "comments": "",
+ "outputs": 1,
+ "x": 243.88330078125,
+ "y": 246,
+ "z": "c52d74c3.6a173",
+ "wires": [
+ [
+ "6b34e3c9.27ea34"
+ ]
+ ]
+ },
+ {
+ "id": "6b34e3c9.27ea34",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 447.88330078125,
+ "y": 246,
+ "z": "c52d74c3.6a173",
+ "wires": [
+ [
+ "ca99a786.1adf8"
+ ]
+ ]
+ },
+ {
+ "id": "fde2a23.0ae856",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 972.88330078125,
+ "y": 204,
+ "z": "c52d74c3.6a173",
+ "wires": [
+ [
+ "d8eb874c.b59238"
+ ]
+ ]
+ },
+ {
+ "id": "2217ca10.f4dbfe",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 954.88330078125,
+ "y": 266,
+ "z": "c52d74c3.6a173",
+ "wires": [
+ [
+ "d8eb874c.b59238"
+ ]
+ ]
+ },
+ {
+ "id": "45df48e.32abe38",
+ "type": "failure",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 197.88330078125,
+ "y": 365,
+ "z": "c52d74c3.6a173",
+ "wires": [
+ [
+ "9c9021bc.b88fa8"
+ ]
+ ]
+ },
+ {
+ "id": "d8eb874c.b59238",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 1132.88330078125,
+ "y": 235,
+ "z": "c52d74c3.6a173",
+ "wires": [
+ [
+ "4590c797.1fa088",
+ "aed133a2.2225f8"
+ ]
+ ]
+ },
+ {
+ "id": "9c9021bc.b88fa8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 367.88330078125,
+ "y": 363,
+ "z": "c52d74c3.6a173",
+ "wires": [
+ [
+ "5baeb97d.8be528"
+ ]
+ ]
+ },
+ {
+ "id": "5baeb97d.8be528",
+ "type": "switchNode",
+ "name": "switch: relationship length",
+ "xml": "<switch test=\"`$tmp.vserver.relationship-list.relationship_length`\">",
+ "comments": "",
+ "outputs": 1,
+ "x": 614.88330078125,
+ "y": 360,
+ "z": "c52d74c3.6a173",
+ "wires": [
+ [
+ "6c48093.1fa56f8",
+ "a039aec1.91e03"
+ ]
+ ]
+ },
+ {
+ "id": "a039aec1.91e03",
+ "type": "other",
+ "name": "Other",
+ "xml": "<outcome value=\"Other\">",
+ "comments": "",
+ "outputs": 1,
+ "x": 170.88330078125,
+ "y": 474,
+ "z": "c52d74c3.6a173",
+ "wires": [
+ [
+ "b8d7820d.5420b"
+ ]
+ ]
+ },
+ {
+ "id": "6c48093.1fa56f8",
+ "type": "outcome",
+ "name": "NULL",
+ "xml": "<outcome value=\"\">",
+ "comments": "",
+ "outputs": 1,
+ "x": 859.88330078125,
+ "y": 364,
+ "z": "c52d74c3.6a173",
+ "wires": [
+ [
+ "6cb2d58.62be52c"
+ ]
+ ]
+ },
+ {
+ "id": "6cb2d58.62be52c",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 1022.88330078125,
+ "y": 366,
+ "z": "c52d74c3.6a173",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "b8d7820d.5420b",
+ "type": "for",
+ "name": "for: ...relationship[]",
+ "xml": "<for atomic=\"true\" index=\"i\" start=\"0\" end=\"`$tmp.vserver.relationship-list.relationship_length`\" >",
+ "comments": "",
+ "outputs": 1,
+ "x": 333.88330078125,
+ "y": 476,
+ "z": "c52d74c3.6a173",
+ "wires": [
+ [
+ "584bee63.5ef69"
+ ]
+ ]
+ },
+ {
+ "id": "a801b938.dfe4",
+ "type": "switchNode",
+ "name": "switch: ...related-to",
+ "xml": "<switch test=\"`$tmp.vserver.relationship-list.relationship[$i].related-to`\">",
+ "comments": "",
+ "outputs": 1,
+ "x": 438.88330078125,
+ "y": 538,
+ "z": "c52d74c3.6a173",
+ "wires": [
+ [
+ "f69424a2.0350d"
+ ]
+ ]
+ },
+ {
+ "id": "f69424a2.0350d",
+ "type": "outcome",
+ "name": "vnfc",
+ "xml": "<outcome value=\"vnfc\">",
+ "comments": "",
+ "outputs": 1,
+ "x": 628.88330078125,
+ "y": 535,
+ "z": "c52d74c3.6a173",
+ "wires": [
+ [
+ "e43d220d.0c97f"
+ ]
+ ]
+ },
+ {
+ "id": "e43d220d.0c97f",
+ "type": "for",
+ "name": "for: ...relationship-data[]",
+ "xml": "<for atomic=\"true\" index=\"j\" start=\"0\" end=\"`$tmp.vserver.relationship-list.relationship[$i].relationship-data_length`\" >",
+ "comments": "",
+ "outputs": 1,
+ "x": 832.88330078125,
+ "y": 528,
+ "z": "c52d74c3.6a173",
+ "wires": [
+ [
+ "5f70befc.28273"
+ ]
+ ]
+ },
+ {
+ "id": "5f70befc.28273",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 227.88330078125,
+ "y": 631,
+ "z": "c52d74c3.6a173",
+ "wires": [
+ [
+ "b03df48b.fe3f4"
+ ]
+ ]
+ },
+ {
+ "id": "b03df48b.fe3f4",
+ "type": "switchNode",
+ "name": "switch: ...relationship-key",
+ "xml": "<switch test=\"`$tmp.vserver.relationship-list.relationship[$i].relationship-data[$j].relationship-key`\">",
+ "comments": "",
+ "outputs": 1,
+ "x": 450.88330078125,
+ "y": 631,
+ "z": "c52d74c3.6a173",
+ "wires": [
+ [
+ "d0c0b651.ef1c58"
+ ]
+ ]
+ },
+ {
+ "id": "d0c0b651.ef1c58",
+ "type": "outcome",
+ "name": "vnfc-name",
+ "xml": "<outcome value=\"vnfc.vnfc-name\">",
+ "comments": "",
+ "outputs": 1,
+ "x": 658.88330078125,
+ "y": 630,
+ "z": "c52d74c3.6a173",
+ "wires": [
+ [
+ "b7f0009.11cd18"
+ ]
+ ]
+ },
+ {
+ "id": "584bee63.5ef69",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 221.88330078125,
+ "y": 543,
+ "z": "c52d74c3.6a173",
+ "wires": [
+ [
+ "a801b938.dfe4"
+ ]
+ ]
+ },
+ {
+ "id": "aed133a2.2225f8",
+ "type": "set",
+ "name": "set: Append to error message",
+ "xml": "<set>\n\t <parameter name=\"error-message\" value=\"`'Get from A&amp;AI Failed for ' + $aaiinfo[$k].vserverid + '.' + $error-message`\"/>",
+ "comments": "",
+ "x": 1372.88330078125,
+ "y": 256,
+ "z": "c52d74c3.6a173",
+ "wires": []
+ },
+ {
+ "id": "4590c797.1fa088",
+ "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=\"Get Request to AnAI Failed\"/>\n<parameter name=\"field3\" value=\"`$service-configuration-notification-input.service-information.service-instance-id`\"/>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1301.88330078125,
+ "y": 187,
+ "z": "c52d74c3.6a173",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "44fa882d.37258",
+ "type": "save",
+ "name": "update: A&AI VNFC",
+ "xml": "<update plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" resource=\"vnfc\" \nkey=\"vnfc.vnfc-name = $tmp.vserver.relationship-list.relationship[$i].relationship-data[$j].relationship-value and \nvserver.vserver-id = $aaiinfo[$k].vserverid AND \ntenant.tenant-id = $aaiinfo[$k].tenantid AND \ncloud-region.region-id = $aaiinfo[$k].cloudregionid \" \nforce=\"true\" local-only=\"false\" pfx=\"tmp.AnAI-data.vnf\" >\n<parameter name=\"prov-status\" value=\"`$tmp.aai-prov-status`\"/>\n<parameter name=\"orchestration-status\" value=\"`$tmp.aai-orch-status`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1056.88330078125,
+ "y": 636,
+ "z": "c52d74c3.6a173",
+ "wires": [
+ [
+ "ac6f0c46.257ed8"
+ ]
+ ]
+ },
+ {
+ "id": "ac6f0c46.257ed8",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1239.88330078125,
+ "y": 637,
+ "z": "c52d74c3.6a173",
+ "wires": [
+ [
+ "51900e55.4456b"
+ ]
+ ]
+ },
+ {
+ "id": "51900e55.4456b",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1398.88330078125,
+ "y": 639,
+ "z": "c52d74c3.6a173",
+ "wires": [
+ [
+ "bf4d5312.a11fc",
+ "42ec4cbb.ffb7ec"
+ ]
+ ]
+ },
+ {
+ "id": "bf4d5312.a11fc",
+ "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=\"VNFCNAME\" value=\"`$vnfcinfo[$vnfclistlen].vnfcname`\"/>\n<parameter name=\"VSERVERID\" value=\"`$vnfcinfo[$vnfclistlen].vserverid`\"/>\n<parameter name=\"TENANTID\" value=\"`$vnfcinfo[$vnfclistlen].tenantid`\"/>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1581.88330078125,
+ "y": 596,
+ "z": "c52d74c3.6a173",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "42ec4cbb.ffb7ec",
+ "type": "set",
+ "name": "set: Append to error message",
+ "xml": "<set>\n\t <parameter name=\"error-message\" value=\"`'Update to A&amp;AI Failed for VNFC ' + $vnfcinfo[$vnfclistlen].vnfcname + '.' + $error-message`\"/>",
+ "comments": "",
+ "x": 1643.88330078125,
+ "y": 668,
+ "z": "c52d74c3.6a173",
+ "wires": []
+ },
+ {
+ "id": "b7f0009.11cd18",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 834.88330078125,
+ "y": 632,
+ "z": "c52d74c3.6a173",
+ "wires": [
+ [
+ "44fa882d.37258",
+ "6309de41.c6ea18"
+ ]
+ ]
+ },
+ {
+ "id": "6309de41.c6ea18",
+ "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=\"VNFCNAME\" value=\"`$tmp.vserver.relationship-list.relationship[$i].relationship-data[$j].relationship-value`\"/>\n<parameter name=\"VSERVERID\" value=\"`$aaiinfo[$k].vserverid`\"/>\n<parameter name=\"TENANTID\" value=\"`$aaiinfo[$k].tenantid`\"/>\n<parameter name=\"CLOUDOWNER\" value=\"`$aaiinfo[$k].cloudowner`\"/>\n<parameter name=\"CLOUDREGIONID\" value=\"`$aaiinfo[$k].cloudregionid`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1027.88330078125,
+ "y": 581,
+ "z": "c52d74c3.6a173",
+ "wires": [
+ []
+ ]
+ }
+] \ No newline at end of file