remove redundant dg files part 4 73/55273/2
authorTaka Cho <tc012c@att.com>
Fri, 22 Jun 2018 17:48:59 +0000 (13:48 -0400)
committerPatrick Brady <pb071s@att.com>
Mon, 25 Jun 2018 19:11:34 +0000 (19:11 +0000)
DG files pick up from APPC's Repo dg-provider.jar not from here any more

Issue-ID: APPC-1031
Change-Id: I0d64a94850f910acff0a21ee0aeb8dd9d94d2a70
Signed-off-by: Taka Cho <tc012c@att.com>
platform-logic/appc/src/main/json/dg-loader-dgs/APPC/APPC_GetAaiInfo.json [deleted file]
platform-logic/appc/src/main/json/dg-loader-dgs/APPC/APPC_GetAaiInfoTest.json [deleted file]
platform-logic/appc/src/main/json/dg-loader-dgs/APPC/APPC_GetConfigParams.json [deleted file]

diff --git a/platform-logic/appc/src/main/json/dg-loader-dgs/APPC/APPC_GetAaiInfo.json b/platform-logic/appc/src/main/json/dg-loader-dgs/APPC/APPC_GetAaiInfo.json
deleted file mode 100644 (file)
index 047b5c5..0000000
+++ /dev/null
@@ -1,289 +0,0 @@
-[
-    {
-        "id": "2a18327b.190d5e",
-        "name": "DGSTART",
-        "outputs": 1,
-        "type": "dgstart",
-        "wires": [
-            [
-                "b64ac861.3c4448"
-            ]
-        ],
-        "x": 138,
-        "y": 65,
-        "z": "a83714d9.fe1b58"
-    },
-    {
-        "comments": "",
-        "id": "b64ac861.3c4448",
-        "module": "APPC",
-        "name": "APPC 4.0.0",
-        "outputs": 1,
-        "type": "service-logic",
-        "version": "4.0.0",
-        "wires": [
-            [
-                "3bbeff64.7fc8e"
-            ]
-        ],
-        "x": 307,
-        "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'>",
-        "y": 65,
-        "z": "a83714d9.fe1b58"
-    },
-    {
-        "comments": "",
-        "id": "3bbeff64.7fc8e",
-        "name": "method GetAaiInfo",
-        "outputs": 1,
-        "type": "method",
-        "wires": [
-            [
-                "5c608a98.0bf024"
-            ]
-        ],
-        "x": 520,
-        "xml": "<method rpc='GetAaiInfo' mode='sync'>\n",
-        "y": 64,
-        "z": "a83714d9.fe1b58"
-    },
-    {
-        "atomic": "true",
-        "id": "5c608a98.0bf024",
-        "name": "block : atomic",
-        "outputs": 1,
-        "type": "block",
-        "wires": [
-            [
-                "97f65464.3d36f8",
-                "a6922b1b.264198",
-                "1a8c611b.0adb8f"
-            ]
-        ],
-        "x": 146,
-        "xml": "<block atomic=\"true\">",
-        "y": 147,
-        "z": "a83714d9.fe1b58"
-    },
-    {
-        "comments": "",
-        "id": "1a8c611b.0adb8f",
-        "name": "execute getAllVServersVnfcsInfo",
-        "outputs": 1,
-        "type": "execute",
-        "wires": [
-            [
-                "58a50d95.a39f74",
-                "7cb8a280.e67fdc"
-            ]
-        ],
-        "x": 271.5,
-        "xml": "<execute plugin=\"org.onap.appc.aai.client.node.AAIResourceNode\" method=\"getAllVServersVnfcsInfo\">\n<parameter name=\"responsePrefix\" value=\"tmp.vnfInfo\" />\n",
-        "y": 560,
-        "z": "a83714d9.fe1b58"
-    },
-    {
-        "comments": "",
-        "id": "58a50d95.a39f74",
-        "name": "not-found",
-        "outputs": 1,
-        "type": "failure",
-        "wires": [
-            [
-                "cca89eac.a4cc9"
-            ]
-        ],
-        "x": 536.5,
-        "xml": "<outcome value='not-found'>\n",
-        "y": 562,
-        "z": "a83714d9.fe1b58"
-    },
-    {
-        "comments": "",
-        "id": "7cb8a280.e67fdc",
-        "name": "failure",
-        "outputs": 1,
-        "type": "failure",
-        "wires": [
-            [
-                "e7e14ccf.66209"
-            ]
-        ],
-        "x": 534.5,
-        "xml": "<outcome value='failure'>\n",
-        "y": 604,
-        "z": "a83714d9.fe1b58"
-    },
-    {
-        "atomic": "false",
-        "comments": "",
-        "id": "cca89eac.a4cc9",
-        "name": "block",
-        "outputs": 1,
-        "type": "block",
-        "wires": [
-            [
-                "6fc8268c.676d48"
-            ]
-        ],
-        "x": 684.5,
-        "xml": "<block>\n",
-        "y": 560,
-        "z": "a83714d9.fe1b58"
-    },
-    {
-        "atomic": "false",
-        "comments": "",
-        "id": "e7e14ccf.66209",
-        "name": "block",
-        "outputs": 1,
-        "type": "block",
-        "wires": [
-            [
-                "b227c95d.666fb8"
-            ]
-        ],
-        "x": 667.5,
-        "xml": "<block>\n",
-        "y": 604,
-        "z": "a83714d9.fe1b58"
-    },
-    {
-        "comments": "",
-        "id": "b227c95d.666fb8",
-        "name": "return failure",
-        "type": "returnFailure",
-        "wires": [],
-        "x": 833.5,
-        "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",
-        "y": 605,
-        "z": "a83714d9.fe1b58"
-    },
-    {
-        "comments": "",
-        "id": "97f65464.3d36f8",
-        "name": "execute getVnfInfo",
-        "outputs": 1,
-        "type": "execute",
-        "wires": [
-            [
-                "75b9e9c.a60e318",
-                "90e21982.e540b8"
-            ]
-        ],
-        "x": 385,
-        "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",
-        "y": 141,
-        "z": "a83714d9.fe1b58"
-    },
-    {
-        "comments": "",
-        "id": "75b9e9c.a60e318",
-        "name": "not-found",
-        "outputs": 1,
-        "type": "failure",
-        "wires": [
-            [
-                "a8b107b4.c7e7d8"
-            ]
-        ],
-        "x": 574,
-        "xml": "<outcome value='not-found'>\n",
-        "y": 140,
-        "z": "a83714d9.fe1b58"
-    },
-    {
-        "atomic": "false",
-        "comments": "",
-        "id": "a8b107b4.c7e7d8",
-        "name": "block",
-        "outputs": 1,
-        "type": "block",
-        "wires": [
-            [
-                "fd247ef0.16c0a"
-            ]
-        ],
-        "x": 730,
-        "xml": "<block>\n",
-        "y": 143,
-        "z": "a83714d9.fe1b58"
-    },
-    {
-        "comments": "",
-        "id": "fd247ef0.16c0a",
-        "name": "return failure",
-        "type": "returnFailure",
-        "wires": [],
-        "x": 901,
-        "xml": "<return status=\"failure\">\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value=\"Unable to get Vnf Info from A&amp;AI\" />\n\n\n\t",
-        "y": 145,
-        "z": "a83714d9.fe1b58"
-    },
-    {
-        "comments": "",
-        "id": "90e21982.e540b8",
-        "name": "failure",
-        "outputs": 1,
-        "type": "failure",
-        "wires": [
-            [
-                "a1033df9.8163a"
-            ]
-        ],
-        "x": 568,
-        "xml": "<outcome value='failure'>\n",
-        "y": 195,
-        "z": "a83714d9.fe1b58"
-    },
-    {
-        "atomic": "false",
-        "comments": "",
-        "id": "a1033df9.8163a",
-        "name": "block",
-        "outputs": 1,
-        "type": "block",
-        "wires": [
-            [
-                "b4abe73d.5ece28"
-            ]
-        ],
-        "x": 719,
-        "xml": "<block>\n",
-        "y": 197,
-        "z": "a83714d9.fe1b58"
-    },
-    {
-        "comments": "",
-        "id": "b4abe73d.5ece28",
-        "name": "return failure",
-        "type": "returnFailure",
-        "wires": [],
-        "x": 879,
-        "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",
-        "y": 196,
-        "z": "a83714d9.fe1b58"
-    },
-    {
-        "comments": "",
-        "id": "a6922b1b.264198",
-        "name": "set vnf-type, name",
-        "type": "set",
-        "wires": [],
-        "x": 349,
-        "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\n",
-        "y": 248,
-        "z": "a83714d9.fe1b58"
-    },
-    {
-        "comments": "",
-        "id": "6fc8268c.676d48",
-        "name": "return failure",
-        "type": "returnFailure",
-        "wires": [],
-        "x": 849,
-        "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",
-        "y": 559,
-        "z": "a83714d9.fe1b58"
-    }
-]
diff --git a/platform-logic/appc/src/main/json/dg-loader-dgs/APPC/APPC_GetAaiInfoTest.json b/platform-logic/appc/src/main/json/dg-loader-dgs/APPC/APPC_GetAaiInfoTest.json
deleted file mode 100644 (file)
index 91c101a..0000000
+++ /dev/null
@@ -1 +0,0 @@
-[{"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":[]}]
diff --git a/platform-logic/appc/src/main/json/dg-loader-dgs/APPC/APPC_GetConfigParams.json b/platform-logic/appc/src/main/json/dg-loader-dgs/APPC/APPC_GetConfigParams.json
deleted file mode 100644 (file)
index feac4da..0000000
+++ /dev/null
@@ -1 +0,0 @@
-[{"id":"bdadd291.e9b62","type":"dgstart","name":"DGSTART","outputs":1,"x":132,"y":77,"z":"9846523.9a152b","wires":[["5d2edae1.6fda04"]]},{"id":"85304d9c.535d2","type":"set","name":"set params based on Dispatcher Input","xml":"<set>\n<parameter name='vnf-id' value='`$input.action-identifiers.vnf-id`' /> \n<parameter name='service-instance-id' value='`$input.action-identifiers.service-instance-id`' /> \n\n\n<parameter name='request-id' value='`$input.common-header.request-id`' />\n<parameter name='originator-id' value='`$input.common-header.originator-id`' /> \n\n<parameter name='payload' value='`$input.payload`' /> \n<parameter name='api-ver' value='`$input.api-ver`' /> \n<parameter name='request-action' value='`$input.action`' />\n","comments":"","x":536,"y":120,"z":"9846523.9a152b","wires":[]},{"id":"5d2edae1.6fda04","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":283,"y":75,"z":"9846523.9a152b","wires":[["331e3f73.fe7c3"]]},{"id":"331e3f73.fe7c3","type":"method","name":"method GetConfigParams","xml":"<method rpc='GetConfigParams' mode='sync'>\n","comments":"","outputs":1,"x":490,"y":75,"z":"9846523.9a152b","wires":[["a78f2b9a.c49888"]]},{"id":"a78f2b9a.c49888","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":160,"y":587,"z":"9846523.9a152b","wires":[["85304d9c.535d2","34ff61f8.fd8f5e","8fc43feb.9a60c","c28019f8.afc3f8","9a0af1ec.da4f7","a77c9d6b.957d5","a05db48f.4a8cf8","b07d6e08.66999","877a53e3.29072","2e4ac4fe.4eb5bc","67ff975f.230538"]]},{"id":"877a53e3.29072","type":"execute","name":"execute Convert payload to DG Context ","xml":"<execute plugin=\"org.onap.sdnc.config.generator.convert.ConvertNode\" method=\"convertJson2DGContext\">\n<parameter name=\"jsonData\" value=\"`$input.payload`\" />\n<parameter name=\"isEscaped\" value=\"N\" />\n<parameter name=\"blockKeys\" value=\"configuration-parameters,configuration.configuration-string,configuration.configuration-json\" />\n<parameter name=\"responsePrefix\" value=\"tmp.convertnode\" />","comments":"","outputs":1,"x":533.5,"y":275,"z":"9846523.9a152b","wires":[["a8121e8f.60cb8","2f277cc.c7f9f84"]]},{"id":"a8121e8f.60cb8","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":777.5,"y":261,"z":"9846523.9a152b","wires":[["d0b0f72c.1ef9b8"]]},{"id":"2f277cc.c7f9f84","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":769.5,"y":311,"z":"9846523.9a152b","wires":[["85134164.cff61"]]},{"id":"d0b0f72c.1ef9b8","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":920.5,"y":259,"z":"9846523.9a152b","wires":[["4130df1b.21a72"]]},{"id":"85134164.cff61","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":928.5,"y":307,"z":"9846523.9a152b","wires":[["c604dbab.f04f18"]]},{"id":"2e4ac4fe.4eb5bc","type":"set","name":"set Payload params ","xml":"<set>\n<!-- vnf type, name is from A&AI \n<parameter name='vnf-type' value='`$tmp.vnfInfo.vnf.vnf-type`' />\n<parameter name='vnf-name' value='`$tmp.vnfInfo.vnf.vnf-name`' />\n-->\n<!-- 17.07 Parameters from request -->\n<parameter name='template-name' value='`$request-parameters.template-name`' />\n<parameter name='vnf-host-ip-address' value='`$request-parameters.vnf-host-ip-address`' />\n<parameter name='vnfc-type' value='`$request-parameters.vnfc-type`' /> \n\n<parameter name='configurationblock' value='`$block_configuration`' />\n\n\n<!-- parameters to be merged with template provided as input-->\n<parameter name='configuration-params' value='`$block_configuration-parameters`' /> \n\n<!-- Get from AAI \n<parameter name='vnf-type' value='`$request-parameters.vnf-type`' />\n\n<parameter name='vnf-name' value='`$request-parameters.vnf-name`' />\n\n<parameter name='vnfc-type' value='`$request-parameters.vm[0].vnfc[0].vnfc-type`' />\n<parameter name='vm-name' value='`$request-parameters.vm[0].vm-name`' />\n-->\n\n<!-- Not Used?\n<parameter name='site-location' value='`$request-parameters.site-location`' />\n<parameter name='file-name' value='`$request-parameters.file-name`' />\n-->\n\n\n\n\n","comments":"","x":468,"y":350,"z":"9846523.9a152b","wires":[]},{"id":"4130df1b.21a72","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n<parameter name=\"error-code\" value=\"401\"/>\n\t<parameter name=\"error-message\" value=\"`$tmp.convertnode.error-message`\"/>\n\t\n\t","comments":"","x":1081.5,"y":258,"z":"9846523.9a152b","wires":[]},{"id":"c604dbab.f04f18","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n\t<parameter name=\"error-code\" value=\"401\"/>\n\t<parameter name=\"error-message\" value=\"Unable to process input parameters\"/>\n\t","comments":"","x":1090.5,"y":305,"z":"9846523.9a152b","wires":[]},{"id":"8fc43feb.9a60c","type":"switchNode","name":"switch configuration.configuration-string","xml":"<switch test='`$block_configuration.configuration-string`'>\n","comments":"","outputs":1,"x":482,"y":657,"z":"9846523.9a152b","wires":[["e2cb4e10.aec7a","c1e6d145.7f735"]]},{"id":"88df205a.bdea6","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":921,"y":627,"z":"9846523.9a152b","wires":[[]]},{"id":"e2cb4e10.aec7a","type":"success","name":"outcome: Other","xml":"<outcome value=\"Other\">","comments":"","outputs":1,"x":757,"y":667,"z":"9846523.9a152b","wires":[["af9b29c9.310518"]]},{"id":"af9b29c9.310518","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":930,"y":666,"z":"9846523.9a152b","wires":[["d0db7df9.24bf"]]},{"id":"d0db7df9.24bf","type":"set","name":"set configuration","xml":"<set>\n<parameter name='configuration' value='`$block_configuration.configuration-string`' />\n","comments":"","x":1103,"y":667,"z":"9846523.9a152b","wires":[]},{"id":"93037cd8.f1eec","type":"comment","name":"CLI/XML","info":"","comments":"","x":1273,"y":644,"z":"9846523.9a152b","wires":[]},{"id":"c28019f8.afc3f8","type":"switchNode","name":"switch configuration.configuration-json","xml":"<switch test='`$block_configuration.configuration-json`'>\n","comments":"","outputs":1,"x":464.5,"y":720,"z":"9846523.9a152b","wires":[["68f64c8a.f2e724","6f982910.0c0b78"]]},{"id":"68f64c8a.f2e724","type":"success","name":"outcome: Other","xml":"<outcome value=\"Other\">","comments":"","outputs":1,"x":747.5,"y":764,"z":"9846523.9a152b","wires":[["3146e363.49402c"]]},{"id":"6e42dc89.a22324","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":923.5,"y":722,"z":"9846523.9a152b","wires":[[]]},{"id":"3146e363.49402c","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":920.5,"y":761,"z":"9846523.9a152b","wires":[["94b621aa.d0b4b"]]},{"id":"94b621aa.d0b4b","type":"set","name":"set configuration","xml":"<set>\n<parameter name='configuration' value='`$block_configuration.configuration-json`' />\n","comments":"","x":1093.5,"y":761,"z":"9846523.9a152b","wires":[]},{"id":"cf21af62.b238b","type":"comment","name":"JSON","info":"","comments":"","x":1249,"y":758,"z":"9846523.9a152b","wires":[]},{"id":"34ff61f8.fd8f5e","type":"switchNode","name":"switch template-name","xml":"<switch test='`$template-name`'>\n","comments":"","outputs":1,"x":454,"y":554,"z":"9846523.9a152b","wires":[["bd1f9c68.27e6f","73d2981e.49fe78"]]},{"id":"bd1f9c68.27e6f","type":"success","name":"outcome: null","xml":"<outcome value=''>","comments":"","outputs":1,"x":674,"y":533,"z":"9846523.9a152b","wires":[["5bb89cd3.40ca14"]]},{"id":"73d2981e.49fe78","type":"success","name":"outcome: Other","xml":"<outcome value=\"Other\">","comments":"","outputs":1,"x":679,"y":575,"z":"9846523.9a152b","wires":[["6f45286f.ee3fd8"]]},{"id":"6f45286f.ee3fd8","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":852,"y":572,"z":"9846523.9a152b","wires":[["4e555f4.07e51a"]]},{"id":"4e555f4.07e51a","type":"set","name":"set config-type","xml":"<set>\n<parameter name='config-type' value='template' />\n","comments":"","x":1024,"y":574,"z":"9846523.9a152b","wires":[]},{"id":"9a0af1ec.da4f7","type":"switchNode","name":"switch configuration","xml":"<switch test='`$configuration`'>\n","comments":"","outputs":1,"x":434,"y":814,"z":"9846523.9a152b","wires":[["cd56d572.bb8218","5573ad8.e2dad54"]]},{"id":"cd56d572.bb8218","type":"success","name":"outcome: Other","xml":"<outcome value=\"Other\">","comments":"","outputs":1,"x":532,"y":897,"z":"9846523.9a152b","wires":[["77b23a98.d7bfa4"]]},{"id":"4b809017.42d3d","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":834,"y":823,"z":"9846523.9a152b","wires":[["e1702e21.a8c9a"]]},{"id":"8cd17825.b965d8","type":"set","name":"set config-type","xml":"<set>\n<parameter name='config-type' value='template' />\n","comments":"","x":1321,"y":912,"z":"9846523.9a152b","wires":[]},{"id":"82b1b984.79d688","type":"comment","name":"Template","info":"","comments":"","x":1301,"y":954,"z":"9846523.9a152b","wires":[]},{"id":"e1702e21.a8c9a","type":"switchNode","name":"switch Configuration params exists","xml":"<switch test='`$configuration-params`'>\n","comments":"","outputs":1,"x":1072,"y":823,"z":"9846523.9a152b","wires":[["f4c11152.2c21f","ad5ffddd.7bb23"]]},{"id":"f4c11152.2c21f","type":"success","name":"outcome: Other","xml":"<outcome value=\"Other\">","comments":"","outputs":1,"x":995,"y":910,"z":"9846523.9a152b","wires":[["432bcf96.ea922"]]},{"id":"432bcf96.ea922","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1159,"y":912,"z":"9846523.9a152b","wires":[["8cd17825.b965d8"]]},{"id":"2d36c832.da5f58","type":"comment","name":"Specific Template","info":"","comments":"","x":1215,"y":566,"z":"9846523.9a152b","wires":[]},{"id":"5bb89cd3.40ca14","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":863,"y":528,"z":"9846523.9a152b","wires":[[]]},{"id":"77b23a98.d7bfa4","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":691,"y":900,"z":"9846523.9a152b","wires":[[]]},{"id":"11aca9f7.f168c6","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1500,"y":806,"z":"9846523.9a152b","wires":[["d0d253e5.fc042"]]},{"id":"d0d253e5.fc042","type":"switchNode","name":"switch template-name","xml":"<switch test='`$template-name`'>\n","comments":"","outputs":1,"x":1690,"y":807,"z":"9846523.9a152b","wires":[["5a278bf.16fda74"]]},{"id":"6012a2aa.a432ec","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1718,"y":857,"z":"9846523.9a152b","wires":[["b3766c28.ca798"]]},{"id":"b3766c28.ca798","type":"set","name":"set config-type","xml":"<set>\n<parameter name='config-type' value='template' />\n","comments":"","x":1903,"y":859,"z":"9846523.9a152b","wires":[]},{"id":"dcb50714.1aaec8","type":"comment","name":"Restore scenario:ASDC Template to be directly donwloaded - no params","info":"","comments":"","x":1844,"y":905,"z":"9846523.9a152b","wires":[]},{"id":"c1e6d145.7f735","type":"success","name":"outcome: null","xml":"<outcome value=''>","comments":"","outputs":1,"x":759,"y":623,"z":"9846523.9a152b","wires":[["88df205a.bdea6"]]},{"id":"6f982910.0c0b78","type":"success","name":"outcome: null","xml":"<outcome value=''>","comments":"","outputs":1,"x":752,"y":715,"z":"9846523.9a152b","wires":[["6e42dc89.a22324"]]},{"id":"5573ad8.e2dad54","type":"success","name":"outcome: null","xml":"<outcome value=''>","comments":"","outputs":1,"x":644,"y":818,"z":"9846523.9a152b","wires":[["4b809017.42d3d"]]},{"id":"ad5ffddd.7bb23","type":"success","name":"outcome: null","xml":"<outcome value=''>","comments":"","outputs":1,"x":1337,"y":813,"z":"9846523.9a152b","wires":[["11aca9f7.f168c6"]]},{"id":"5a278bf.16fda74","type":"success","name":"outcome: null","xml":"<outcome value=''>","comments":"","outputs":1,"x":1897,"y":811,"z":"9846523.9a152b","wires":[["6012a2aa.a432ec"]]},{"id":"a77c9d6b.957d5","type":"execute","name":"execute getCommonConfigInfo","xml":"<execute plugin=\"org.onap.appc.data.services.node.ConfigResourceNode\" method=\"getCommonConfigInfo\">\n<parameter name=\"responsePrefix\" value=\"tmp.commonConfigInfo\" />\n","comments":"","outputs":1,"x":530,"y":1094,"z":"9846523.9a152b","wires":[["d7c8eaa0.3ee748","3cfaba11.b14c06","52458f74.54ba4"]]},{"id":"d7c8eaa0.3ee748","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":761,"y":1079,"z":"9846523.9a152b","wires":[["1a62b176.c364af"]]},{"id":"3cfaba11.b14c06","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":753,"y":1126,"z":"9846523.9a152b","wires":[["1fb56fbd.d2396"]]},{"id":"1a62b176.c364af","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":944,"y":1082,"z":"9846523.9a152b","wires":[["a0790e89.65e41"]]},{"id":"a0790e89.65e41","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n<parameter name=\"error-code\" value=\"401\"/>\n\t<parameter name=\"error-message\" value=\"Unable to Read Device Info\"/>\n\t\n","comments":"","x":1128,"y":1081,"z":"9846523.9a152b","wires":[]},{"id":"1fb56fbd.d2396","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":930,"y":1129,"z":"9846523.9a152b","wires":[["cca280e3.53bd6"]]},{"id":"cca280e3.53bd6","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n<parameter name=\"error-code\" value=\"401\"/>\n\t<parameter name=\"error-message\" value=\"`$tmp.commonConfigInfo.error-message`\"/>\n\t\n\t\n\t\n","comments":"","x":1116,"y":1127,"z":"9846523.9a152b","wires":[]},{"id":"b07d6e08.66999","type":"execute","name":"execute saveTxLog","xml":"<execute plugin=\"org.onap.appc.data.services.node.ConfigResourceNode\" method=\"saveConfigTransactionLog\">\n<parameter name=\"messageType\" value=\"request\" />\n<parameter name=\"message\" value=\"`$tmp.message`\" />\n<parameter name=\"responsePrefix\" value=\"tmp.saveTxLog\" />\n","comments":"","outputs":1,"x":467,"y":194,"z":"9846523.9a152b","wires":[["c9769ad8.507058"]]},{"id":"a05db48f.4a8cf8","type":"set","name":"set tmp.message","xml":"<set>\n<parameter name=\"tmp.message\" value=\"`$vnf-id + ' : ' + $request-action +  ': ' + $payload`\" />\n","comments":"","x":467,"y":155,"z":"9846523.9a152b","wires":[]},{"id":"c9769ad8.507058","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":651,"y":193,"z":"9846523.9a152b","wires":[["9f2b34ef.449da8"]]},{"id":"9f2b34ef.449da8","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":808,"y":190,"z":"9846523.9a152b","wires":[[]]},{"id":"67ff975f.230538","type":"call","name":"call: getAAIInfo","xml":"<call module=\"APPC\" rpc=\"GetAaiInfo\" mode=\"sync\">","comments":"","outputs":1,"x":455,"y":435,"z":"9846523.9a152b","wires":[["2f57b512.b0b9ba"]]},{"id":"2f57b512.b0b9ba","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":631,"y":435,"z":"9846523.9a152b","wires":[["88e62d7d.4f67f"]]},{"id":"88e62d7d.4f67f","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":800,"y":440,"z":"9846523.9a152b","wires":[["adb46ab4.46b038"]]},{"id":"adb46ab4.46b038","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n\t<parameter name=\"error-code\" value=\"401\"/>\n\t<parameter name=\"error-message\" value=\"DG Workflow GetAaiInfo not found\"/>\n\t","comments":"","x":983,"y":442,"z":"9846523.9a152b","wires":[]},{"id":"52458f74.54ba4","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":757,"y":1185,"z":"9846523.9a152b","wires":[["8a5d9bf6.d965a8"]]},{"id":"8a5d9bf6.d965a8","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":920,"y":1189,"z":"9846523.9a152b","wires":[["f0e76d61.b35cf"]]},{"id":"f0e76d61.b35cf","type":"record","name":"record","xml":"<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"info\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"`$request-action`\"/>\n<parameter name=\"field3\" value=\"`$input.action`\"/>\n\n","comments":"","outputs":1,"x":1088,"y":1188,"z":"9846523.9a152b","wires":[[]]}]