Platform Hardening for DG Json files- Part 6 33/26833/1
authorTaka <tc012c@att.com>
Fri, 22 Dec 2017 22:44:27 +0000 (17:44 -0500)
committerTaka <tc012c@att.com>
Fri, 22 Dec 2017 22:46:08 +0000 (17:46 -0500)
Issue-ID: APPC-305
Change-Id: I6cdc5bc789c4935d4515bc55edd8a9dc7f32c3c3
Signed-off-by: Taka <tc012c@att.com>
appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_GenerateTemplateConfig.json
appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_Generic_AnsibleDG.json
appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_Generic_ChefDG.json
appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_Generic_Configure.json
appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_GetAaiInfo.json
appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_GetAaiInfoTest.json
appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_GetConfigParams.json
appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_GetDeviceRunningConfig.json
appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_GetTemplateConfig_Ansible.json
appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_GetTemplateConfig_Chef.json
appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_GetVfModuleInfo.json

index efdc91a..1fb1736 100644 (file)
@@ -1 +1,310 @@
-[{"id":"42b2dfc0.a5c5e","type":"dgstart","name":"DGSTART","outputs":1,"x":168,"y":108,"z":"d7c523d9.040c","wires":[["d9d88d2e.06e01"]]},{"id":"d9d88d2e.06e01","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":320,"y":107,"z":"d7c523d9.040c","wires":[["f1a68f7c.b0fd1"]]},{"id":"f1a68f7c.b0fd1","type":"method","name":"method GenerateTemplateConfig","xml":"<method rpc='GenerateTemplateConfig' mode='sync'>\n","comments":"","outputs":1,"x":560,"y":110,"z":"d7c523d9.040c","wires":[["2975bd2f.022512"]]},{"id":"2975bd2f.022512","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":180,"y":171,"z":"d7c523d9.040c","wires":[["718c80aa.91b87","cac9421d.229c9"]]},{"id":"458ebbd8.86b484","type":"execute","name":"execute Merge Data with Template","xml":"<execute plugin=\"org.onap.sdnc.config.generator.merge.MergeNode\" method=\"mergeJsonDataOnTemplate\">\n<parameter name=\"jsonData\" value=\"`$configuration-params`\" />\n<parameter name=\"templateData\" value=\"`$config-template.file-content`\" />\n<parameter name=\"templateType\" value=\"json\" />\n<parameter name=\"responsePrefix\" value=\"tmp.merge\" />","comments":"","outputs":1,"x":680.5,"y":378,"z":"d7c523d9.040c","wires":[["b61648ca.231c98","95b9fc11.efc86"]]},{"id":"b61648ca.231c98","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":929.5,"y":346,"z":"d7c523d9.040c","wires":[["ad78434b.53b5e"]]},{"id":"ad78434b.53b5e","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1077.5,"y":347,"z":"d7c523d9.040c","wires":[["39a12381.5bf87c"]]},{"id":"39a12381.5bf87c","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 merge template with data\"/>\n\t","comments":"","x":1251.5,"y":348,"z":"d7c523d9.040c","wires":[]},{"id":"95b9fc11.efc86","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":924.5,"y":422,"z":"d7c523d9.040c","wires":[["3e2c957.50e086a"]]},{"id":"3e2c957.50e086a","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1072.5,"y":424,"z":"d7c523d9.040c","wires":[["4d72da43.0cfe14"]]},{"id":"4d72da43.0cfe14","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n\t<parameter name=\"error-code\" value=\"401\"/>\n\t<parameter name=\"error-message\" value=\"`$tmp.merge.error-message`\"/>\n\t","comments":"","x":1263.5,"y":423,"z":"d7c523d9.040c","wires":[]},{"id":"718c80aa.91b87","type":"switchNode","name":"switch Configuration params exists","xml":"<switch test='`$configuration-params`'>\n","comments":"","outputs":1,"x":425,"y":170,"z":"d7c523d9.040c","wires":[["8f31c08f.9dbb2","4be7f151.48d7f"]]},{"id":"baa4370e.36b778","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":664,"y":237,"z":"d7c523d9.040c","wires":[["458ebbd8.86b484"]]},{"id":"8f31c08f.9dbb2","type":"success","name":"outcome:Other","xml":"<outcome value=\"Other\">","comments":"","outputs":1,"x":472,"y":234,"z":"d7c523d9.040c","wires":[["baa4370e.36b778"]]},{"id":"4be7f151.48d7f","type":"success","name":"outcome: null","xml":"<outcome value=''>","comments":"","outputs":1,"x":765,"y":165,"z":"d7c523d9.040c","wires":[["a55c78ed.34cc38"]]},{"id":"cac9421d.229c9","type":"execute","name":"execute saveTemplateConfig","xml":"<execute plugin=\"org.onap.appc.data.services.node.ConfigResourceNode\" method=\"saveTemplateConfig\">\n<parameter name=\"responsePrefix\" value=\"tmp.saveTemplateConfig\" />","comments":"","outputs":1,"x":248,"y":623,"z":"d7c523d9.040c","wires":[["6a63d2a.0f3ba2c"]]},{"id":"6a63d2a.0f3ba2c","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":458,"y":623,"z":"d7c523d9.040c","wires":[["f2ef42ef.faf2a"]]},{"id":"f2ef42ef.faf2a","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":625,"y":625,"z":"d7c523d9.040c","wires":[["2fab99ac.fc2306"]]},{"id":"2fab99ac.fc2306","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n<parameter name=\"error-code\" value=\"401\"/>\n\t<parameter name=\"error-message\" value=\"`$tmp.saveConfigBlock.error-message`\"/>\n\t\n\t\n\t","comments":"","x":816,"y":628,"z":"d7c523d9.040c","wires":[]},{"id":"a55c78ed.34cc38","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":955,"y":167,"z":"d7c523d9.040c","wires":[[]]}]
+[\r
+    {\r
+        "id": "42b2dfc0.a5c5e",\r
+        "type": "dgstart",\r
+        "name": "DGSTART",\r
+        "outputs": 1,\r
+        "x": 168,\r
+        "y": 108,\r
+        "z": "d7c523d9.040c",\r
+        "wires": [\r
+            [\r
+                "d9d88d2e.06e01"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d9d88d2e.06e01",\r
+        "type": "service-logic",\r
+        "name": "APPC 4.0.0",\r
+        "module": "APPC",\r
+        "version": "4.0.0",\r
+        "comments": "",\r
+        "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'>",\r
+        "outputs": 1,\r
+        "x": 320,\r
+        "y": 107,\r
+        "z": "d7c523d9.040c",\r
+        "wires": [\r
+            [\r
+                "f1a68f7c.b0fd1"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f1a68f7c.b0fd1",\r
+        "type": "method",\r
+        "name": "method GenerateTemplateConfig",\r
+        "xml": "<method rpc='GenerateTemplateConfig' mode='sync'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 560,\r
+        "y": 110,\r
+        "z": "d7c523d9.040c",\r
+        "wires": [\r
+            [\r
+                "2975bd2f.022512"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "2975bd2f.022512",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 180,\r
+        "y": 171,\r
+        "z": "d7c523d9.040c",\r
+        "wires": [\r
+            [\r
+                "718c80aa.91b87",\r
+                "cac9421d.229c9"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "458ebbd8.86b484",\r
+        "type": "execute",\r
+        "name": "execute Merge Data with Template",\r
+        "xml": "<execute plugin=\"org.onap.sdnc.config.generator.merge.MergeNode\" method=\"mergeJsonDataOnTemplate\">\n<parameter name=\"jsonData\" value=\"`$configuration-params`\" />\n<parameter name=\"templateData\" value=\"`$config-template.file-content`\" />\n<parameter name=\"templateType\" value=\"json\" />\n<parameter name=\"responsePrefix\" value=\"tmp.merge\" />",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 680.5,\r
+        "y": 378,\r
+        "z": "d7c523d9.040c",\r
+        "wires": [\r
+            [\r
+                "b61648ca.231c98",\r
+                "95b9fc11.efc86"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b61648ca.231c98",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 929.5,\r
+        "y": 346,\r
+        "z": "d7c523d9.040c",\r
+        "wires": [\r
+            [\r
+                "ad78434b.53b5e"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ad78434b.53b5e",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1077.5,\r
+        "y": 347,\r
+        "z": "d7c523d9.040c",\r
+        "wires": [\r
+            [\r
+                "39a12381.5bf87c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "39a12381.5bf87c",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status=\"failure\">\n\t<parameter name=\"error-code\" value=\"401\"/>\n\t<parameter name=\"error-message\" value=\"Unable to merge template with data\"/>\n\t",\r
+        "comments": "",\r
+        "x": 1251.5,\r
+        "y": 348,\r
+        "z": "d7c523d9.040c",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "95b9fc11.efc86",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 924.5,\r
+        "y": 422,\r
+        "z": "d7c523d9.040c",\r
+        "wires": [\r
+            [\r
+                "3e2c957.50e086a"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "3e2c957.50e086a",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1072.5,\r
+        "y": 424,\r
+        "z": "d7c523d9.040c",\r
+        "wires": [\r
+            [\r
+                "4d72da43.0cfe14"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "4d72da43.0cfe14",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status=\"failure\">\n\t<parameter name=\"error-code\" value=\"401\"/>\n\t<parameter name=\"error-message\" value=\"`$tmp.merge.error-message`\"/>\n\t",\r
+        "comments": "",\r
+        "x": 1263.5,\r
+        "y": 423,\r
+        "z": "d7c523d9.040c",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "718c80aa.91b87",\r
+        "type": "switchNode",\r
+        "name": "switch Configuration params exists",\r
+        "xml": "<switch test='`$configuration-params`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 425,\r
+        "y": 170,\r
+        "z": "d7c523d9.040c",\r
+        "wires": [\r
+            [\r
+                "8f31c08f.9dbb2",\r
+                "4be7f151.48d7f"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "baa4370e.36b778",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 664,\r
+        "y": 237,\r
+        "z": "d7c523d9.040c",\r
+        "wires": [\r
+            [\r
+                "458ebbd8.86b484"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "8f31c08f.9dbb2",\r
+        "type": "success",\r
+        "name": "outcome:Other",\r
+        "xml": "<outcome value=\"Other\">",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 472,\r
+        "y": 234,\r
+        "z": "d7c523d9.040c",\r
+        "wires": [\r
+            [\r
+                "baa4370e.36b778"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "4be7f151.48d7f",\r
+        "type": "success",\r
+        "name": "outcome: null",\r
+        "xml": "<outcome value=''>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 765,\r
+        "y": 165,\r
+        "z": "d7c523d9.040c",\r
+        "wires": [\r
+            [\r
+                "a55c78ed.34cc38"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "cac9421d.229c9",\r
+        "type": "execute",\r
+        "name": "execute saveTemplateConfig",\r
+        "xml": "<execute plugin=\"org.onap.appc.data.services.node.ConfigResourceNode\" method=\"saveTemplateConfig\">\n<parameter name=\"responsePrefix\" value=\"tmp.saveTemplateConfig\" />",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 248,\r
+        "y": 623,\r
+        "z": "d7c523d9.040c",\r
+        "wires": [\r
+            [\r
+                "6a63d2a.0f3ba2c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "6a63d2a.0f3ba2c",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 458,\r
+        "y": 623,\r
+        "z": "d7c523d9.040c",\r
+        "wires": [\r
+            [\r
+                "f2ef42ef.faf2a"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f2ef42ef.faf2a",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 625,\r
+        "y": 625,\r
+        "z": "d7c523d9.040c",\r
+        "wires": [\r
+            [\r
+                "2fab99ac.fc2306"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "2fab99ac.fc2306",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status=\"failure\">\n<parameter name=\"error-code\" value=\"401\"/>\n\t<parameter name=\"error-message\" value=\"`$tmp.saveConfigBlock.error-message`\"/>\n\t\n\t\n\t",\r
+        "comments": "",\r
+        "x": 816,\r
+        "y": 628,\r
+        "z": "d7c523d9.040c",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "a55c78ed.34cc38",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 955,\r
+        "y": 167,\r
+        "z": "d7c523d9.040c",\r
+        "wires": [\r
+            []\r
+        ]\r
+    }\r
+]\r
index 501e55c..bc6d030 100644 (file)
@@ -1 +1,491 @@
-[{"id":"11dc623d.901f0e","type":"dgstart","name":"DGSTART","outputs":1,"x":141.33331298828125,"y":68.86665344238281,"z":"3a255785.10924","wires":[["1bdcf000.f7bf48"]]},{"id":"1bdcf000.f7bf48","type":"service-logic","name":"APPC 4.0.0","module":"APPC","version":"4.0.0","comments":"","xml":"<service-logic xmlns='http://www.openecomp.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.openecomp.org/sdnc/svclogic ./svclogic.xsd' module='APPC' version='4.0.0'>","outputs":1,"x":267.6875,"y":46.26249694824219,"z":"3a255785.10924","wires":[["e8ebe4d2.47629"]]},{"id":"e8ebe4d2.47629","type":"method","name":"method Generic_AnsibleDG","xml":"<method rpc='Generic_AnsibleDG' mode='sync'>\n","comments":"","outputs":1,"x":519.25,"y":46.26249694824219,"z":"3a255785.10924","wires":[["b9fa92db.ae801"]]},{"id":"cdba2626.e4f0e","type":"call","name":"call: ansible-adapter-1.0","xml":"<call module=\"APPC\" rpc=\"ansible-adapter-1.0\" mode=\"sync\">","comments":"","outputs":1,"x":274.8544616699219,"y":771.0247955322266,"z":"3a255785.10924","wires":[["246043c5.f9790c","1f2fd774.7f32f1","5c1a8e53.1df84"]]},{"id":"5c57c6d8.9af2d","type":"execute","name":"execute getDecrytedpassword","xml":" <execute plugin=\"org.onap.appc.encryptiontool.wrapper.EncryptionToolDGWrapper\" method =\"getProperty\">\n <parameter name=\"responsePrefix\" value =\"prefix\"/>\n   <parameter name=\"propertyName\" value=\"`$tmp.prefix+'.'+$password`\"/>\n   <parameter name =\"password\" value=\"`$propertyName`\"/>\n  ","comments":"","outputs":1,"x":550.0205993652344,"y":401.6720428466797,"z":"3a255785.10924","wires":[["b214d4c8.55cc38","96a663b3.997758"]]},{"id":"b2bbc50f.ea54b8","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n<parameter name='error-code' value=\"401\" />\n<parameter name='error-message' value=\"Unable to decrypt the password.\" />\n","comments":"","x":1214.041763305664,"y":614.1915740966797,"z":"3a255785.10924","wires":[]},{"id":"c1a9c1c9.fed838","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1045.3124160766602,"y":614.3707752227783,"z":"3a255785.10924","wires":[["b2bbc50f.ea54b8"]]},{"id":"96a663b3.997758","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":847.2499694824219,"y":611.9915924072266,"z":"3a255785.10924","wires":[["c1a9c1c9.fed838"]]},{"id":"b214d4c8.55cc38","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":828.2626647949219,"y":545.8457794189453,"z":"3a255785.10924","wires":[["c1a9c1c9.fed838"]]},{"id":"c09f3d41.277fb8","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=\"`$tmp.merge.mergedData`\" />\n<parameter name=\"isEscaped\" value=\"Y\" />\n<parameter name=\"blockKeys\" value=\"EnvParameters,PlaybookName,Timeout,vnf-host-ip-address,NodeList\" />\n<parameter name=\"responsePrefix\" value=\"tmp.convertnode\" />","comments":"","outputs":1,"x":627.8367538452148,"y":165.25354766845703,"z":"3a255785.10924","wires":[["99d1509f.18583","9e943dc.ae89e4"]]},{"id":"2a5268ba.0741d","type":"set","name":"set Payload params ","xml":"<set>\n<parameter name='PlaybookName' value='`$PlaybookName`' />\n<parameter name='NodeList' value='`$NodeList`'/>\n<parameter name='vnf_id' value='`$vnf-id`' />\n<parameter name='AgentUrl' value='`$vnf-host-ip-address`'/>\n <parameter name='User' value='`$propertyName`'/>\n  <parameter name='Password' value='`$password`'/>\n  <parameter name='EnvParameters' value='`$EnvParameters`'/>\n  <parameter name='Timeout' value='`$Timeout`'/>\n\n\n\n","comments":"","x":343.6443176269531,"y":674.4057769775391,"z":"3a255785.10924","wires":[]},{"id":"9e943dc.ae89e4","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":847.074951171875,"y":360.90834045410156,"z":"3a255785.10924","wires":[["7fea6668.af3de8"]]},{"id":"99d1509f.18583","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":843.9082946777344,"y":448.1916723251343,"z":"3a255785.10924","wires":[["93cf0cd6.d0a4c8"]]},{"id":"7fea6668.af3de8","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1013.74169921875,"y":364.0749969482422,"z":"3a255785.10924","wires":[["c8734633.74013"]]},{"id":"93cf0cd6.d0a4c8","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1020.0748672485352,"y":427.5582904815674,"z":"3a255785.10924","wires":[["e76811f1.a807c8"]]},{"id":"e76811f1.a807c8","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 convert payload to context.\"/>\n\t\n","comments":"","x":1223.27486038208,"y":430.74167823791504,"z":"3a255785.10924","wires":[]},{"id":"b9fa92db.ae801","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":315.3415985107422,"y":158.8415985107422,"z":"3a255785.10924","wires":[["c09f3d41.277fb8","5c57c6d8.9af2d","cdba2626.e4f0e","2a5268ba.0741d","16bf6e4e.95f3ea","4c298c19.5899dc","32880258.268d3e","d4dec4aa.f06728","c671c44b.c97d8","e3f37288.1de128","2c0d811a.49430e"]]},{"id":"c8734633.74013","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":1242.3082275390625,"y":366.47496032714844,"z":"3a255785.10924","wires":[]},{"id":"42dbe00.4a7a1a","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n<parameter name='error-code' value=\"401\" />\n<parameter name='error-message' value='`$org.onap.appc.adapter.ansible.message`'/>","comments":"","x":1068.1939392089844,"y":765.8487701416016,"z":"3a255785.10924","wires":[]},{"id":"246043c5.f9790c","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":781.9915771484375,"y":747.4250335693359,"z":"3a255785.10924","wires":[["42dbe00.4a7a1a"]]},{"id":"1f2fd774.7f32f1","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":758.191650390625,"y":829.9749603271484,"z":"3a255785.10924","wires":[["b0cf78a8.2fb77"]]},{"id":"16bf6e4e.95f3ea","type":"set","name":"set tmp.prefix","xml":"<set>\n<parameter name=\"tmp.prefix\" value=\"`$vnf-type + '.' + $input.action`\"/>\n<parameter name=\"password\" value=\"password\"/>\n<parameter name=\"user\" value=\"user\"/>\n\n","comments":"","x":587.5591125488281,"y":304.48838806152344,"z":"3a255785.10924","wires":[]},{"id":"4c298c19.5899dc","type":"execute","name":"execute getUser","xml":" <execute plugin='org.onap.appc.encryptiontool.wrapper.EncryptionToolDGWrapper' method = 'getProperty'>\n  <parameter name='responsePrefix' value =\"prefix\"/>\n  <parameter name='propertyName' value=\"`$tmp.prefix+'.'+$user`\"/>","comments":"","outputs":1,"x":444.6667785644531,"y":539.8667144775391,"z":"3a255785.10924","wires":[[]]},{"id":"e3f37288.1de128","type":"set","name":"set password","xml":"<set>\n<parameter name=\"tmp.prefix\" value=\"`$vnf-type + '.' + $input.action`\"/>\n<parameter name=\"password\" value=\"`$propertyName`\"/>\n\n\n","comments":"","x":542.9998168945312,"y":455.5333251953125,"z":"3a255785.10924","wires":[]},{"id":"d4dec4aa.f06728","type":"set","name":"set user","xml":"<set>\n<parameter name=\"user\" value=\"$propertyName\"/>\n\n\n","comments":"","x":421.33331298828125,"y":599.2000122070312,"z":"3a255785.10924","wires":[]},{"id":"32880258.268d3e","type":"set","name":"set Payload params ","xml":"<set>\n<parameter name='PlaybookName' value='`$block_PlaybookName`' />\n<parameter name='NodeList' value ='`$block_NodeList`'/>\n<parameter name='vnf_id' value='`$vnf-id`' />\n<parameter name='AgentUrl' value='`$vnf-host-ip-address`'/>\n<parameter name='EnvParameters' value='`$block_EnvParameters`'/>\n<parameter name='Timeout' value='`$block_Timeout`'/>\n\n\n\n","comments":"","x":629.6666564941406,"y":211.86668395996094,"z":"3a255785.10924","wires":[]},{"id":"b0cf78a8.2fb77","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n<parameter name='error-code' value=\"401\" />\n<parameter name='error-message' value='ansible-adapter-1.0.0 Dg not found'/>","comments":"","x":1012.8333435058594,"y":873.8905181884766,"z":"3a255785.10924","wires":[]},{"id":"bbc9b301.642c68","type":"returnSuccess","name":"return success","xml":"<return status='success'>\n<parameter name='error-code' value='400' />\n<parameter name='error-message' value='`$org.onap.appc.adapter.ansible.message`'/>\n","comments":"","x":797.1191101074219,"y":971.0333404541016,"z":"3a255785.10924","wires":[]},{"id":"5c1a8e53.1df84","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":555.6905212402344,"y":911.8429107666016,"z":"3a255785.10924","wires":[["bbc9b301.642c68"]]},{"id":"c671c44b.c97d8","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='`$propertyName`'/>\n  <parameter name='field3' value='`$password`'/>","comments":"","outputs":1,"x":476.3999938964844,"y":638,"z":"3a255785.10924","wires":[[]]},{"id":"2c0d811a.49430e","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-log1\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name='field2' value='`$propertyName`'/>\n  <parameter name='field3' value='`$password`'/>","comments":"","outputs":1,"x":533.6666259765625,"y":511.0000305175781,"z":"3a255785.10924","wires":[[]]}]
\ No newline at end of file
+[\r
+    {\r
+        "id": "b5695572.e1f768",\r
+        "type": "dgstart",\r
+        "name": "DGSTART",\r
+        "outputs": 1,\r
+        "x": 246.75,\r
+        "y": 188.38194274902344,\r
+        "z": "e0baaa9e.9241d8",\r
+        "wires": [\r
+            [\r
+                "188edda2.26da82"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "188edda2.26da82",\r
+        "type": "service-logic",\r
+        "name": "APPC 4.0.0",\r
+        "module": "APPC",\r
+        "version": "4.0.0",\r
+        "comments": "",\r
+        "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'>",\r
+        "outputs": 1,\r
+        "x": 324.2152862548828,\r
+        "y": 138,\r
+        "z": "e0baaa9e.9241d8",\r
+        "wires": [\r
+            [\r
+                "a8cc7c7b.a911c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a8cc7c7b.a911c",\r
+        "type": "method",\r
+        "name": "method Generic_AnsibleDG",\r
+        "xml": "<method rpc='Generic_AnsibleDG' mode='sync'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 575.7777862548828,\r
+        "y": 138,\r
+        "z": "e0baaa9e.9241d8",\r
+        "wires": [\r
+            [\r
+                "42d7ac6f.bd3da4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e00096a6.7888c8",\r
+        "type": "call",\r
+        "name": "call: ansible-adapter-1.0",\r
+        "xml": "<call module=\"APPC\" rpc=\"ansible-adapter-1.0\" mode=\"sync\">",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 415.1322479248047,\r
+        "y": 789.0123748779297,\r
+        "z": "e0baaa9e.9241d8",\r
+        "wires": [\r
+            [\r
+                "dd503c7d.4cc9c",\r
+                "515c4830.7e8bf",\r
+                "8dc86977.b38688"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "784c8fbc.57a35",\r
+        "type": "execute",\r
+        "name": "execute params",\r
+        "xml": " <execute plugin=\"org.onap.appc.encryptiontool.wrapper.EncryptionToolDGWrapper\" method =\"getProperty\">\n <parameter name=\"prefix\" value =\"property\"/>\n\n \n  ",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 635.5484161376953,\r
+        "y": 411.40953063964844,\r
+        "z": "e0baaa9e.9241d8",\r
+        "wires": [\r
+            [\r
+                "36822bdd.3c9f4c",\r
+                "14c5365c.bf1ae2"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "6282ba56.52f5dc",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n<parameter name='error-code' value=\"401\" />\n<parameter name='error-message' value=\"`$property.error-message`\" />\n",\r
+        "comments": "",\r
+        "x": 1270.5695495605469,\r
+        "y": 705.9290771484375,\r
+        "z": "e0baaa9e.9241d8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "4bbf0c97.541b6c",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1101.840202331543,\r
+        "y": 706.1082782745361,\r
+        "z": "e0baaa9e.9241d8",\r
+        "wires": [\r
+            [\r
+                "6282ba56.52f5dc"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "14c5365c.bf1ae2",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 903.7777557373047,\r
+        "y": 703.7290954589844,\r
+        "z": "e0baaa9e.9241d8",\r
+        "wires": [\r
+            [\r
+                "4bbf0c97.541b6c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "36822bdd.3c9f4c",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 884.7904510498047,\r
+        "y": 637.5832824707031,\r
+        "z": "e0baaa9e.9241d8",\r
+        "wires": [\r
+            [\r
+                "4bbf0c97.541b6c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "712b83f9.f9d13c",\r
+        "type": "execute",\r
+        "name": "execute Convert payload to DG Context ",\r
+        "xml": "<execute plugin=\"org.onap.sdnc.config.generator.convert.ConvertNode\" method=\"convertJson2DGContext\">\n<parameter name=\"jsonData\" value=\"`$tmp.merge.mergedData`\" />\n<parameter name=\"isEscaped\" value=\"Y\" />\n<parameter name=\"blockKeys\" value=\"EnvParameters,PlaybookName,Timeout,NodeList\" />\n<parameter name=\"responsePrefix\" value=\"tmp.convertnode\" />",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 686.3645477294922,\r
+        "y": 227.9910430908203,\r
+        "z": "e0baaa9e.9241d8",\r
+        "wires": [\r
+            [\r
+                "59d56560.86430c",\r
+                "b723b3b5.45f6e8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "2addd9a1.c88c26",\r
+        "type": "set",\r
+        "name": "set Payload params ",\r
+        "xml": "<set>\n<parameter name='PlaybookName' value='`$PlaybookName`' />\n<parameter name='NodeList' value='`$NodeList`'/>\n<parameter name='vnf_id' value='`$vnf-id`' />\n<parameter name='AgentUrl' value='`$url`'/>\n <parameter name='User' value='`$user`'/>\n  <parameter name='Password' value='`$password`'/>\n  <parameter name='EnvParameters' value='`$EnvParameters`'/>\n  <parameter name='Timeout' value='`$Timeout`'/>\n\n\n\n",\r
+        "comments": "",\r
+        "x": 537.6720733642578,\r
+        "y": 687.3932952880859,\r
+        "z": "e0baaa9e.9241d8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "b723b3b5.45f6e8",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 969.6027374267578,\r
+        "y": 259.64585876464844,\r
+        "z": "e0baaa9e.9241d8",\r
+        "wires": [\r
+            [\r
+                "8dccb387.ae749"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "59d56560.86430c",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 965.4360504150391,\r
+        "y": 317.92918395996094,\r
+        "z": "e0baaa9e.9241d8",\r
+        "wires": [\r
+            [\r
+                "63752d22.117204"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "8dccb387.ae749",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1092.2694854736328,\r
+        "y": 263.81248474121094,\r
+        "z": "e0baaa9e.9241d8",\r
+        "wires": [\r
+            [\r
+                "a7ab8921.136fd"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "63752d22.117204",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1091.6026763916016,\r
+        "y": 325.29576110839844,\r
+        "z": "e0baaa9e.9241d8",\r
+        "wires": [\r
+            [\r
+                "904c921.5af1af"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "904c921.5af1af",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status=\"failure\">\n\t<parameter name=\"error-code\" value=\"401\"/>\n\t<parameter name=\"error-message\" value=\"Unable to process convert payload to context.\"/>\n\t\n",\r
+        "comments": "",\r
+        "x": 1240.8026275634766,\r
+        "y": 327.4791717529297,\r
+        "z": "e0baaa9e.9241d8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "42d7ac6f.bd3da4",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 371.869384765625,\r
+        "y": 250.5791015625,\r
+        "z": "e0baaa9e.9241d8",\r
+        "wires": [\r
+            [\r
+                "712b83f9.f9d13c",\r
+                "784c8fbc.57a35",\r
+                "e00096a6.7888c8",\r
+                "2addd9a1.c88c26",\r
+                "ba353d30.9cba68",\r
+                "d73c3e3f.a0265",\r
+                "e3e0839e.5ac55",\r
+                "2c49a4ef.2b4054",\r
+                "bbcf695c.7db238"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a7ab8921.136fd",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "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",\r
+        "comments": "",\r
+        "x": 1234.835952758789,\r
+        "y": 261.2124481201172,\r
+        "z": "e0baaa9e.9241d8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "f3ff11af.e308e",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status=\"failure\">\n<parameter name='error-code' value=\"401\" />\n<parameter name='error-message' value='`$org.onap.appc.adapter.ansible.message`'/>",\r
+        "comments": "",\r
+        "x": 1124.7217254638672,\r
+        "y": 857.5862731933594,\r
+        "z": "e0baaa9e.9241d8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "dd503c7d.4cc9c",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 838.5193634033203,\r
+        "y": 839.1625366210938,\r
+        "z": "e0baaa9e.9241d8",\r
+        "wires": [\r
+            [\r
+                "f3ff11af.e308e"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "515c4830.7e8bf",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 814.7194366455078,\r
+        "y": 921.7124633789062,\r
+        "z": "e0baaa9e.9241d8",\r
+        "wires": [\r
+            [\r
+                "5de54d.eecbb2b4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ba353d30.9cba68",\r
+        "type": "set",\r
+        "name": "set Payload params ",\r
+        "xml": "<set>\n<parameter name='PlaybookName' value='`$block_PlaybookName`' />\n<parameter name='NodeList' value ='`$block_NodeList`'/>\n<parameter name='vnf_id' value='`$vnf-id`' />\n<parameter name='EnvParameters' value='`$block_EnvParameters`'/>\n<parameter name='Timeout' value='`$block_Timeout`'/>\n\n\n\n",\r
+        "comments": "",\r
+        "x": 686.1944732666016,\r
+        "y": 284.6041717529297,\r
+        "z": "e0baaa9e.9241d8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "5de54d.eecbb2b4",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status=\"failure\">\n<parameter name='error-code' value=\"401\" />\n<parameter name='error-message' value='ansible-adapter-1.0.0 Dg not found'/>",\r
+        "comments": "",\r
+        "x": 1069.3611297607422,\r
+        "y": 965.6280212402344,\r
+        "z": "e0baaa9e.9241d8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "b172801d.e502f",\r
+        "type": "returnSuccess",\r
+        "name": "return success",\r
+        "xml": "<return status='success'>\n<parameter name='error-code' value='400' />\n<parameter name='error-message' value='`$org.onap.appc.adapter.ansible.message`'/>\n",\r
+        "comments": "",\r
+        "x": 853.6468963623047,\r
+        "y": 1062.7708435058594,\r
+        "z": "e0baaa9e.9241d8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "8dc86977.b38688",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 612.2183074951172,\r
+        "y": 1003.5804138183594,\r
+        "z": "e0baaa9e.9241d8",\r
+        "wires": [\r
+            [\r
+                "b172801d.e502f"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d73c3e3f.a0265",\r
+        "type": "record",\r
+        "name": "record",\r
+        "xml": "<record plugin=\"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='`$user`'/>\n  <parameter name='field3' value='`$password`'/>\n    <parameter name='field4' value='`$url`'/>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 552.9278106689453,\r
+        "y": 590.7375946044922,\r
+        "z": "e0baaa9e.9241d8",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "e3e0839e.5ac55",\r
+        "type": "set",\r
+        "name": "set properties",\r
+        "xml": "<set>\n<parameter name=\"user\" value='`$property.user`'/>\n<parameter name=\"password\" value='`$property.password`'/>\n<parameter name=\"url\" value='`$property.url`'/>\n\n\n",\r
+        "comments": "",\r
+        "x": 607.7555389404297,\r
+        "y": 490.44859313964844,\r
+        "z": "e0baaa9e.9241d8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "2c49a4ef.2b4054",\r
+        "type": "get-resource",\r
+        "name": "get-resource: APPC.protocol",\r
+        "xml": "<get-resource\n\tplugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' \n\tresource='SQL'\n\tkey=\"SELECT DISTINCT PROTOCOL FROM PROTOCOL_REFERENCE WHERE ACTION = $input.action AND VNF_TYPE = $vnf-type ;\"\n    force='true'\n\tpfx='APPC.protocol'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 680.8610992431641,\r
+        "y": 334.40415954589844,\r
+        "z": "e0baaa9e.9241d8",\r
+        "wires": [\r
+            [\r
+                "5639d27.5b0172c",\r
+                "67033f80.598758"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b743b90d.bf9438",\r
+        "type": "set",\r
+        "name": "set protocol",\r
+        "xml": "<set>\n<parameter name='APPC.protocol.PROTOCOL' value='`$APPC.protocol.PROTOCOL`' />\n\n\n\n\n\n",\r
+        "comments": "",\r
+        "x": 1115.861099243164,\r
+        "y": 439.40415954589844,\r
+        "z": "e0baaa9e.9241d8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "5639d27.5b0172c",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 932.8610992431641,\r
+        "y": 385.40415954589844,\r
+        "z": "e0baaa9e.9241d8",\r
+        "wires": [\r
+            [\r
+                "d70f7795.117818"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d70f7795.117818",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1079.861099243164,\r
+        "y": 394.40415954589844,\r
+        "z": "e0baaa9e.9241d8",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "67033f80.598758",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 929.8610992431641,\r
+        "y": 434.40415954589844,\r
+        "z": "e0baaa9e.9241d8",\r
+        "wires": [\r
+            [\r
+                "b743b90d.bf9438"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "bbcf695c.7db238",\r
+        "type": "record",\r
+        "name": "record",\r
+        "xml": "<record plugin=\"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='`$user`'/>\n  <parameter name='field3' value='`$APPC.protocol.PROTOCOL`'/>\n    <parameter name='field4' value='`$url`'/>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 717.8610992431641,\r
+        "y": 371.40415954589844,\r
+        "z": "e0baaa9e.9241d8",\r
+        "wires": [\r
+            []\r
+        ]\r
+    }\r
+]\r
index ffff09a..108b189 100644 (file)
@@ -1 +1,298 @@
-[{"id":"af62cfe8.d06c7","type":"dgstart","name":"DGSTART","outputs":1,"x":98.39999389648438,"y":112.39999389648438,"z":"922f234d.03b82","wires":[["d53599d4.fa8888"]]},{"id":"d53599d4.fa8888","type":"service-logic","name":"APPC 4.0.0","module":"APPC","version":"4.0.0","comments":"","xml":"<service-logic xmlns='http://www.openecomp.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.openecomp.org/sdnc/svclogic ./svclogic.xsd' module='APPC' version='4.0.0'>","outputs":1,"x":303.0874938964844,"y":101.46249389648438,"z":"922f234d.03b82","wires":[["1f725d37.b5b63b"]]},{"id":"1f725d37.b5b63b","type":"method","name":"method Generic_ChefDG","xml":"<method rpc='Generic_ChefDG' mode='sync'>\n","comments":"","outputs":1,"x":554.6499938964844,"y":101.46249389648438,"z":"922f234d.03b82","wires":[["301e18f6.5bf2c"]]},{"id":"9cbcf01a.7b6c8","type":"call","name":"call:chef","xml":"<call module=\"APPC\" rpc=\"chef\" mode=\"sync\">","comments":"","outputs":1,"x":310.25445556640625,"y":826.2247924804688,"z":"922f234d.03b82","wires":[["286a2dcf.6d5c9a","41f4404b.f67f58","39b897.ee15e76a"]]},{"id":"16699aa1.065e85","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=\"`$tmp.merge.mergedData`\" />\n<parameter name=\"isEscaped\" value=\"Y\" />\n<parameter name=\"blockKeys\" value=\"chef-server-address,chef-organization,chef-username,Node,NodeList,retryTimes,retryInterval,GetOutputFlag,PushJobFlag\" />\n<parameter name=\"responsePrefix\" value=\"tmp.convertnode\" />","comments":"","outputs":1,"x":663.2367477416992,"y":220.45354461669922,"z":"922f234d.03b82","wires":[["6859fe6b.08acc8","b0b97ff0.6f4dd8"]]},{"id":"b0b97ff0.6f4dd8","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":902.4751892089844,"y":221.10848999023438,"z":"922f234d.03b82","wires":[["af82968f.49db48"]]},{"id":"6859fe6b.08acc8","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":914.3081970214844,"y":266.3916931152344,"z":"922f234d.03b82","wires":[["9627ab8e.d2e4c"]]},{"id":"af82968f.49db48","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1065.1417236328125,"y":225.27499389648438,"z":"922f234d.03b82","wires":[["e7190222.9c13d"]]},{"id":"9627ab8e.d2e4c","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1063.474853515625,"y":272.7582702636719,"z":"922f234d.03b82","wires":[["3e3a73d6.8ffe4c"]]},{"id":"3e3a73d6.8ffe4c","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 convert payload to context.\"/>\n\t\n","comments":"","x":1226.6748046875,"y":277.9416809082031,"z":"922f234d.03b82","wires":[]},{"id":"301e18f6.5bf2c","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":213.74179077148438,"y":238.04159545898438,"z":"922f234d.03b82","wires":[["9cbcf01a.7b6c8","16699aa1.065e85","b1fb79d0.545c8","471fb391.1eb4c4","5eb2232d.af26f4","93115621.c19948","a89dc926.5af0c","85dd8d.02b41a7"]]},{"id":"e7190222.9c13d","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":1231.708251953125,"y":227.67495727539062,"z":"922f234d.03b82","wires":[]},{"id":"3c9bbe97.c9bce2","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n<parameter name='error-code' value=\"401\" />\n<parameter name='error-message' value='`$chefServerResult.message`'/>","comments":"","x":1079.3083190917969,"y":858.1916198730469,"z":"922f234d.03b82","wires":[]},{"id":"286a2dcf.6d5c9a","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":817.3915710449219,"y":802.6250305175781,"z":"922f234d.03b82","wires":[["3c9bbe97.c9bce2"]]},{"id":"41f4404b.f67f58","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":793.5916442871094,"y":885.1749572753906,"z":"922f234d.03b82","wires":[["45bf5d7c.68ad74"]]},{"id":"b1fb79d0.545c8","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=\"`$input.action`\"/>\n<parameter name=\"field3\" value =\"`$tmp.merge.mergedData`\"/>\n<parameter name=\"field4\" value =\"`$tmp.merge`\"/>","comments":"","outputs":1,"x":751.3450012207031,"y":147.19497680664062,"z":"922f234d.03b82","wires":[[]]},{"id":"471fb391.1eb4c4","type":"set","name":"set Payload params ","xml":"<set>\n<parameter name='Node' value='`$block_Node`' />\n<parameter name='NodeList' value ='`$block_NodeList`'/>\n<parameter name='vnf_id' value='`$vnf-id`' />\n<parameter name='chef-server-address' value='`$vnf-host-ip-address`'/>\n<parameter name='chef-username' value='`$block_chef-username`'/>\n<parameter name='chef-organization' value='`$block_chef-organization`'/>\n<parameter name='retryTimes' value='`$block_retryTimes`'/>\n<parameter name='retryInterval' value='`$block_retryInterval`'/>\n<parameter name='GetOutputFlag' value='`$block_GetOutputFlag`'/>\n<parameter name='PushJobFlag' value='`$block_PushJobFlag`'/>\n<parameter name='CallbackCapable' value='`$CallbackCapable`'/>\n<parameter name='RequestId' value='`$RequestId`'/>\n<parameter name='CallbackUrl' value='`$CallbackUrl`'/>\n<parameter name='Environment' value='`$Environment`'/>\n\n\n\n\n","comments":"","x":433.0666198730469,"y":697.0667114257812,"z":"922f234d.03b82","wires":[]},{"id":"39b897.ee15e76a","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":558.3722229003906,"y":977.4832458496094,"z":"922f234d.03b82","wires":[["f2715dd7.d7631"]]},{"id":"f2715dd7.d7631","type":"returnSuccess","name":"return success","xml":"<return status='success'>\n<parameter name='error-code' value='400' />\n<parameter name='error-message' value='`$chefServerResult.message`' />","comments":"","x":821.7055358886719,"y":1072.4832458496094,"z":"922f234d.03b82","wires":[]},{"id":"45bf5d7c.68ad74","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n<parameter name='error-code' value=\"401\" />\n<parameter name='error-message' value='Chef DG not found or Activated'/>","comments":"","x":1113.3721618652344,"y":932.9555358886719,"z":"922f234d.03b82","wires":[]},{"id":"5eb2232d.af26f4","type":"switchNode","name":"switch environment","xml":"<switch test='`$Environment`'>\n","comments":"","outputs":1,"x":436.0000915527344,"y":338.1997985839844,"z":"922f234d.03b82","wires":[["5ed73365.2196ac","2d8ed1b9.75ada6"]]},{"id":"5ed73365.2196ac","type":"success","name":"outcome: Other","xml":"<outcome value='Other'>","comments":"","outputs":1,"x":669.0000915527344,"y":357.1997985839844,"z":"922f234d.03b82","wires":[["9eb4370f.9e9cd8"]]},{"id":"2d8ed1b9.75ada6","type":"success","name":"outcome: ''","xml":"<outcome value=''>","comments":"","outputs":1,"x":682.0000915527344,"y":404.1997985839844,"z":"922f234d.03b82","wires":[["8ccf4ed1.742448"]]},{"id":"9eb4370f.9e9cd8","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","comments":null,"outputs":1,"x":864.0000915527344,"y":354.5997009277344,"z":"922f234d.03b82","wires":[[]]},{"id":"8ccf4ed1.742448","type":"set","name":"set Environment","xml":"<set>\n<parameter name='Environment' value='`$Environment`' />\n\n\n\n\n\n\n\n\n\n\n\n","comments":"","x":847.0000915527344,"y":402.7998962402344,"z":"922f234d.03b82","wires":[]},{"id":"93115621.c19948","type":"switchNode","name":"switch CallbackCapable","xml":"<switch test='`$CallbackCapable`'>\n","comments":"","outputs":1,"x":430.1997985839844,"y":426.5997009277344,"z":"922f234d.03b82","wires":[["5ed73365.2196ac","c2bdf572.9b59d8"]]},{"id":"a89dc926.5af0c","type":"switchNode","name":"switch RequestId","xml":"<switch test='`$RequestId`'>\n","comments":"","outputs":1,"x":439.1997985839844,"y":537.5997009277344,"z":"922f234d.03b82","wires":[["5ed73365.2196ac","43e94a2.02e0b34"]]},{"id":"85dd8d.02b41a7","type":"switchNode","name":"switch CallbackUrl","xml":"<switch test='`$CallbackUrl`'>\n","comments":"","outputs":1,"x":466.1997985839844,"y":617.7998962402344,"z":"922f234d.03b82","wires":[["5ed73365.2196ac","fae8b86a.be3db8"]]},{"id":"c2bdf572.9b59d8","type":"success","name":"outcome: ''","xml":"<outcome value=''>","comments":"","outputs":1,"x":699.1997985839844,"y":483.9996032714844,"z":"922f234d.03b82","wires":[["a419f989.59fe6"]]},{"id":"43e94a2.02e0b34","type":"success","name":"outcome: ''","xml":"<outcome value=''>","comments":"","outputs":1,"x":691.1997985839844,"y":542.5997009277344,"z":"922f234d.03b82","wires":[["3b82b153.726046"]]},{"id":"fae8b86a.be3db8","type":"success","name":"outcome: ''","xml":"<outcome value=''>","comments":"","outputs":1,"x":685.1997985839844,"y":603.5997009277344,"z":"922f234d.03b82","wires":[["5ce8dd14.a17be4"]]},{"id":"a419f989.59fe6","type":"set","name":"set CallbackCapable","xml":"<set>\n<parameter name='CallbackCapable' value='`$CallbackCapable`' />\n\n\n\n\n\n\n\n\n\n\n\n","comments":"","x":885.1998291015625,"y":484.5997009277344,"z":"922f234d.03b82","wires":[]},{"id":"3b82b153.726046","type":"set","name":"set RequestId","xml":"<set>\n<parameter name='RequestId' value='`$RequestId`' />\n\n\n\n\n\n\n\n\n\n\n\n","comments":"","x":886.1998291015625,"y":548.5997314453125,"z":"922f234d.03b82","wires":[]},{"id":"5ce8dd14.a17be4","type":"set","name":"set Environment","xml":"<set>\n<parameter name='Environment' value='`$Environment`' />\n\n\n\n\n\n\n\n\n\n\n\n","comments":"","x":873.1998291015625,"y":610.5997314453125,"z":"922f234d.03b82","wires":[]}]
\ No newline at end of file
+[\r
+    {\r
+        "id": "a9dcf839.eac1a8",\r
+        "type": "dgstart",\r
+        "name": "DGSTART",\r
+        "outputs": 1,\r
+        "x": 147.99998474121094,\r
+        "y": 84.99999237060547,\r
+        "z": "f13a1edb.5272f",\r
+        "wires": [\r
+            [\r
+                "dc39031.bd932"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "dc39031.bd932",\r
+        "type": "service-logic",\r
+        "name": "APPC 4.0.0",\r
+        "module": "APPC",\r
+        "version": "4.0.0",\r
+        "comments": "",\r
+        "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'>",\r
+        "outputs": 1,\r
+        "x": 352.68748474121094,\r
+        "y": 74.06249237060547,\r
+        "z": "f13a1edb.5272f",\r
+        "wires": [\r
+            [\r
+                "cb3088c3.599928"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "cb3088c3.599928",\r
+        "type": "method",\r
+        "name": "method Generic_ChefDG",\r
+        "xml": "<method rpc='Generic_ChefDG' mode='sync'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 295.4999542236328,\r
+        "y": 157.81249237060547,\r
+        "z": "f13a1edb.5272f",\r
+        "wires": [\r
+            [\r
+                "a99e2419.e81f68"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f049286e.b856d8",\r
+        "type": "call",\r
+        "name": "call:chef",\r
+        "xml": "<call module=\"APPC\" rpc=\"chef\" mode=\"sync\">",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 546.1044464111328,\r
+        "y": 406.32479095458984,\r
+        "z": "f13a1edb.5272f",\r
+        "wires": [\r
+            [\r
+                "5b4b7ea5.650cc",\r
+                "11cdb4f4.74a2cb",\r
+                "15443187.24779e"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "1e8105ce.57ef0a",\r
+        "type": "execute",\r
+        "name": "execute Convert payload to DG Context ",\r
+        "xml": "<execute plugin=\"org.onap.sdnc.config.generator.convert.ConvertNode\" method=\"convertJson2DGContext\">\n<parameter name=\"jsonData\" value=\"`$tmp.merge.mergedData`\" />\n<parameter name=\"isEscaped\" value=\"Y\" />\n<parameter name=\"blockKeys\" value=\"chef-server-address,chef-organization,chef-username,Environment,Node,NodeList,retryTimes,retryInterval,GetOutputFlag,PushJobFlag\" />\n<parameter name=\"responsePrefix\" value=\"tmp.convertnode\" />",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 648.6700592041016,\r
+        "y": 284.7797164916992,\r
+        "z": "f13a1edb.5272f",\r
+        "wires": [\r
+            [\r
+                "a13c2098.cd224",\r
+                "f7024f6d.a8e37"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f7024f6d.a8e37",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 970.4084625244141,\r
+        "y": 273.70848846435547,\r
+        "z": "f13a1edb.5272f",\r
+        "wires": [\r
+            [\r
+                "ff28a0db.d0d66"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a13c2098.cd224",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 982.2414703369141,\r
+        "y": 302.32503509521484,\r
+        "z": "f13a1edb.5272f",\r
+        "wires": [\r
+            [\r
+                "31d13255.c89f7e"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ff28a0db.d0d66",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1134.741714477539,\r
+        "y": 274.54166412353516,\r
+        "z": "f13a1edb.5272f",\r
+        "wires": [\r
+            [\r
+                "f2ce1788.5dd7d8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "31d13255.c89f7e",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1131.408218383789,\r
+        "y": 313.69161224365234,\r
+        "z": "f13a1edb.5272f",\r
+        "wires": [\r
+            [\r
+                "cc3a80c0.2bcc2"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "cc3a80c0.2bcc2",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status=\"failure\">\n\t<parameter name=\"error-code\" value=\"401\"/>\n\t<parameter name=\"error-message\" value=\"Unable to process convert payload to context.\"/>\n\t\n",\r
+        "comments": "",\r
+        "x": 1297.941421508789,\r
+        "y": 312.2083206176758,\r
+        "z": "f13a1edb.5272f",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "a99e2419.e81f68",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 270.84181213378906,\r
+        "y": 253.14159393310547,\r
+        "z": "f13a1edb.5272f",\r
+        "wires": [\r
+            [\r
+                "f049286e.b856d8",\r
+                "1e8105ce.57ef0a",\r
+                "eda0998d.e2b278",\r
+                "bf32b2cc.94fce"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f2ce1788.5dd7d8",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "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",\r
+        "comments": "",\r
+        "x": 1294.641616821289,\r
+        "y": 273.60828399658203,\r
+        "z": "f13a1edb.5272f",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "a04ff52f.831368",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status=\"failure\">\n<parameter name='error-code' value=\"401\" />\n<parameter name='error-message' value='`$chefServerResult.message`'/>",\r
+        "comments": "",\r
+        "x": 1047.6583404541016,\r
+        "y": 428.2916488647461,\r
+        "z": "f13a1edb.5272f",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "5b4b7ea5.650cc",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 828.2415924072266,\r
+        "y": 428.97505950927734,\r
+        "z": "f13a1edb.5272f",\r
+        "wires": [\r
+            [\r
+                "a04ff52f.831368"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "11cdb4f4.74a2cb",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 813.1916656494141,\r
+        "y": 510.2749252319336,\r
+        "z": "f13a1edb.5272f",\r
+        "wires": [\r
+            [\r
+                "4c44b51c.c6751c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "eda0998d.e2b278",\r
+        "type": "record",\r
+        "name": "record",\r
+        "xml": "<record plugin=\"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=\"`$input.action`\"/>\n<parameter name=\"field3\" value =\"`$tmp.merge.mergedData`\"/>\n<parameter name=\"field4\" value =\"`$tmp.merge`\"/>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 570.9449615478516,\r
+        "y": 206.04497528076172,\r
+        "z": "f13a1edb.5272f",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "15443187.24779e",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 799.2222442626953,\r
+        "y": 607.5832748413086,\r
+        "z": "f13a1edb.5272f",\r
+        "wires": [\r
+            [\r
+                "11a23fd1.0b2d3"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "11a23fd1.0b2d3",\r
+        "type": "returnSuccess",\r
+        "name": "return success",\r
+        "xml": "<return status='success'>\n<parameter name='error-code' value='400' />\n<parameter name='error-message' value='`$chefServerResult.message`' />",\r
+        "comments": "",\r
+        "x": 1017.5556182861328,\r
+        "y": 605.0832748413086,\r
+        "z": "f13a1edb.5272f",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "4c44b51c.c6751c",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status=\"failure\">\n<parameter name='error-code' value=\"401\" />\n<parameter name='error-message' value='Chef DG not found or Activated'/>",\r
+        "comments": "",\r
+        "x": 1047.972183227539,\r
+        "y": 518.0556259155273,\r
+        "z": "f13a1edb.5272f",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "bf32b2cc.94fce",\r
+        "type": "set",\r
+        "name": "set Payload params ",\r
+        "xml": "<set>\n<parameter name='chef-server-address' value='`$block_chef-server-address`' />\n<parameter name='chef-username' value ='`$block_chef-username`'/>\n<parameter name='chef-organization' value='`$block_chef-organization`'/>\n<parameter name='Environment' value='`$block_Environment`'/>\n<parameter name='Node' value='`$block_Node`' />\n<parameter name='NodeList' value='`$block_NodeList`'/>\n<parameter name='retryTimes' value ='`$block_retryTimes`'/>\n<parameter name='retryInterval' value='`$block_retryInterval`' />\n<parameter name='GetOutputFlag' value='`$block_GetOutputFlag`'/>\n<parameter name='PushJobFlag' value='`$block_PushJobFlag`'/>\n\n\n\n\n\n",\r
+        "comments": "",\r
+        "x": 678.0000152587891,\r
+        "y": 347.99999237060547,\r
+        "z": "f13a1edb.5272f",\r
+        "wires": []\r
+    }\r
+]\r
index 1379f64..ad1aead 100644 (file)
@@ -1 +1,1063 @@
-[{"id":"bcf33378.a06a7","type":"dgstart","name":"DGSTART","outputs":1,"x":115,"y":60.33333778381348,"z":"9adc6d3f.4fd9a","wires":[["9aecacf7.59d93"]]},{"id":"9aecacf7.59d93","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":298,"y":61.33333778381348,"z":"9adc6d3f.4fd9a","wires":[["d767a7f1.e85ab8"]]},{"id":"d767a7f1.e85ab8","type":"method","name":"method Generic_Configure","xml":"<method rpc='Generic_Configure' mode='sync'>\n","comments":"","outputs":1,"x":513,"y":53.33333778381348,"z":"9adc6d3f.4fd9a","wires":[["9648a68e.58be58"]]},{"id":"9648a68e.58be58","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":132,"y":196.66666316986084,"z":"9adc6d3f.4fd9a","wires":[["b08a9e58.bd07e","ecefd839.64cd58","bbe79244.e2541","7421ecb2.1ac094"]]},{"id":"b08a9e58.bd07e","type":"call","name":"call: DownloadConfig","xml":"<call module=\"APPC\" rpc=\"`$tmp.configureactiondg.DOWNLOAD-CONFIG-DG`\" mode=\"sync\">","comments":"","outputs":1,"x":398.4444351196289,"y":472.77783012390137,"z":"9adc6d3f.4fd9a","wires":[["ef940996.264278","b02b2cdd.876c9","9cdecbc8.ba74f8"]]},{"id":"ef940996.264278","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":623.6666374206543,"y":409.4444389343262,"z":"9adc6d3f.4fd9a","wires":[["41480864.94a478"]]},{"id":"b02b2cdd.876c9","type":"failure","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":644.9166984558105,"y":576.8334465026855,"z":"9adc6d3f.4fd9a","wires":[["cc065ab0.bbd438"]]},{"id":"9cdecbc8.ba74f8","type":"success","name":" success","xml":"<outcome value=\"success\">","comments":"","outputs":1,"x":593.2500114440918,"y":769.1667022705078,"z":"9adc6d3f.4fd9a","wires":[["2e4169d0.23efc6"]]},{"id":"41480864.94a478","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":832.3333053588867,"y":403.66669845581055,"z":"9adc6d3f.4fd9a","wires":[["10597d65.368c33","c9fe6ef2.b8991","ee63b08a.143ca"]]},{"id":"cc065ab0.bbd438","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":827.8333282470703,"y":622.000072479248,"z":"9adc6d3f.4fd9a","wires":[["b2cd609c.f0e14"]]},{"id":"2e4169d0.23efc6","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":799.2500114440918,"y":760.4167022705078,"z":"9adc6d3f.4fd9a","wires":[["4351ab2.e80d754","5155e2e.c35c01c","ac964ccc.c134e","de42b2.dca01d5"]]},{"id":"10597d65.368c33","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=\"`'error-code = ' + $error-code`\" />\n<parameter name=\"field3\" value=\"`'error-message = ' + $error-message`\" />\n","comments":"","outputs":1,"x":1095.2222938537598,"y":385.888879776001,"z":"9adc6d3f.4fd9a","wires":[[]]},{"id":"b2cd609c.f0e14","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 ' + $tmp.configureactiondg.DOWNLOAD-CONFIG-DG + ' not found'`\"/>\n\t","comments":"","x":1231.2500228881836,"y":646.7500114440918,"z":"9adc6d3f.4fd9a","wires":[]},{"id":"4351ab2.e80d754","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=\"`'error-code = ' + $error-code`\" />\n<parameter name=\"field3\" value=\"`'error-message = ' + $error-message`\" />\n<parameter name=\"field4\" value=\"ACTIVATESUCCESS\" />","comments":"","outputs":1,"x":1089.750015258789,"y":756.1666979789734,"z":"9adc6d3f.4fd9a","wires":[[]]},{"id":"c9fe6ef2.b8991","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n\t","comments":"","x":1111.777847290039,"y":549.4444303512573,"z":"9adc6d3f.4fd9a","wires":[]},{"id":"ecefd839.64cd58","type":"set","name":"set Download params","xml":"<set>\n<parameter name='host-ip-address' value='`$vnf-host-ip-address`' />\n<parameter name='device-login' value='`$device-authentication.USER-NAME`' />\n<parameter name='device-password' value='`$device-authentication.PASSWORD`' />\n<parameter name='port-number' value='`$device-authentication.PORT-NUMBER`' />\n<parameter name='protocol' value='`$tmp.deviceinterfaceprotocol.PROTOCOL`' />\n<parameter name='device-config' value='`$deviceconfig-file-content`' />","comments":"","x":448.8888473510742,"y":350.4444570541382,"z":"9adc6d3f.4fd9a","wires":[]},{"id":"5155e2e.c35c01c","type":"set","name":"set error-code 400 and message","xml":"<set>\n<parameter name='error-code' value='400' />\n<parameter name=\"error-message\" value=\"SUCCESS - request has been processed successfully\" />\n","comments":"","x":1107.583267211914,"y":707.3333854675293,"z":"9adc6d3f.4fd9a","wires":[]},{"id":"a4b7d4d9.d03ab8","type":"comment","name":"ConfigCompAdaptor resets error code for success cases","info":"","comments":"","x":1461.7500305175781,"y":704.3333892822266,"z":"9adc6d3f.4fd9a","wires":[]},{"id":"bbe79244.e2541","type":"execute","name":"execute saveTxLog","xml":"<execute plugin=\"org.onap.appc.data.services.node.ConfigResourceNode\" method=\"saveConfigTransactionLog\">\n<parameter name=\"messageType\" value=\"log\" />\n<parameter name=\"message\" value=\"get Config Info\" />\n<parameter name=\"responsePrefix\" value=\"tmp.saveTxLog\" />\n","comments":"","outputs":1,"x":449.55554962158203,"y":269.11108779907227,"z":"9adc6d3f.4fd9a","wires":[["d1d61570.0be3f8"]]},{"id":"ac964ccc.c134e","type":"execute","name":"execute saveTxLog","xml":"<execute plugin=\"org.onap.appc.data.services.node.ConfigResourceNode\" method=\"saveConfigTransactionLog\">\n<parameter name=\"messageType\" value=\"log\" />\n<parameter name=\"message\" value=\"400: Download of Config file is Successful\" />\n<parameter name=\"responsePrefix\" value=\"tmp.saveTxLog\" />\n","comments":"","outputs":1,"x":1090.000015258789,"y":827.7500171661377,"z":"9adc6d3f.4fd9a","wires":[["93a11316.da719"]]},{"id":"5268669e.4e3c78","type":"execute","name":"execute saveTxLog","xml":"<execute plugin=\"org.onap.appc.config.generator.node.ConfigResourceNode\" method=\"saveConfigTransactionLog\">\n<parameter name=\"messageType\" value=\"log\" />\n<parameter name=\"message\" value=\"`$tmp.message`\" />\n<parameter name=\"responsePrefix\" value=\"tmp.saveTxLog\" />\n","comments":"","outputs":1,"x":1887.8889350891113,"y":551.5555553436279,"z":"9adc6d3f.4fd9a","wires":[[]]},{"id":"77bc4fc2.cc583","type":"set","name":"set tmp.message","xml":"<set>\n<parameter name='tmp.message' value=\"`'Download Failure : ' + $error-code + ' : ' + $error-message`\" />\n","comments":"","x":1889.1110229492188,"y":477.8888874053955,"z":"9adc6d3f.4fd9a","wires":[]},{"id":"ee63b08a.143ca","type":"switchNode","name":"switch: error-code","xml":"<switch test=\"`$error-code`\">\n","comments":"","outputs":1,"x":1120.9999084472656,"y":456.9999694824219,"z":"9adc6d3f.4fd9a","wires":[["b1c4ad91.8aa34","8d980f69.01da2"]]},{"id":"b1c4ad91.8aa34","type":"success","name":"outcome: 400","xml":"<outcome value=\"400\">","comments":"","outputs":1,"x":1316.6666946411133,"y":399.6666660308838,"z":"9adc6d3f.4fd9a","wires":[["8b8d3a30.692328"]]},{"id":"8b8d3a30.692328","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":1551.6666717529297,"y":397.22224521636963,"z":"9adc6d3f.4fd9a","wires":[[]]},{"id":"8d980f69.01da2","type":"success","name":"outcome: Other","xml":"<outcome value=\"Other\">","comments":"","outputs":1,"x":1327.6666259765625,"y":482.444429397583,"z":"9adc6d3f.4fd9a","wires":[["4cb182b1.06d15c"]]},{"id":"4cb182b1.06d15c","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":1551.1110382080078,"y":484.55556869506836,"z":"9adc6d3f.4fd9a","wires":[["77bc4fc2.cc583","5268669e.4e3c78"]]},{"id":"7625e08d.e0025","type":"comment","name":"ISBC cases returns failure to stop polling","info":"","comments":"","x":1601.6665344238281,"y":297.88886165618896,"z":"9adc6d3f.4fd9a","wires":[]},{"id":"93a11316.da719","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1285.916648864746,"y":823.3333911895752,"z":"9adc6d3f.4fd9a","wires":[["b3148632.6019e8"]]},{"id":"b3148632.6019e8","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":1459.5000267028809,"y":824.8333911895752,"z":"9adc6d3f.4fd9a","wires":[[]]},{"id":"d1d61570.0be3f8","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":648.6666641235352,"y":269.99997329711914,"z":"9adc6d3f.4fd9a","wires":[["8e0a1916.289ea8"]]},{"id":"8e0a1916.289ea8","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":866.8889312744141,"y":272.888897895813,"z":"9adc6d3f.4fd9a","wires":[[]]},{"id":"de42b2.dca01d5","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":1055.000015258789,"y":901.9998970031738,"z":"9adc6d3f.4fd9a","wires":[["547a0900.632ad8","cfef6f4a.c8106"]]},{"id":"cfef6f4a.c8106","type":"call","name":"call: SaveRunningConfig","xml":"<call module=\"APPC\" rpc=\"SaveRunningConfig\" mode=\"sync\">","comments":"","outputs":1,"x":1314.750015258789,"y":900.833270072937,"z":"9adc6d3f.4fd9a","wires":[["bfd5ce67.f2b84"]]},{"id":"547a0900.632ad8","type":"switchNode","name":"switch: request-action","xml":"<switch test=\"`$request-action`\">\n","comments":"","outputs":1,"x":1269.4998970031738,"y":992.4998931884766,"z":"9adc6d3f.4fd9a","wires":[["9e0e7bc6.f3ad08","2bc0abbb.b9c904"]]},{"id":"9e0e7bc6.f3ad08","type":"other","name":"Configure","xml":"<outcome value='Configure'>","comments":"","outputs":1,"x":1516.749900817871,"y":982.4165191650391,"z":"9adc6d3f.4fd9a","wires":[["43f68adb.c89264"]]},{"id":"2bc0abbb.b9c904","type":"other","name":"ConfigScale","xml":"<outcome value='ConfigScale'>","comments":"","outputs":1,"x":1521.5000228881836,"y":1049.4998941421509,"z":"9adc6d3f.4fd9a","wires":[["43f68adb.c89264"]]},{"id":"43f68adb.c89264","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":1798.9165344238281,"y":1029.5832738876343,"z":"9adc6d3f.4fd9a","wires":[["65936072.2b5fa"]]},{"id":"65936072.2b5fa","type":"call","name":"call: UpdateAaiInfo","xml":"<call module=\"APPC\" rpc=\"UpdateAaiInfo\" mode=\"sync\">","comments":"","outputs":1,"x":820.3334465026855,"y":1139.9166431427002,"z":"9adc6d3f.4fd9a","wires":[["9151a526.f94b68"]]},{"id":"9151a526.f94b68","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":1027.9167556762695,"y":1144.1666440963745,"z":"9adc6d3f.4fd9a","wires":[["1879d6b6.911e99"]]},{"id":"1879d6b6.911e99","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","comments":"","outputs":1,"x":1222.083267211914,"y":1145.7498989105225,"z":"9adc6d3f.4fd9a","wires":[["e81a1fc0.a272c","f0dd7641.253498"]]},{"id":"e81a1fc0.a272c","type":"set","name":"set:  dcae-error message","xml":"<set>\n\t  <parameter name=\"dcae-error-message\" value=\"DG Workflow UpdateAaiInfo not found\"/>\n\t  ","comments":"","x":1529.2500228881836,"y":1120.3332686424255,"z":"9adc6d3f.4fd9a","wires":[]},{"id":"f0dd7641.253498","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=\"DCAEERRORMESSAGE\" value=\"`$dcae-error-message`\"/>\n","comments":"","outputs":1,"x":1472.1666526794434,"y":1166.5832710266113,"z":"9adc6d3f.4fd9a","wires":[[]]},{"id":"6518f897.340dd8","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","comments":"","outputs":1,"x":1721.0832748413086,"y":900.9998979568481,"z":"9adc6d3f.4fd9a","wires":[["186de19c.bcf0ae","407c43d8.cfa8ac"]]},{"id":"bfd5ce67.f2b84","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":1528.5832748413086,"y":900.7498979568481,"z":"9adc6d3f.4fd9a","wires":[["6518f897.340dd8"]]},{"id":"186de19c.bcf0ae","type":"set","name":"set:  dcae-error message","xml":"<set>\n\t  <parameter name=\"dcae-error-message\" value=\"DG Workflow SaveRunningConfig not found\"/>\n\t ","comments":"","x":2030.0000305175781,"y":903.2498960494995,"z":"9adc6d3f.4fd9a","wires":[]},{"id":"407c43d8.cfa8ac","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=\"DCAEERRORMESSAGE\" value=\"`$dcae-error-message`\"/>\n","comments":"","outputs":1,"x":1974.4999084472656,"y":958.0832719802856,"z":"9adc6d3f.4fd9a","wires":[[]]},{"id":"7421ecb2.1ac094","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":517.7777709960938,"y":156.66665649414062,"z":"9adc6d3f.4fd9a","wires":[["b891a8f2.0b2ce8","686bbe23.d037e"]]},{"id":"b891a8f2.0b2ce8","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":785.7778053283691,"y":162.9999771118164,"z":"9adc6d3f.4fd9a","wires":[["17029b5a.574655"]]},{"id":"17029b5a.574655","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":948.7778053283691,"y":166.9999771118164,"z":"9adc6d3f.4fd9a","wires":[["8d2d875d.8b0af8"]]},{"id":"8d2d875d.8b0af8","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":1116.7778053283691,"y":165.9999771118164,"z":"9adc6d3f.4fd9a","wires":[[]]},{"id":"686bbe23.d037e","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":779.7777786254883,"y":237.99999237060547,"z":"9adc6d3f.4fd9a","wires":[["7cedc144.223ff"]]},{"id":"7cedc144.223ff","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":957.1110610961914,"y":238.33336639404297,"z":"9adc6d3f.4fd9a","wires":[["1ab7b9f2.f91326"]]},{"id":"1ab7b9f2.f91326","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":1144.7777099609375,"y":236.33328437805176,"z":"9adc6d3f.4fd9a","wires":[]}]
+[\r
+    {\r
+        "id": "61d37abe.82cd64",\r
+        "type": "dgstart",\r
+        "name": "DGSTART",\r
+        "outputs": 1,\r
+        "x": 84.28573608398438,\r
+        "y": 119.42857360839844,\r
+        "z": "285db0f2.06375",\r
+        "wires": [\r
+            [\r
+                "8423b79b.d7cec8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "8423b79b.d7cec8",\r
+        "type": "service-logic",\r
+        "name": "APPC 4.0.0",\r
+        "module": "APPC",\r
+        "version": "4.0.0",\r
+        "comments": "",\r
+        "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'>",\r
+        "outputs": 1,\r
+        "x": 247.28573608398438,\r
+        "y": 109.42857360839844,\r
+        "z": "285db0f2.06375",\r
+        "wires": [\r
+            [\r
+                "c1e3b38c.2f63f8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c1e3b38c.2f63f8",\r
+        "type": "method",\r
+        "name": "method Generic_Configure",\r
+        "xml": "<method rpc='Generic_Configure' mode='sync'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 462.2857360839844,\r
+        "y": 101.42857360839844,\r
+        "z": "285db0f2.06375",\r
+        "wires": [\r
+            [\r
+                "6c0716c5.8d7c4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "6c0716c5.8d7c4",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 81.28573608398438,\r
+        "y": 244.7618989944458,\r
+        "z": "285db0f2.06375",\r
+        "wires": [\r
+            [\r
+                "631bacee.3786bc",\r
+                "84032bec.a688d",\r
+                "7804109c.c266",\r
+                "76262d39.a182fc",\r
+                "a333263.a3f5058",\r
+                "9c2591d5.def7f",\r
+                "924230.050aadd",\r
+                "ff3926e6.0b79d"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "631bacee.3786bc",\r
+        "type": "call",\r
+        "name": "call: DownloadConfig",\r
+        "xml": "<call module=\"APPC\" rpc=\"`$tmp.configureactiondg.DOWNLOAD-CONFIG-DG`\" mode=\"sync\">",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 304.8730163574219,\r
+        "y": 608.0159301757812,\r
+        "z": "285db0f2.06375",\r
+        "wires": [\r
+            [\r
+                "5a3b601a.374b",\r
+                "804e66f1.5cf248",\r
+                "1a953b4d.331fc5"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "5a3b601a.374b",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 577.2380981445312,\r
+        "y": 526.111083984375,\r
+        "z": "285db0f2.06375",\r
+        "wires": [\r
+            [\r
+                "efcc7633.772ba8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "804e66f1.5cf248",\r
+        "type": "failure",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 594.2024345397949,\r
+        "y": 624.9286823272705,\r
+        "z": "285db0f2.06375",\r
+        "wires": [\r
+            [\r
+                "2c5dd8ce.28ae88"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "1a953b4d.331fc5",\r
+        "type": "success",\r
+        "name": " success",\r
+        "xml": "<outcome value=\"success\">",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 542.5357475280762,\r
+        "y": 817.2619380950928,\r
+        "z": "285db0f2.06375",\r
+        "wires": [\r
+            [\r
+                "3084d7e.c6c89a8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "efcc7633.772ba8",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 781.6190185546875,\r
+        "y": 514.6190795898438,\r
+        "z": "285db0f2.06375",\r
+        "wires": [\r
+            [\r
+                "3e7902ac.0f9fe6",\r
+                "325f4a9b.803c4e",\r
+                "28140a27.57ead6"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "2c5dd8ce.28ae88",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 777.1190643310547,\r
+        "y": 670.095308303833,\r
+        "z": "285db0f2.06375",\r
+        "wires": [\r
+            [\r
+                "fb347bda.285858"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "3084d7e.c6c89a8",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 748.5357475280762,\r
+        "y": 808.5119380950928,\r
+        "z": "285db0f2.06375",\r
+        "wires": [\r
+            [\r
+                "8f8a8b2.9140078",\r
+                "fcfff614.97d76",\r
+                "f359c38b.fbc24",\r
+                "6bf58f1f.85fe98"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "3e7902ac.0f9fe6",\r
+        "type": "record",\r
+        "name": "record",\r
+        "xml": "<record plugin=\"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=\"`'error-code = ' + $error-code`\" />\n<parameter name=\"field3\" value=\"`'error-message = ' + $error-message`\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1044.5080299377441,\r
+        "y": 433.98411560058594,\r
+        "z": "285db0f2.06375",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "fb347bda.285858",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status=\"failure\">\n\t<parameter name=\"error-code\" value=\"401\"/>\n\t<parameter name=\"error-message\" value=\"`'DG Workflow ' + $tmp.configureactiondg.DOWNLOAD-CONFIG-DG + ' not found'`\"/>\n\t",\r
+        "comments": "",\r
+        "x": 1180.535758972168,\r
+        "y": 694.8452472686768,\r
+        "z": "285db0f2.06375",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "8f8a8b2.9140078",\r
+        "type": "record",\r
+        "name": "record",\r
+        "xml": "<record plugin=\"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=\"`'error-code = ' + $error-code`\" />\n<parameter name=\"field3\" value=\"`'error-message = ' + $error-message`\" />\n<parameter name=\"field4\" value=\"ACTIVATESUCCESS\" />",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1039.0357513427734,\r
+        "y": 804.2619338035583,\r
+        "z": "285db0f2.06375",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "325f4a9b.803c4e",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status=\"failure\">\n\t",\r
+        "comments": "",\r
+        "x": 1061.0635833740234,\r
+        "y": 597.5396661758423,\r
+        "z": "285db0f2.06375",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "84032bec.a688d",\r
+        "type": "set",\r
+        "name": "set Download params",\r
+        "xml": "<set>\n<parameter name='host-ip-address' value='`$vnf-host-ip-address`' />\n<parameter name='device-login' value='`$property.user`' />\n<parameter name='device-password' value='`$property.password`' />\n<parameter name='port-number' value='`$property.port`' />\n<parameter name='protocol' value='`$tmp.deviceinterfaceprotocol.PROTOCOL`' />\n<parameter name='device-config' value='`$deviceconfig-file-content`' />\n",\r
+        "comments": "",\r
+        "x": 326.74603271484375,\r
+        "y": 505.68243408203125,\r
+        "z": "285db0f2.06375",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "fcfff614.97d76",\r
+        "type": "set",\r
+        "name": "set error-code 400 and message",\r
+        "xml": "<set>\n<parameter name='error-code' value='400' />\n<parameter name=\"error-message\" value=\"SUCCESS - request has been processed successfully\" />\n",\r
+        "comments": "",\r
+        "x": 1056.8690032958984,\r
+        "y": 755.4286212921143,\r
+        "z": "285db0f2.06375",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "81444e09.a0133",\r
+        "type": "comment",\r
+        "name": "ConfigCompAdaptor resets error code for success cases",\r
+        "info": "",\r
+        "comments": "",\r
+        "x": 1411.0357666015625,\r
+        "y": 752.4286251068115,\r
+        "z": "285db0f2.06375",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "7804109c.c266",\r
+        "type": "execute",\r
+        "name": "execute saveTxLog",\r
+        "xml": "<execute plugin=\"org.onap.appc.data.services.node.ConfigResourceNode\" method=\"saveConfigTransactionLog\">\n<parameter name=\"messageType\" value=\"log\" />\n<parameter name=\"message\" value=\"get Config Info\" />\n<parameter name=\"responsePrefix\" value=\"tmp.saveTxLog\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 419.2698059082031,\r
+        "y": 222.6349639892578,\r
+        "z": "285db0f2.06375",\r
+        "wires": [\r
+            [\r
+                "f44893b1.e8784"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f359c38b.fbc24",\r
+        "type": "execute",\r
+        "name": "execute saveTxLog",\r
+        "xml": "<execute plugin=\"org.onap.appc.data.services.node.ConfigResourceNode\" method=\"saveConfigTransactionLog\">\n<parameter name=\"messageType\" value=\"log\" />\n<parameter name=\"message\" value=\"400: Download of Config file is Successful\" />\n<parameter name=\"responsePrefix\" value=\"tmp.saveTxLog\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1039.2857513427734,\r
+        "y": 875.8452529907227,\r
+        "z": "285db0f2.06375",\r
+        "wires": [\r
+            [\r
+                "e8b248c8.a2d1c8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "48ae0cb6.816864",\r
+        "type": "execute",\r
+        "name": "execute saveTxLog",\r
+        "xml": "<execute plugin=\"org.onap.appc.config.generator.node.ConfigResourceNode\" method=\"saveConfigTransactionLog\">\n<parameter name=\"messageType\" value=\"log\" />\n<parameter name=\"message\" value=\"`$tmp.message`\" />\n<parameter name=\"responsePrefix\" value=\"tmp.saveTxLog\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1837.1746711730957,\r
+        "y": 599.6507911682129,\r
+        "z": "285db0f2.06375",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "e35b4c6.218223",\r
+        "type": "set",\r
+        "name": "set tmp.message",\r
+        "xml": "<set>\n<parameter name='tmp.message' value=\"`'Download Failure : ' + $error-code + ' : ' + $error-message`\" />\n",\r
+        "comments": "",\r
+        "x": 1838.3967590332031,\r
+        "y": 525.9841232299805,\r
+        "z": "285db0f2.06375",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "28140a27.57ead6",\r
+        "type": "switchNode",\r
+        "name": "switch: error-code",\r
+        "xml": "<switch test=\"`$error-code`\">\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1070.28564453125,\r
+        "y": 505.09520530700684,\r
+        "z": "285db0f2.06375",\r
+        "wires": [\r
+            [\r
+                "bfd4e5f2.1ecdb",\r
+                "c962e995.964488"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "bfd4e5f2.1ecdb",\r
+        "type": "success",\r
+        "name": "outcome: 400",\r
+        "xml": "<outcome value=\"400\">",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1265.9524307250977,\r
+        "y": 447.76190185546875,\r
+        "z": "285db0f2.06375",\r
+        "wires": [\r
+            [\r
+                "817eeef5.e90f38"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "817eeef5.e90f38",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 1500.952407836914,\r
+        "y": 445.3174810409546,\r
+        "z": "285db0f2.06375",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "c962e995.964488",\r
+        "type": "success",\r
+        "name": "outcome: Other",\r
+        "xml": "<outcome value=\"Other\">",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1276.9523620605469,\r
+        "y": 530.539665222168,\r
+        "z": "285db0f2.06375",\r
+        "wires": [\r
+            [\r
+                "c25ad54c.2de7a8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c25ad54c.2de7a8",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 1500.3967742919922,\r
+        "y": 532.6508045196533,\r
+        "z": "285db0f2.06375",\r
+        "wires": [\r
+            [\r
+                "e35b4c6.218223",\r
+                "48ae0cb6.816864"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "af4ae47d.be227",\r
+        "type": "comment",\r
+        "name": "ISBC cases returns failure to stop polling",\r
+        "info": "",\r
+        "comments": "",\r
+        "x": 1550.9522705078125,\r
+        "y": 345.9840974807739,\r
+        "z": "285db0f2.06375",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "e8b248c8.a2d1c8",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1235.2023849487305,\r
+        "y": 871.4286270141602,\r
+        "z": "285db0f2.06375",\r
+        "wires": [\r
+            [\r
+                "7a66cbd7.d92d5c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "7a66cbd7.d92d5c",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 1408.7857627868652,\r
+        "y": 872.9286270141602,\r
+        "z": "285db0f2.06375",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "f44893b1.e8784",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 584.9524230957031,\r
+        "y": 247.09519958496094,\r
+        "z": "285db0f2.06375",\r
+        "wires": [\r
+            [\r
+                "72adbd63.dc9ac4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "72adbd63.dc9ac4",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 736.1746520996094,\r
+        "y": 245.98411560058594,\r
+        "z": "285db0f2.06375",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "6bf58f1f.85fe98",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 1004.2857513427734,\r
+        "y": 950.0951328277588,\r
+        "z": "285db0f2.06375",\r
+        "wires": [\r
+            [\r
+                "5119c46c.b2c834",\r
+                "cde8c474.69f89"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "cde8c474.69f89",\r
+        "type": "call",\r
+        "name": "call: SaveRunningConfig",\r
+        "xml": "<call module=\"APPC\" rpc=\"SaveRunningConfig\" mode=\"sync\">",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1264.0357513427734,\r
+        "y": 948.928505897522,\r
+        "z": "285db0f2.06375",\r
+        "wires": [\r
+            [\r
+                "e8122e51.2f1118"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "5119c46c.b2c834",\r
+        "type": "switchNode",\r
+        "name": "switch: request-action",\r
+        "xml": "<switch test=\"`$request-action`\">\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1218.7856330871582,\r
+        "y": 1040.5951290130615,\r
+        "z": "285db0f2.06375",\r
+        "wires": [\r
+            [\r
+                "cc8bbfb7.1f569",\r
+                "714a8c07.043b74"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "cc8bbfb7.1f569",\r
+        "type": "other",\r
+        "name": "Configure",\r
+        "xml": "<outcome value='Configure'>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1466.0356369018555,\r
+        "y": 1030.511754989624,\r
+        "z": "285db0f2.06375",\r
+        "wires": [\r
+            [\r
+                "e8957f63.e948e8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "714a8c07.043b74",\r
+        "type": "other",\r
+        "name": "ConfigScale",\r
+        "xml": "<outcome value='ConfigScale'>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1470.785758972168,\r
+        "y": 1097.5951299667358,\r
+        "z": "285db0f2.06375",\r
+        "wires": [\r
+            [\r
+                "e8957f63.e948e8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e8957f63.e948e8",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 1748.2022705078125,\r
+        "y": 1077.6785097122192,\r
+        "z": "285db0f2.06375",\r
+        "wires": [\r
+            [\r
+                "733ba7f3.56f7d"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "733ba7f3.56f7d",\r
+        "type": "call",\r
+        "name": "call: UpdateAaiInfo",\r
+        "xml": "<call module=\"APPC\" rpc=\"UpdateAaiInfo\" mode=\"sync\">",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 769.6191825866699,\r
+        "y": 1188.0118789672852,\r
+        "z": "285db0f2.06375",\r
+        "wires": [\r
+            [\r
+                "d9f6f7d6.2125b8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d9f6f7d6.2125b8",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 977.2024917602539,\r
+        "y": 1192.2618799209595,\r
+        "z": "285db0f2.06375",\r
+        "wires": [\r
+            [\r
+                "6e506adf.2422a4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "6e506adf.2422a4",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1171.3690032958984,\r
+        "y": 1193.8451347351074,\r
+        "z": "285db0f2.06375",\r
+        "wires": [\r
+            [\r
+                "69c05144.643008",\r
+                "6a796326.9a5d0c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "69c05144.643008",\r
+        "type": "set",\r
+        "name": "set:  dcae-error message",\r
+        "xml": "<set>\n\t  <parameter name=\"dcae-error-message\" value=\"DG Workflow UpdateAaiInfo not found\"/>\n\t  ",\r
+        "comments": "",\r
+        "x": 1478.535758972168,\r
+        "y": 1168.4285044670105,\r
+        "z": "285db0f2.06375",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "6a796326.9a5d0c",\r
+        "type": "record",\r
+        "name": "record",\r
+        "xml": "<record plugin=\"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=\"DCAEERRORMESSAGE\" value=\"`$dcae-error-message`\"/>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1421.4523887634277,\r
+        "y": 1214.6785068511963,\r
+        "z": "285db0f2.06375",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "9fa67fcc.8cbfb8",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1670.369010925293,\r
+        "y": 949.0951337814331,\r
+        "z": "285db0f2.06375",\r
+        "wires": [\r
+            [\r
+                "56905444.ee048c",\r
+                "a6130136.14cf"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e8122e51.2f1118",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1477.869010925293,\r
+        "y": 948.8451337814331,\r
+        "z": "285db0f2.06375",\r
+        "wires": [\r
+            [\r
+                "9fa67fcc.8cbfb8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "56905444.ee048c",\r
+        "type": "set",\r
+        "name": "set:  dcae-error message",\r
+        "xml": "<set>\n\t  <parameter name=\"dcae-error-message\" value=\"DG Workflow SaveRunningConfig not found\"/>\n\t ",\r
+        "comments": "",\r
+        "x": 1979.2857666015625,\r
+        "y": 951.3451318740845,\r
+        "z": "285db0f2.06375",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "a6130136.14cf",\r
+        "type": "record",\r
+        "name": "record",\r
+        "xml": "<record plugin=\"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=\"DCAEERRORMESSAGE\" value=\"`$dcae-error-message`\"/>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1923.78564453125,\r
+        "y": 1006.1785078048706,\r
+        "z": "285db0f2.06375",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "76262d39.a182fc",\r
+        "type": "execute",\r
+        "name": "execute getCommonConfigInfo",\r
+        "xml": "<execute plugin=\"org.onap.appc.data.services.node.ConfigResourceNode\" method=\"getCommonConfigInfo\">\n<parameter name=\"responsePrefix\" value=\"tmp.commonConfigInfo\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 460.4920959472656,\r
+        "y": 176.47618103027344,\r
+        "z": "285db0f2.06375",\r
+        "wires": [\r
+            [\r
+                "5b5f729f.d2e9dc",\r
+                "1ef0e43c.497fbc"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "5b5f729f.d2e9dc",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 730.0635681152344,\r
+        "y": 154.09521484375,\r
+        "z": "285db0f2.06375",\r
+        "wires": [\r
+            [\r
+                "61354486.d04ddc"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "61354486.d04ddc",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 867.0635681152344,\r
+        "y": 158.09521484375,\r
+        "z": "285db0f2.06375",\r
+        "wires": [\r
+            [\r
+                "356ae353.38975c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "356ae353.38975c",\r
+        "type": "record",\r
+        "name": "record",\r
+        "xml": "<record plugin=\"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",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1018.0635681152344,\r
+        "y": 155.09521484375,\r
+        "z": "285db0f2.06375",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "1ef0e43c.497fbc",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 728.0634765625,\r
+        "y": 204.2380828857422,\r
+        "z": "285db0f2.06375",\r
+        "wires": [\r
+            [\r
+                "822988bb.6c77c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "822988bb.6c77c",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 859.3968200683594,\r
+        "y": 216.42860412597656,\r
+        "z": "285db0f2.06375",\r
+        "wires": [\r
+            [\r
+                "45133d81.5404ec"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "45133d81.5404ec",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "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",\r
+        "comments": "",\r
+        "x": 1017.0634155273438,\r
+        "y": 221.14280700683594,\r
+        "z": "285db0f2.06375",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "de8fcfa2.bd48e",\r
+        "type": "execute",\r
+        "name": "execute params",\r
+        "xml": " <execute plugin=\"org.onap.appc.encryptiontool.wrapper.EncryptionToolDGWrapper\" method =\"getProperty\">\n <parameter name=\"prefix\" value =\"property\"/>\n\n \n  ",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 449.78961181640625,\r
+        "y": 440.357177734375,\r
+        "z": "285db0f2.06375",\r
+        "wires": [\r
+            [\r
+                "d9220a62.de752",\r
+                "eeb5df0e.d7827"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d9220a62.de752",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 605.2539672851562,\r
+        "y": 416.96429443359375,\r
+        "z": "285db0f2.06375",\r
+        "wires": [\r
+            [\r
+                "c03a5b17.52d19"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "eeb5df0e.d7827",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 608.6468505859375,\r
+        "y": 452.67840576171875,\r
+        "z": "285db0f2.06375",\r
+        "wires": [\r
+            [\r
+                "c03a5b17.52d19"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c03a5b17.52d19",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 788.6467895507812,\r
+        "y": 419.2857360839844,\r
+        "z": "285db0f2.06375",\r
+        "wires": [\r
+            [\r
+                "45b54218.56b09c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "45b54218.56b09c",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status=\"failure\">\n<parameter name='error-code' value=\"401\" />\n<parameter name='error-message' value=\"`$property.error-message`\" />",\r
+        "comments": "",\r
+        "x": 957.0396118164062,\r
+        "y": 411.2500305175781,\r
+        "z": "285db0f2.06375",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "a333263.a3f5058",\r
+        "type": "get-resource",\r
+        "name": "get-resource: APPC.protocol",\r
+        "xml": "<get-resource\n\tplugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' \n\tresource='SQL'\n\tkey=\"SELECT DISTINCT PROTOCOL FROM PROTOCOL_REFERENCE WHERE ACTION = $input.action AND VNF_TYPE = $vnf-type ;\"\n    force='true'\n\tpfx='APPC.protocol'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 418.4284973144531,\r
+        "y": 272.2857666015625,\r
+        "z": "285db0f2.06375",\r
+        "wires": [\r
+            [\r
+                "c052a17a.5bc6e",\r
+                "81e83b37.11f208"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c052a17a.5bc6e",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 636.2857360839844,\r
+        "y": 289.42857360839844,\r
+        "z": "285db0f2.06375",\r
+        "wires": [\r
+            [\r
+                "499f48a.6c30ab8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "499f48a.6c30ab8",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 766.2857360839844,\r
+        "y": 286.42857360839844,\r
+        "z": "285db0f2.06375",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "81e83b37.11f208",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 638.2857360839844,\r
+        "y": 329.42857360839844,\r
+        "z": "285db0f2.06375",\r
+        "wires": [\r
+            [\r
+                "3b23aa3d.9ed0ee"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "3b23aa3d.9ed0ee",\r
+        "type": "set",\r
+        "name": "set protocol",\r
+        "xml": "<set>\n<parameter name='APPC.protocol.PROTOCOL' value='`$APPC.protocol.PROTOCOL`' />\n\n\n\n\n\n",\r
+        "comments": "",\r
+        "x": 818.2857360839844,\r
+        "y": 326.42857360839844,\r
+        "z": "285db0f2.06375",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "9c2591d5.def7f",\r
+        "type": "record",\r
+        "name": "record",\r
+        "xml": "<record plugin=\"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='`$APPC.protocol.PROTOCOL`'/>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 360.4285888671875,\r
+        "y": 318.2857360839844,\r
+        "z": "285db0f2.06375",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "924230.050aadd",\r
+        "type": "set",\r
+        "name": "set Download params",\r
+        "xml": "<set> <parameter name='host-ip-address' value='`$vnf-host-ip-address`' />\n <parameter name='device-authentication.USER-NAME' value='`$device-login`' /> \n <parameter name='device-authentication.PASSWORD' value='`$device-password`' /> \n <parameter name='device-authentication.PORT-NUMBER' value='`$port-number`' /> \n <parameter name='protocol' value='`$tmp.deviceinterfaceprotocol.PROTOCOL`' /> \n <parameter name='device-config' value='`$deviceconfig-file-content`' /> \n\n \n ",\r
+        "comments": "",\r
+        "x": 318.5714111328125,\r
+        "y": 553.857177734375,\r
+        "z": "285db0f2.06375",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "20606bf4.018594",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 308.4522705078125,\r
+        "y": 407.30926513671875,\r
+        "z": "285db0f2.06375",\r
+        "wires": [\r
+            [\r
+                "de8fcfa2.bd48e"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ff3926e6.0b79d",\r
+        "type": "switchNode",\r
+        "name": "switch : Protocol",\r
+        "xml": "<switch test=\"`$APPC.protocol.PROTOCOL`\">\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 224.1666259765625,\r
+        "y": 355.8809509277344,\r
+        "z": "285db0f2.06375",\r
+        "wires": [\r
+            [\r
+                "d7f8d6e5.1b2da8",\r
+                "20606bf4.018594"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d7f8d6e5.1b2da8",\r
+        "type": "outcome",\r
+        "name": "CHEF",\r
+        "xml": "<outcome value='CHEF'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 439.88092041015625,\r
+        "y": 364.452392578125,\r
+        "z": "285db0f2.06375",\r
+        "wires": [\r
+            [\r
+                "45809dc8.5741ac"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "45809dc8.5741ac",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 654.452392578125,\r
+        "y": 365.5714111328125,\r
+        "z": "285db0f2.06375",\r
+        "wires": [\r
+            []\r
+        ]\r
+    }\r
+]
\ No newline at end of file
index 047b5c5..5721fe8 100644 (file)
-[
-    {
-        "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"
-    }
-]
+[\r
+    {\r
+        "id": "fd664e28.5fb7b8",\r
+        "type": "dgstart",\r
+        "name": "DGSTART",\r
+        "outputs": 1,\r
+        "x": 406.75,\r
+        "y": 201,\r
+        "z": "60af662c.e2145",\r
+        "wires": [\r
+            [\r
+                "49bd57e3.c95a8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "49bd57e3.c95a8",\r
+        "type": "service-logic",\r
+        "name": "APPC 4.0.0",\r
+        "module": "APPC",\r
+        "version": "4.0.0",\r
+        "comments": "",\r
+        "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'>",\r
+        "outputs": 1,\r
+        "x": 575.75,\r
+        "y": 201,\r
+        "z": "60af662c.e2145",\r
+        "wires": [\r
+            [\r
+                "394293e8.13c9d4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "394293e8.13c9d4",\r
+        "type": "method",\r
+        "name": "method GetAaiInfo",\r
+        "xml": "<method rpc='GetAaiInfo' mode='sync'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 788.75,\r
+        "y": 200,\r
+        "z": "60af662c.e2145",\r
+        "wires": [\r
+            [\r
+                "dec0584c.742078"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "dec0584c.742078",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 414.75,\r
+        "y": 283,\r
+        "z": "60af662c.e2145",\r
+        "wires": [\r
+            [\r
+                "4e7b7870.3c2198",\r
+                "cd6b0389.900b48",\r
+                "36d40c8a.e464ac"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b7482f98.af69b8",\r
+        "type": "execute",\r
+        "name": "execute getAllVServersVnfcsInfo",\r
+        "xml": "<execute plugin=\"org.onap.appc.aai.client.node.AAIResourceNode\" method=\"getAllVServersVnfcsInfo\">\n<parameter name=\"responsePrefix\" value=\"tmp.vnfInfo\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 540.25,\r
+        "y": 696,\r
+        "z": "60af662c.e2145",\r
+        "wires": [\r
+            [\r
+                "b5b9509f.ca78b8",\r
+                "a4ecc6aa.1cb878"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b5b9509f.ca78b8",\r
+        "type": "failure",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 805.25,\r
+        "y": 698,\r
+        "z": "60af662c.e2145",\r
+        "wires": [\r
+            [\r
+                "3f0612bf.1e81ce"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a4ecc6aa.1cb878",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 803.25,\r
+        "y": 740,\r
+        "z": "60af662c.e2145",\r
+        "wires": [\r
+            [\r
+                "be5bc1a5.b28d9"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "3f0612bf.1e81ce",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 953.25,\r
+        "y": 696,\r
+        "z": "60af662c.e2145",\r
+        "wires": [\r
+            [\r
+                "47d5a554.1ebeec"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "be5bc1a5.b28d9",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 936.25,\r
+        "y": 740,\r
+        "z": "60af662c.e2145",\r
+        "wires": [\r
+            [\r
+                "1f63374f.396761"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "1f63374f.396761",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "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",\r
+        "comments": "",\r
+        "x": 1102.25,\r
+        "y": 741,\r
+        "z": "60af662c.e2145",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "4e7b7870.3c2198",\r
+        "type": "execute",\r
+        "name": "execute getVnfInfo",\r
+        "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",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 653.75,\r
+        "y": 277,\r
+        "z": "60af662c.e2145",\r
+        "wires": [\r
+            [\r
+                "93edc50.f871438",\r
+                "225d3704.da3058"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "93edc50.f871438",\r
+        "type": "failure",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 842.75,\r
+        "y": 276,\r
+        "z": "60af662c.e2145",\r
+        "wires": [\r
+            [\r
+                "b2cc3edd.9ce1f8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b2cc3edd.9ce1f8",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 998.75,\r
+        "y": 279,\r
+        "z": "60af662c.e2145",\r
+        "wires": [\r
+            [\r
+                "429d2b70.3872f4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "429d2b70.3872f4",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "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",\r
+        "comments": "",\r
+        "x": 1169.75,\r
+        "y": 281,\r
+        "z": "60af662c.e2145",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "225d3704.da3058",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 836.75,\r
+        "y": 331,\r
+        "z": "60af662c.e2145",\r
+        "wires": [\r
+            [\r
+                "a7c9bd2d.11ba3"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a7c9bd2d.11ba3",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 987.75,\r
+        "y": 333,\r
+        "z": "60af662c.e2145",\r
+        "wires": [\r
+            [\r
+                "83e4708.b8ddb1"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "83e4708.b8ddb1",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "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",\r
+        "comments": "",\r
+        "x": 1147.75,\r
+        "y": 332,\r
+        "z": "60af662c.e2145",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "cd6b0389.900b48",\r
+        "type": "set",\r
+        "name": "set vnf-type, name",\r
+        "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",\r
+        "comments": "",\r
+        "x": 617.75,\r
+        "y": 384,\r
+        "z": "60af662c.e2145",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "47d5a554.1ebeec",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "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",\r
+        "comments": "",\r
+        "x": 1117.75,\r
+        "y": 695,\r
+        "z": "60af662c.e2145",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "36d40c8a.e464ac",\r
+        "type": "switchNode",\r
+        "name": "switch action-level",\r
+        "xml": "<switch test='`$action-level`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 505.75,\r
+        "y": 523.75,\r
+        "z": "60af662c.e2145",\r
+        "wires": [\r
+            [\r
+                "b7bf0993.f3e0c8",\r
+                "2cdf43f1.4b5ebc"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b7bf0993.f3e0c8",\r
+        "type": "success",\r
+        "name": "outcome: Other",\r
+        "xml": "<outcome value='Other'>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 719.1666870117188,\r
+        "y": 575.1666259765625,\r
+        "z": "60af662c.e2145",\r
+        "wires": [\r
+            [\r
+                "b7482f98.af69b8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "2cdf43f1.4b5ebc",\r
+        "type": "success",\r
+        "name": "outcome: vm",\r
+        "xml": "<outcome value='vm'>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 750.1666870117188,\r
+        "y": 506.83331298828125,\r
+        "z": "60af662c.e2145",\r
+        "wires": [\r
+            [\r
+                "3dbfbbfc.27ebac"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "3dbfbbfc.27ebac",\r
+        "type": "execute",\r
+        "name": "execute getVserverInfo",\r
+        "xml": "<execute plugin=\"org.onap.appc.aai.client.node.AAIResourceNode\" method=\"getVserverInfo\">\n<parameter name=\"vserverId\" value=\"`$vserver-id`\" />\n<parameter name=\"responsePrefix\" value=\"tmp.vnfInfo\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 954.75,\r
+        "y": 502.75,\r
+        "z": "60af662c.e2145",\r
+        "wires": [\r
+            [\r
+                "96b367e.5d77098",\r
+                "c9f50ce3.109688"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "96b367e.5d77098",\r
+        "type": "failure",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1184.75,\r
+        "y": 484.75,\r
+        "z": "60af662c.e2145",\r
+        "wires": [\r
+            [\r
+                "807dae61.cb4a58"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c9f50ce3.109688",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1185.75,\r
+        "y": 537.75,\r
+        "z": "60af662c.e2145",\r
+        "wires": [\r
+            [\r
+                "45027fab.115558"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "807dae61.cb4a58",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1329.75,\r
+        "y": 484.75,\r
+        "z": "60af662c.e2145",\r
+        "wires": [\r
+            [\r
+                "3138c403.04f2ac"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "45027fab.115558",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1327.75,\r
+        "y": 534.75,\r
+        "z": "60af662c.e2145",\r
+        "wires": [\r
+            [\r
+                "925bce45.2c0a58"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "925bce45.2c0a58",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "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",\r
+        "comments": "",\r
+        "x": 1495.75,\r
+        "y": 533.75,\r
+        "z": "60af662c.e2145",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "3138c403.04f2ac",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "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",\r
+        "comments": "",\r
+        "x": 1494.25,\r
+        "y": 480.75,\r
+        "z": "60af662c.e2145",\r
+        "wires": []\r
+    }\r
+]
\ No newline at end of file
index 91c101a..ed64ae9 100644 (file)
@@ -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":[]}]
+[\r
+    {\r
+        "id": "824ef7fe.3f3a28",\r
+        "type": "dgstart",\r
+        "name": "DGSTART",\r
+        "outputs": 1,\r
+        "x": 103.33332443237305,\r
+        "y": 37.222219467163086,\r
+        "z": "2e3a20a4.cdd4b",\r
+        "wires": [\r
+            [\r
+                "63f1353e.3afaec"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "63f1353e.3afaec",\r
+        "type": "service-logic",\r
+        "name": "APPC 4.0.0",\r
+        "module": "APPC",\r
+        "version": "4.0.0",\r
+        "comments": "",\r
+        "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'>",\r
+        "outputs": 1,\r
+        "x": 270.66666412353516,\r
+        "y": 71.66667461395264,\r
+        "z": "2e3a20a4.cdd4b",\r
+        "wires": [\r
+            [\r
+                "39441c46.1ce144"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "39441c46.1ce144",\r
+        "type": "method",\r
+        "name": "method GetAaiInfo",\r
+        "xml": "<method rpc='GetAaiInfoTest' mode='sync'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 465.66666412353516,\r
+        "y": 66.66667461395264,\r
+        "z": "2e3a20a4.cdd4b",\r
+        "wires": [\r
+            [\r
+                "69fc431f.857fdc"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "69fc431f.857fdc",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 113.41666412353516,\r
+        "y": 208.66667366027832,\r
+        "z": "2e3a20a4.cdd4b",\r
+        "wires": [\r
+            [\r
+                "d21e1229.c7233",\r
+                "75cc0c83.6ea414"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "75cc0c83.6ea414",\r
+        "type": "execute",\r
+        "name": "execute getAllVServersVnfcsInfo",\r
+        "xml": "<execute plugin=\"org.onap.appc.aai.client.node.AAIResourceNode\" method=\"getAllVServersVnfcsInfo\">\n<parameter name=\"responsePrefix\" value=\"tmp.vnfInfo\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 360.16666412353516,\r
+        "y": 309.66667461395264,\r
+        "z": "2e3a20a4.cdd4b",\r
+        "wires": [\r
+            [\r
+                "b861bae7.ed7f38",\r
+                "e920d0c2.265e9"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b861bae7.ed7f38",\r
+        "type": "failure",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 597.9166641235352,\r
+        "y": 308.16669273376465,\r
+        "z": "2e3a20a4.cdd4b",\r
+        "wires": [\r
+            [\r
+                "6536b658.4a6e98"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e920d0c2.265e9",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 590.9166641235352,\r
+        "y": 373.9166946411133,\r
+        "z": "2e3a20a4.cdd4b",\r
+        "wires": [\r
+            [\r
+                "2e927b94.777bc4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "6536b658.4a6e98",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 732.1666946411133,\r
+        "y": 307.41669368743896,\r
+        "z": "2e3a20a4.cdd4b",\r
+        "wires": [\r
+            [\r
+                "f5c71351.7eb9c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "2e927b94.777bc4",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 731.4166946411133,\r
+        "y": 373.9166946411133,\r
+        "z": "2e3a20a4.cdd4b",\r
+        "wires": [\r
+            [\r
+                "a3877152.03659"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a3877152.03659",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "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",\r
+        "comments": "",\r
+        "x": 921.1667022705078,\r
+        "y": 374.91669273376465,\r
+        "z": "2e3a20a4.cdd4b",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "d21e1229.c7233",\r
+        "type": "execute",\r
+        "name": "execute getVnfInfo",\r
+        "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",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 357.66666412353516,\r
+        "y": 188.91667366027832,\r
+        "z": "2e3a20a4.cdd4b",\r
+        "wires": [\r
+            [\r
+                "a263590d.bf4bc8",\r
+                "883728c.1caaed8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a263590d.bf4bc8",\r
+        "type": "failure",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 541.4166641235352,\r
+        "y": 165.41667366027832,\r
+        "z": "2e3a20a4.cdd4b",\r
+        "wires": [\r
+            [\r
+                "6a5be154.0d7fd"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "6a5be154.0d7fd",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 692.4166984558105,\r
+        "y": 164.66667461395264,\r
+        "z": "2e3a20a4.cdd4b",\r
+        "wires": [\r
+            [\r
+                "b11705da.bdd1c8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b11705da.bdd1c8",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "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",\r
+        "comments": "",\r
+        "x": 867.1666984558105,\r
+        "y": 149.16667366027832,\r
+        "z": "2e3a20a4.cdd4b",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "883728c.1caaed8",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 542.9166641235352,\r
+        "y": 236.66667556762695,\r
+        "z": "2e3a20a4.cdd4b",\r
+        "wires": [\r
+            [\r
+                "37a2c648.d6328a"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "37a2c648.d6328a",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 690.1666984558105,\r
+        "y": 236.16667556762695,\r
+        "z": "2e3a20a4.cdd4b",\r
+        "wires": [\r
+            [\r
+                "b02272fd.969a9"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b02272fd.969a9",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "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",\r
+        "comments": "",\r
+        "x": 866.4166984558105,\r
+        "y": 228.91667556762695,\r
+        "z": "2e3a20a4.cdd4b",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "bec2087a.fef188",\r
+        "type": "set",\r
+        "name": "set vnf-type, name",\r
+        "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",\r
+        "comments": "",\r
+        "x": 150.16666412353516,\r
+        "y": 439.16669368743896,\r
+        "z": "2e3a20a4.cdd4b",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "f5c71351.7eb9c",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "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",\r
+        "comments": "",\r
+        "x": 909.1666984558105,\r
+        "y": 307.66669273376465,\r
+        "z": "2e3a20a4.cdd4b",\r
+        "wires": []\r
+    }\r
+]\r
index feac4da..deb1bd6 100644 (file)
@@ -1 +1,1116 @@
-[{"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":[[]]}]
+[\r
+    {\r
+        "id": "9bb6e3fd.8353c",\r
+        "type": "dgstart",\r
+        "name": "DGSTART",\r
+        "outputs": 1,\r
+        "x": 142,\r
+        "y": 42,\r
+        "z": "adf02ac6.d2cbf8",\r
+        "wires": [\r
+            [\r
+                "e7f441eb.e180b"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "8f76ea35.f79a18",\r
+        "type": "set",\r
+        "name": "set params based on Dispatcher Input",\r
+        "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",\r
+        "comments": "",\r
+        "x": 546,\r
+        "y": 85,\r
+        "z": "adf02ac6.d2cbf8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "e7f441eb.e180b",\r
+        "type": "service-logic",\r
+        "name": "APPC 4.0.0",\r
+        "module": "APPC",\r
+        "version": "4.0.0",\r
+        "comments": "",\r
+        "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'>",\r
+        "outputs": 1,\r
+        "x": 293,\r
+        "y": 40,\r
+        "z": "adf02ac6.d2cbf8",\r
+        "wires": [\r
+            [\r
+                "c3a68d59.ce73"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c3a68d59.ce73",\r
+        "type": "method",\r
+        "name": "method GetConfigParams",\r
+        "xml": "<method rpc='GetConfigParams' mode='sync'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 500,\r
+        "y": 40,\r
+        "z": "adf02ac6.d2cbf8",\r
+        "wires": [\r
+            [\r
+                "36af194f.980636"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "36af194f.980636",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 170,\r
+        "y": 552,\r
+        "z": "adf02ac6.d2cbf8",\r
+        "wires": [\r
+            [\r
+                "8f76ea35.f79a18",\r
+                "7f40e7c.f1a0f18",\r
+                "75b2ab8c.29ec14",\r
+                "d24eba94.b54568",\r
+                "e6dfe3ac.24507",\r
+                "7412fea.9adbc",\r
+                "ccb97140.1e539",\r
+                "9ad43899.01ac48",\r
+                "15d3a340.b47bcd",\r
+                "756836a6.2786a8",\r
+                "6906399c.ebbbc8",\r
+                "503fe7d0.7e3e98"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "15d3a340.b47bcd",\r
+        "type": "execute",\r
+        "name": "execute Convert payload to DG Context ",\r
+        "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\" />",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 543.5,\r
+        "y": 240,\r
+        "z": "adf02ac6.d2cbf8",\r
+        "wires": [\r
+            [\r
+                "c0f87e47.2782e",\r
+                "9352ae35.fa92c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c0f87e47.2782e",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 787.5,\r
+        "y": 226,\r
+        "z": "adf02ac6.d2cbf8",\r
+        "wires": [\r
+            [\r
+                "caeeb3b0.4b2"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9352ae35.fa92c",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 779.5,\r
+        "y": 276,\r
+        "z": "adf02ac6.d2cbf8",\r
+        "wires": [\r
+            [\r
+                "f11d098d.f00a98"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "caeeb3b0.4b2",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 930.5,\r
+        "y": 224,\r
+        "z": "adf02ac6.d2cbf8",\r
+        "wires": [\r
+            [\r
+                "3953cb54.990b44"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f11d098d.f00a98",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 938.5,\r
+        "y": 272,\r
+        "z": "adf02ac6.d2cbf8",\r
+        "wires": [\r
+            [\r
+                "e69e3042.713fc"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "756836a6.2786a8",\r
+        "type": "set",\r
+        "name": "set Payload params ",\r
+        "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<parameter name='vnf-type' value='`$request-parameters.vnf-type`' />\n<parameter name='vnf-name' value='`$request-parameters.vnf-name`' />\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\n<!--1702 VM/VNFC Parameters when passed from Request--> \n<parameter name='VNFCTYPE' value='`$request-parameters.vm[0].vnfc[0].vnfc-type`' />\n<parameter name=\"VMNAME0\" value=\"`$request-parameters.vm[0].vm-name`\"/>\n<parameter name=\"VNFCNAME0\" value=\"`$request-parameters.vm[0].vnfc[0].vnfc-name`\"/>\n<parameter name=\"VMLENGTH\" value=\"`$size_request-parameters.vm`\"/>\n<parameter name=\"VNFCLENGTH\" value=\"`$size_request-parameters.vm[0].vnfc`\"/>\n<parameter name=\"CONFIGTYPE\" value=\"`$config-type`\"/>\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",\r
+        "comments": "",\r
+        "x": 478,\r
+        "y": 315,\r
+        "z": "adf02ac6.d2cbf8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "3953cb54.990b44",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "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",\r
+        "comments": "",\r
+        "x": 1091.5,\r
+        "y": 223,\r
+        "z": "adf02ac6.d2cbf8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "e69e3042.713fc",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "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",\r
+        "comments": "",\r
+        "x": 1100.5,\r
+        "y": 270,\r
+        "z": "adf02ac6.d2cbf8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "75b2ab8c.29ec14",\r
+        "type": "switchNode",\r
+        "name": "switch configuration.configuration-string",\r
+        "xml": "<switch test='`$block_configuration.configuration-string`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 492,\r
+        "y": 622,\r
+        "z": "adf02ac6.d2cbf8",\r
+        "wires": [\r
+            [\r
+                "fb04536b.1de06",\r
+                "be6c5c96.29d5e"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "dd3a9d9e.b9d2a",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 931,\r
+        "y": 592,\r
+        "z": "adf02ac6.d2cbf8",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "fb04536b.1de06",\r
+        "type": "success",\r
+        "name": "outcome: Other",\r
+        "xml": "<outcome value=\"Other\">",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 767,\r
+        "y": 632,\r
+        "z": "adf02ac6.d2cbf8",\r
+        "wires": [\r
+            [\r
+                "e2a08c9d.0225a"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e2a08c9d.0225a",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 940,\r
+        "y": 631,\r
+        "z": "adf02ac6.d2cbf8",\r
+        "wires": [\r
+            [\r
+                "a038cb9e.3b7348"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a038cb9e.3b7348",\r
+        "type": "set",\r
+        "name": "set configuration",\r
+        "xml": "<set>\n<parameter name='configuration' value='`$block_configuration.configuration-string`' />\n",\r
+        "comments": "",\r
+        "x": 1113,\r
+        "y": 632,\r
+        "z": "adf02ac6.d2cbf8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "be36a808.d1b068",\r
+        "type": "comment",\r
+        "name": "CLI/XML",\r
+        "info": "",\r
+        "comments": "",\r
+        "x": 1283,\r
+        "y": 609,\r
+        "z": "adf02ac6.d2cbf8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "d24eba94.b54568",\r
+        "type": "switchNode",\r
+        "name": "switch configuration.configuration-json",\r
+        "xml": "<switch test='`$block_configuration.configuration-json`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 474.5,\r
+        "y": 685,\r
+        "z": "adf02ac6.d2cbf8",\r
+        "wires": [\r
+            [\r
+                "857b8ce2.9ed1e",\r
+                "e95340f3.b63a6"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "857b8ce2.9ed1e",\r
+        "type": "success",\r
+        "name": "outcome: Other",\r
+        "xml": "<outcome value=\"Other\">",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 757.5,\r
+        "y": 729,\r
+        "z": "adf02ac6.d2cbf8",\r
+        "wires": [\r
+            [\r
+                "e5ca2181.c656c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a9e75a29.dc4b58",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 933.5,\r
+        "y": 687,\r
+        "z": "adf02ac6.d2cbf8",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "e5ca2181.c656c",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 930.5,\r
+        "y": 726,\r
+        "z": "adf02ac6.d2cbf8",\r
+        "wires": [\r
+            [\r
+                "aaba1e3.dccb9e"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "aaba1e3.dccb9e",\r
+        "type": "set",\r
+        "name": "set configuration",\r
+        "xml": "<set>\n<parameter name='configuration' value='`$block_configuration.configuration-json`' />\n",\r
+        "comments": "",\r
+        "x": 1103.5,\r
+        "y": 726,\r
+        "z": "adf02ac6.d2cbf8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "4b2cf64c.6fa4d8",\r
+        "type": "comment",\r
+        "name": "JSON",\r
+        "info": "",\r
+        "comments": "",\r
+        "x": 1259,\r
+        "y": 723,\r
+        "z": "adf02ac6.d2cbf8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "7f40e7c.f1a0f18",\r
+        "type": "switchNode",\r
+        "name": "switch template-name",\r
+        "xml": "<switch test='`$template-name`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 464,\r
+        "y": 519,\r
+        "z": "adf02ac6.d2cbf8",\r
+        "wires": [\r
+            [\r
+                "db9e35c3.4ff3e8",\r
+                "bca04de1.2e459"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "db9e35c3.4ff3e8",\r
+        "type": "success",\r
+        "name": "outcome: null",\r
+        "xml": "<outcome value=''>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 684,\r
+        "y": 498,\r
+        "z": "adf02ac6.d2cbf8",\r
+        "wires": [\r
+            [\r
+                "c94325ba.b9bc88"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "bca04de1.2e459",\r
+        "type": "success",\r
+        "name": "outcome: Other",\r
+        "xml": "<outcome value=\"Other\">",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 689,\r
+        "y": 540,\r
+        "z": "adf02ac6.d2cbf8",\r
+        "wires": [\r
+            [\r
+                "15180da2.8fda02"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "15180da2.8fda02",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 862,\r
+        "y": 537,\r
+        "z": "adf02ac6.d2cbf8",\r
+        "wires": [\r
+            [\r
+                "aef8377e.d52808"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "aef8377e.d52808",\r
+        "type": "set",\r
+        "name": "set config-type",\r
+        "xml": "<set>\n<parameter name='config-type' value='template' />\n",\r
+        "comments": "",\r
+        "x": 1034,\r
+        "y": 539,\r
+        "z": "adf02ac6.d2cbf8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "e6dfe3ac.24507",\r
+        "type": "switchNode",\r
+        "name": "switch configuration",\r
+        "xml": "<switch test='`$configuration`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 444,\r
+        "y": 779,\r
+        "z": "adf02ac6.d2cbf8",\r
+        "wires": [\r
+            [\r
+                "d1b87930.4064c8",\r
+                "c593d4e5.4643f8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d1b87930.4064c8",\r
+        "type": "success",\r
+        "name": "outcome: Other",\r
+        "xml": "<outcome value=\"Other\">",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 542,\r
+        "y": 862,\r
+        "z": "adf02ac6.d2cbf8",\r
+        "wires": [\r
+            [\r
+                "ea235f7f.30eb"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b2ac1569.cd70a8",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 844,\r
+        "y": 788,\r
+        "z": "adf02ac6.d2cbf8",\r
+        "wires": [\r
+            [\r
+                "af7911bd.7396e"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "1239e45f.5f9fbc",\r
+        "type": "set",\r
+        "name": "set config-type",\r
+        "xml": "<set>\n<parameter name='config-type' value='template' />\n",\r
+        "comments": "",\r
+        "x": 1331,\r
+        "y": 877,\r
+        "z": "adf02ac6.d2cbf8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "e1c4bcf8.26b34",\r
+        "type": "comment",\r
+        "name": "Template",\r
+        "info": "",\r
+        "comments": "",\r
+        "x": 1311,\r
+        "y": 919,\r
+        "z": "adf02ac6.d2cbf8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "af7911bd.7396e",\r
+        "type": "switchNode",\r
+        "name": "switch Configuration params exists",\r
+        "xml": "<switch test='`$configuration-params`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1082,\r
+        "y": 788,\r
+        "z": "adf02ac6.d2cbf8",\r
+        "wires": [\r
+            [\r
+                "6ec74942.5d8408",\r
+                "833a6cbe.f853c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "6ec74942.5d8408",\r
+        "type": "success",\r
+        "name": "outcome: Other",\r
+        "xml": "<outcome value=\"Other\">",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1005,\r
+        "y": 875,\r
+        "z": "adf02ac6.d2cbf8",\r
+        "wires": [\r
+            [\r
+                "c0b41bfa.df8068"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c0b41bfa.df8068",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1169,\r
+        "y": 877,\r
+        "z": "adf02ac6.d2cbf8",\r
+        "wires": [\r
+            [\r
+                "1239e45f.5f9fbc"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a3a46465.63a528",\r
+        "type": "comment",\r
+        "name": "Specific Template",\r
+        "info": "",\r
+        "comments": "",\r
+        "x": 1225,\r
+        "y": 531,\r
+        "z": "adf02ac6.d2cbf8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "c94325ba.b9bc88",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 873,\r
+        "y": 493,\r
+        "z": "adf02ac6.d2cbf8",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "ea235f7f.30eb",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 701,\r
+        "y": 865,\r
+        "z": "adf02ac6.d2cbf8",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "324dd1e3.b5075e",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1510,\r
+        "y": 771,\r
+        "z": "adf02ac6.d2cbf8",\r
+        "wires": [\r
+            [\r
+                "dcc9e51c.03f7f8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "dcc9e51c.03f7f8",\r
+        "type": "switchNode",\r
+        "name": "switch template-name",\r
+        "xml": "<switch test='`$template-name`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1700,\r
+        "y": 772,\r
+        "z": "adf02ac6.d2cbf8",\r
+        "wires": [\r
+            [\r
+                "7d29bc8a.414494"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "96404db4.f2985",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1728,\r
+        "y": 822,\r
+        "z": "adf02ac6.d2cbf8",\r
+        "wires": [\r
+            [\r
+                "d6492c42.82569"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d6492c42.82569",\r
+        "type": "set",\r
+        "name": "set config-type",\r
+        "xml": "<set>\n<parameter name='config-type' value='template' />\n",\r
+        "comments": "",\r
+        "x": 1913,\r
+        "y": 824,\r
+        "z": "adf02ac6.d2cbf8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "48face11.f4ff2",\r
+        "type": "comment",\r
+        "name": "Restore scenario:ASDC Template to be directly donwloaded - no params",\r
+        "info": "",\r
+        "comments": "",\r
+        "x": 1854,\r
+        "y": 870,\r
+        "z": "adf02ac6.d2cbf8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "be6c5c96.29d5e",\r
+        "type": "success",\r
+        "name": "outcome: null",\r
+        "xml": "<outcome value=''>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 769,\r
+        "y": 588,\r
+        "z": "adf02ac6.d2cbf8",\r
+        "wires": [\r
+            [\r
+                "dd3a9d9e.b9d2a"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e95340f3.b63a6",\r
+        "type": "success",\r
+        "name": "outcome: null",\r
+        "xml": "<outcome value=''>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 762,\r
+        "y": 680,\r
+        "z": "adf02ac6.d2cbf8",\r
+        "wires": [\r
+            [\r
+                "a9e75a29.dc4b58"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c593d4e5.4643f8",\r
+        "type": "success",\r
+        "name": "outcome: null",\r
+        "xml": "<outcome value=''>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 654,\r
+        "y": 783,\r
+        "z": "adf02ac6.d2cbf8",\r
+        "wires": [\r
+            [\r
+                "b2ac1569.cd70a8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "833a6cbe.f853c",\r
+        "type": "success",\r
+        "name": "outcome: null",\r
+        "xml": "<outcome value=''>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1347,\r
+        "y": 778,\r
+        "z": "adf02ac6.d2cbf8",\r
+        "wires": [\r
+            [\r
+                "324dd1e3.b5075e"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "7d29bc8a.414494",\r
+        "type": "success",\r
+        "name": "outcome: null",\r
+        "xml": "<outcome value=''>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1907,\r
+        "y": 776,\r
+        "z": "adf02ac6.d2cbf8",\r
+        "wires": [\r
+            [\r
+                "96404db4.f2985"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "7412fea.9adbc",\r
+        "type": "execute",\r
+        "name": "execute getCommonConfigInfo",\r
+        "xml": "<execute plugin=\"org.onap.appc.data.services.node.ConfigResourceNode\" method=\"getCommonConfigInfo\">\n<parameter name=\"responsePrefix\" value=\"tmp.commonConfigInfo\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 540,\r
+        "y": 1059,\r
+        "z": "adf02ac6.d2cbf8",\r
+        "wires": [\r
+            [\r
+                "4da43c81.2491b4",\r
+                "8c2aa956.c156b8",\r
+                "4dfd0047.6c378"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "4da43c81.2491b4",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 771,\r
+        "y": 1044,\r
+        "z": "adf02ac6.d2cbf8",\r
+        "wires": [\r
+            [\r
+                "1a4f5cd1.590323"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "8c2aa956.c156b8",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 763,\r
+        "y": 1091,\r
+        "z": "adf02ac6.d2cbf8",\r
+        "wires": [\r
+            [\r
+                "2489bea7.85e3e2"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "1a4f5cd1.590323",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 954,\r
+        "y": 1047,\r
+        "z": "adf02ac6.d2cbf8",\r
+        "wires": [\r
+            [\r
+                "6cf71fbb.6b97e"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "6cf71fbb.6b97e",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "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",\r
+        "comments": "",\r
+        "x": 1138,\r
+        "y": 1046,\r
+        "z": "adf02ac6.d2cbf8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "2489bea7.85e3e2",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 940,\r
+        "y": 1094,\r
+        "z": "adf02ac6.d2cbf8",\r
+        "wires": [\r
+            [\r
+                "71939a70.72ef94"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "71939a70.72ef94",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "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",\r
+        "comments": "",\r
+        "x": 1126,\r
+        "y": 1092,\r
+        "z": "adf02ac6.d2cbf8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "9ad43899.01ac48",\r
+        "type": "execute",\r
+        "name": "execute saveTxLog",\r
+        "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",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 477,\r
+        "y": 159,\r
+        "z": "adf02ac6.d2cbf8",\r
+        "wires": [\r
+            [\r
+                "5a001056.0ae7d"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ccb97140.1e539",\r
+        "type": "set",\r
+        "name": "set tmp.message",\r
+        "xml": "<set>\n<parameter name=\"tmp.message\" value=\"`$vnf-id + ' : ' + $request-action +  ': ' + $payload`\" />\n",\r
+        "comments": "",\r
+        "x": 477,\r
+        "y": 120,\r
+        "z": "adf02ac6.d2cbf8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "5a001056.0ae7d",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 661,\r
+        "y": 158,\r
+        "z": "adf02ac6.d2cbf8",\r
+        "wires": [\r
+            [\r
+                "953a8a59.d985b8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "953a8a59.d985b8",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 818,\r
+        "y": 155,\r
+        "z": "adf02ac6.d2cbf8",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "6906399c.ebbbc8",\r
+        "type": "call",\r
+        "name": "call: getAAIInfo",\r
+        "xml": "<call module=\"APPC\" rpc=\"GetAaiInfo\" mode=\"sync\">",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 451,\r
+        "y": 454,\r
+        "z": "adf02ac6.d2cbf8",\r
+        "wires": [\r
+            [\r
+                "690b92bb.45f90c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "690b92bb.45f90c",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 671,\r
+        "y": 453,\r
+        "z": "adf02ac6.d2cbf8",\r
+        "wires": [\r
+            [\r
+                "d754a833.203948"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d754a833.203948",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 835,\r
+        "y": 451,\r
+        "z": "adf02ac6.d2cbf8",\r
+        "wires": [\r
+            [\r
+                "d1ae06b6.322778"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d1ae06b6.322778",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "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",\r
+        "comments": "",\r
+        "x": 1029,\r
+        "y": 451,\r
+        "z": "adf02ac6.d2cbf8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "4dfd0047.6c378",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 767,\r
+        "y": 1150,\r
+        "z": "adf02ac6.d2cbf8",\r
+        "wires": [\r
+            [\r
+                "21cac2ec.c58f2e"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "21cac2ec.c58f2e",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 930,\r
+        "y": 1154,\r
+        "z": "adf02ac6.d2cbf8",\r
+        "wires": [\r
+            [\r
+                "1e56ad90.fe1702"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "1e56ad90.fe1702",\r
+        "type": "record",\r
+        "name": "record",\r
+        "xml": "<record plugin=\"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",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1098,\r
+        "y": 1153,\r
+        "z": "adf02ac6.d2cbf8",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "503fe7d0.7e3e98",\r
+        "type": "switchNode",\r
+        "name": "switch vnfc-type",\r
+        "xml": "<switch test='`$vnfc-type`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 465,\r
+        "y": 375,\r
+        "z": "adf02ac6.d2cbf8",\r
+        "wires": [\r
+            [\r
+                "e77c9588.0afbb8",\r
+                "b1cb6e90.9fb7e"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e77c9588.0afbb8",\r
+        "type": "success",\r
+        "name": "outcome: Other",\r
+        "xml": "<outcome value='Other'>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 767.7659301757812,\r
+        "y": 333.1706848144531,\r
+        "z": "adf02ac6.d2cbf8",\r
+        "wires": [\r
+            [\r
+                "e18fd786.d90288"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e18fd786.d90288",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "comments": null,\r
+        "outputs": 1,\r
+        "x": 976.269775390625,\r
+        "y": 331.4087829589844,\r
+        "z": "adf02ac6.d2cbf8",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "b1cb6e90.9fb7e",\r
+        "type": "success",\r
+        "name": "outcome: ''",\r
+        "xml": "<outcome value=''>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 757.6666259765625,\r
+        "y": 384.5555419921875,\r
+        "z": "adf02ac6.d2cbf8",\r
+        "wires": [\r
+            [\r
+                "599cd92c.cb52c8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "599cd92c.cb52c8",\r
+        "type": "set",\r
+        "name": "set vnfc-type ",\r
+        "xml": "<set>\n<!-- 17.07 If vnfc-type is blank assign Parameters from request in array list -->\n<parameter name='vnfc-type' value='`$VNFCTYPE`' />\n\n\n\n\n\n\n\n\n\n\n\n",\r
+        "comments": "",\r
+        "x": 971.9999389648438,\r
+        "y": 384.66668701171875,\r
+        "z": "adf02ac6.d2cbf8",\r
+        "wires": []\r
+    }\r
+]\r
index 0297491..5242a5d 100644 (file)
@@ -1 +1,1089 @@
-[{"id":"73fd49f3.a1d278","type":"dgstart","name":"DGSTART","outputs":1,"x":208.75,"y":98.75,"z":"d5c2f7ab.9eeb78","wires":[["98dbdd7c.fe8c3"]]},{"id":"53ce8877.2ecf68","type":"method","name":"method: GetDeviceRunningConfig","xml":"<method rpc='GetDeviceRunningConfig' mode='sync'>\n","comments":"","outputs":1,"x":645.1785430908203,"y":89.17857456207275,"z":"d5c2f7ab.9eeb78","wires":[["71df0315.00e07c"]]},{"id":"98dbdd7c.fe8c3","type":"service-logic","name":"APPC 4.0.0","module":"APPC","version":"3.1.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":399.75,"y":96.75,"z":"d5c2f7ab.9eeb78","wires":[["53ce8877.2ecf68"]]},{"id":"a7b3e993.df4158","type":"set","name":"set Request Parameters","xml":"<set>\n<parameter name='vnf-type' value=\"`$config.vnf-type`\" />\n<parameter name='vnf-name' value=\"`$config.vnf-name`\" />\n<parameter name='protocol' value=\"`$config.protocol`\" />\n<parameter name='hostIpAddress' value=\"`$config.host-ip-address`\" />\n<parameter name='userName' value=\"`$config.user-name`\" />\n<parameter name='password' value=\"`$config.password`\" />\n<parameter name='portNumber' value=\"`$config.port-number`\" />\n","comments":"","x":571.0834197998047,"y":167.74999570846558,"z":"d5c2f7ab.9eeb78","wires":[]},{"id":"f83cb7cd.e4dd78","type":"execute","name":"execute: Get Rest Configuration","xml":"<execute plugin=\"com.att.sdnctl.restconf.RestConfCallNode\" method=\"getConfiguration\">\n<parameter name=\"hostIpAddress\" value=\"`$hostIpAddress`\" />\n<parameter name=\"protocol\" value=\"`$protocol`\" />\n<parameter name=\"responsePrefix\" value=\"restconf\" />\n","comments":"","outputs":1,"x":704.75,"y":512.75,"z":"d5c2f7ab.9eeb78","wires":[["198a50e4.1a084f","f26ecc71.80f99","813bb5a6.7d4a68"]]},{"id":"855c15a1.c5faf8","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n<parameter name=\"error-code\" value=\"\"/>\n<parameter name=\"dcae-error-message\" value=\"Unable to Get the Configuration\"/>\n","comments":"","x":2005.7500381469727,"y":622.7500162124634,"z":"d5c2f7ab.9eeb78","wires":[]},{"id":"198a50e4.1a084f","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":961.75,"y":580.75,"z":"d5c2f7ab.9eeb78","wires":[["d887442e.fdbd68"]]},{"id":"d51d7787.158188","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":984.75,"y":632.75,"z":"d5c2f7ab.9eeb78","wires":[["2880086.7157bf8"]]},{"id":"2880086.7157bf8","type":"returnSuccess","name":"return success","xml":"<return status='success'>\n<parameter name='device-running-config' value=\"`$restconf.config`\" />\n","comments":"","x":1213.75,"y":620.75,"z":"d5c2f7ab.9eeb78","wires":[]},{"id":"f26ecc71.80f99","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":800.75,"y":632.75,"z":"d5c2f7ab.9eeb78","wires":[["d51d7787.158188"]]},{"id":"d887442e.fdbd68","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1792.7500343322754,"y":612.7500648498535,"z":"d5c2f7ab.9eeb78","wires":[["855c15a1.c5faf8"]]},{"id":"71df0315.00e07c","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":301.75,"y":166.75,"z":"d5c2f7ab.9eeb78","wires":[["a7b3e993.df4158","2fbf7d15.74f302"]]},{"id":"29cf8ea9.51acb2","type":"outcome","name":"RESTCONF-XML","xml":"<outcome value='RESTCONF-XML'>\n","comments":"","outputs":1,"x":346.75,"y":513.75,"z":"d5c2f7ab.9eeb78","wires":[["cbfbcb9b.61f818"]]},{"id":"cbfbcb9b.61f818","type":"block","name":"block","xml":"<block atomic=\"true\">\n","atomic":"false","comments":"","outputs":1,"x":506.75,"y":464.75,"z":"d5c2f7ab.9eeb78","wires":[["f83cb7cd.e4dd78"]]},{"id":"2fbf7d15.74f302","type":"switchNode","name":"switch : Protocol","xml":"<switch test=\"`$protocol`\">\n","comments":"","outputs":1,"x":176.75,"y":268.75,"z":"d5c2f7ab.9eeb78","wires":[["29cf8ea9.51acb2","47521138.e1182","aa86a367.9e31","9e29ccc9.7ecc5","cb04f713.845c98","d235c42e.58bf08"]]},{"id":"47521138.e1182","type":"outcome","name":"CLI","xml":"<outcome value='CLI'>\n","comments":"","outputs":1,"x":370.75,"y":269.75,"z":"d5c2f7ab.9eeb78","wires":[["6f3ae8b7.9b6778"]]},{"id":"e982ff2.bf8a4","type":"get-resource","name":"get-resource GET_CONFIG_TEMPLATE","xml":"<get-resource\n\tplugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' \n\tresource='SQL'\n\tkey=\"SELECT TEMPLATE FROM GET_CONFIG_TEMPLATE WHERE vnf_type = $vnf-type ;\"\n    force='true'\n\tpfx='config-template'>\n","comments":"","outputs":1,"x":754.7499694824219,"y":247.75,"z":"d5c2f7ab.9eeb78","wires":[["48deb1d2.fcd28","935998ed.ba2098"]]},{"id":"6f3ae8b7.9b6778","type":"block","name":"block","xml":"<block atomic=\"true\">\n","atomic":"false","comments":"","outputs":1,"x":510.7499694824219,"y":270.75,"z":"d5c2f7ab.9eeb78","wires":[["e982ff2.bf8a4","5f0176d.376ce88"]]},{"id":"ede520ec.0c179","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n<parameter name=\"error-code\" value=\"\"/>\n<parameter name=\"dcae-error-message\" value=\"Unable to Read Config Template\"/>\n\t","comments":"","x":1331.7499694824219,"y":274.75,"z":"d5c2f7ab.9eeb78","wires":[]},{"id":"98a7d137.1e399","type":"block","name":"block","xml":"<block atomic=\"true\">\n","atomic":"false","comments":"","outputs":1,"x":1160.7499694824219,"y":275.75,"z":"d5c2f7ab.9eeb78","wires":[["ede520ec.0c179"]]},{"id":"41ac5929.942928","type":"returnSuccess","name":"return success","xml":"<return status='success'>\n<parameter name='device-running-config' value=\"`$cliOutput`\" />\n","comments":"","x":1207.75,"y":490.75004863739014,"z":"d5c2f7ab.9eeb78","wires":[]},{"id":"5f0176d.376ce88","type":"execute","name":"execute: Get CLI RunningConfig","xml":"<configure adaptor='org.onap.appc.ccadaptor.ConfigComponentAdaptor' key='GetCliRunningConfig'>\n<parameter name=\"Host_ip_address\" value=\"`$hostIpAddress`\" />\n<parameter name=\"User_name\" value=\"`$userName`\" />\n<parameter name=\"Password\" value=\"`$password`\" />\n<parameter name=\"Port_number\" value=\"`$portNumber`\" />\n<parameter name=\"Get_config_template\" value=\"`$config-template.TEMPLATE`\" />\n","comments":"","outputs":1,"x":720.7500152587891,"y":336.7500123977661,"z":"d5c2f7ab.9eeb78","wires":[["78d9a2f9.46003c","97890ce8.6b316","98f67919.c738f8"]]},{"id":"e6da77d0.fadda8","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":986.75,"y":435.75006103515625,"z":"d5c2f7ab.9eeb78","wires":[["41ac5929.942928"]]},{"id":"48deb1d2.fcd28","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1007.7499694824219,"y":287.75,"z":"d5c2f7ab.9eeb78","wires":[["98a7d137.1e399"]]},{"id":"78d9a2f9.46003c","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":812.75,"y":433.75006103515625,"z":"d5c2f7ab.9eeb78","wires":[["e6da77d0.fadda8"]]},{"id":"813bb5a6.7d4a68","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":970.75,"y":535.75,"z":"d5c2f7ab.9eeb78","wires":[["d887442e.fdbd68"]]},{"id":"935998ed.ba2098","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":1006.7499694824219,"y":216.75,"z":"d5c2f7ab.9eeb78","wires":[["98a7d137.1e399"]]},{"id":"97890ce8.6b316","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":989.7500076293945,"y":351.7499933242798,"z":"d5c2f7ab.9eeb78","wires":[["560e0fe9.a63f6"]]},{"id":"98f67919.c738f8","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":980.75,"y":390.75,"z":"d5c2f7ab.9eeb78","wires":[["d887442e.fdbd68"]]},{"id":"fde847ff.94d008","type":"comment","name":"User Story ID: US731106","info":"Developed by Brinda Santh <bs2796@att.com>","comments":"","x":887.7499694824219,"y":28.75,"z":"d5c2f7ab.9eeb78","wires":[]},{"id":"aa86a367.9e31","type":"outcome","name":"NETCONF-XML","xml":"<outcome value='NETCONF-XML'>\n","comments":"","outputs":1,"x":281.75,"y":676.75,"z":"d5c2f7ab.9eeb78","wires":[["e84e48c0.7bd1f8"]]},{"id":"e84e48c0.7bd1f8","type":"block","name":"block","xml":"<block atomic=\"true\">\n","atomic":"false","comments":"","outputs":1,"x":453.75,"y":676.75,"z":"d5c2f7ab.9eeb78","wires":[["567cae24.a2056"]]},{"id":"567cae24.a2056","type":"execute","name":"execute: Get XML RunningConfig","xml":"<configure adaptor='org.onap.appc.ccadaptor.ConfigComponentAdaptor' key='xml-getrunningconfig'>\n<parameter name=\"Host_ip_address\" value=\"`$hostIpAddress`\" />\n<parameter name=\"User_name\" value=\"`$userName`\" />\n<parameter name=\"Password\" value=\"`$password`\" />\n<parameter name=\"Port_number\" value=\"`$portNumber`\" />\n<parameter name=\"Protocol\" value=\"`$protocol`\" />\n","comments":"","outputs":1,"x":683.6071929931641,"y":705.892858505249,"z":"d5c2f7ab.9eeb78","wires":[["50a8e434.940b6c","66893930.a5f318","d6c04b27.53f0c8"]]},{"id":"50a8e434.940b6c","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1009.75,"y":687.75,"z":"d5c2f7ab.9eeb78","wires":[["560e0fe9.a63f6"]]},{"id":"66893930.a5f318","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":1010.75,"y":736.75,"z":"d5c2f7ab.9eeb78","wires":[["d887442e.fdbd68"]]},{"id":"9e29ccc9.7ecc5","type":"outcome","name":"RESTCONF","xml":"<outcome value='RESTCONF'>\n","comments":"","outputs":1,"x":358.75,"y":438.75,"z":"d5c2f7ab.9eeb78","wires":[["cbfbcb9b.61f818"]]},{"id":"d6c04b27.53f0c8","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":830.75,"y":784.75,"z":"d5c2f7ab.9eeb78","wires":[["907796bc.3521c8"]]},{"id":"907796bc.3521c8","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1006.75,"y":783.75,"z":"d5c2f7ab.9eeb78","wires":[["230d353a.82deba"]]},{"id":"230d353a.82deba","type":"returnSuccess","name":"return success","xml":"<return status='success'>\n<parameter name='device-running-config' value=\"`$xmlRunningConfigOutput `\" />\n","comments":"","x":1211.4169387817383,"y":781.7500133514404,"z":"d5c2f7ab.9eeb78","wires":[]},{"id":"cb04f713.845c98","type":"outcome","name":"CHEF","xml":"<outcome value='CHEF'>\n","comments":"","outputs":1,"x":252.75,"y":773.75,"z":"d5c2f7ab.9eeb78","wires":[["87e6927d.8c87a"]]},{"id":"2c9ce105.810cce","type":"block","name":"block","xml":"<block atomic=\"true\">\n","atomic":"false","comments":"","outputs":1,"x":465.74999237060547,"y":821.4166603088379,"z":"d5c2f7ab.9eeb78","wires":[["830e8c40.09ea8"]]},{"id":"830e8c40.09ea8","type":"execute","name":"execute: getChefRunningConfig","xml":"<execute plugin=\"org.onap.appc.data.services.node.ConfigResourceNode\" method=\"getConfigFilesByVnfVmNCategory\">\n<parameter name=\"fileCategory\" value=\"device_configuration\" />\n<parameter name='vnfId' value=\"`$config.vnf-id`\" />\n<parameter name='vmName' value=\"`$config.vm-name`\" />\n<parameter name=\"responsePrefix\" value=\"tmp.deviceconfig\" />\n","comments":"","outputs":1,"x":701.8928680419922,"y":865.6072664260864,"z":"d5c2f7ab.9eeb78","wires":[["f10cdc38.2c8fd","d81f053f.e21898","8b94b394.610ac"]]},{"id":"8b94b394.610ac","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":896.4642944335938,"y":961.89284324646,"z":"d5c2f7ab.9eeb78","wires":[["ff4e13e0.ba24a"]]},{"id":"ff4e13e0.ba24a","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1195.4167976379395,"y":996.4166450500488,"z":"d5c2f7ab.9eeb78","wires":[["bd7122ae.6d345"]]},{"id":"d81f053f.e21898","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":1003.750129699707,"y":897.7500658035278,"z":"d5c2f7ab.9eeb78","wires":[[]]},{"id":"f10cdc38.2c8fd","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1002.750129699707,"y":848.7500658035278,"z":"d5c2f7ab.9eeb78","wires":[["3be4b321.a7b82c"]]},{"id":"bd7122ae.6d345","type":"returnSuccess","name":"return success","xml":"<return status='success'>\n<parameter name='device-running-config' value=\"`$tmp.deviceconfig.file-content`\" />\n","comments":"","x":1431.750144958496,"y":1000.08331823349,"z":"d5c2f7ab.9eeb78","wires":[]},{"id":"3be4b321.a7b82c","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1178.750129699707,"y":852.7500658035278,"z":"d5c2f7ab.9eeb78","wires":[["68fcda28.298664"]]},{"id":"68fcda28.298664","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n<parameter name=\"error-code\" value=\"\"/>\n<parameter name=\"dcae-error-message\" value=\"`$tmp.deviceconfig.error-message`\"/>\n\n","comments":"","x":1329.0834503173828,"y":832.8929662704468,"z":"d5c2f7ab.9eeb78","wires":[]},{"id":"d47a34b9.96fae8","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n<parameter name=\"error-code\" value=\"\"/>\n<parameter name=\"dcae-error-message\" value=\"`$error-message`\"/>\n","comments":"","x":1520.75,"y":398.75,"z":"d5c2f7ab.9eeb78","wires":[]},{"id":"560e0fe9.a63f6","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1345.75,"y":402.75,"z":"d5c2f7ab.9eeb78","wires":[["d47a34b9.96fae8"]]},{"id":"d235c42e.58bf08","type":"outcome","name":" Ansible","xml":"<outcome value='Ansible'>\n","comments":"","outputs":1,"x":227.19049835205078,"y":891.4763145446777,"z":"d5c2f7ab.9eeb78","wires":[["7994c061.4c34b"]]},{"id":"87e6927d.8c87a","type":"block","name":"block","xml":"<block atomic=\"true\">\n","atomic":"false","comments":"","outputs":1,"x":413.33331298828125,"y":953.333251953125,"z":"d5c2f7ab.9eeb78","wires":[["b2457e62.0d6be"]]},{"id":"b2457e62.0d6be","type":"call","name":"call  GetTemplateConfig_Chef","xml":"<call module='APPC' rpc='GetTemplateConfig_Chef' mode='sync' >\n","comments":"","outputs":1,"x":659.2857055664062,"y":954.0477857589722,"z":"d5c2f7ab.9eeb78","wires":[["e573827e.36bb9","35aad49a.f87bcc","7142f414.35002c"]]},{"id":"163d15dd.b3498a","type":"call","name":"call  GetTemplateConfig_Ansible","xml":"<call module='APPC' rpc='GetTemplateConfig_Ansible' mode='sync' >\n","comments":"","outputs":1,"x":597.857063293457,"y":1235.476152420044,"z":"d5c2f7ab.9eeb78","wires":[["e6a86a3a.62afb8","80beb099.eee58","9ba09f64.03e81"]]},{"id":"35aad49a.f87bcc","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":722.6190185546875,"y":1095.7143206596375,"z":"d5c2f7ab.9eeb78","wires":[["d887442e.fdbd68"]]},{"id":"e573827e.36bb9","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":721.6190185546875,"y":1046.7143206596375,"z":"d5c2f7ab.9eeb78","wires":[["73395769.c7fd38"]]},{"id":"73395769.c7fd38","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":897.6190185546875,"y":1050.7143206596375,"z":"d5c2f7ab.9eeb78","wires":[["ebfee93d.0a6c28"]]},{"id":"ebfee93d.0a6c28","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n<parameter name=\"error-code\" value=\"\"/>\n<parameter name=\"dcae-error-message\" value=\"`$tmp.deviceconfig.error-message`\"/>\n\n","comments":"","x":1089.6190185546875,"y":1043.7143206596375,"z":"d5c2f7ab.9eeb78","wires":[]},{"id":"7142f414.35002c","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":660.9523315429688,"y":1169.047694683075,"z":"d5c2f7ab.9eeb78","wires":[["6ed3304a.f8835"]]},{"id":"6ed3304a.f8835","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":823.9523315429688,"y":1169.047694683075,"z":"d5c2f7ab.9eeb78","wires":[["99960733.d8c138"]]},{"id":"99960733.d8c138","type":"returnSuccess","name":"return success","xml":"<return status='success'>\n<parameter name='device-running-config' value=\"`$tmp.deviceconfig.file-content`\" />\n<parameter name='output.status.code' value='`$org.onap.appc.adapter.ansible.result.code`' />\n<parameter name='output.status.message' value='`$org.onap.appc.adapter.ansible.message`'/>\n<parameter name='output.status.results' value = '`$output.status.results`'/>\n","comments":"","x":1026.9523315429688,"y":1171.047694683075,"z":"d5c2f7ab.9eeb78","wires":[]},{"id":"7994c061.4c34b","type":"block","name":"block","xml":"<block atomic=\"true\">\n","atomic":"false","comments":"","outputs":1,"x":409.52384185791016,"y":1150.4760665893555,"z":"d5c2f7ab.9eeb78","wires":[["163d15dd.b3498a"]]},{"id":"80beb099.eee58","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":831.1903610229492,"y":1300.4761695861816,"z":"d5c2f7ab.9eeb78","wires":[["d887442e.fdbd68"]]},{"id":"e6a86a3a.62afb8","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":830.1903610229492,"y":1251.4761695861816,"z":"d5c2f7ab.9eeb78","wires":[["565cf063.e3efb"]]},{"id":"565cf063.e3efb","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1006.1903610229492,"y":1255.4761695861816,"z":"d5c2f7ab.9eeb78","wires":[["484bbab0.c63454"]]},{"id":"484bbab0.c63454","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n<parameter name=\"error-code\" value=\"\"/>\n<parameter name=\"dcae-error-message\" value=\"`$tmp.deviceconfig.error-message`\"/>\n\n","comments":"","x":1198.1903381347656,"y":1248.4761772155762,"z":"d5c2f7ab.9eeb78","wires":[]},{"id":"9ba09f64.03e81","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":769.5236740112305,"y":1373.8095436096191,"z":"d5c2f7ab.9eeb78","wires":[["6b8fab54.184374"]]},{"id":"6b8fab54.184374","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":932.5236740112305,"y":1373.8095436096191,"z":"d5c2f7ab.9eeb78","wires":[["5dadab18.730154"]]},{"id":"5dadab18.730154","type":"returnSuccess","name":"return success","xml":"<return status='success'>\n<parameter name='device-running-config' value=\"`$tmp.deviceconfig.file-content`\" />\n<parameter name='code' value='`$output.status.code`' />\n<parameter name='message' value='`$output.status.message`'/>\n<parameter name='Status' value = '`$output.status.results`'/>\n","comments":"","x":1135.5236282348633,"y":1375.809624671936,"z":"d5c2f7ab.9eeb78","wires":[]}]
+[\r
+    {\r
+        "id": "73fd49f3.a1d278",\r
+        "type": "dgstart",\r
+        "name": "DGSTART",\r
+        "outputs": 1,\r
+        "x": 208.75,\r
+        "y": 98.75,\r
+        "z": "d5c2f7ab.9eeb78",\r
+        "wires": [\r
+            [\r
+                "98dbdd7c.fe8c3"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "53ce8877.2ecf68",\r
+        "type": "method",\r
+        "name": "method: GetDeviceRunningConfig",\r
+        "xml": "<method rpc='GetDeviceRunningConfig' mode='sync'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 645.1785430908203,\r
+        "y": 89.17857456207275,\r
+        "z": "d5c2f7ab.9eeb78",\r
+        "wires": [\r
+            [\r
+                "71df0315.00e07c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "98dbdd7c.fe8c3",\r
+        "type": "service-logic",\r
+        "name": "APPC 4.0.0",\r
+        "module": "APPC",\r
+        "version": "3.1.0",\r
+        "comments": "",\r
+        "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'>",\r
+        "outputs": 1,\r
+        "x": 399.75,\r
+        "y": 96.75,\r
+        "z": "d5c2f7ab.9eeb78",\r
+        "wires": [\r
+            [\r
+                "53ce8877.2ecf68"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a7b3e993.df4158",\r
+        "type": "set",\r
+        "name": "set Request Parameters",\r
+        "xml": "<set>\n<parameter name='vnf-type' value=\"`$config.vnf-type`\" />\n<parameter name='vnf-name' value=\"`$config.vnf-name`\" />\n<parameter name='protocol' value=\"`$config.protocol`\" />\n<parameter name='hostIpAddress' value=\"`$config.host-ip-address`\" />\n<parameter name='userName' value=\"`$config.user-name`\" />\n<parameter name='password' value=\"`$config.password`\" />\n<parameter name='portNumber' value=\"`$config.port-number`\" />\n",\r
+        "comments": "",\r
+        "x": 571.0834197998047,\r
+        "y": 167.74999570846558,\r
+        "z": "d5c2f7ab.9eeb78",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "f83cb7cd.e4dd78",\r
+        "type": "execute",\r
+        "name": "execute: Get Rest Configuration",\r
+        "xml": "<execute plugin=\"com.att.sdnctl.restconf.RestConfCallNode\" method=\"getConfiguration\">\n<parameter name=\"hostIpAddress\" value=\"`$hostIpAddress`\" />\n<parameter name=\"protocol\" value=\"`$protocol`\" />\n<parameter name=\"responsePrefix\" value=\"restconf\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 704.75,\r
+        "y": 512.75,\r
+        "z": "d5c2f7ab.9eeb78",\r
+        "wires": [\r
+            [\r
+                "198a50e4.1a084f",\r
+                "f26ecc71.80f99",\r
+                "813bb5a6.7d4a68"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "855c15a1.c5faf8",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status=\"failure\">\n<parameter name=\"error-code\" value=\"\"/>\n<parameter name=\"dcae-error-message\" value=\"Unable to Get the Configuration\"/>\n",\r
+        "comments": "",\r
+        "x": 2005.7500381469727,\r
+        "y": 622.7500162124634,\r
+        "z": "d5c2f7ab.9eeb78",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "198a50e4.1a084f",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 961.75,\r
+        "y": 580.75,\r
+        "z": "d5c2f7ab.9eeb78",\r
+        "wires": [\r
+            [\r
+                "d887442e.fdbd68"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d51d7787.158188",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 984.75,\r
+        "y": 632.75,\r
+        "z": "d5c2f7ab.9eeb78",\r
+        "wires": [\r
+            [\r
+                "2880086.7157bf8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "2880086.7157bf8",\r
+        "type": "returnSuccess",\r
+        "name": "return success",\r
+        "xml": "<return status='success'>\n<parameter name='device-running-config' value=\"`$restconf.config`\" />\n",\r
+        "comments": "",\r
+        "x": 1213.75,\r
+        "y": 620.75,\r
+        "z": "d5c2f7ab.9eeb78",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "f26ecc71.80f99",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 800.75,\r
+        "y": 632.75,\r
+        "z": "d5c2f7ab.9eeb78",\r
+        "wires": [\r
+            [\r
+                "d51d7787.158188"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d887442e.fdbd68",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1792.7500343322754,\r
+        "y": 612.7500648498535,\r
+        "z": "d5c2f7ab.9eeb78",\r
+        "wires": [\r
+            [\r
+                "855c15a1.c5faf8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "71df0315.00e07c",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 301.75,\r
+        "y": 166.75,\r
+        "z": "d5c2f7ab.9eeb78",\r
+        "wires": [\r
+            [\r
+                "a7b3e993.df4158",\r
+                "2fbf7d15.74f302"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "29cf8ea9.51acb2",\r
+        "type": "outcome",\r
+        "name": "RESTCONF-XML",\r
+        "xml": "<outcome value='RESTCONF-XML'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 346.75,\r
+        "y": 513.75,\r
+        "z": "d5c2f7ab.9eeb78",\r
+        "wires": [\r
+            [\r
+                "cbfbcb9b.61f818"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "cbfbcb9b.61f818",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block atomic=\"true\">\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 506.75,\r
+        "y": 464.75,\r
+        "z": "d5c2f7ab.9eeb78",\r
+        "wires": [\r
+            [\r
+                "f83cb7cd.e4dd78"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "2fbf7d15.74f302",\r
+        "type": "switchNode",\r
+        "name": "switch : Protocol",\r
+        "xml": "<switch test=\"`$protocol`\">\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 176.75,\r
+        "y": 268.75,\r
+        "z": "d5c2f7ab.9eeb78",\r
+        "wires": [\r
+            [\r
+                "29cf8ea9.51acb2",\r
+                "47521138.e1182",\r
+                "aa86a367.9e31",\r
+                "9e29ccc9.7ecc5",\r
+                "cb04f713.845c98",\r
+                "d235c42e.58bf08"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "47521138.e1182",\r
+        "type": "outcome",\r
+        "name": "CLI",\r
+        "xml": "<outcome value='CLI'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 370.75,\r
+        "y": 269.75,\r
+        "z": "d5c2f7ab.9eeb78",\r
+        "wires": [\r
+            [\r
+                "6f3ae8b7.9b6778"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e982ff2.bf8a4",\r
+        "type": "get-resource",\r
+        "name": "get-resource GET_CONFIG_TEMPLATE",\r
+        "xml": "<get-resource\n\tplugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' \n\tresource='SQL'\n\tkey=\"SELECT TEMPLATE FROM GET_CONFIG_TEMPLATE WHERE vnf_type = $vnf-type ;\"\n    force='true'\n\tpfx='config-template'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 754.7499694824219,\r
+        "y": 247.75,\r
+        "z": "d5c2f7ab.9eeb78",\r
+        "wires": [\r
+            [\r
+                "48deb1d2.fcd28",\r
+                "935998ed.ba2098"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "6f3ae8b7.9b6778",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block atomic=\"true\">\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 510.7499694824219,\r
+        "y": 270.75,\r
+        "z": "d5c2f7ab.9eeb78",\r
+        "wires": [\r
+            [\r
+                "e982ff2.bf8a4",\r
+                "5f0176d.376ce88"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ede520ec.0c179",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status=\"failure\">\n<parameter name=\"error-code\" value=\"\"/>\n<parameter name=\"dcae-error-message\" value=\"Unable to Read Config Template\"/>\n\t",\r
+        "comments": "",\r
+        "x": 1331.7499694824219,\r
+        "y": 274.75,\r
+        "z": "d5c2f7ab.9eeb78",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "98a7d137.1e399",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block atomic=\"true\">\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1160.7499694824219,\r
+        "y": 275.75,\r
+        "z": "d5c2f7ab.9eeb78",\r
+        "wires": [\r
+            [\r
+                "ede520ec.0c179"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "41ac5929.942928",\r
+        "type": "returnSuccess",\r
+        "name": "return success",\r
+        "xml": "<return status='success'>\n<parameter name='device-running-config' value=\"`$cliOutput`\" />\n",\r
+        "comments": "",\r
+        "x": 1207.75,\r
+        "y": 490.75004863739014,\r
+        "z": "d5c2f7ab.9eeb78",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "5f0176d.376ce88",\r
+        "type": "execute",\r
+        "name": "execute: Get CLI RunningConfig",\r
+        "xml": "<configure adaptor='org.onap.appc.ccadaptor.ConfigComponentAdaptor' key='GetCliRunningConfig'>\n<parameter name=\"Host_ip_address\" value=\"`$hostIpAddress`\" />\n<parameter name=\"User_name\" value=\"`$userName`\" />\n<parameter name=\"Password\" value=\"`$password`\" />\n<parameter name=\"Port_number\" value=\"`$portNumber`\" />\n<parameter name=\"Get_config_template\" value=\"`$config-template.TEMPLATE`\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 720.7500152587891,\r
+        "y": 336.7500123977661,\r
+        "z": "d5c2f7ab.9eeb78",\r
+        "wires": [\r
+            [\r
+                "78d9a2f9.46003c",\r
+                "97890ce8.6b316",\r
+                "98f67919.c738f8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e6da77d0.fadda8",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 986.75,\r
+        "y": 435.75006103515625,\r
+        "z": "d5c2f7ab.9eeb78",\r
+        "wires": [\r
+            [\r
+                "41ac5929.942928"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "48deb1d2.fcd28",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1007.7499694824219,\r
+        "y": 287.75,\r
+        "z": "d5c2f7ab.9eeb78",\r
+        "wires": [\r
+            [\r
+                "98a7d137.1e399"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "78d9a2f9.46003c",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 812.75,\r
+        "y": 433.75006103515625,\r
+        "z": "d5c2f7ab.9eeb78",\r
+        "wires": [\r
+            [\r
+                "e6da77d0.fadda8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "813bb5a6.7d4a68",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 970.75,\r
+        "y": 535.75,\r
+        "z": "d5c2f7ab.9eeb78",\r
+        "wires": [\r
+            [\r
+                "d887442e.fdbd68"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "935998ed.ba2098",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1006.7499694824219,\r
+        "y": 216.75,\r
+        "z": "d5c2f7ab.9eeb78",\r
+        "wires": [\r
+            [\r
+                "98a7d137.1e399"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "97890ce8.6b316",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 989.7500076293945,\r
+        "y": 351.7499933242798,\r
+        "z": "d5c2f7ab.9eeb78",\r
+        "wires": [\r
+            [\r
+                "560e0fe9.a63f6"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "98f67919.c738f8",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 980.75,\r
+        "y": 390.75,\r
+        "z": "d5c2f7ab.9eeb78",\r
+        "wires": [\r
+            [\r
+                "d887442e.fdbd68"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "fde847ff.94d008",\r
+        "type": "comment",\r
+        "name": "User Story ID: US731106",\r
+        "info": "Developed by Brinda Santh <bs2796@att.com>",\r
+        "comments": "",\r
+        "x": 887.7499694824219,\r
+        "y": 28.75,\r
+        "z": "d5c2f7ab.9eeb78",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "aa86a367.9e31",\r
+        "type": "outcome",\r
+        "name": "NETCONF-XML",\r
+        "xml": "<outcome value='NETCONF-XML'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 281.75,\r
+        "y": 676.75,\r
+        "z": "d5c2f7ab.9eeb78",\r
+        "wires": [\r
+            [\r
+                "e84e48c0.7bd1f8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e84e48c0.7bd1f8",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block atomic=\"true\">\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 453.75,\r
+        "y": 676.75,\r
+        "z": "d5c2f7ab.9eeb78",\r
+        "wires": [\r
+            [\r
+                "567cae24.a2056"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "567cae24.a2056",\r
+        "type": "execute",\r
+        "name": "execute: Get XML RunningConfig",\r
+        "xml": "<configure adaptor='org.onap.appc.ccadaptor.ConfigComponentAdaptor' key='xml-getrunningconfig'>\n<parameter name=\"Host_ip_address\" value=\"`$hostIpAddress`\" />\n<parameter name=\"User_name\" value=\"`$userName`\" />\n<parameter name=\"Password\" value=\"`$password`\" />\n<parameter name=\"Port_number\" value=\"`$portNumber`\" />\n<parameter name=\"Protocol\" value=\"`$protocol`\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 683.6071929931641,\r
+        "y": 705.892858505249,\r
+        "z": "d5c2f7ab.9eeb78",\r
+        "wires": [\r
+            [\r
+                "50a8e434.940b6c",\r
+                "66893930.a5f318",\r
+                "d6c04b27.53f0c8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "50a8e434.940b6c",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1009.75,\r
+        "y": 687.75,\r
+        "z": "d5c2f7ab.9eeb78",\r
+        "wires": [\r
+            [\r
+                "560e0fe9.a63f6"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "66893930.a5f318",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1010.75,\r
+        "y": 736.75,\r
+        "z": "d5c2f7ab.9eeb78",\r
+        "wires": [\r
+            [\r
+                "d887442e.fdbd68"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9e29ccc9.7ecc5",\r
+        "type": "outcome",\r
+        "name": "RESTCONF",\r
+        "xml": "<outcome value='RESTCONF'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 358.75,\r
+        "y": 438.75,\r
+        "z": "d5c2f7ab.9eeb78",\r
+        "wires": [\r
+            [\r
+                "cbfbcb9b.61f818"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d6c04b27.53f0c8",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 830.75,\r
+        "y": 784.75,\r
+        "z": "d5c2f7ab.9eeb78",\r
+        "wires": [\r
+            [\r
+                "907796bc.3521c8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "907796bc.3521c8",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1006.75,\r
+        "y": 783.75,\r
+        "z": "d5c2f7ab.9eeb78",\r
+        "wires": [\r
+            [\r
+                "230d353a.82deba"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "230d353a.82deba",\r
+        "type": "returnSuccess",\r
+        "name": "return success",\r
+        "xml": "<return status='success'>\n<parameter name='device-running-config' value=\"`$xmlRunningConfigOutput `\" />\n",\r
+        "comments": "",\r
+        "x": 1211.4169387817383,\r
+        "y": 781.7500133514404,\r
+        "z": "d5c2f7ab.9eeb78",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "cb04f713.845c98",\r
+        "type": "outcome",\r
+        "name": "CHEF",\r
+        "xml": "<outcome value='CHEF'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 252.75,\r
+        "y": 773.75,\r
+        "z": "d5c2f7ab.9eeb78",\r
+        "wires": [\r
+            [\r
+                "87e6927d.8c87a"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "2c9ce105.810cce",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block atomic=\"true\">\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 465.74999237060547,\r
+        "y": 821.4166603088379,\r
+        "z": "d5c2f7ab.9eeb78",\r
+        "wires": [\r
+            [\r
+                "830e8c40.09ea8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "830e8c40.09ea8",\r
+        "type": "execute",\r
+        "name": "execute: getChefRunningConfig",\r
+        "xml": "<execute plugin=\"org.onap.appc.data.services.node.ConfigResourceNode\" method=\"getConfigFilesByVnfVmNCategory\">\n<parameter name=\"fileCategory\" value=\"device_configuration\" />\n<parameter name='vnfId' value=\"`$config.vnf-id`\" />\n<parameter name='vmName' value=\"`$config.vm-name`\" />\n<parameter name=\"responsePrefix\" value=\"tmp.deviceconfig\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 701.8928680419922,\r
+        "y": 865.6072664260864,\r
+        "z": "d5c2f7ab.9eeb78",\r
+        "wires": [\r
+            [\r
+                "f10cdc38.2c8fd",\r
+                "d81f053f.e21898",\r
+                "8b94b394.610ac"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "8b94b394.610ac",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 896.4642944335938,\r
+        "y": 961.89284324646,\r
+        "z": "d5c2f7ab.9eeb78",\r
+        "wires": [\r
+            [\r
+                "ff4e13e0.ba24a"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ff4e13e0.ba24a",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1195.4167976379395,\r
+        "y": 996.4166450500488,\r
+        "z": "d5c2f7ab.9eeb78",\r
+        "wires": [\r
+            [\r
+                "bd7122ae.6d345"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d81f053f.e21898",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1003.750129699707,\r
+        "y": 897.7500658035278,\r
+        "z": "d5c2f7ab.9eeb78",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "f10cdc38.2c8fd",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1002.750129699707,\r
+        "y": 848.7500658035278,\r
+        "z": "d5c2f7ab.9eeb78",\r
+        "wires": [\r
+            [\r
+                "3be4b321.a7b82c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "bd7122ae.6d345",\r
+        "type": "returnSuccess",\r
+        "name": "return success",\r
+        "xml": "<return status='success'>\n<parameter name='device-running-config' value=\"`$tmp.deviceconfig.file-content`\" />\n",\r
+        "comments": "",\r
+        "x": 1431.750144958496,\r
+        "y": 1000.08331823349,\r
+        "z": "d5c2f7ab.9eeb78",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "3be4b321.a7b82c",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1178.750129699707,\r
+        "y": 852.7500658035278,\r
+        "z": "d5c2f7ab.9eeb78",\r
+        "wires": [\r
+            [\r
+                "68fcda28.298664"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "68fcda28.298664",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status=\"failure\">\n<parameter name=\"error-code\" value=\"\"/>\n<parameter name=\"dcae-error-message\" value=\"`$tmp.deviceconfig.error-message`\"/>\n\n",\r
+        "comments": "",\r
+        "x": 1329.0834503173828,\r
+        "y": 832.8929662704468,\r
+        "z": "d5c2f7ab.9eeb78",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "d47a34b9.96fae8",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status=\"failure\">\n<parameter name=\"error-code\" value=\"\"/>\n<parameter name=\"dcae-error-message\" value=\"`$error-message`\"/>\n",\r
+        "comments": "",\r
+        "x": 1520.75,\r
+        "y": 398.75,\r
+        "z": "d5c2f7ab.9eeb78",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "560e0fe9.a63f6",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1345.75,\r
+        "y": 402.75,\r
+        "z": "d5c2f7ab.9eeb78",\r
+        "wires": [\r
+            [\r
+                "d47a34b9.96fae8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d235c42e.58bf08",\r
+        "type": "outcome",\r
+        "name": " Ansible",\r
+        "xml": "<outcome value='Ansible'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 227.19049835205078,\r
+        "y": 891.4763145446777,\r
+        "z": "d5c2f7ab.9eeb78",\r
+        "wires": [\r
+            [\r
+                "7994c061.4c34b"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "87e6927d.8c87a",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block atomic=\"true\">\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 413.33331298828125,\r
+        "y": 953.333251953125,\r
+        "z": "d5c2f7ab.9eeb78",\r
+        "wires": [\r
+            [\r
+                "b2457e62.0d6be"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b2457e62.0d6be",\r
+        "type": "call",\r
+        "name": "call  GetTemplateConfig_Chef",\r
+        "xml": "<call module='APPC' rpc='GetTemplateConfig_Chef' mode='sync' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 659.2857055664062,\r
+        "y": 954.0477857589722,\r
+        "z": "d5c2f7ab.9eeb78",\r
+        "wires": [\r
+            [\r
+                "e573827e.36bb9",\r
+                "35aad49a.f87bcc",\r
+                "7142f414.35002c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "163d15dd.b3498a",\r
+        "type": "call",\r
+        "name": "call  GetTemplateConfig_Ansible",\r
+        "xml": "<call module='APPC' rpc='GetTemplateConfig_Ansible' mode='sync' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 597.857063293457,\r
+        "y": 1235.476152420044,\r
+        "z": "d5c2f7ab.9eeb78",\r
+        "wires": [\r
+            [\r
+                "e6a86a3a.62afb8",\r
+                "80beb099.eee58",\r
+                "9ba09f64.03e81"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "35aad49a.f87bcc",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 722.6190185546875,\r
+        "y": 1095.7143206596375,\r
+        "z": "d5c2f7ab.9eeb78",\r
+        "wires": [\r
+            [\r
+                "d887442e.fdbd68"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e573827e.36bb9",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 721.6190185546875,\r
+        "y": 1046.7143206596375,\r
+        "z": "d5c2f7ab.9eeb78",\r
+        "wires": [\r
+            [\r
+                "73395769.c7fd38"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "73395769.c7fd38",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 897.6190185546875,\r
+        "y": 1050.7143206596375,\r
+        "z": "d5c2f7ab.9eeb78",\r
+        "wires": [\r
+            [\r
+                "ebfee93d.0a6c28"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ebfee93d.0a6c28",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status=\"failure\">\n<parameter name=\"error-code\" value=\"\"/>\n<parameter name=\"dcae-error-message\" value=\"`$tmp.deviceconfig.error-message`\"/>\n\n",\r
+        "comments": "",\r
+        "x": 1089.6190185546875,\r
+        "y": 1043.7143206596375,\r
+        "z": "d5c2f7ab.9eeb78",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "7142f414.35002c",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 660.9523315429688,\r
+        "y": 1169.047694683075,\r
+        "z": "d5c2f7ab.9eeb78",\r
+        "wires": [\r
+            [\r
+                "6ed3304a.f8835"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "6ed3304a.f8835",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 823.9523315429688,\r
+        "y": 1169.047694683075,\r
+        "z": "d5c2f7ab.9eeb78",\r
+        "wires": [\r
+            [\r
+                "99960733.d8c138"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "99960733.d8c138",\r
+        "type": "returnSuccess",\r
+        "name": "return success",\r
+        "xml": "<return status='success'>\n<parameter name='device-running-config' value=\"`$tmp.deviceconfig.file-content`\" />\n<parameter name='output.status.code' value='`$org.onap.appc.adapter.ansible.result.code`' />\n<parameter name='output.status.message' value='`$org.onap.appc.adapter.ansible.message`'/>\n<parameter name='output.status.results' value = '`$output.status.results`'/>\n",\r
+        "comments": "",\r
+        "x": 1026.9523315429688,\r
+        "y": 1171.047694683075,\r
+        "z": "d5c2f7ab.9eeb78",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "7994c061.4c34b",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block atomic=\"true\">\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 409.52384185791016,\r
+        "y": 1150.4760665893555,\r
+        "z": "d5c2f7ab.9eeb78",\r
+        "wires": [\r
+            [\r
+                "163d15dd.b3498a"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "80beb099.eee58",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 831.1903610229492,\r
+        "y": 1300.4761695861816,\r
+        "z": "d5c2f7ab.9eeb78",\r
+        "wires": [\r
+            [\r
+                "d887442e.fdbd68"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e6a86a3a.62afb8",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 830.1903610229492,\r
+        "y": 1251.4761695861816,\r
+        "z": "d5c2f7ab.9eeb78",\r
+        "wires": [\r
+            [\r
+                "565cf063.e3efb"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "565cf063.e3efb",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1006.1903610229492,\r
+        "y": 1255.4761695861816,\r
+        "z": "d5c2f7ab.9eeb78",\r
+        "wires": [\r
+            [\r
+                "484bbab0.c63454"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "484bbab0.c63454",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status=\"failure\">\n<parameter name=\"error-code\" value=\"\"/>\n<parameter name=\"dcae-error-message\" value=\"`$tmp.deviceconfig.error-message`\"/>\n\n",\r
+        "comments": "",\r
+        "x": 1198.1903381347656,\r
+        "y": 1248.4761772155762,\r
+        "z": "d5c2f7ab.9eeb78",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "9ba09f64.03e81",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 769.5236740112305,\r
+        "y": 1373.8095436096191,\r
+        "z": "d5c2f7ab.9eeb78",\r
+        "wires": [\r
+            [\r
+                "6b8fab54.184374"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "6b8fab54.184374",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 932.5236740112305,\r
+        "y": 1373.8095436096191,\r
+        "z": "d5c2f7ab.9eeb78",\r
+        "wires": [\r
+            [\r
+                "5dadab18.730154"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "5dadab18.730154",\r
+        "type": "returnSuccess",\r
+        "name": "return success",\r
+        "xml": "<return status='success'>\n<parameter name='device-running-config' value=\"`$tmp.deviceconfig.file-content`\" />\n<parameter name='code' value='`$output.status.code`' />\n<parameter name='message' value='`$output.status.message`'/>\n<parameter name='Status' value = '`$output.status.results`'/>\n",\r
+        "comments": "",\r
+        "x": 1135.5236282348633,\r
+        "y": 1375.809624671936,\r
+        "z": "d5c2f7ab.9eeb78",\r
+        "wires": []\r
+    }\r
+]\r
index a140a14..d2f2af2 100644 (file)
@@ -1 +1,440 @@
-[{"id":"5803aa79.45b404","type":"method","name":"method GetTemplateConfig_Ansible","xml":"<method rpc='GetTemplateConfig_Ansible' mode='sync'>\n","comments":"","outputs":1,"x":588.7499847412109,"y":107.5,"z":"b2b332b8.ecb4c","wires":[["b3dc5912.de0548"]]},{"id":"35047526.e59a1a","type":"dgstart","name":"DGSTART","outputs":1,"x":127.0594711303711,"y":106.5714282989502,"z":"b2b332b8.ecb4c","wires":[["2ac38826.404d58"]]},{"id":"2ac38826.404d58","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":325.2023391723633,"y":104.14286041259766,"z":"b2b332b8.ecb4c","wires":[["5803aa79.45b404"]]},{"id":"7e21bb0c.03de44","type":"execute","name":"execute getTemplate","xml":"<execute plugin=\"org.onap.appc.data.services.node.ConfigResourceNode\" method=\"getTemplate\">\n<parameter name=\"fileCategory\" value=\"config_template\" />\n<parameter name=\"responsePrefix\" value=\"config-template\" />","comments":"","outputs":1,"x":419.70245361328125,"y":319.5358352661133,"z":"b2b332b8.ecb4c","wires":[["54cd3796.95a458","90f2178d.ba27c8"]]},{"id":"90f2178d.ba27c8","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":694.059513092041,"y":361.0000648498535,"z":"b2b332b8.ecb4c","wires":[["5392ab8b.3b7874"]]},{"id":"5392ab8b.3b7874","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":885.7896118164062,"y":362.1429262161255,"z":"b2b332b8.ecb4c","wires":[["d978e419.70a338"]]},{"id":"d978e419.70a338","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n<parameter name=\"error-code\" value=\"401\"/>\n\t<parameter name=\"error-message\" value=\"`$config-template.error-message`\"/>\n\t\n\t\n\t","comments":"","x":1115.4563827514648,"y":364.9206962585449,"z":"b2b332b8.ecb4c","wires":[]},{"id":"54cd3796.95a458","type":"failure","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":700.583324432373,"y":283.6667594909668,"z":"b2b332b8.ecb4c","wires":[["e0937d2c.970ef"]]},{"id":"e0937d2c.970ef","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":884.916576385498,"y":288.0000877380371,"z":"b2b332b8.ecb4c","wires":[["9df2fa59.e3b388"]]},{"id":"b3dc5912.de0548","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","comments":"","outputs":1,"x":156.20235061645508,"y":342.5000410079956,"z":"b2b332b8.ecb4c","wires":[["7e21bb0c.03de44","941be79f.807ed8","7b6affbc.ca3f"]]},{"id":"ebd8afae.4253d","type":"not-found","name":"found","xml":"<outcome value='found'>\n","comments":"","outputs":1,"x":1145.6310234069824,"y":448.46429920196533,"z":"b2b332b8.ecb4c","wires":[["b022a59b.66efe8"]]},{"id":"8ced2749.1c0918","type":"other","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":1149.7382049560547,"y":517.2143268585205,"z":"b2b332b8.ecb4c","wires":[["bb3ddb29.67e8a8"]]},{"id":"941be79f.807ed8","type":"call","name":"call  Generic_AnsibleDG","xml":"<call module='APPC' rpc='Generic_AnsibleDG' mode='sync' >\n","comments":"","outputs":1,"x":324.91674041748047,"y":606.8571729660034,"z":"b2b332b8.ecb4c","wires":[["f0ca9dc.a029d6","c14fa4fe.f59ef8"]]},{"id":"b022a59b.66efe8","type":"call","name":"call  MergeTemplateData","xml":"<call module='APPC' rpc='MergeTemplateData' mode='sync' >\n","comments":"","outputs":1,"x":1352.857192993164,"y":447.1428565979004,"z":"b2b332b8.ecb4c","wires":[[]]},{"id":"18d834e5.32eb1b","type":"execute","name":"execute getTemplate Parameter_definition","xml":"<execute plugin=\"org.onap.appc.data.services.node.ConfigResourceNode\" method=\"getTemplateByVnfTypeNAction\">\n<parameter name=\"fileCategory\" value=\"config_template\" />\n<parameter name=\"responsePrefix\" value=\"config-template\" />","comments":"","outputs":1,"x":878.5714721679688,"y":471.4286117553711,"z":"b2b332b8.ecb4c","wires":[["ebd8afae.4253d","8ced2749.1c0918"]]},{"id":"bb3ddb29.67e8a8","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":1361.4285202026367,"y":528.5714836120605,"z":"b2b332b8.ecb4c","wires":[[]]},{"id":"f0ca9dc.a029d6","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":562.8571891784668,"y":657.1429481506348,"z":"b2b332b8.ecb4c","wires":[["4d19c7fd.436708"]]},{"id":"4d19c7fd.436708","type":"returnSuccess","name":"return success","xml":"<return status='success'>\n<parameter name='device-running-config' value=\"`$tmp.deviceconfig.file-content`\" />\n<parameter name='output.status.code' value='`$output.status.code`' />\n<parameter name='output.status.message' value='`$output.status.message`'/>\n<parameter name='output.status.results' value = '`$output.status.results`'/>\n","comments":"","x":780.5716171264648,"y":663.5714693069458,"z":"b2b332b8.ecb4c","wires":[]},{"id":"c14fa4fe.f59ef8","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":547.1428833007812,"y":558.5713958740234,"z":"b2b332b8.ecb4c","wires":[["55b4f534.292e5c"]]},{"id":"55b4f534.292e5c","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n<parameter name='output.status.code' value='200' />\n<parameter name='output.status.message' value='`$output.status.message`'/>\n","comments":"","x":798.571403503418,"y":574.28564453125,"z":"b2b332b8.ecb4c","wires":[]},{"id":"9df2fa59.e3b388","type":"execute","name":"execute: getAnsibleRunningConfig","xml":"<execute plugin=\"org.onap.appc.data.services.node.ConfigResourceNode\" method=\"getConfigFilesByVnfActionNCategory\">\n<parameter name=\"fileCategory\" value=\"device_configuration\" />\n<parameter name='vnfname' value=\"`$config.vnf-name`\" />\n<parameter name='action' value=\"`$config.action`\" />\n<parameter name=\"responsePrefix\" value=\"tmp.deviceconfig\" />\n","comments":"","outputs":1,"x":1141.6666107177734,"y":200.00000953674316,"z":"b2b332b8.ecb4c","wires":[["44e9bc7b.8cfb94","15aafa2c.198166","5aacae79.29154"]]},{"id":"5aacae79.29154","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":1287.6666412353516,"y":281.9999647140503,"z":"b2b332b8.ecb4c","wires":[["8117d87b.2808a8"]]},{"id":"8117d87b.2808a8","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1450.6666412353516,"y":281.9999647140503,"z":"b2b332b8.ecb4c","wires":[["b514f44.0458208"]]},{"id":"15aafa2c.198166","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":1435.6666412353516,"y":224.9999647140503,"z":"b2b332b8.ecb4c","wires":[[]]},{"id":"44e9bc7b.8cfb94","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1441.3333206176758,"y":162.6666498184204,"z":"b2b332b8.ecb4c","wires":[["5e2afb10.22e314"]]},{"id":"b514f44.0458208","type":"returnSuccess","name":"return success","xml":"<return status='success'>\n<parameter name='device-running-config' value=\"`$tmp.deviceconfig.file-content`\" />\n","comments":"","x":1653.6666412353516,"y":283.9999647140503,"z":"b2b332b8.ecb4c","wires":[]},{"id":"5e2afb10.22e314","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1617.3333206176758,"y":166.6666498184204,"z":"b2b332b8.ecb4c","wires":[["bd876721.641cc8"]]},{"id":"bd876721.641cc8","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n<parameter name=\"error-code\" value=\"\"/>\n<parameter name=\"dcae-error-message\" value=\"`$tmp.deviceconfig.error-message`\"/>\n\n","comments":"","x":1809.3333206176758,"y":159.6666498184204,"z":"b2b332b8.ecb4c","wires":[]},{"id":"7b6affbc.ca3f","type":"set","name":"set tmp.message","xml":"<set>\n<parameter name=\"tmp.message\" value=\"`$error-code + ':' + $error-message`\"/>\n","comments":"","x":308.75404357910156,"y":702.3611240386963,"z":"b2b332b8.ecb4c","wires":[]}]
+[\r
+    {\r
+        "id": "5803aa79.45b404",\r
+        "type": "method",\r
+        "name": "method GetTemplateConfig_Ansible",\r
+        "xml": "<method rpc='GetTemplateConfig_Ansible' mode='sync'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 588.7499847412109,\r
+        "y": 107.5,\r
+        "z": "b2b332b8.ecb4c",\r
+        "wires": [\r
+            [\r
+                "b3dc5912.de0548"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "35047526.e59a1a",\r
+        "type": "dgstart",\r
+        "name": "DGSTART",\r
+        "outputs": 1,\r
+        "x": 127.0594711303711,\r
+        "y": 106.5714282989502,\r
+        "z": "b2b332b8.ecb4c",\r
+        "wires": [\r
+            [\r
+                "2ac38826.404d58"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "2ac38826.404d58",\r
+        "type": "service-logic",\r
+        "name": "APPC 4.0.0",\r
+        "module": "APPC",\r
+        "version": "4.0.0",\r
+        "comments": "",\r
+        "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'>",\r
+        "outputs": 1,\r
+        "x": 325.2023391723633,\r
+        "y": 104.14286041259766,\r
+        "z": "b2b332b8.ecb4c",\r
+        "wires": [\r
+            [\r
+                "5803aa79.45b404"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "7e21bb0c.03de44",\r
+        "type": "execute",\r
+        "name": "execute getTemplate",\r
+        "xml": "<execute plugin=\"org.onap.appc.data.services.node.ConfigResourceNode\" method=\"getTemplate\">\n<parameter name=\"fileCategory\" value=\"config_template\" />\n<parameter name=\"responsePrefix\" value=\"config-template\" />",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 419.70245361328125,\r
+        "y": 319.5358352661133,\r
+        "z": "b2b332b8.ecb4c",\r
+        "wires": [\r
+            [\r
+                "54cd3796.95a458",\r
+                "90f2178d.ba27c8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "90f2178d.ba27c8",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 694.059513092041,\r
+        "y": 361.0000648498535,\r
+        "z": "b2b332b8.ecb4c",\r
+        "wires": [\r
+            [\r
+                "5392ab8b.3b7874"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "5392ab8b.3b7874",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 885.7896118164062,\r
+        "y": 362.1429262161255,\r
+        "z": "b2b332b8.ecb4c",\r
+        "wires": [\r
+            [\r
+                "d978e419.70a338"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d978e419.70a338",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status=\"failure\">\n<parameter name=\"error-code\" value=\"401\"/>\n\t<parameter name=\"error-message\" value=\"`$config-template.error-message`\"/>\n\t\n\t\n\t",\r
+        "comments": "",\r
+        "x": 1115.4563827514648,\r
+        "y": 364.9206962585449,\r
+        "z": "b2b332b8.ecb4c",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "54cd3796.95a458",\r
+        "type": "failure",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 700.583324432373,\r
+        "y": 283.6667594909668,\r
+        "z": "b2b332b8.ecb4c",\r
+        "wires": [\r
+            [\r
+                "e0937d2c.970ef"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e0937d2c.970ef",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 884.916576385498,\r
+        "y": 288.0000877380371,\r
+        "z": "b2b332b8.ecb4c",\r
+        "wires": [\r
+            [\r
+                "9df2fa59.e3b388"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b3dc5912.de0548",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 156.20235061645508,\r
+        "y": 342.5000410079956,\r
+        "z": "b2b332b8.ecb4c",\r
+        "wires": [\r
+            [\r
+                "7e21bb0c.03de44",\r
+                "941be79f.807ed8",\r
+                "7b6affbc.ca3f"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ebd8afae.4253d",\r
+        "type": "not-found",\r
+        "name": "found",\r
+        "xml": "<outcome value='found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1145.6310234069824,\r
+        "y": 448.46429920196533,\r
+        "z": "b2b332b8.ecb4c",\r
+        "wires": [\r
+            [\r
+                "b022a59b.66efe8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "8ced2749.1c0918",\r
+        "type": "other",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1149.7382049560547,\r
+        "y": 517.2143268585205,\r
+        "z": "b2b332b8.ecb4c",\r
+        "wires": [\r
+            [\r
+                "bb3ddb29.67e8a8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "941be79f.807ed8",\r
+        "type": "call",\r
+        "name": "call  Generic_AnsibleDG",\r
+        "xml": "<call module='APPC' rpc='Generic_AnsibleDG' mode='sync' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 324.91674041748047,\r
+        "y": 606.8571729660034,\r
+        "z": "b2b332b8.ecb4c",\r
+        "wires": [\r
+            [\r
+                "f0ca9dc.a029d6",\r
+                "c14fa4fe.f59ef8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b022a59b.66efe8",\r
+        "type": "call",\r
+        "name": "call  MergeTemplateData",\r
+        "xml": "<call module='APPC' rpc='MergeTemplateData' mode='sync' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1352.857192993164,\r
+        "y": 447.1428565979004,\r
+        "z": "b2b332b8.ecb4c",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "18d834e5.32eb1b",\r
+        "type": "execute",\r
+        "name": "execute getTemplate Parameter_definition",\r
+        "xml": "<execute plugin=\"org.onap.appc.data.services.node.ConfigResourceNode\" method=\"getTemplateByVnfTypeNAction\">\n<parameter name=\"fileCategory\" value=\"config_template\" />\n<parameter name=\"responsePrefix\" value=\"config-template\" />",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 878.5714721679688,\r
+        "y": 471.4286117553711,\r
+        "z": "b2b332b8.ecb4c",\r
+        "wires": [\r
+            [\r
+                "ebd8afae.4253d",\r
+                "8ced2749.1c0918"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "bb3ddb29.67e8a8",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 1361.4285202026367,\r
+        "y": 528.5714836120605,\r
+        "z": "b2b332b8.ecb4c",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "f0ca9dc.a029d6",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 562.8571891784668,\r
+        "y": 657.1429481506348,\r
+        "z": "b2b332b8.ecb4c",\r
+        "wires": [\r
+            [\r
+                "4d19c7fd.436708"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "4d19c7fd.436708",\r
+        "type": "returnSuccess",\r
+        "name": "return success",\r
+        "xml": "<return status='success'>\n<parameter name='device-running-config' value=\"`$tmp.deviceconfig.file-content`\" />\n<parameter name='output.status.code' value='`$output.status.code`' />\n<parameter name='output.status.message' value='`$output.status.message`'/>\n<parameter name='output.status.results' value = '`$output.status.results`'/>\n",\r
+        "comments": "",\r
+        "x": 780.5716171264648,\r
+        "y": 663.5714693069458,\r
+        "z": "b2b332b8.ecb4c",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "c14fa4fe.f59ef8",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 547.1428833007812,\r
+        "y": 558.5713958740234,\r
+        "z": "b2b332b8.ecb4c",\r
+        "wires": [\r
+            [\r
+                "55b4f534.292e5c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "55b4f534.292e5c",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n<parameter name='output.status.code' value='200' />\n<parameter name='output.status.message' value='`$output.status.message`'/>\n",\r
+        "comments": "",\r
+        "x": 798.571403503418,\r
+        "y": 574.28564453125,\r
+        "z": "b2b332b8.ecb4c",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "9df2fa59.e3b388",\r
+        "type": "execute",\r
+        "name": "execute: getAnsibleRunningConfig",\r
+        "xml": "<execute plugin=\"org.onap.appc.data.services.node.ConfigResourceNode\" method=\"getConfigFilesByVnfActionNCategory\">\n<parameter name=\"fileCategory\" value=\"device_configuration\" />\n<parameter name='vnfname' value=\"`$config.vnf-name`\" />\n<parameter name='action' value=\"`$config.action`\" />\n<parameter name=\"responsePrefix\" value=\"tmp.deviceconfig\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1141.6666107177734,\r
+        "y": 200.00000953674316,\r
+        "z": "b2b332b8.ecb4c",\r
+        "wires": [\r
+            [\r
+                "44e9bc7b.8cfb94",\r
+                "15aafa2c.198166",\r
+                "5aacae79.29154"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "5aacae79.29154",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1287.6666412353516,\r
+        "y": 281.9999647140503,\r
+        "z": "b2b332b8.ecb4c",\r
+        "wires": [\r
+            [\r
+                "8117d87b.2808a8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "8117d87b.2808a8",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1450.6666412353516,\r
+        "y": 281.9999647140503,\r
+        "z": "b2b332b8.ecb4c",\r
+        "wires": [\r
+            [\r
+                "b514f44.0458208"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "15aafa2c.198166",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1435.6666412353516,\r
+        "y": 224.9999647140503,\r
+        "z": "b2b332b8.ecb4c",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "44e9bc7b.8cfb94",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1441.3333206176758,\r
+        "y": 162.6666498184204,\r
+        "z": "b2b332b8.ecb4c",\r
+        "wires": [\r
+            [\r
+                "5e2afb10.22e314"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b514f44.0458208",\r
+        "type": "returnSuccess",\r
+        "name": "return success",\r
+        "xml": "<return status='success'>\n<parameter name='device-running-config' value=\"`$tmp.deviceconfig.file-content`\" />\n",\r
+        "comments": "",\r
+        "x": 1653.6666412353516,\r
+        "y": 283.9999647140503,\r
+        "z": "b2b332b8.ecb4c",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "5e2afb10.22e314",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1617.3333206176758,\r
+        "y": 166.6666498184204,\r
+        "z": "b2b332b8.ecb4c",\r
+        "wires": [\r
+            [\r
+                "bd876721.641cc8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "bd876721.641cc8",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status=\"failure\">\n<parameter name=\"error-code\" value=\"\"/>\n<parameter name=\"dcae-error-message\" value=\"`$tmp.deviceconfig.error-message`\"/>\n\n",\r
+        "comments": "",\r
+        "x": 1809.3333206176758,\r
+        "y": 159.6666498184204,\r
+        "z": "b2b332b8.ecb4c",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "7b6affbc.ca3f",\r
+        "type": "set",\r
+        "name": "set tmp.message",\r
+        "xml": "<set>\n<parameter name=\"tmp.message\" value=\"`$error-code + ':' + $error-message`\"/>\n",\r
+        "comments": "",\r
+        "x": 308.75404357910156,\r
+        "y": 702.3611240386963,\r
+        "z": "b2b332b8.ecb4c",\r
+        "wires": []\r
+    }\r
+]\r
index 49eb595..7341e4a 100644 (file)
@@ -1 +1,453 @@
-[{"id":"c9005ac7.c57248","type":"dgstart","name":"DGSTART","outputs":1,"x":130,"y":107.57143020629883,"z":"1c322045.61564","wires":[["81c4fde7.3fb5b"]]},{"id":"81c4fde7.3fb5b","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":311.00000762939453,"y":65.1428575515747,"z":"1c322045.61564","wires":[["c35c9610.8d2ad8"]]},{"id":"c35c9610.8d2ad8","type":"method","name":"method GetTemplateConfig_Chef ","xml":"<method rpc='GetTemplateConfig_Chef' mode='sync'>\n","comments":"","outputs":1,"x":574.5476837158203,"y":68.49999618530273,"z":"1c322045.61564","wires":[["791848b0.bcbe48"]]},{"id":"791848b0.bcbe48","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","comments":"","outputs":1,"x":142.00001907348633,"y":303.50003814697266,"z":"1c322045.61564","wires":[["13786ad0.1af775","9911db8b.909de8","a0dd8b28.4c27d8"]]},{"id":"13786ad0.1af775","type":"set","name":"set tmp.message","xml":"<set>\n<parameter name=\"tmp.message\" value=\"`$error-code + ':' + $error-message`\"/>\n","comments":"","x":409.37306213378906,"y":692.8253631591797,"z":"1c322045.61564","wires":[]},{"id":"3e746174.0ab35e","type":"execute","name":"execute isPDFILE","xml":"<execute plugin=\"org.onap.appc.data.services.node.ConfigResourceNode\" method=\"getTemplateByVnfTypeNAction\">\n<parameter name=\"fileCategory\" value=\"config_template\" />\n<parameter name=\"responsePrefix\" value=\"config-template\" />","comments":"","outputs":1,"x":762.9166679382324,"y":514.1666812896729,"z":"1c322045.61564","wires":[["ca5f68cd.7df168","abf0e2c0.46e46"]]},{"id":"ca5f68cd.7df168","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":1008.9166717529297,"y":494.6666507720947,"z":"1c322045.61564","wires":[[]]},{"id":"abf0e2c0.46e46","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":1003.4166717529297,"y":536.6666774749756,"z":"1c322045.61564","wires":[["9285e961.bde908"]]},{"id":"9285e961.bde908","type":"call","name":"call  chefDG","xml":"<call module='APPC' rpc='' mode='sync' >\n","comments":"","outputs":1,"x":1170.416690826416,"y":539.1666574478149,"z":"1c322045.61564","wires":[["6b096ef8.220c6"]]},{"id":"6b096ef8.220c6","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":1349.1667938232422,"y":540.4167070388794,"z":"1c322045.61564","wires":[["3b23acb8.aee1b4"]]},{"id":"3b23acb8.aee1b4","type":"returnSuccess","name":"return success","xml":"<return status='success'>\n<parameter name='output.status.code' value='`$org.onap.appc.adapter.ansible.result.code`' />\n<parameter name='output.status.message' value='`$org.onap.appc.adapter.ansible.message`'/>\n<parameter name='output.status.results' value = '`$output.status.results`'/>\n","comments":"","x":1531.666706085205,"y":540.4166622161865,"z":"1c322045.61564","wires":[]},{"id":"9911db8b.909de8","type":"call","name":"call  Generic_ChefDG","xml":"<call module='APPC' rpc='Generic_ChefDG' mode='sync' >\n","comments":"","outputs":1,"x":428.3334197998047,"y":591.666748046875,"z":"1c322045.61564","wires":[["13c04cd9.b43873","3d395b6f.37d6d4"]]},{"id":"70ff03bc.550c5c","type":"execute","name":"execute: getChefRunningConfig","xml":"<execute plugin=\"org.onap.appc.data.services.node.ConfigResourceNode\" method=\"getConfigFilesByVnfActionNCategory\">\n<parameter name=\"fileCategory\" value=\"device_configuration\" />\n<parameter name='vnfname' value=\"`$config.vnf-name`\" />\n<parameter name='action' value=\"`$config.action`\" />\n<parameter name=\"responsePrefix\" value=\"tmp.deviceconfig\" />\n","comments":"","outputs":1,"x":1041.66650390625,"y":158.33333206176758,"z":"1c322045.61564","wires":[["e0166624.d85ba8","2d46c9a9.5e4556","60877372.7124dc"]]},{"id":"60877372.7124dc","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":1187.6665115356445,"y":240.3333044052124,"z":"1c322045.61564","wires":[["594ea12a.967b5"]]},{"id":"594ea12a.967b5","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1350.6665115356445,"y":240.3333044052124,"z":"1c322045.61564","wires":[["69841f84.beca3"]]},{"id":"2d46c9a9.5e4556","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":1335.6665115356445,"y":183.3333044052124,"z":"1c322045.61564","wires":[[]]},{"id":"e0166624.d85ba8","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1341.3331909179688,"y":120.99998950958252,"z":"1c322045.61564","wires":[["afceb049.effd"]]},{"id":"69841f84.beca3","type":"returnSuccess","name":"return success","xml":"<return status='success'>\n<parameter name='device-running-config' value=\"`$tmp.deviceconfig.file-content`\" />\n","comments":"","x":1553.6665115356445,"y":242.3333044052124,"z":"1c322045.61564","wires":[]},{"id":"afceb049.effd","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1517.3331909179688,"y":124.99998950958252,"z":"1c322045.61564","wires":[["89203f87.bdd35"]]},{"id":"89203f87.bdd35","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n<parameter name=\"error-code\" value=\"\"/>\n<parameter name=\"dcae-error-message\" value=\"`$tmp.deviceconfig.error-message`\"/>\n\n","comments":"","x":1709.3331909179688,"y":117.99998950958252,"z":"1c322045.61564","wires":[]},{"id":"a0dd8b28.4c27d8","type":"execute","name":"execute getTemplate","xml":"<execute plugin=\"org.onap.appc.data.services.node.ConfigResourceNode\" method=\"getTemplate\">\n<parameter name=\"fileCategory\" value=\"config_template\" />\n<parameter name=\"responsePrefix\" value=\"config-template\" />","comments":"","outputs":1,"x":414.66676330566406,"y":274.1072106361389,"z":"1c322045.61564","wires":[["209fd4e.f5e6a2c","c880f1bf.06526"]]},{"id":"c880f1bf.06526","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":629.3811264038086,"y":316.52382373809814,"z":"1c322045.61564","wires":[["3e7c0fa2.d88be"]]},{"id":"3e7c0fa2.d88be","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":821.1112251281738,"y":317.6666851043701,"z":"1c322045.61564","wires":[["daf816d8.f062d8"]]},{"id":"daf816d8.f062d8","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n<parameter name=\"error-code\" value=\"401\"/>\n\t<parameter name=\"error-message\" value=\"`$config-template.error-message`\"/>\n\t\n\t\n\t","comments":"","x":1050.7779960632324,"y":320.44445514678955,"z":"1c322045.61564","wires":[]},{"id":"209fd4e.f5e6a2c","type":"failure","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":635.9049377441406,"y":239.19051837921143,"z":"1c322045.61564","wires":[["32a527f0.aabd78"]]},{"id":"32a527f0.aabd78","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":820.2381896972656,"y":243.52384662628174,"z":"1c322045.61564","wires":[["70ff03bc.550c5c"]]},{"id":"3d395b6f.37d6d4","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":651.6666259765625,"y":703.3333129882812,"z":"1c322045.61564","wires":[["d444f8cd.5ab698"]]},{"id":"d444f8cd.5ab698","type":"returnSuccess","name":"return success","xml":"<return status='success'>\n<parameter name='device-running-config' value=\"`$tmp.deviceconfig.file-content`\" />\n<parameter name='output.status.code' value='`$output.status.code`' />\n<parameter name='output.status.message' value='`$output.status.message`'/>\n<parameter name='output.status.results' value = '`$output.status.results`'/>\n","comments":"","x":869.3810539245605,"y":709.7618341445923,"z":"1c322045.61564","wires":[]},{"id":"13c04cd9.b43873","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":635.952320098877,"y":604.7617607116699,"z":"1c322045.61564","wires":[["c021af06.07788"]]},{"id":"c021af06.07788","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n<parameter name='output.status.code' value='200' />\n<parameter name='output.status.message' value='`$output.status.message`'/>\n","comments":"","x":887.3808403015137,"y":620.4760093688965,"z":"1c322045.61564","wires":[]}]
+[\r
+    {\r
+        "id": "c9005ac7.c57248",\r
+        "type": "dgstart",\r
+        "name": "DGSTART",\r
+        "outputs": 1,\r
+        "x": 130,\r
+        "y": 107.57143020629883,\r
+        "z": "1c322045.61564",\r
+        "wires": [\r
+            [\r
+                "81c4fde7.3fb5b"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "81c4fde7.3fb5b",\r
+        "type": "service-logic",\r
+        "name": "APPC 4.0.0",\r
+        "module": "APPC",\r
+        "version": "4.0.0",\r
+        "comments": "",\r
+        "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'>",\r
+        "outputs": 1,\r
+        "x": 311.00000762939453,\r
+        "y": 65.1428575515747,\r
+        "z": "1c322045.61564",\r
+        "wires": [\r
+            [\r
+                "c35c9610.8d2ad8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c35c9610.8d2ad8",\r
+        "type": "method",\r
+        "name": "method GetTemplateConfig_Chef ",\r
+        "xml": "<method rpc='GetTemplateConfig_Chef' mode='sync'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 574.5476837158203,\r
+        "y": 68.49999618530273,\r
+        "z": "1c322045.61564",\r
+        "wires": [\r
+            [\r
+                "791848b0.bcbe48"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "791848b0.bcbe48",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 142.00001907348633,\r
+        "y": 303.50003814697266,\r
+        "z": "1c322045.61564",\r
+        "wires": [\r
+            [\r
+                "13786ad0.1af775",\r
+                "9911db8b.909de8",\r
+                "a0dd8b28.4c27d8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "13786ad0.1af775",\r
+        "type": "set",\r
+        "name": "set tmp.message",\r
+        "xml": "<set>\n<parameter name=\"tmp.message\" value=\"`$error-code + ':' + $error-message`\"/>\n",\r
+        "comments": "",\r
+        "x": 409.37306213378906,\r
+        "y": 692.8253631591797,\r
+        "z": "1c322045.61564",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "3e746174.0ab35e",\r
+        "type": "execute",\r
+        "name": "execute isPDFILE",\r
+        "xml": "<execute plugin=\"org.onap.appc.data.services.node.ConfigResourceNode\" method=\"getTemplateByVnfTypeNAction\">\n<parameter name=\"fileCategory\" value=\"config_template\" />\n<parameter name=\"responsePrefix\" value=\"config-template\" />",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 762.9166679382324,\r
+        "y": 514.1666812896729,\r
+        "z": "1c322045.61564",\r
+        "wires": [\r
+            [\r
+                "ca5f68cd.7df168",\r
+                "abf0e2c0.46e46"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ca5f68cd.7df168",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1008.9166717529297,\r
+        "y": 494.6666507720947,\r
+        "z": "1c322045.61564",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "abf0e2c0.46e46",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1003.4166717529297,\r
+        "y": 536.6666774749756,\r
+        "z": "1c322045.61564",\r
+        "wires": [\r
+            [\r
+                "9285e961.bde908"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9285e961.bde908",\r
+        "type": "call",\r
+        "name": "call  chefDG",\r
+        "xml": "<call module='APPC' rpc='' mode='sync' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1170.416690826416,\r
+        "y": 539.1666574478149,\r
+        "z": "1c322045.61564",\r
+        "wires": [\r
+            [\r
+                "6b096ef8.220c6"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "6b096ef8.220c6",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 1349.1667938232422,\r
+        "y": 540.4167070388794,\r
+        "z": "1c322045.61564",\r
+        "wires": [\r
+            [\r
+                "3b23acb8.aee1b4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "3b23acb8.aee1b4",\r
+        "type": "returnSuccess",\r
+        "name": "return success",\r
+        "xml": "<return status='success'>\n<parameter name='output.status.code' value='`$org.onap.appc.adapter.ansible.result.code`' />\n<parameter name='output.status.message' value='`$org.onap.appc.adapter.ansible.message`'/>\n<parameter name='output.status.results' value = '`$output.status.results`'/>\n",\r
+        "comments": "",\r
+        "x": 1531.666706085205,\r
+        "y": 540.4166622161865,\r
+        "z": "1c322045.61564",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "9911db8b.909de8",\r
+        "type": "call",\r
+        "name": "call  Generic_ChefDG",\r
+        "xml": "<call module='APPC' rpc='Generic_ChefDG' mode='sync' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 428.3334197998047,\r
+        "y": 591.666748046875,\r
+        "z": "1c322045.61564",\r
+        "wires": [\r
+            [\r
+                "13c04cd9.b43873",\r
+                "3d395b6f.37d6d4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "70ff03bc.550c5c",\r
+        "type": "execute",\r
+        "name": "execute: getChefRunningConfig",\r
+        "xml": "<execute plugin=\"org.onap.appc.data.services.node.ConfigResourceNode\" method=\"getConfigFilesByVnfActionNCategory\">\n<parameter name=\"fileCategory\" value=\"device_configuration\" />\n<parameter name='vnfname' value=\"`$config.vnf-name`\" />\n<parameter name='action' value=\"`$config.action`\" />\n<parameter name=\"responsePrefix\" value=\"tmp.deviceconfig\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1041.66650390625,\r
+        "y": 158.33333206176758,\r
+        "z": "1c322045.61564",\r
+        "wires": [\r
+            [\r
+                "e0166624.d85ba8",\r
+                "2d46c9a9.5e4556",\r
+                "60877372.7124dc"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "60877372.7124dc",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1187.6665115356445,\r
+        "y": 240.3333044052124,\r
+        "z": "1c322045.61564",\r
+        "wires": [\r
+            [\r
+                "594ea12a.967b5"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "594ea12a.967b5",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1350.6665115356445,\r
+        "y": 240.3333044052124,\r
+        "z": "1c322045.61564",\r
+        "wires": [\r
+            [\r
+                "69841f84.beca3"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "2d46c9a9.5e4556",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1335.6665115356445,\r
+        "y": 183.3333044052124,\r
+        "z": "1c322045.61564",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "e0166624.d85ba8",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1341.3331909179688,\r
+        "y": 120.99998950958252,\r
+        "z": "1c322045.61564",\r
+        "wires": [\r
+            [\r
+                "afceb049.effd"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "69841f84.beca3",\r
+        "type": "returnSuccess",\r
+        "name": "return success",\r
+        "xml": "<return status='success'>\n<parameter name='device-running-config' value=\"`$tmp.deviceconfig.file-content`\" />\n",\r
+        "comments": "",\r
+        "x": 1553.6665115356445,\r
+        "y": 242.3333044052124,\r
+        "z": "1c322045.61564",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "afceb049.effd",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1517.3331909179688,\r
+        "y": 124.99998950958252,\r
+        "z": "1c322045.61564",\r
+        "wires": [\r
+            [\r
+                "89203f87.bdd35"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "89203f87.bdd35",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status=\"failure\">\n<parameter name=\"error-code\" value=\"\"/>\n<parameter name=\"dcae-error-message\" value=\"`$tmp.deviceconfig.error-message`\"/>\n\n",\r
+        "comments": "",\r
+        "x": 1709.3331909179688,\r
+        "y": 117.99998950958252,\r
+        "z": "1c322045.61564",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "a0dd8b28.4c27d8",\r
+        "type": "execute",\r
+        "name": "execute getTemplate",\r
+        "xml": "<execute plugin=\"org.onap.appc.data.services.node.ConfigResourceNode\" method=\"getTemplate\">\n<parameter name=\"fileCategory\" value=\"config_template\" />\n<parameter name=\"responsePrefix\" value=\"config-template\" />",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 414.66676330566406,\r
+        "y": 274.1072106361389,\r
+        "z": "1c322045.61564",\r
+        "wires": [\r
+            [\r
+                "209fd4e.f5e6a2c",\r
+                "c880f1bf.06526"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c880f1bf.06526",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 629.3811264038086,\r
+        "y": 316.52382373809814,\r
+        "z": "1c322045.61564",\r
+        "wires": [\r
+            [\r
+                "3e7c0fa2.d88be"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "3e7c0fa2.d88be",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 821.1112251281738,\r
+        "y": 317.6666851043701,\r
+        "z": "1c322045.61564",\r
+        "wires": [\r
+            [\r
+                "daf816d8.f062d8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "daf816d8.f062d8",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status=\"failure\">\n<parameter name=\"error-code\" value=\"401\"/>\n\t<parameter name=\"error-message\" value=\"`$config-template.error-message`\"/>\n\t\n\t\n\t",\r
+        "comments": "",\r
+        "x": 1050.7779960632324,\r
+        "y": 320.44445514678955,\r
+        "z": "1c322045.61564",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "209fd4e.f5e6a2c",\r
+        "type": "failure",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 635.9049377441406,\r
+        "y": 239.19051837921143,\r
+        "z": "1c322045.61564",\r
+        "wires": [\r
+            [\r
+                "32a527f0.aabd78"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "32a527f0.aabd78",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 820.2381896972656,\r
+        "y": 243.52384662628174,\r
+        "z": "1c322045.61564",\r
+        "wires": [\r
+            [\r
+                "70ff03bc.550c5c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "3d395b6f.37d6d4",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 651.6666259765625,\r
+        "y": 703.3333129882812,\r
+        "z": "1c322045.61564",\r
+        "wires": [\r
+            [\r
+                "d444f8cd.5ab698"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d444f8cd.5ab698",\r
+        "type": "returnSuccess",\r
+        "name": "return success",\r
+        "xml": "<return status='success'>\n<parameter name='device-running-config' value=\"`$tmp.deviceconfig.file-content`\" />\n<parameter name='output.status.code' value='`$output.status.code`' />\n<parameter name='output.status.message' value='`$output.status.message`'/>\n<parameter name='output.status.results' value = '`$output.status.results`'/>\n",\r
+        "comments": "",\r
+        "x": 869.3810539245605,\r
+        "y": 709.7618341445923,\r
+        "z": "1c322045.61564",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "13c04cd9.b43873",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 635.952320098877,\r
+        "y": 604.7617607116699,\r
+        "z": "1c322045.61564",\r
+        "wires": [\r
+            [\r
+                "c021af06.07788"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c021af06.07788",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n<parameter name='output.status.code' value='200' />\n<parameter name='output.status.message' value='`$output.status.message`'/>\n",\r
+        "comments": "",\r
+        "x": 887.3808403015137,\r
+        "y": 620.4760093688965,\r
+        "z": "1c322045.61564",\r
+        "wires": []\r
+    }\r
+]\r
index 0253b81..8ccd9b9 100644 (file)
@@ -1 +1,402 @@
-[{"id":"d0bfabf0.cf5018","type":"dgstart","name":"DGSTART","outputs":1,"x":242,"y":54,"z":"2e8f53e8.88cb5c","wires":[["1a12bc.08738d45"]]},{"id":"1a12bc.08738d45","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":423,"y":56,"z":"2e8f53e8.88cb5c","wires":[["e474848f.21f5f8"]]},{"id":"e474848f.21f5f8","type":"method","name":"method GetVfModuleInfo","xml":"<method rpc='GetVfModuleInfo' mode='sync'>\n","comments":"","outputs":1,"x":632,"y":52,"z":"2e8f53e8.88cb5c","wires":[["ab5248d5.760048"]]},{"id":"ab5248d5.760048","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":226,"y":111,"z":"2e8f53e8.88cb5c","wires":[["a570564e.9490f8","66ed2a9b.932894"]]},{"id":"a570564e.9490f8","type":"switchNode","name":"switch: ..tmp.aai-data-vm.relationship-list.relationship_length","xml":"<switch test=\"`$tmp.aai-data-vm.relationship-list.relationship_length`\">\n","comments":"","outputs":1,"x":563,"y":223,"z":"2e8f53e8.88cb5c","wires":[["b6f79781.cc5738","c08a74a.01ad688"]]},{"id":"b6f79781.cc5738","type":"outcome","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":883,"y":172,"z":"2e8f53e8.88cb5c","wires":[["7956090a.c85eb8"]]},{"id":"7956090a.c85eb8","type":"block","name":"block","xml":"<block>","atomic":"false","comments":"","outputs":1,"x":1033,"y":170,"z":"2e8f53e8.88cb5c","wires":[[]]},{"id":"c08a74a.01ad688","type":"other","name":"Other","xml":"<outcome value=\"Other\">","comments":"","outputs":1,"x":881,"y":226,"z":"2e8f53e8.88cb5c","wires":[["c42e105e.98968"]]},{"id":"c42e105e.98968","type":"block","name":"block","xml":"<block>","atomic":"false","comments":"","outputs":1,"x":1028,"y":221,"z":"2e8f53e8.88cb5c","wires":[["4b8f03e5.a7c54c"]]},{"id":"4b8f03e5.a7c54c","type":"for","name":"for: ...realtionship[]","xml":"<for atomic=\"true\" index=\"p\" start=\"0\" end=\"`$tmp.aai-data-vm.relationship-list.relationship_length`\" >","comments":"","outputs":1,"x":493,"y":301,"z":"2e8f53e8.88cb5c","wires":[["173a63dc.65a38c"]]},{"id":"173a63dc.65a38c","type":"block","name":"block","xml":"<block>","atomic":"false","comments":"","outputs":1,"x":664,"y":301,"z":"2e8f53e8.88cb5c","wires":[["420e26df.969f58"]]},{"id":"420e26df.969f58","type":"switchNode","name":"switch: ...related-to","xml":"<switch test=\"`$tmp.aai-data-vm.relationship-list.relationship[$p].related-to`\">","comments":"","outputs":1,"x":839,"y":301,"z":"2e8f53e8.88cb5c","wires":[["4bb83cd1.1dc654"]]},{"id":"66ed2a9b.932894","type":"switchNode","name":"switch: tmp.vf-module-id","xml":"<switch test=\"`$tmp.vf-module-id`\">\n\n","comments":"","outputs":1,"x":393.5,"y":588,"z":"2e8f53e8.88cb5c","wires":[["540480a7.9f9a6"]]},{"id":"540480a7.9f9a6","type":"outcome","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":578,"y":597,"z":"2e8f53e8.88cb5c","wires":[["e49ee214.93882"]]},{"id":"e49ee214.93882","type":"block","name":"block","xml":"<block>","atomic":"false","comments":"","outputs":1,"x":727,"y":597,"z":"2e8f53e8.88cb5c","wires":[["5eeb968d.2583c8"]]},{"id":"5eeb968d.2583c8","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n<!-- Dont reset error codes for A&AI errors\n\t<parameter name=\"error-code\" value=\"401\"/>\n\t-->\n<parameter name=\"aai-error-message\" value=\"`'Unable to get VF Module Id Info. ' + $aai-error-message`\"/>\n\t\n\t\n\t","comments":"","x":909,"y":599,"z":"2e8f53e8.88cb5c","wires":[]},{"id":"4bb83cd1.1dc654","type":"outcome","name":"vf-module","xml":"<outcome value=\"vf-module\">","comments":"","outputs":1,"x":1025,"y":299,"z":"2e8f53e8.88cb5c","wires":[["19f076a1.202eb9"]]},{"id":"19f076a1.202eb9","type":"for","name":"for: ...relationship-data[]","xml":"<for atomic=\"true\" index=\"q\" start=\"0\" end=\"`$tmp.aai-data-vm.relationship-list.relationship[$p].relationship-data_length`\" >","comments":"","outputs":1,"x":567,"y":361,"z":"2e8f53e8.88cb5c","wires":[["e17ddefa.38bfd"]]},{"id":"e17ddefa.38bfd","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":779,"y":362,"z":"2e8f53e8.88cb5c","wires":[["d0a8212a.63602"]]},{"id":"d0a8212a.63602","type":"switchNode","name":"switch: ...relationship-key","xml":"<switch test=\"`$tmp.aai-data-vm.relationship-list.relationship[$p].relationship-data[$q].relationship-key`\">","comments":"","outputs":1,"x":1022,"y":363,"z":"2e8f53e8.88cb5c","wires":[["22d4a363.1c5b4c"]]},{"id":"22d4a363.1c5b4c","type":"outcome","name":"vf-module.vf-module-id","xml":"<outcome value=\"vf-module.vf-module-id\">","comments":"","outputs":1,"x":682,"y":424,"z":"2e8f53e8.88cb5c","wires":[["9733527c.74d18"]]},{"id":"9733527c.74d18","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":894,"y":426,"z":"2e8f53e8.88cb5c","wires":[["ff51bcb4.c7ced","878fb3fa.fa008","22f05ed0.396902"]]},{"id":"ff51bcb4.c7ced","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\n<parameter name=\"VFMODULEID\" value=\"`$tmp.aai-data-vm.relationship-list.relationship[$p].relationship-data[$q].relationship-value`\"/>\n","comments":"","outputs":1,"x":1066,"y":421,"z":"2e8f53e8.88cb5c","wires":[[]]},{"id":"878fb3fa.fa008","type":"set","name":"set tmp.vf-module-id","xml":"<set>\n<parameter name='tmp.vf-module-id' value='`$tmp.aai-data-vm.relationship-list.relationship[$p].relationship-data[$q].relationship-value`' />\n","comments":"","x":1088,"y":461,"z":"2e8f53e8.88cb5c","wires":[]},{"id":"22f05ed0.396902","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n\n","comments":"","x":1053,"y":509,"z":"2e8f53e8.88cb5c","wires":[]},{"id":"120d0519.89947b","type":"comment","name":"Return failure so that it will exit immediately","info":"","comments":"","x":729,"y":506,"z":"2e8f53e8.88cb5c","wires":[]}]
+[\r
+    {\r
+        "id": "d0bfabf0.cf5018",\r
+        "type": "dgstart",\r
+        "name": "DGSTART",\r
+        "outputs": 1,\r
+        "x": 242,\r
+        "y": 54,\r
+        "z": "2e8f53e8.88cb5c",\r
+        "wires": [\r
+            [\r
+                "1a12bc.08738d45"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "1a12bc.08738d45",\r
+        "type": "service-logic",\r
+        "name": "APPC 4.0.0",\r
+        "module": "APPC",\r
+        "version": "4.0.0",\r
+        "comments": "",\r
+        "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'>",\r
+        "outputs": 1,\r
+        "x": 423,\r
+        "y": 56,\r
+        "z": "2e8f53e8.88cb5c",\r
+        "wires": [\r
+            [\r
+                "e474848f.21f5f8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e474848f.21f5f8",\r
+        "type": "method",\r
+        "name": "method GetVfModuleInfo",\r
+        "xml": "<method rpc='GetVfModuleInfo' mode='sync'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 632,\r
+        "y": 52,\r
+        "z": "2e8f53e8.88cb5c",\r
+        "wires": [\r
+            [\r
+                "ab5248d5.760048"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ab5248d5.760048",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 226,\r
+        "y": 111,\r
+        "z": "2e8f53e8.88cb5c",\r
+        "wires": [\r
+            [\r
+                "a570564e.9490f8",\r
+                "66ed2a9b.932894"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a570564e.9490f8",\r
+        "type": "switchNode",\r
+        "name": "switch: ..tmp.aai-data-vm.relationship-list.relationship_length",\r
+        "xml": "<switch test=\"`$tmp.aai-data-vm.relationship-list.relationship_length`\">\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 563,\r
+        "y": 223,\r
+        "z": "2e8f53e8.88cb5c",\r
+        "wires": [\r
+            [\r
+                "b6f79781.cc5738",\r
+                "c08a74a.01ad688"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b6f79781.cc5738",\r
+        "type": "outcome",\r
+        "name": "NULL",\r
+        "xml": "<outcome value=''>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 883,\r
+        "y": 172,\r
+        "z": "2e8f53e8.88cb5c",\r
+        "wires": [\r
+            [\r
+                "7956090a.c85eb8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "7956090a.c85eb8",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1033,\r
+        "y": 170,\r
+        "z": "2e8f53e8.88cb5c",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "c08a74a.01ad688",\r
+        "type": "other",\r
+        "name": "Other",\r
+        "xml": "<outcome value=\"Other\">",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 881,\r
+        "y": 226,\r
+        "z": "2e8f53e8.88cb5c",\r
+        "wires": [\r
+            [\r
+                "c42e105e.98968"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c42e105e.98968",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1028,\r
+        "y": 221,\r
+        "z": "2e8f53e8.88cb5c",\r
+        "wires": [\r
+            [\r
+                "4b8f03e5.a7c54c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "4b8f03e5.a7c54c",\r
+        "type": "for",\r
+        "name": "for: ...realtionship[]",\r
+        "xml": "<for atomic=\"true\" index=\"p\" start=\"0\" end=\"`$tmp.aai-data-vm.relationship-list.relationship_length`\" >",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 493,\r
+        "y": 301,\r
+        "z": "2e8f53e8.88cb5c",\r
+        "wires": [\r
+            [\r
+                "173a63dc.65a38c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "173a63dc.65a38c",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 664,\r
+        "y": 301,\r
+        "z": "2e8f53e8.88cb5c",\r
+        "wires": [\r
+            [\r
+                "420e26df.969f58"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "420e26df.969f58",\r
+        "type": "switchNode",\r
+        "name": "switch: ...related-to",\r
+        "xml": "<switch test=\"`$tmp.aai-data-vm.relationship-list.relationship[$p].related-to`\">",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 839,\r
+        "y": 301,\r
+        "z": "2e8f53e8.88cb5c",\r
+        "wires": [\r
+            [\r
+                "4bb83cd1.1dc654"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "66ed2a9b.932894",\r
+        "type": "switchNode",\r
+        "name": "switch: tmp.vf-module-id",\r
+        "xml": "<switch test=\"`$tmp.vf-module-id`\">\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 393.5,\r
+        "y": 588,\r
+        "z": "2e8f53e8.88cb5c",\r
+        "wires": [\r
+            [\r
+                "540480a7.9f9a6"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "540480a7.9f9a6",\r
+        "type": "outcome",\r
+        "name": "NULL",\r
+        "xml": "<outcome value=''>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 578,\r
+        "y": 597,\r
+        "z": "2e8f53e8.88cb5c",\r
+        "wires": [\r
+            [\r
+                "e49ee214.93882"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e49ee214.93882",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 727,\r
+        "y": 597,\r
+        "z": "2e8f53e8.88cb5c",\r
+        "wires": [\r
+            [\r
+                "5eeb968d.2583c8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "5eeb968d.2583c8",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status=\"failure\">\n<!-- Dont reset error codes for A&AI errors\n\t<parameter name=\"error-code\" value=\"401\"/>\n\t-->\n<parameter name=\"aai-error-message\" value=\"`'Unable to get VF Module Id Info. ' + $aai-error-message`\"/>\n\t\n\t\n\t",\r
+        "comments": "",\r
+        "x": 909,\r
+        "y": 599,\r
+        "z": "2e8f53e8.88cb5c",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "4bb83cd1.1dc654",\r
+        "type": "outcome",\r
+        "name": "vf-module",\r
+        "xml": "<outcome value=\"vf-module\">",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1025,\r
+        "y": 299,\r
+        "z": "2e8f53e8.88cb5c",\r
+        "wires": [\r
+            [\r
+                "19f076a1.202eb9"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "19f076a1.202eb9",\r
+        "type": "for",\r
+        "name": "for: ...relationship-data[]",\r
+        "xml": "<for atomic=\"true\" index=\"q\" start=\"0\" end=\"`$tmp.aai-data-vm.relationship-list.relationship[$p].relationship-data_length`\" >",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 567,\r
+        "y": 361,\r
+        "z": "2e8f53e8.88cb5c",\r
+        "wires": [\r
+            [\r
+                "e17ddefa.38bfd"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e17ddefa.38bfd",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 779,\r
+        "y": 362,\r
+        "z": "2e8f53e8.88cb5c",\r
+        "wires": [\r
+            [\r
+                "d0a8212a.63602"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d0a8212a.63602",\r
+        "type": "switchNode",\r
+        "name": "switch: ...relationship-key",\r
+        "xml": "<switch test=\"`$tmp.aai-data-vm.relationship-list.relationship[$p].relationship-data[$q].relationship-key`\">",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1022,\r
+        "y": 363,\r
+        "z": "2e8f53e8.88cb5c",\r
+        "wires": [\r
+            [\r
+                "22d4a363.1c5b4c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "22d4a363.1c5b4c",\r
+        "type": "outcome",\r
+        "name": "vf-module.vf-module-id",\r
+        "xml": "<outcome value=\"vf-module.vf-module-id\">",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 682,\r
+        "y": 424,\r
+        "z": "2e8f53e8.88cb5c",\r
+        "wires": [\r
+            [\r
+                "9733527c.74d18"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9733527c.74d18",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 894,\r
+        "y": 426,\r
+        "z": "2e8f53e8.88cb5c",\r
+        "wires": [\r
+            [\r
+                "ff51bcb4.c7ced",\r
+                "878fb3fa.fa008",\r
+                "22f05ed0.396902"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ff51bcb4.c7ced",\r
+        "type": "record",\r
+        "name": "record",\r
+        "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\n<parameter name=\"VFMODULEID\" value=\"`$tmp.aai-data-vm.relationship-list.relationship[$p].relationship-data[$q].relationship-value`\"/>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1066,\r
+        "y": 421,\r
+        "z": "2e8f53e8.88cb5c",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "878fb3fa.fa008",\r
+        "type": "set",\r
+        "name": "set tmp.vf-module-id",\r
+        "xml": "<set>\n<parameter name='tmp.vf-module-id' value='`$tmp.aai-data-vm.relationship-list.relationship[$p].relationship-data[$q].relationship-value`' />\n",\r
+        "comments": "",\r
+        "x": 1088,\r
+        "y": 461,\r
+        "z": "2e8f53e8.88cb5c",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "22f05ed0.396902",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n\n",\r
+        "comments": "",\r
+        "x": 1053,\r
+        "y": 509,\r
+        "z": "2e8f53e8.88cb5c",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "120d0519.89947b",\r
+        "type": "comment",\r
+        "name": "Return failure so that it will exit immediately",\r
+        "info": "",\r
+        "comments": "",\r
+        "x": 729,\r
+        "y": 506,\r
+        "z": "2e8f53e8.88cb5c",\r
+        "wires": []\r
+    }\r
+]\r