summaryrefslogtreecommitdiffstats
path: root/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_GetAaiInfoTest.json
diff options
context:
space:
mode:
Diffstat (limited to 'appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_GetAaiInfoTest.json')
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_GetAaiInfoTest.json289
1 files changed, 288 insertions, 1 deletions
diff --git a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_GetAaiInfoTest.json b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_GetAaiInfoTest.json
index 91c101abb..ed64ae9ec 100644
--- a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_GetAaiInfoTest.json
+++ b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_GetAaiInfoTest.json
@@ -1 +1,288 @@
-[{"id":"824ef7fe.3f3a28","type":"dgstart","name":"DGSTART","outputs":1,"x":103.33332443237305,"y":37.222219467163086,"z":"2e3a20a4.cdd4b","wires":[["63f1353e.3afaec"]]},{"id":"63f1353e.3afaec","type":"service-logic","name":"APPC 4.0.0","module":"APPC","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' version='4.0.0'>","outputs":1,"x":270.66666412353516,"y":71.66667461395264,"z":"2e3a20a4.cdd4b","wires":[["39441c46.1ce144"]]},{"id":"39441c46.1ce144","type":"method","name":"method GetAaiInfo","xml":"<method rpc='GetAaiInfoTest' mode='sync'>\n","comments":"","outputs":1,"x":465.66666412353516,"y":66.66667461395264,"z":"2e3a20a4.cdd4b","wires":[["69fc431f.857fdc"]]},{"id":"69fc431f.857fdc","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":113.41666412353516,"y":208.66667366027832,"z":"2e3a20a4.cdd4b","wires":[["d21e1229.c7233","75cc0c83.6ea414"]]},{"id":"75cc0c83.6ea414","type":"execute","name":"execute getAllVServersVnfcsInfo","xml":"<execute plugin=\"org.onap.appc.aai.client.node.AAIResourceNode\" method=\"getAllVServersVnfcsInfo\">\n<parameter name=\"responsePrefix\" value=\"tmp.vnfInfo\" />\n","comments":"","outputs":1,"x":360.16666412353516,"y":309.66667461395264,"z":"2e3a20a4.cdd4b","wires":[["b861bae7.ed7f38","e920d0c2.265e9"]]},{"id":"b861bae7.ed7f38","type":"failure","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":597.9166641235352,"y":308.16669273376465,"z":"2e3a20a4.cdd4b","wires":[["6536b658.4a6e98"]]},{"id":"e920d0c2.265e9","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":590.9166641235352,"y":373.9166946411133,"z":"2e3a20a4.cdd4b","wires":[["2e927b94.777bc4"]]},{"id":"6536b658.4a6e98","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":732.1666946411133,"y":307.41669368743896,"z":"2e3a20a4.cdd4b","wires":[["f5c71351.7eb9c"]]},{"id":"2e927b94.777bc4","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":731.4166946411133,"y":373.9166946411133,"z":"2e3a20a4.cdd4b","wires":[["a3877152.03659"]]},{"id":"a3877152.03659","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value=\"`$tmp.vnfInfo.error-message`\" />\n\n\n\t","comments":"","x":921.1667022705078,"y":374.91669273376465,"z":"2e3a20a4.cdd4b","wires":[]},{"id":"d21e1229.c7233","type":"execute","name":"execute getVnfInfo","xml":"<execute plugin=\"org.onap.appc.aai.client.node.AAIResourceNode\" method=\"getVnfInfo\">\n<parameter name=\"vnfId\" value=\"`$vnf-id`\" />\n<parameter name=\"responsePrefix\" value=\"tmp.vnfInfo\" />\n","comments":"","outputs":1,"x":357.66666412353516,"y":188.91667366027832,"z":"2e3a20a4.cdd4b","wires":[["a263590d.bf4bc8","883728c.1caaed8"]]},{"id":"a263590d.bf4bc8","type":"failure","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":541.4166641235352,"y":165.41667366027832,"z":"2e3a20a4.cdd4b","wires":[["6a5be154.0d7fd"]]},{"id":"6a5be154.0d7fd","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":692.4166984558105,"y":164.66667461395264,"z":"2e3a20a4.cdd4b","wires":[["b11705da.bdd1c8"]]},{"id":"b11705da.bdd1c8","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value=\"Unable to get Vnf Info from ANAI\" />\n\n\n\t","comments":"","x":867.1666984558105,"y":149.16667366027832,"z":"2e3a20a4.cdd4b","wires":[]},{"id":"883728c.1caaed8","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":542.9166641235352,"y":236.66667556762695,"z":"2e3a20a4.cdd4b","wires":[["37a2c648.d6328a"]]},{"id":"37a2c648.d6328a","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":690.1666984558105,"y":236.16667556762695,"z":"2e3a20a4.cdd4b","wires":[["b02272fd.969a9"]]},{"id":"b02272fd.969a9","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value=\"`$tmp.vnfInfo.error-message`\" />\n\n\n\t","comments":"","x":866.4166984558105,"y":228.91667556762695,"z":"2e3a20a4.cdd4b","wires":[]},{"id":"bec2087a.fef188","type":"set","name":"set vnf-type, name","xml":"<set>\n<!--<parameter name='vnf-type' value='`$tmp.vnfInfo.vnf.vnf-type`' /> \n<parameter name='vnf-name' value='`$tmp.vnfInfo.vnf.vnf-name`' /> -->\n<parameter name='vnf-type' value='vUSP - vDBE-IPX HUB' /> \n<parameter name='vnf-name' value='vUSP - vDBE-IPX HUB' />\n\n","comments":"","x":150.16666412353516,"y":439.16669368743896,"z":"2e3a20a4.cdd4b","wires":[]},{"id":"f5c71351.7eb9c","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value=\"Unable to get VServer Info from A&amp;AI\" />\n\n\n\t","comments":"","x":909.1666984558105,"y":307.66669273376465,"z":"2e3a20a4.cdd4b","wires":[]}]
+[
+ {
+ "id": "824ef7fe.3f3a28",
+ "type": "dgstart",
+ "name": "DGSTART",
+ "outputs": 1,
+ "x": 103.33332443237305,
+ "y": 37.222219467163086,
+ "z": "2e3a20a4.cdd4b",
+ "wires": [
+ [
+ "63f1353e.3afaec"
+ ]
+ ]
+ },
+ {
+ "id": "63f1353e.3afaec",
+ "type": "service-logic",
+ "name": "APPC 4.0.0",
+ "module": "APPC",
+ "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' version='4.0.0'>",
+ "outputs": 1,
+ "x": 270.66666412353516,
+ "y": 71.66667461395264,
+ "z": "2e3a20a4.cdd4b",
+ "wires": [
+ [
+ "39441c46.1ce144"
+ ]
+ ]
+ },
+ {
+ "id": "39441c46.1ce144",
+ "type": "method",
+ "name": "method GetAaiInfo",
+ "xml": "<method rpc='GetAaiInfoTest' mode='sync'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 465.66666412353516,
+ "y": 66.66667461395264,
+ "z": "2e3a20a4.cdd4b",
+ "wires": [
+ [
+ "69fc431f.857fdc"
+ ]
+ ]
+ },
+ {
+ "id": "69fc431f.857fdc",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 113.41666412353516,
+ "y": 208.66667366027832,
+ "z": "2e3a20a4.cdd4b",
+ "wires": [
+ [
+ "d21e1229.c7233",
+ "75cc0c83.6ea414"
+ ]
+ ]
+ },
+ {
+ "id": "75cc0c83.6ea414",
+ "type": "execute",
+ "name": "execute getAllVServersVnfcsInfo",
+ "xml": "<execute plugin=\"org.onap.appc.aai.client.node.AAIResourceNode\" method=\"getAllVServersVnfcsInfo\">\n<parameter name=\"responsePrefix\" value=\"tmp.vnfInfo\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 360.16666412353516,
+ "y": 309.66667461395264,
+ "z": "2e3a20a4.cdd4b",
+ "wires": [
+ [
+ "b861bae7.ed7f38",
+ "e920d0c2.265e9"
+ ]
+ ]
+ },
+ {
+ "id": "b861bae7.ed7f38",
+ "type": "failure",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 597.9166641235352,
+ "y": 308.16669273376465,
+ "z": "2e3a20a4.cdd4b",
+ "wires": [
+ [
+ "6536b658.4a6e98"
+ ]
+ ]
+ },
+ {
+ "id": "e920d0c2.265e9",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 590.9166641235352,
+ "y": 373.9166946411133,
+ "z": "2e3a20a4.cdd4b",
+ "wires": [
+ [
+ "2e927b94.777bc4"
+ ]
+ ]
+ },
+ {
+ "id": "6536b658.4a6e98",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 732.1666946411133,
+ "y": 307.41669368743896,
+ "z": "2e3a20a4.cdd4b",
+ "wires": [
+ [
+ "f5c71351.7eb9c"
+ ]
+ ]
+ },
+ {
+ "id": "2e927b94.777bc4",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 731.4166946411133,
+ "y": 373.9166946411133,
+ "z": "2e3a20a4.cdd4b",
+ "wires": [
+ [
+ "a3877152.03659"
+ ]
+ ]
+ },
+ {
+ "id": "a3877152.03659",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status=\"failure\">\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value=\"`$tmp.vnfInfo.error-message`\" />\n\n\n\t",
+ "comments": "",
+ "x": 921.1667022705078,
+ "y": 374.91669273376465,
+ "z": "2e3a20a4.cdd4b",
+ "wires": []
+ },
+ {
+ "id": "d21e1229.c7233",
+ "type": "execute",
+ "name": "execute getVnfInfo",
+ "xml": "<execute plugin=\"org.onap.appc.aai.client.node.AAIResourceNode\" method=\"getVnfInfo\">\n<parameter name=\"vnfId\" value=\"`$vnf-id`\" />\n<parameter name=\"responsePrefix\" value=\"tmp.vnfInfo\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 357.66666412353516,
+ "y": 188.91667366027832,
+ "z": "2e3a20a4.cdd4b",
+ "wires": [
+ [
+ "a263590d.bf4bc8",
+ "883728c.1caaed8"
+ ]
+ ]
+ },
+ {
+ "id": "a263590d.bf4bc8",
+ "type": "failure",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 541.4166641235352,
+ "y": 165.41667366027832,
+ "z": "2e3a20a4.cdd4b",
+ "wires": [
+ [
+ "6a5be154.0d7fd"
+ ]
+ ]
+ },
+ {
+ "id": "6a5be154.0d7fd",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 692.4166984558105,
+ "y": 164.66667461395264,
+ "z": "2e3a20a4.cdd4b",
+ "wires": [
+ [
+ "b11705da.bdd1c8"
+ ]
+ ]
+ },
+ {
+ "id": "b11705da.bdd1c8",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status=\"failure\">\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value=\"Unable to get Vnf Info from ANAI\" />\n\n\n\t",
+ "comments": "",
+ "x": 867.1666984558105,
+ "y": 149.16667366027832,
+ "z": "2e3a20a4.cdd4b",
+ "wires": []
+ },
+ {
+ "id": "883728c.1caaed8",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 542.9166641235352,
+ "y": 236.66667556762695,
+ "z": "2e3a20a4.cdd4b",
+ "wires": [
+ [
+ "37a2c648.d6328a"
+ ]
+ ]
+ },
+ {
+ "id": "37a2c648.d6328a",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 690.1666984558105,
+ "y": 236.16667556762695,
+ "z": "2e3a20a4.cdd4b",
+ "wires": [
+ [
+ "b02272fd.969a9"
+ ]
+ ]
+ },
+ {
+ "id": "b02272fd.969a9",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status=\"failure\">\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value=\"`$tmp.vnfInfo.error-message`\" />\n\n\n\t",
+ "comments": "",
+ "x": 866.4166984558105,
+ "y": 228.91667556762695,
+ "z": "2e3a20a4.cdd4b",
+ "wires": []
+ },
+ {
+ "id": "bec2087a.fef188",
+ "type": "set",
+ "name": "set vnf-type, name",
+ "xml": "<set>\n<!--<parameter name='vnf-type' value='`$tmp.vnfInfo.vnf.vnf-type`' /> \n<parameter name='vnf-name' value='`$tmp.vnfInfo.vnf.vnf-name`' /> -->\n<parameter name='vnf-type' value='vUSP - vDBE-IPX HUB' /> \n<parameter name='vnf-name' value='vUSP - vDBE-IPX HUB' />\n\n",
+ "comments": "",
+ "x": 150.16666412353516,
+ "y": 439.16669368743896,
+ "z": "2e3a20a4.cdd4b",
+ "wires": []
+ },
+ {
+ "id": "f5c71351.7eb9c",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status=\"failure\">\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value=\"Unable to get VServer Info from A&amp;AI\" />\n\n\n\t",
+ "comments": "",
+ "x": 909.1666984558105,
+ "y": 307.66669273376465,
+ "z": "2e3a20a4.cdd4b",
+ "wires": []
+ }
+]