summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_GenerateTemplateConfig.json311
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_Generic_AnsibleDG.json492
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_Generic_ChefDG.json299
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_Generic_Configure.json1064
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_GetAaiInfo.json732
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_GetAaiInfoTest.json289
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_GetConfigParams.json1117
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_GetDeviceRunningConfig.json1090
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_GetTemplateConfig_Ansible.json441
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_GetTemplateConfig_Chef.json454
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_GetVfModuleInfo.json403
11 files changed, 6393 insertions, 299 deletions
diff --git a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_GenerateTemplateConfig.json b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_GenerateTemplateConfig.json
index efdc91a62..1fb1736f6 100644
--- a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_GenerateTemplateConfig.json
+++ b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_GenerateTemplateConfig.json
@@ -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":[[]]}]
+[
+ {
+ "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": [
+ []
+ ]
+ }
+]
diff --git a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_Generic_AnsibleDG.json b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_Generic_AnsibleDG.json
index 501e55cd0..bc6d030ba 100644
--- a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_Generic_AnsibleDG.json
+++ b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_Generic_AnsibleDG.json
@@ -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
+[
+ {
+ "id": "b5695572.e1f768",
+ "type": "dgstart",
+ "name": "DGSTART",
+ "outputs": 1,
+ "x": 246.75,
+ "y": 188.38194274902344,
+ "z": "e0baaa9e.9241d8",
+ "wires": [
+ [
+ "188edda2.26da82"
+ ]
+ ]
+ },
+ {
+ "id": "188edda2.26da82",
+ "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": 324.2152862548828,
+ "y": 138,
+ "z": "e0baaa9e.9241d8",
+ "wires": [
+ [
+ "a8cc7c7b.a911c"
+ ]
+ ]
+ },
+ {
+ "id": "a8cc7c7b.a911c",
+ "type": "method",
+ "name": "method Generic_AnsibleDG",
+ "xml": "<method rpc='Generic_AnsibleDG' mode='sync'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 575.7777862548828,
+ "y": 138,
+ "z": "e0baaa9e.9241d8",
+ "wires": [
+ [
+ "42d7ac6f.bd3da4"
+ ]
+ ]
+ },
+ {
+ "id": "e00096a6.7888c8",
+ "type": "call",
+ "name": "call: ansible-adapter-1.0",
+ "xml": "<call module=\"APPC\" rpc=\"ansible-adapter-1.0\" mode=\"sync\">",
+ "comments": "",
+ "outputs": 1,
+ "x": 415.1322479248047,
+ "y": 789.0123748779297,
+ "z": "e0baaa9e.9241d8",
+ "wires": [
+ [
+ "dd503c7d.4cc9c",
+ "515c4830.7e8bf",
+ "8dc86977.b38688"
+ ]
+ ]
+ },
+ {
+ "id": "784c8fbc.57a35",
+ "type": "execute",
+ "name": "execute params",
+ "xml": " <execute plugin=\"org.onap.appc.encryptiontool.wrapper.EncryptionToolDGWrapper\" method =\"getProperty\">\n <parameter name=\"prefix\" value =\"property\"/>\n\n \n ",
+ "comments": "",
+ "outputs": 1,
+ "x": 635.5484161376953,
+ "y": 411.40953063964844,
+ "z": "e0baaa9e.9241d8",
+ "wires": [
+ [
+ "36822bdd.3c9f4c",
+ "14c5365c.bf1ae2"
+ ]
+ ]
+ },
+ {
+ "id": "6282ba56.52f5dc",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value=\"401\" />\n<parameter name='error-message' value=\"`$property.error-message`\" />\n",
+ "comments": "",
+ "x": 1270.5695495605469,
+ "y": 705.9290771484375,
+ "z": "e0baaa9e.9241d8",
+ "wires": []
+ },
+ {
+ "id": "4bbf0c97.541b6c",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1101.840202331543,
+ "y": 706.1082782745361,
+ "z": "e0baaa9e.9241d8",
+ "wires": [
+ [
+ "6282ba56.52f5dc"
+ ]
+ ]
+ },
+ {
+ "id": "14c5365c.bf1ae2",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 903.7777557373047,
+ "y": 703.7290954589844,
+ "z": "e0baaa9e.9241d8",
+ "wires": [
+ [
+ "4bbf0c97.541b6c"
+ ]
+ ]
+ },
+ {
+ "id": "36822bdd.3c9f4c",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 884.7904510498047,
+ "y": 637.5832824707031,
+ "z": "e0baaa9e.9241d8",
+ "wires": [
+ [
+ "4bbf0c97.541b6c"
+ ]
+ ]
+ },
+ {
+ "id": "712b83f9.f9d13c",
+ "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,NodeList\" />\n<parameter name=\"responsePrefix\" value=\"tmp.convertnode\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 686.3645477294922,
+ "y": 227.9910430908203,
+ "z": "e0baaa9e.9241d8",
+ "wires": [
+ [
+ "59d56560.86430c",
+ "b723b3b5.45f6e8"
+ ]
+ ]
+ },
+ {
+ "id": "2addd9a1.c88c26",
+ "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='`$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",
+ "comments": "",
+ "x": 537.6720733642578,
+ "y": 687.3932952880859,
+ "z": "e0baaa9e.9241d8",
+ "wires": []
+ },
+ {
+ "id": "b723b3b5.45f6e8",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 969.6027374267578,
+ "y": 259.64585876464844,
+ "z": "e0baaa9e.9241d8",
+ "wires": [
+ [
+ "8dccb387.ae749"
+ ]
+ ]
+ },
+ {
+ "id": "59d56560.86430c",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 965.4360504150391,
+ "y": 317.92918395996094,
+ "z": "e0baaa9e.9241d8",
+ "wires": [
+ [
+ "63752d22.117204"
+ ]
+ ]
+ },
+ {
+ "id": "8dccb387.ae749",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1092.2694854736328,
+ "y": 263.81248474121094,
+ "z": "e0baaa9e.9241d8",
+ "wires": [
+ [
+ "a7ab8921.136fd"
+ ]
+ ]
+ },
+ {
+ "id": "63752d22.117204",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1091.6026763916016,
+ "y": 325.29576110839844,
+ "z": "e0baaa9e.9241d8",
+ "wires": [
+ [
+ "904c921.5af1af"
+ ]
+ ]
+ },
+ {
+ "id": "904c921.5af1af",
+ "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": 1240.8026275634766,
+ "y": 327.4791717529297,
+ "z": "e0baaa9e.9241d8",
+ "wires": []
+ },
+ {
+ "id": "42d7ac6f.bd3da4",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 371.869384765625,
+ "y": 250.5791015625,
+ "z": "e0baaa9e.9241d8",
+ "wires": [
+ [
+ "712b83f9.f9d13c",
+ "784c8fbc.57a35",
+ "e00096a6.7888c8",
+ "2addd9a1.c88c26",
+ "ba353d30.9cba68",
+ "d73c3e3f.a0265",
+ "e3e0839e.5ac55",
+ "2c49a4ef.2b4054",
+ "bbcf695c.7db238"
+ ]
+ ]
+ },
+ {
+ "id": "a7ab8921.136fd",
+ "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": 1234.835952758789,
+ "y": 261.2124481201172,
+ "z": "e0baaa9e.9241d8",
+ "wires": []
+ },
+ {
+ "id": "f3ff11af.e308e",
+ "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": 1124.7217254638672,
+ "y": 857.5862731933594,
+ "z": "e0baaa9e.9241d8",
+ "wires": []
+ },
+ {
+ "id": "dd503c7d.4cc9c",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 838.5193634033203,
+ "y": 839.1625366210938,
+ "z": "e0baaa9e.9241d8",
+ "wires": [
+ [
+ "f3ff11af.e308e"
+ ]
+ ]
+ },
+ {
+ "id": "515c4830.7e8bf",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 814.7194366455078,
+ "y": 921.7124633789062,
+ "z": "e0baaa9e.9241d8",
+ "wires": [
+ [
+ "5de54d.eecbb2b4"
+ ]
+ ]
+ },
+ {
+ "id": "ba353d30.9cba68",
+ "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='EnvParameters' value='`$block_EnvParameters`'/>\n<parameter name='Timeout' value='`$block_Timeout`'/>\n\n\n\n",
+ "comments": "",
+ "x": 686.1944732666016,
+ "y": 284.6041717529297,
+ "z": "e0baaa9e.9241d8",
+ "wires": []
+ },
+ {
+ "id": "5de54d.eecbb2b4",
+ "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": 1069.3611297607422,
+ "y": 965.6280212402344,
+ "z": "e0baaa9e.9241d8",
+ "wires": []
+ },
+ {
+ "id": "b172801d.e502f",
+ "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": 853.6468963623047,
+ "y": 1062.7708435058594,
+ "z": "e0baaa9e.9241d8",
+ "wires": []
+ },
+ {
+ "id": "8dc86977.b38688",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 612.2183074951172,
+ "y": 1003.5804138183594,
+ "z": "e0baaa9e.9241d8",
+ "wires": [
+ [
+ "b172801d.e502f"
+ ]
+ ]
+ },
+ {
+ "id": "d73c3e3f.a0265",
+ "type": "record",
+ "name": "record",
+ "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`'/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 552.9278106689453,
+ "y": 590.7375946044922,
+ "z": "e0baaa9e.9241d8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "e3e0839e.5ac55",
+ "type": "set",
+ "name": "set properties",
+ "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",
+ "comments": "",
+ "x": 607.7555389404297,
+ "y": 490.44859313964844,
+ "z": "e0baaa9e.9241d8",
+ "wires": []
+ },
+ {
+ "id": "2c49a4ef.2b4054",
+ "type": "get-resource",
+ "name": "get-resource: APPC.protocol",
+ "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",
+ "comments": "",
+ "outputs": 1,
+ "x": 680.8610992431641,
+ "y": 334.40415954589844,
+ "z": "e0baaa9e.9241d8",
+ "wires": [
+ [
+ "5639d27.5b0172c",
+ "67033f80.598758"
+ ]
+ ]
+ },
+ {
+ "id": "b743b90d.bf9438",
+ "type": "set",
+ "name": "set protocol",
+ "xml": "<set>\n<parameter name='APPC.protocol.PROTOCOL' value='`$APPC.protocol.PROTOCOL`' />\n\n\n\n\n\n",
+ "comments": "",
+ "x": 1115.861099243164,
+ "y": 439.40415954589844,
+ "z": "e0baaa9e.9241d8",
+ "wires": []
+ },
+ {
+ "id": "5639d27.5b0172c",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 932.8610992431641,
+ "y": 385.40415954589844,
+ "z": "e0baaa9e.9241d8",
+ "wires": [
+ [
+ "d70f7795.117818"
+ ]
+ ]
+ },
+ {
+ "id": "d70f7795.117818",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1079.861099243164,
+ "y": 394.40415954589844,
+ "z": "e0baaa9e.9241d8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "67033f80.598758",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 929.8610992431641,
+ "y": 434.40415954589844,
+ "z": "e0baaa9e.9241d8",
+ "wires": [
+ [
+ "b743b90d.bf9438"
+ ]
+ ]
+ },
+ {
+ "id": "bbcf695c.7db238",
+ "type": "record",
+ "name": "record",
+ "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`'/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 717.8610992431641,
+ "y": 371.40415954589844,
+ "z": "e0baaa9e.9241d8",
+ "wires": [
+ []
+ ]
+ }
+]
diff --git a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_Generic_ChefDG.json b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_Generic_ChefDG.json
index ffff09a51..108b18902 100644
--- a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_Generic_ChefDG.json
+++ b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_Generic_ChefDG.json
@@ -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
+[
+ {
+ "id": "a9dcf839.eac1a8",
+ "type": "dgstart",
+ "name": "DGSTART",
+ "outputs": 1,
+ "x": 147.99998474121094,
+ "y": 84.99999237060547,
+ "z": "f13a1edb.5272f",
+ "wires": [
+ [
+ "dc39031.bd932"
+ ]
+ ]
+ },
+ {
+ "id": "dc39031.bd932",
+ "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": 352.68748474121094,
+ "y": 74.06249237060547,
+ "z": "f13a1edb.5272f",
+ "wires": [
+ [
+ "cb3088c3.599928"
+ ]
+ ]
+ },
+ {
+ "id": "cb3088c3.599928",
+ "type": "method",
+ "name": "method Generic_ChefDG",
+ "xml": "<method rpc='Generic_ChefDG' mode='sync'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 295.4999542236328,
+ "y": 157.81249237060547,
+ "z": "f13a1edb.5272f",
+ "wires": [
+ [
+ "a99e2419.e81f68"
+ ]
+ ]
+ },
+ {
+ "id": "f049286e.b856d8",
+ "type": "call",
+ "name": "call:chef",
+ "xml": "<call module=\"APPC\" rpc=\"chef\" mode=\"sync\">",
+ "comments": "",
+ "outputs": 1,
+ "x": 546.1044464111328,
+ "y": 406.32479095458984,
+ "z": "f13a1edb.5272f",
+ "wires": [
+ [
+ "5b4b7ea5.650cc",
+ "11cdb4f4.74a2cb",
+ "15443187.24779e"
+ ]
+ ]
+ },
+ {
+ "id": "1e8105ce.57ef0a",
+ "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,Environment,Node,NodeList,retryTimes,retryInterval,GetOutputFlag,PushJobFlag\" />\n<parameter name=\"responsePrefix\" value=\"tmp.convertnode\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 648.6700592041016,
+ "y": 284.7797164916992,
+ "z": "f13a1edb.5272f",
+ "wires": [
+ [
+ "a13c2098.cd224",
+ "f7024f6d.a8e37"
+ ]
+ ]
+ },
+ {
+ "id": "f7024f6d.a8e37",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 970.4084625244141,
+ "y": 273.70848846435547,
+ "z": "f13a1edb.5272f",
+ "wires": [
+ [
+ "ff28a0db.d0d66"
+ ]
+ ]
+ },
+ {
+ "id": "a13c2098.cd224",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 982.2414703369141,
+ "y": 302.32503509521484,
+ "z": "f13a1edb.5272f",
+ "wires": [
+ [
+ "31d13255.c89f7e"
+ ]
+ ]
+ },
+ {
+ "id": "ff28a0db.d0d66",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1134.741714477539,
+ "y": 274.54166412353516,
+ "z": "f13a1edb.5272f",
+ "wires": [
+ [
+ "f2ce1788.5dd7d8"
+ ]
+ ]
+ },
+ {
+ "id": "31d13255.c89f7e",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1131.408218383789,
+ "y": 313.69161224365234,
+ "z": "f13a1edb.5272f",
+ "wires": [
+ [
+ "cc3a80c0.2bcc2"
+ ]
+ ]
+ },
+ {
+ "id": "cc3a80c0.2bcc2",
+ "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": 1297.941421508789,
+ "y": 312.2083206176758,
+ "z": "f13a1edb.5272f",
+ "wires": []
+ },
+ {
+ "id": "a99e2419.e81f68",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 270.84181213378906,
+ "y": 253.14159393310547,
+ "z": "f13a1edb.5272f",
+ "wires": [
+ [
+ "f049286e.b856d8",
+ "1e8105ce.57ef0a",
+ "eda0998d.e2b278",
+ "bf32b2cc.94fce"
+ ]
+ ]
+ },
+ {
+ "id": "f2ce1788.5dd7d8",
+ "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": 1294.641616821289,
+ "y": 273.60828399658203,
+ "z": "f13a1edb.5272f",
+ "wires": []
+ },
+ {
+ "id": "a04ff52f.831368",
+ "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": 1047.6583404541016,
+ "y": 428.2916488647461,
+ "z": "f13a1edb.5272f",
+ "wires": []
+ },
+ {
+ "id": "5b4b7ea5.650cc",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 828.2415924072266,
+ "y": 428.97505950927734,
+ "z": "f13a1edb.5272f",
+ "wires": [
+ [
+ "a04ff52f.831368"
+ ]
+ ]
+ },
+ {
+ "id": "11cdb4f4.74a2cb",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 813.1916656494141,
+ "y": 510.2749252319336,
+ "z": "f13a1edb.5272f",
+ "wires": [
+ [
+ "4c44b51c.c6751c"
+ ]
+ ]
+ },
+ {
+ "id": "eda0998d.e2b278",
+ "type": "record",
+ "name": "record",
+ "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`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 570.9449615478516,
+ "y": 206.04497528076172,
+ "z": "f13a1edb.5272f",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "15443187.24779e",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 799.2222442626953,
+ "y": 607.5832748413086,
+ "z": "f13a1edb.5272f",
+ "wires": [
+ [
+ "11a23fd1.0b2d3"
+ ]
+ ]
+ },
+ {
+ "id": "11a23fd1.0b2d3",
+ "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": 1017.5556182861328,
+ "y": 605.0832748413086,
+ "z": "f13a1edb.5272f",
+ "wires": []
+ },
+ {
+ "id": "4c44b51c.c6751c",
+ "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": 1047.972183227539,
+ "y": 518.0556259155273,
+ "z": "f13a1edb.5272f",
+ "wires": []
+ },
+ {
+ "id": "bf32b2cc.94fce",
+ "type": "set",
+ "name": "set Payload params ",
+ "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",
+ "comments": "",
+ "x": 678.0000152587891,
+ "y": 347.99999237060547,
+ "z": "f13a1edb.5272f",
+ "wires": []
+ }
+]
diff --git a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_Generic_Configure.json b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_Generic_Configure.json
index 1379f645d..ad1aeaddc 100644
--- a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_Generic_Configure.json
+++ b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_Generic_Configure.json
@@ -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":[]}]
+[
+ {
+ "id": "61d37abe.82cd64",
+ "type": "dgstart",
+ "name": "DGSTART",
+ "outputs": 1,
+ "x": 84.28573608398438,
+ "y": 119.42857360839844,
+ "z": "285db0f2.06375",
+ "wires": [
+ [
+ "8423b79b.d7cec8"
+ ]
+ ]
+ },
+ {
+ "id": "8423b79b.d7cec8",
+ "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": 247.28573608398438,
+ "y": 109.42857360839844,
+ "z": "285db0f2.06375",
+ "wires": [
+ [
+ "c1e3b38c.2f63f8"
+ ]
+ ]
+ },
+ {
+ "id": "c1e3b38c.2f63f8",
+ "type": "method",
+ "name": "method Generic_Configure",
+ "xml": "<method rpc='Generic_Configure' mode='sync'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 462.2857360839844,
+ "y": 101.42857360839844,
+ "z": "285db0f2.06375",
+ "wires": [
+ [
+ "6c0716c5.8d7c4"
+ ]
+ ]
+ },
+ {
+ "id": "6c0716c5.8d7c4",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 81.28573608398438,
+ "y": 244.7618989944458,
+ "z": "285db0f2.06375",
+ "wires": [
+ [
+ "631bacee.3786bc",
+ "84032bec.a688d",
+ "7804109c.c266",
+ "76262d39.a182fc",
+ "a333263.a3f5058",
+ "9c2591d5.def7f",
+ "924230.050aadd",
+ "ff3926e6.0b79d"
+ ]
+ ]
+ },
+ {
+ "id": "631bacee.3786bc",
+ "type": "call",
+ "name": "call: DownloadConfig",
+ "xml": "<call module=\"APPC\" rpc=\"`$tmp.configureactiondg.DOWNLOAD-CONFIG-DG`\" mode=\"sync\">",
+ "comments": "",
+ "outputs": 1,
+ "x": 304.8730163574219,
+ "y": 608.0159301757812,
+ "z": "285db0f2.06375",
+ "wires": [
+ [
+ "5a3b601a.374b",
+ "804e66f1.5cf248",
+ "1a953b4d.331fc5"
+ ]
+ ]
+ },
+ {
+ "id": "5a3b601a.374b",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 577.2380981445312,
+ "y": 526.111083984375,
+ "z": "285db0f2.06375",
+ "wires": [
+ [
+ "efcc7633.772ba8"
+ ]
+ ]
+ },
+ {
+ "id": "804e66f1.5cf248",
+ "type": "failure",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 594.2024345397949,
+ "y": 624.9286823272705,
+ "z": "285db0f2.06375",
+ "wires": [
+ [
+ "2c5dd8ce.28ae88"
+ ]
+ ]
+ },
+ {
+ "id": "1a953b4d.331fc5",
+ "type": "success",
+ "name": " success",
+ "xml": "<outcome value=\"success\">",
+ "comments": "",
+ "outputs": 1,
+ "x": 542.5357475280762,
+ "y": 817.2619380950928,
+ "z": "285db0f2.06375",
+ "wires": [
+ [
+ "3084d7e.c6c89a8"
+ ]
+ ]
+ },
+ {
+ "id": "efcc7633.772ba8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 781.6190185546875,
+ "y": 514.6190795898438,
+ "z": "285db0f2.06375",
+ "wires": [
+ [
+ "3e7902ac.0f9fe6",
+ "325f4a9b.803c4e",
+ "28140a27.57ead6"
+ ]
+ ]
+ },
+ {
+ "id": "2c5dd8ce.28ae88",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 777.1190643310547,
+ "y": 670.095308303833,
+ "z": "285db0f2.06375",
+ "wires": [
+ [
+ "fb347bda.285858"
+ ]
+ ]
+ },
+ {
+ "id": "3084d7e.c6c89a8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 748.5357475280762,
+ "y": 808.5119380950928,
+ "z": "285db0f2.06375",
+ "wires": [
+ [
+ "8f8a8b2.9140078",
+ "fcfff614.97d76",
+ "f359c38b.fbc24",
+ "6bf58f1f.85fe98"
+ ]
+ ]
+ },
+ {
+ "id": "3e7902ac.0f9fe6",
+ "type": "record",
+ "name": "record",
+ "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",
+ "comments": "",
+ "outputs": 1,
+ "x": 1044.5080299377441,
+ "y": 433.98411560058594,
+ "z": "285db0f2.06375",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "fb347bda.285858",
+ "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": 1180.535758972168,
+ "y": 694.8452472686768,
+ "z": "285db0f2.06375",
+ "wires": []
+ },
+ {
+ "id": "8f8a8b2.9140078",
+ "type": "record",
+ "name": "record",
+ "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\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1039.0357513427734,
+ "y": 804.2619338035583,
+ "z": "285db0f2.06375",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "325f4a9b.803c4e",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status=\"failure\">\n\t",
+ "comments": "",
+ "x": 1061.0635833740234,
+ "y": 597.5396661758423,
+ "z": "285db0f2.06375",
+ "wires": []
+ },
+ {
+ "id": "84032bec.a688d",
+ "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='`$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",
+ "comments": "",
+ "x": 326.74603271484375,
+ "y": 505.68243408203125,
+ "z": "285db0f2.06375",
+ "wires": []
+ },
+ {
+ "id": "fcfff614.97d76",
+ "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": 1056.8690032958984,
+ "y": 755.4286212921143,
+ "z": "285db0f2.06375",
+ "wires": []
+ },
+ {
+ "id": "81444e09.a0133",
+ "type": "comment",
+ "name": "ConfigCompAdaptor resets error code for success cases",
+ "info": "",
+ "comments": "",
+ "x": 1411.0357666015625,
+ "y": 752.4286251068115,
+ "z": "285db0f2.06375",
+ "wires": []
+ },
+ {
+ "id": "7804109c.c266",
+ "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": 419.2698059082031,
+ "y": 222.6349639892578,
+ "z": "285db0f2.06375",
+ "wires": [
+ [
+ "f44893b1.e8784"
+ ]
+ ]
+ },
+ {
+ "id": "f359c38b.fbc24",
+ "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": 1039.2857513427734,
+ "y": 875.8452529907227,
+ "z": "285db0f2.06375",
+ "wires": [
+ [
+ "e8b248c8.a2d1c8"
+ ]
+ ]
+ },
+ {
+ "id": "48ae0cb6.816864",
+ "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": 1837.1746711730957,
+ "y": 599.6507911682129,
+ "z": "285db0f2.06375",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "e35b4c6.218223",
+ "type": "set",
+ "name": "set tmp.message",
+ "xml": "<set>\n<parameter name='tmp.message' value=\"`'Download Failure : ' + $error-code + ' : ' + $error-message`\" />\n",
+ "comments": "",
+ "x": 1838.3967590332031,
+ "y": 525.9841232299805,
+ "z": "285db0f2.06375",
+ "wires": []
+ },
+ {
+ "id": "28140a27.57ead6",
+ "type": "switchNode",
+ "name": "switch: error-code",
+ "xml": "<switch test=\"`$error-code`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1070.28564453125,
+ "y": 505.09520530700684,
+ "z": "285db0f2.06375",
+ "wires": [
+ [
+ "bfd4e5f2.1ecdb",
+ "c962e995.964488"
+ ]
+ ]
+ },
+ {
+ "id": "bfd4e5f2.1ecdb",
+ "type": "success",
+ "name": "outcome: 400",
+ "xml": "<outcome value=\"400\">",
+ "comments": "",
+ "outputs": 1,
+ "x": 1265.9524307250977,
+ "y": 447.76190185546875,
+ "z": "285db0f2.06375",
+ "wires": [
+ [
+ "817eeef5.e90f38"
+ ]
+ ]
+ },
+ {
+ "id": "817eeef5.e90f38",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 1500.952407836914,
+ "y": 445.3174810409546,
+ "z": "285db0f2.06375",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "c962e995.964488",
+ "type": "success",
+ "name": "outcome: Other",
+ "xml": "<outcome value=\"Other\">",
+ "comments": "",
+ "outputs": 1,
+ "x": 1276.9523620605469,
+ "y": 530.539665222168,
+ "z": "285db0f2.06375",
+ "wires": [
+ [
+ "c25ad54c.2de7a8"
+ ]
+ ]
+ },
+ {
+ "id": "c25ad54c.2de7a8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 1500.3967742919922,
+ "y": 532.6508045196533,
+ "z": "285db0f2.06375",
+ "wires": [
+ [
+ "e35b4c6.218223",
+ "48ae0cb6.816864"
+ ]
+ ]
+ },
+ {
+ "id": "af4ae47d.be227",
+ "type": "comment",
+ "name": "ISBC cases returns failure to stop polling",
+ "info": "",
+ "comments": "",
+ "x": 1550.9522705078125,
+ "y": 345.9840974807739,
+ "z": "285db0f2.06375",
+ "wires": []
+ },
+ {
+ "id": "e8b248c8.a2d1c8",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1235.2023849487305,
+ "y": 871.4286270141602,
+ "z": "285db0f2.06375",
+ "wires": [
+ [
+ "7a66cbd7.d92d5c"
+ ]
+ ]
+ },
+ {
+ "id": "7a66cbd7.d92d5c",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 1408.7857627868652,
+ "y": 872.9286270141602,
+ "z": "285db0f2.06375",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f44893b1.e8784",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 584.9524230957031,
+ "y": 247.09519958496094,
+ "z": "285db0f2.06375",
+ "wires": [
+ [
+ "72adbd63.dc9ac4"
+ ]
+ ]
+ },
+ {
+ "id": "72adbd63.dc9ac4",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 736.1746520996094,
+ "y": 245.98411560058594,
+ "z": "285db0f2.06375",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "6bf58f1f.85fe98",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 1004.2857513427734,
+ "y": 950.0951328277588,
+ "z": "285db0f2.06375",
+ "wires": [
+ [
+ "5119c46c.b2c834",
+ "cde8c474.69f89"
+ ]
+ ]
+ },
+ {
+ "id": "cde8c474.69f89",
+ "type": "call",
+ "name": "call: SaveRunningConfig",
+ "xml": "<call module=\"APPC\" rpc=\"SaveRunningConfig\" mode=\"sync\">",
+ "comments": "",
+ "outputs": 1,
+ "x": 1264.0357513427734,
+ "y": 948.928505897522,
+ "z": "285db0f2.06375",
+ "wires": [
+ [
+ "e8122e51.2f1118"
+ ]
+ ]
+ },
+ {
+ "id": "5119c46c.b2c834",
+ "type": "switchNode",
+ "name": "switch: request-action",
+ "xml": "<switch test=\"`$request-action`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1218.7856330871582,
+ "y": 1040.5951290130615,
+ "z": "285db0f2.06375",
+ "wires": [
+ [
+ "cc8bbfb7.1f569",
+ "714a8c07.043b74"
+ ]
+ ]
+ },
+ {
+ "id": "cc8bbfb7.1f569",
+ "type": "other",
+ "name": "Configure",
+ "xml": "<outcome value='Configure'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1466.0356369018555,
+ "y": 1030.511754989624,
+ "z": "285db0f2.06375",
+ "wires": [
+ [
+ "e8957f63.e948e8"
+ ]
+ ]
+ },
+ {
+ "id": "714a8c07.043b74",
+ "type": "other",
+ "name": "ConfigScale",
+ "xml": "<outcome value='ConfigScale'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1470.785758972168,
+ "y": 1097.5951299667358,
+ "z": "285db0f2.06375",
+ "wires": [
+ [
+ "e8957f63.e948e8"
+ ]
+ ]
+ },
+ {
+ "id": "e8957f63.e948e8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 1748.2022705078125,
+ "y": 1077.6785097122192,
+ "z": "285db0f2.06375",
+ "wires": [
+ [
+ "733ba7f3.56f7d"
+ ]
+ ]
+ },
+ {
+ "id": "733ba7f3.56f7d",
+ "type": "call",
+ "name": "call: UpdateAaiInfo",
+ "xml": "<call module=\"APPC\" rpc=\"UpdateAaiInfo\" mode=\"sync\">",
+ "comments": "",
+ "outputs": 1,
+ "x": 769.6191825866699,
+ "y": 1188.0118789672852,
+ "z": "285db0f2.06375",
+ "wires": [
+ [
+ "d9f6f7d6.2125b8"
+ ]
+ ]
+ },
+ {
+ "id": "d9f6f7d6.2125b8",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 977.2024917602539,
+ "y": 1192.2618799209595,
+ "z": "285db0f2.06375",
+ "wires": [
+ [
+ "6e506adf.2422a4"
+ ]
+ ]
+ },
+ {
+ "id": "6e506adf.2422a4",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1171.3690032958984,
+ "y": 1193.8451347351074,
+ "z": "285db0f2.06375",
+ "wires": [
+ [
+ "69c05144.643008",
+ "6a796326.9a5d0c"
+ ]
+ ]
+ },
+ {
+ "id": "69c05144.643008",
+ "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": 1478.535758972168,
+ "y": 1168.4285044670105,
+ "z": "285db0f2.06375",
+ "wires": []
+ },
+ {
+ "id": "6a796326.9a5d0c",
+ "type": "record",
+ "name": "record",
+ "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",
+ "comments": "",
+ "outputs": 1,
+ "x": 1421.4523887634277,
+ "y": 1214.6785068511963,
+ "z": "285db0f2.06375",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "9fa67fcc.8cbfb8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1670.369010925293,
+ "y": 949.0951337814331,
+ "z": "285db0f2.06375",
+ "wires": [
+ [
+ "56905444.ee048c",
+ "a6130136.14cf"
+ ]
+ ]
+ },
+ {
+ "id": "e8122e51.2f1118",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1477.869010925293,
+ "y": 948.8451337814331,
+ "z": "285db0f2.06375",
+ "wires": [
+ [
+ "9fa67fcc.8cbfb8"
+ ]
+ ]
+ },
+ {
+ "id": "56905444.ee048c",
+ "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": 1979.2857666015625,
+ "y": 951.3451318740845,
+ "z": "285db0f2.06375",
+ "wires": []
+ },
+ {
+ "id": "a6130136.14cf",
+ "type": "record",
+ "name": "record",
+ "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",
+ "comments": "",
+ "outputs": 1,
+ "x": 1923.78564453125,
+ "y": 1006.1785078048706,
+ "z": "285db0f2.06375",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "76262d39.a182fc",
+ "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": 460.4920959472656,
+ "y": 176.47618103027344,
+ "z": "285db0f2.06375",
+ "wires": [
+ [
+ "5b5f729f.d2e9dc",
+ "1ef0e43c.497fbc"
+ ]
+ ]
+ },
+ {
+ "id": "5b5f729f.d2e9dc",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 730.0635681152344,
+ "y": 154.09521484375,
+ "z": "285db0f2.06375",
+ "wires": [
+ [
+ "61354486.d04ddc"
+ ]
+ ]
+ },
+ {
+ "id": "61354486.d04ddc",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 867.0635681152344,
+ "y": 158.09521484375,
+ "z": "285db0f2.06375",
+ "wires": [
+ [
+ "356ae353.38975c"
+ ]
+ ]
+ },
+ {
+ "id": "356ae353.38975c",
+ "type": "record",
+ "name": "record",
+ "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",
+ "comments": "",
+ "outputs": 1,
+ "x": 1018.0635681152344,
+ "y": 155.09521484375,
+ "z": "285db0f2.06375",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "1ef0e43c.497fbc",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 728.0634765625,
+ "y": 204.2380828857422,
+ "z": "285db0f2.06375",
+ "wires": [
+ [
+ "822988bb.6c77c"
+ ]
+ ]
+ },
+ {
+ "id": "822988bb.6c77c",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 859.3968200683594,
+ "y": 216.42860412597656,
+ "z": "285db0f2.06375",
+ "wires": [
+ [
+ "45133d81.5404ec"
+ ]
+ ]
+ },
+ {
+ "id": "45133d81.5404ec",
+ "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": 1017.0634155273438,
+ "y": 221.14280700683594,
+ "z": "285db0f2.06375",
+ "wires": []
+ },
+ {
+ "id": "de8fcfa2.bd48e",
+ "type": "execute",
+ "name": "execute params",
+ "xml": " <execute plugin=\"org.onap.appc.encryptiontool.wrapper.EncryptionToolDGWrapper\" method =\"getProperty\">\n <parameter name=\"prefix\" value =\"property\"/>\n\n \n ",
+ "comments": "",
+ "outputs": 1,
+ "x": 449.78961181640625,
+ "y": 440.357177734375,
+ "z": "285db0f2.06375",
+ "wires": [
+ [
+ "d9220a62.de752",
+ "eeb5df0e.d7827"
+ ]
+ ]
+ },
+ {
+ "id": "d9220a62.de752",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 605.2539672851562,
+ "y": 416.96429443359375,
+ "z": "285db0f2.06375",
+ "wires": [
+ [
+ "c03a5b17.52d19"
+ ]
+ ]
+ },
+ {
+ "id": "eeb5df0e.d7827",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 608.6468505859375,
+ "y": 452.67840576171875,
+ "z": "285db0f2.06375",
+ "wires": [
+ [
+ "c03a5b17.52d19"
+ ]
+ ]
+ },
+ {
+ "id": "c03a5b17.52d19",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 788.6467895507812,
+ "y": 419.2857360839844,
+ "z": "285db0f2.06375",
+ "wires": [
+ [
+ "45b54218.56b09c"
+ ]
+ ]
+ },
+ {
+ "id": "45b54218.56b09c",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status=\"failure\">\n<parameter name='error-code' value=\"401\" />\n<parameter name='error-message' value=\"`$property.error-message`\" />",
+ "comments": "",
+ "x": 957.0396118164062,
+ "y": 411.2500305175781,
+ "z": "285db0f2.06375",
+ "wires": []
+ },
+ {
+ "id": "a333263.a3f5058",
+ "type": "get-resource",
+ "name": "get-resource: APPC.protocol",
+ "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",
+ "comments": "",
+ "outputs": 1,
+ "x": 418.4284973144531,
+ "y": 272.2857666015625,
+ "z": "285db0f2.06375",
+ "wires": [
+ [
+ "c052a17a.5bc6e",
+ "81e83b37.11f208"
+ ]
+ ]
+ },
+ {
+ "id": "c052a17a.5bc6e",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 636.2857360839844,
+ "y": 289.42857360839844,
+ "z": "285db0f2.06375",
+ "wires": [
+ [
+ "499f48a.6c30ab8"
+ ]
+ ]
+ },
+ {
+ "id": "499f48a.6c30ab8",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 766.2857360839844,
+ "y": 286.42857360839844,
+ "z": "285db0f2.06375",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "81e83b37.11f208",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 638.2857360839844,
+ "y": 329.42857360839844,
+ "z": "285db0f2.06375",
+ "wires": [
+ [
+ "3b23aa3d.9ed0ee"
+ ]
+ ]
+ },
+ {
+ "id": "3b23aa3d.9ed0ee",
+ "type": "set",
+ "name": "set protocol",
+ "xml": "<set>\n<parameter name='APPC.protocol.PROTOCOL' value='`$APPC.protocol.PROTOCOL`' />\n\n\n\n\n\n",
+ "comments": "",
+ "x": 818.2857360839844,
+ "y": 326.42857360839844,
+ "z": "285db0f2.06375",
+ "wires": []
+ },
+ {
+ "id": "9c2591d5.def7f",
+ "type": "record",
+ "name": "record",
+ "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`'/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 360.4285888671875,
+ "y": 318.2857360839844,
+ "z": "285db0f2.06375",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "924230.050aadd",
+ "type": "set",
+ "name": "set Download params",
+ "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 ",
+ "comments": "",
+ "x": 318.5714111328125,
+ "y": 553.857177734375,
+ "z": "285db0f2.06375",
+ "wires": []
+ },
+ {
+ "id": "20606bf4.018594",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 308.4522705078125,
+ "y": 407.30926513671875,
+ "z": "285db0f2.06375",
+ "wires": [
+ [
+ "de8fcfa2.bd48e"
+ ]
+ ]
+ },
+ {
+ "id": "ff3926e6.0b79d",
+ "type": "switchNode",
+ "name": "switch : Protocol",
+ "xml": "<switch test=\"`$APPC.protocol.PROTOCOL`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 224.1666259765625,
+ "y": 355.8809509277344,
+ "z": "285db0f2.06375",
+ "wires": [
+ [
+ "d7f8d6e5.1b2da8",
+ "20606bf4.018594"
+ ]
+ ]
+ },
+ {
+ "id": "d7f8d6e5.1b2da8",
+ "type": "outcome",
+ "name": "CHEF",
+ "xml": "<outcome value='CHEF'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 439.88092041015625,
+ "y": 364.452392578125,
+ "z": "285db0f2.06375",
+ "wires": [
+ [
+ "45809dc8.5741ac"
+ ]
+ ]
+ },
+ {
+ "id": "45809dc8.5741ac",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 654.452392578125,
+ "y": 365.5714111328125,
+ "z": "285db0f2.06375",
+ "wires": [
+ []
+ ]
+ }
+] \ No newline at end of file
diff --git a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_GetAaiInfo.json b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_GetAaiInfo.json
index 047b5c5ea..5721fe8ff 100644
--- a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_GetAaiInfo.json
+++ b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_GetAaiInfo.json
@@ -1,289 +1,443 @@
-[
- {
- "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"
- }
-]
+[
+ {
+ "id": "fd664e28.5fb7b8",
+ "type": "dgstart",
+ "name": "DGSTART",
+ "outputs": 1,
+ "x": 406.75,
+ "y": 201,
+ "z": "60af662c.e2145",
+ "wires": [
+ [
+ "49bd57e3.c95a8"
+ ]
+ ]
+ },
+ {
+ "id": "49bd57e3.c95a8",
+ "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": 575.75,
+ "y": 201,
+ "z": "60af662c.e2145",
+ "wires": [
+ [
+ "394293e8.13c9d4"
+ ]
+ ]
+ },
+ {
+ "id": "394293e8.13c9d4",
+ "type": "method",
+ "name": "method GetAaiInfo",
+ "xml": "<method rpc='GetAaiInfo' mode='sync'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 788.75,
+ "y": 200,
+ "z": "60af662c.e2145",
+ "wires": [
+ [
+ "dec0584c.742078"
+ ]
+ ]
+ },
+ {
+ "id": "dec0584c.742078",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 414.75,
+ "y": 283,
+ "z": "60af662c.e2145",
+ "wires": [
+ [
+ "4e7b7870.3c2198",
+ "cd6b0389.900b48",
+ "36d40c8a.e464ac"
+ ]
+ ]
+ },
+ {
+ "id": "b7482f98.af69b8",
+ "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": 540.25,
+ "y": 696,
+ "z": "60af662c.e2145",
+ "wires": [
+ [
+ "b5b9509f.ca78b8",
+ "a4ecc6aa.1cb878"
+ ]
+ ]
+ },
+ {
+ "id": "b5b9509f.ca78b8",
+ "type": "failure",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 805.25,
+ "y": 698,
+ "z": "60af662c.e2145",
+ "wires": [
+ [
+ "3f0612bf.1e81ce"
+ ]
+ ]
+ },
+ {
+ "id": "a4ecc6aa.1cb878",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 803.25,
+ "y": 740,
+ "z": "60af662c.e2145",
+ "wires": [
+ [
+ "be5bc1a5.b28d9"
+ ]
+ ]
+ },
+ {
+ "id": "3f0612bf.1e81ce",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 953.25,
+ "y": 696,
+ "z": "60af662c.e2145",
+ "wires": [
+ [
+ "47d5a554.1ebeec"
+ ]
+ ]
+ },
+ {
+ "id": "be5bc1a5.b28d9",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 936.25,
+ "y": 740,
+ "z": "60af662c.e2145",
+ "wires": [
+ [
+ "1f63374f.396761"
+ ]
+ ]
+ },
+ {
+ "id": "1f63374f.396761",
+ "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": 1102.25,
+ "y": 741,
+ "z": "60af662c.e2145",
+ "wires": []
+ },
+ {
+ "id": "4e7b7870.3c2198",
+ "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": 653.75,
+ "y": 277,
+ "z": "60af662c.e2145",
+ "wires": [
+ [
+ "93edc50.f871438",
+ "225d3704.da3058"
+ ]
+ ]
+ },
+ {
+ "id": "93edc50.f871438",
+ "type": "failure",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 842.75,
+ "y": 276,
+ "z": "60af662c.e2145",
+ "wires": [
+ [
+ "b2cc3edd.9ce1f8"
+ ]
+ ]
+ },
+ {
+ "id": "b2cc3edd.9ce1f8",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 998.75,
+ "y": 279,
+ "z": "60af662c.e2145",
+ "wires": [
+ [
+ "429d2b70.3872f4"
+ ]
+ ]
+ },
+ {
+ "id": "429d2b70.3872f4",
+ "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 A&amp;AI\" />\n\n\n\t",
+ "comments": "",
+ "x": 1169.75,
+ "y": 281,
+ "z": "60af662c.e2145",
+ "wires": []
+ },
+ {
+ "id": "225d3704.da3058",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 836.75,
+ "y": 331,
+ "z": "60af662c.e2145",
+ "wires": [
+ [
+ "a7c9bd2d.11ba3"
+ ]
+ ]
+ },
+ {
+ "id": "a7c9bd2d.11ba3",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 987.75,
+ "y": 333,
+ "z": "60af662c.e2145",
+ "wires": [
+ [
+ "83e4708.b8ddb1"
+ ]
+ ]
+ },
+ {
+ "id": "83e4708.b8ddb1",
+ "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": 1147.75,
+ "y": 332,
+ "z": "60af662c.e2145",
+ "wires": []
+ },
+ {
+ "id": "cd6b0389.900b48",
+ "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\n",
+ "comments": "",
+ "x": 617.75,
+ "y": 384,
+ "z": "60af662c.e2145",
+ "wires": []
+ },
+ {
+ "id": "47d5a554.1ebeec",
+ "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": 1117.75,
+ "y": 695,
+ "z": "60af662c.e2145",
+ "wires": []
+ },
+ {
+ "id": "36d40c8a.e464ac",
+ "type": "switchNode",
+ "name": "switch action-level",
+ "xml": "<switch test='`$action-level`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 505.75,
+ "y": 523.75,
+ "z": "60af662c.e2145",
+ "wires": [
+ [
+ "b7bf0993.f3e0c8",
+ "2cdf43f1.4b5ebc"
+ ]
+ ]
+ },
+ {
+ "id": "b7bf0993.f3e0c8",
+ "type": "success",
+ "name": "outcome: Other",
+ "xml": "<outcome value='Other'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 719.1666870117188,
+ "y": 575.1666259765625,
+ "z": "60af662c.e2145",
+ "wires": [
+ [
+ "b7482f98.af69b8"
+ ]
+ ]
+ },
+ {
+ "id": "2cdf43f1.4b5ebc",
+ "type": "success",
+ "name": "outcome: vm",
+ "xml": "<outcome value='vm'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 750.1666870117188,
+ "y": 506.83331298828125,
+ "z": "60af662c.e2145",
+ "wires": [
+ [
+ "3dbfbbfc.27ebac"
+ ]
+ ]
+ },
+ {
+ "id": "3dbfbbfc.27ebac",
+ "type": "execute",
+ "name": "execute getVserverInfo",
+ "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",
+ "comments": "",
+ "outputs": 1,
+ "x": 954.75,
+ "y": 502.75,
+ "z": "60af662c.e2145",
+ "wires": [
+ [
+ "96b367e.5d77098",
+ "c9f50ce3.109688"
+ ]
+ ]
+ },
+ {
+ "id": "96b367e.5d77098",
+ "type": "failure",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1184.75,
+ "y": 484.75,
+ "z": "60af662c.e2145",
+ "wires": [
+ [
+ "807dae61.cb4a58"
+ ]
+ ]
+ },
+ {
+ "id": "c9f50ce3.109688",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1185.75,
+ "y": 537.75,
+ "z": "60af662c.e2145",
+ "wires": [
+ [
+ "45027fab.115558"
+ ]
+ ]
+ },
+ {
+ "id": "807dae61.cb4a58",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1329.75,
+ "y": 484.75,
+ "z": "60af662c.e2145",
+ "wires": [
+ [
+ "3138c403.04f2ac"
+ ]
+ ]
+ },
+ {
+ "id": "45027fab.115558",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1327.75,
+ "y": 534.75,
+ "z": "60af662c.e2145",
+ "wires": [
+ [
+ "925bce45.2c0a58"
+ ]
+ ]
+ },
+ {
+ "id": "925bce45.2c0a58",
+ "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": 1495.75,
+ "y": 533.75,
+ "z": "60af662c.e2145",
+ "wires": []
+ },
+ {
+ "id": "3138c403.04f2ac",
+ "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": 1494.25,
+ "y": 480.75,
+ "z": "60af662c.e2145",
+ "wires": []
+ }
+] \ No newline at end of file
diff --git a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_GetAaiInfoTest.json b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_GetAaiInfoTest.json
index 91c101abb..ed64ae9ec 100644
--- a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_GetAaiInfoTest.json
+++ b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_GetAaiInfoTest.json
@@ -1 +1,288 @@
-[{"id":"824ef7fe.3f3a28","type":"dgstart","name":"DGSTART","outputs":1,"x":103.33332443237305,"y":37.222219467163086,"z":"2e3a20a4.cdd4b","wires":[["63f1353e.3afaec"]]},{"id":"63f1353e.3afaec","type":"service-logic","name":"APPC 4.0.0","module":"APPC","version":"4.0.0","comments":"","xml":"<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='APPC' version='4.0.0'>","outputs":1,"x":270.66666412353516,"y":71.66667461395264,"z":"2e3a20a4.cdd4b","wires":[["39441c46.1ce144"]]},{"id":"39441c46.1ce144","type":"method","name":"method GetAaiInfo","xml":"<method rpc='GetAaiInfoTest' mode='sync'>\n","comments":"","outputs":1,"x":465.66666412353516,"y":66.66667461395264,"z":"2e3a20a4.cdd4b","wires":[["69fc431f.857fdc"]]},{"id":"69fc431f.857fdc","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":113.41666412353516,"y":208.66667366027832,"z":"2e3a20a4.cdd4b","wires":[["d21e1229.c7233","75cc0c83.6ea414"]]},{"id":"75cc0c83.6ea414","type":"execute","name":"execute getAllVServersVnfcsInfo","xml":"<execute plugin=\"org.onap.appc.aai.client.node.AAIResourceNode\" method=\"getAllVServersVnfcsInfo\">\n<parameter name=\"responsePrefix\" value=\"tmp.vnfInfo\" />\n","comments":"","outputs":1,"x":360.16666412353516,"y":309.66667461395264,"z":"2e3a20a4.cdd4b","wires":[["b861bae7.ed7f38","e920d0c2.265e9"]]},{"id":"b861bae7.ed7f38","type":"failure","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":597.9166641235352,"y":308.16669273376465,"z":"2e3a20a4.cdd4b","wires":[["6536b658.4a6e98"]]},{"id":"e920d0c2.265e9","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":590.9166641235352,"y":373.9166946411133,"z":"2e3a20a4.cdd4b","wires":[["2e927b94.777bc4"]]},{"id":"6536b658.4a6e98","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":732.1666946411133,"y":307.41669368743896,"z":"2e3a20a4.cdd4b","wires":[["f5c71351.7eb9c"]]},{"id":"2e927b94.777bc4","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":731.4166946411133,"y":373.9166946411133,"z":"2e3a20a4.cdd4b","wires":[["a3877152.03659"]]},{"id":"a3877152.03659","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value=\"`$tmp.vnfInfo.error-message`\" />\n\n\n\t","comments":"","x":921.1667022705078,"y":374.91669273376465,"z":"2e3a20a4.cdd4b","wires":[]},{"id":"d21e1229.c7233","type":"execute","name":"execute getVnfInfo","xml":"<execute plugin=\"org.onap.appc.aai.client.node.AAIResourceNode\" method=\"getVnfInfo\">\n<parameter name=\"vnfId\" value=\"`$vnf-id`\" />\n<parameter name=\"responsePrefix\" value=\"tmp.vnfInfo\" />\n","comments":"","outputs":1,"x":357.66666412353516,"y":188.91667366027832,"z":"2e3a20a4.cdd4b","wires":[["a263590d.bf4bc8","883728c.1caaed8"]]},{"id":"a263590d.bf4bc8","type":"failure","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":541.4166641235352,"y":165.41667366027832,"z":"2e3a20a4.cdd4b","wires":[["6a5be154.0d7fd"]]},{"id":"6a5be154.0d7fd","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":692.4166984558105,"y":164.66667461395264,"z":"2e3a20a4.cdd4b","wires":[["b11705da.bdd1c8"]]},{"id":"b11705da.bdd1c8","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value=\"Unable to get Vnf Info from ANAI\" />\n\n\n\t","comments":"","x":867.1666984558105,"y":149.16667366027832,"z":"2e3a20a4.cdd4b","wires":[]},{"id":"883728c.1caaed8","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":542.9166641235352,"y":236.66667556762695,"z":"2e3a20a4.cdd4b","wires":[["37a2c648.d6328a"]]},{"id":"37a2c648.d6328a","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":690.1666984558105,"y":236.16667556762695,"z":"2e3a20a4.cdd4b","wires":[["b02272fd.969a9"]]},{"id":"b02272fd.969a9","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value=\"`$tmp.vnfInfo.error-message`\" />\n\n\n\t","comments":"","x":866.4166984558105,"y":228.91667556762695,"z":"2e3a20a4.cdd4b","wires":[]},{"id":"bec2087a.fef188","type":"set","name":"set vnf-type, name","xml":"<set>\n<!--<parameter name='vnf-type' value='`$tmp.vnfInfo.vnf.vnf-type`' /> \n<parameter name='vnf-name' value='`$tmp.vnfInfo.vnf.vnf-name`' /> -->\n<parameter name='vnf-type' value='vUSP - vDBE-IPX HUB' /> \n<parameter name='vnf-name' value='vUSP - vDBE-IPX HUB' />\n\n","comments":"","x":150.16666412353516,"y":439.16669368743896,"z":"2e3a20a4.cdd4b","wires":[]},{"id":"f5c71351.7eb9c","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value=\"Unable to get VServer Info from A&amp;AI\" />\n\n\n\t","comments":"","x":909.1666984558105,"y":307.66669273376465,"z":"2e3a20a4.cdd4b","wires":[]}]
+[
+ {
+ "id": "824ef7fe.3f3a28",
+ "type": "dgstart",
+ "name": "DGSTART",
+ "outputs": 1,
+ "x": 103.33332443237305,
+ "y": 37.222219467163086,
+ "z": "2e3a20a4.cdd4b",
+ "wires": [
+ [
+ "63f1353e.3afaec"
+ ]
+ ]
+ },
+ {
+ "id": "63f1353e.3afaec",
+ "type": "service-logic",
+ "name": "APPC 4.0.0",
+ "module": "APPC",
+ "version": "4.0.0",
+ "comments": "",
+ "xml": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='APPC' version='4.0.0'>",
+ "outputs": 1,
+ "x": 270.66666412353516,
+ "y": 71.66667461395264,
+ "z": "2e3a20a4.cdd4b",
+ "wires": [
+ [
+ "39441c46.1ce144"
+ ]
+ ]
+ },
+ {
+ "id": "39441c46.1ce144",
+ "type": "method",
+ "name": "method GetAaiInfo",
+ "xml": "<method rpc='GetAaiInfoTest' mode='sync'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 465.66666412353516,
+ "y": 66.66667461395264,
+ "z": "2e3a20a4.cdd4b",
+ "wires": [
+ [
+ "69fc431f.857fdc"
+ ]
+ ]
+ },
+ {
+ "id": "69fc431f.857fdc",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 113.41666412353516,
+ "y": 208.66667366027832,
+ "z": "2e3a20a4.cdd4b",
+ "wires": [
+ [
+ "d21e1229.c7233",
+ "75cc0c83.6ea414"
+ ]
+ ]
+ },
+ {
+ "id": "75cc0c83.6ea414",
+ "type": "execute",
+ "name": "execute getAllVServersVnfcsInfo",
+ "xml": "<execute plugin=\"org.onap.appc.aai.client.node.AAIResourceNode\" method=\"getAllVServersVnfcsInfo\">\n<parameter name=\"responsePrefix\" value=\"tmp.vnfInfo\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 360.16666412353516,
+ "y": 309.66667461395264,
+ "z": "2e3a20a4.cdd4b",
+ "wires": [
+ [
+ "b861bae7.ed7f38",
+ "e920d0c2.265e9"
+ ]
+ ]
+ },
+ {
+ "id": "b861bae7.ed7f38",
+ "type": "failure",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 597.9166641235352,
+ "y": 308.16669273376465,
+ "z": "2e3a20a4.cdd4b",
+ "wires": [
+ [
+ "6536b658.4a6e98"
+ ]
+ ]
+ },
+ {
+ "id": "e920d0c2.265e9",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 590.9166641235352,
+ "y": 373.9166946411133,
+ "z": "2e3a20a4.cdd4b",
+ "wires": [
+ [
+ "2e927b94.777bc4"
+ ]
+ ]
+ },
+ {
+ "id": "6536b658.4a6e98",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 732.1666946411133,
+ "y": 307.41669368743896,
+ "z": "2e3a20a4.cdd4b",
+ "wires": [
+ [
+ "f5c71351.7eb9c"
+ ]
+ ]
+ },
+ {
+ "id": "2e927b94.777bc4",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 731.4166946411133,
+ "y": 373.9166946411133,
+ "z": "2e3a20a4.cdd4b",
+ "wires": [
+ [
+ "a3877152.03659"
+ ]
+ ]
+ },
+ {
+ "id": "a3877152.03659",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status=\"failure\">\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value=\"`$tmp.vnfInfo.error-message`\" />\n\n\n\t",
+ "comments": "",
+ "x": 921.1667022705078,
+ "y": 374.91669273376465,
+ "z": "2e3a20a4.cdd4b",
+ "wires": []
+ },
+ {
+ "id": "d21e1229.c7233",
+ "type": "execute",
+ "name": "execute getVnfInfo",
+ "xml": "<execute plugin=\"org.onap.appc.aai.client.node.AAIResourceNode\" method=\"getVnfInfo\">\n<parameter name=\"vnfId\" value=\"`$vnf-id`\" />\n<parameter name=\"responsePrefix\" value=\"tmp.vnfInfo\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 357.66666412353516,
+ "y": 188.91667366027832,
+ "z": "2e3a20a4.cdd4b",
+ "wires": [
+ [
+ "a263590d.bf4bc8",
+ "883728c.1caaed8"
+ ]
+ ]
+ },
+ {
+ "id": "a263590d.bf4bc8",
+ "type": "failure",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 541.4166641235352,
+ "y": 165.41667366027832,
+ "z": "2e3a20a4.cdd4b",
+ "wires": [
+ [
+ "6a5be154.0d7fd"
+ ]
+ ]
+ },
+ {
+ "id": "6a5be154.0d7fd",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 692.4166984558105,
+ "y": 164.66667461395264,
+ "z": "2e3a20a4.cdd4b",
+ "wires": [
+ [
+ "b11705da.bdd1c8"
+ ]
+ ]
+ },
+ {
+ "id": "b11705da.bdd1c8",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status=\"failure\">\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value=\"Unable to get Vnf Info from ANAI\" />\n\n\n\t",
+ "comments": "",
+ "x": 867.1666984558105,
+ "y": 149.16667366027832,
+ "z": "2e3a20a4.cdd4b",
+ "wires": []
+ },
+ {
+ "id": "883728c.1caaed8",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 542.9166641235352,
+ "y": 236.66667556762695,
+ "z": "2e3a20a4.cdd4b",
+ "wires": [
+ [
+ "37a2c648.d6328a"
+ ]
+ ]
+ },
+ {
+ "id": "37a2c648.d6328a",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 690.1666984558105,
+ "y": 236.16667556762695,
+ "z": "2e3a20a4.cdd4b",
+ "wires": [
+ [
+ "b02272fd.969a9"
+ ]
+ ]
+ },
+ {
+ "id": "b02272fd.969a9",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status=\"failure\">\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value=\"`$tmp.vnfInfo.error-message`\" />\n\n\n\t",
+ "comments": "",
+ "x": 866.4166984558105,
+ "y": 228.91667556762695,
+ "z": "2e3a20a4.cdd4b",
+ "wires": []
+ },
+ {
+ "id": "bec2087a.fef188",
+ "type": "set",
+ "name": "set vnf-type, name",
+ "xml": "<set>\n<!--<parameter name='vnf-type' value='`$tmp.vnfInfo.vnf.vnf-type`' /> \n<parameter name='vnf-name' value='`$tmp.vnfInfo.vnf.vnf-name`' /> -->\n<parameter name='vnf-type' value='vUSP - vDBE-IPX HUB' /> \n<parameter name='vnf-name' value='vUSP - vDBE-IPX HUB' />\n\n",
+ "comments": "",
+ "x": 150.16666412353516,
+ "y": 439.16669368743896,
+ "z": "2e3a20a4.cdd4b",
+ "wires": []
+ },
+ {
+ "id": "f5c71351.7eb9c",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status=\"failure\">\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value=\"Unable to get VServer Info from A&amp;AI\" />\n\n\n\t",
+ "comments": "",
+ "x": 909.1666984558105,
+ "y": 307.66669273376465,
+ "z": "2e3a20a4.cdd4b",
+ "wires": []
+ }
+]
diff --git a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_GetConfigParams.json b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_GetConfigParams.json
index feac4da89..deb1bd6dc 100644
--- a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_GetConfigParams.json
+++ b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_GetConfigParams.json
@@ -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":[[]]}]
+[
+ {
+ "id": "9bb6e3fd.8353c",
+ "type": "dgstart",
+ "name": "DGSTART",
+ "outputs": 1,
+ "x": 142,
+ "y": 42,
+ "z": "adf02ac6.d2cbf8",
+ "wires": [
+ [
+ "e7f441eb.e180b"
+ ]
+ ]
+ },
+ {
+ "id": "8f76ea35.f79a18",
+ "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": 546,
+ "y": 85,
+ "z": "adf02ac6.d2cbf8",
+ "wires": []
+ },
+ {
+ "id": "e7f441eb.e180b",
+ "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": 293,
+ "y": 40,
+ "z": "adf02ac6.d2cbf8",
+ "wires": [
+ [
+ "c3a68d59.ce73"
+ ]
+ ]
+ },
+ {
+ "id": "c3a68d59.ce73",
+ "type": "method",
+ "name": "method GetConfigParams",
+ "xml": "<method rpc='GetConfigParams' mode='sync'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 500,
+ "y": 40,
+ "z": "adf02ac6.d2cbf8",
+ "wires": [
+ [
+ "36af194f.980636"
+ ]
+ ]
+ },
+ {
+ "id": "36af194f.980636",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 170,
+ "y": 552,
+ "z": "adf02ac6.d2cbf8",
+ "wires": [
+ [
+ "8f76ea35.f79a18",
+ "7f40e7c.f1a0f18",
+ "75b2ab8c.29ec14",
+ "d24eba94.b54568",
+ "e6dfe3ac.24507",
+ "7412fea.9adbc",
+ "ccb97140.1e539",
+ "9ad43899.01ac48",
+ "15d3a340.b47bcd",
+ "756836a6.2786a8",
+ "6906399c.ebbbc8",
+ "503fe7d0.7e3e98"
+ ]
+ ]
+ },
+ {
+ "id": "15d3a340.b47bcd",
+ "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": 543.5,
+ "y": 240,
+ "z": "adf02ac6.d2cbf8",
+ "wires": [
+ [
+ "c0f87e47.2782e",
+ "9352ae35.fa92c"
+ ]
+ ]
+ },
+ {
+ "id": "c0f87e47.2782e",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 787.5,
+ "y": 226,
+ "z": "adf02ac6.d2cbf8",
+ "wires": [
+ [
+ "caeeb3b0.4b2"
+ ]
+ ]
+ },
+ {
+ "id": "9352ae35.fa92c",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 779.5,
+ "y": 276,
+ "z": "adf02ac6.d2cbf8",
+ "wires": [
+ [
+ "f11d098d.f00a98"
+ ]
+ ]
+ },
+ {
+ "id": "caeeb3b0.4b2",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 930.5,
+ "y": 224,
+ "z": "adf02ac6.d2cbf8",
+ "wires": [
+ [
+ "3953cb54.990b44"
+ ]
+ ]
+ },
+ {
+ "id": "f11d098d.f00a98",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 938.5,
+ "y": 272,
+ "z": "adf02ac6.d2cbf8",
+ "wires": [
+ [
+ "e69e3042.713fc"
+ ]
+ ]
+ },
+ {
+ "id": "756836a6.2786a8",
+ "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<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",
+ "comments": "",
+ "x": 478,
+ "y": 315,
+ "z": "adf02ac6.d2cbf8",
+ "wires": []
+ },
+ {
+ "id": "3953cb54.990b44",
+ "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": 1091.5,
+ "y": 223,
+ "z": "adf02ac6.d2cbf8",
+ "wires": []
+ },
+ {
+ "id": "e69e3042.713fc",
+ "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": 1100.5,
+ "y": 270,
+ "z": "adf02ac6.d2cbf8",
+ "wires": []
+ },
+ {
+ "id": "75b2ab8c.29ec14",
+ "type": "switchNode",
+ "name": "switch configuration.configuration-string",
+ "xml": "<switch test='`$block_configuration.configuration-string`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 492,
+ "y": 622,
+ "z": "adf02ac6.d2cbf8",
+ "wires": [
+ [
+ "fb04536b.1de06",
+ "be6c5c96.29d5e"
+ ]
+ ]
+ },
+ {
+ "id": "dd3a9d9e.b9d2a",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 931,
+ "y": 592,
+ "z": "adf02ac6.d2cbf8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "fb04536b.1de06",
+ "type": "success",
+ "name": "outcome: Other",
+ "xml": "<outcome value=\"Other\">",
+ "comments": "",
+ "outputs": 1,
+ "x": 767,
+ "y": 632,
+ "z": "adf02ac6.d2cbf8",
+ "wires": [
+ [
+ "e2a08c9d.0225a"
+ ]
+ ]
+ },
+ {
+ "id": "e2a08c9d.0225a",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 940,
+ "y": 631,
+ "z": "adf02ac6.d2cbf8",
+ "wires": [
+ [
+ "a038cb9e.3b7348"
+ ]
+ ]
+ },
+ {
+ "id": "a038cb9e.3b7348",
+ "type": "set",
+ "name": "set configuration",
+ "xml": "<set>\n<parameter name='configuration' value='`$block_configuration.configuration-string`' />\n",
+ "comments": "",
+ "x": 1113,
+ "y": 632,
+ "z": "adf02ac6.d2cbf8",
+ "wires": []
+ },
+ {
+ "id": "be36a808.d1b068",
+ "type": "comment",
+ "name": "CLI/XML",
+ "info": "",
+ "comments": "",
+ "x": 1283,
+ "y": 609,
+ "z": "adf02ac6.d2cbf8",
+ "wires": []
+ },
+ {
+ "id": "d24eba94.b54568",
+ "type": "switchNode",
+ "name": "switch configuration.configuration-json",
+ "xml": "<switch test='`$block_configuration.configuration-json`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 474.5,
+ "y": 685,
+ "z": "adf02ac6.d2cbf8",
+ "wires": [
+ [
+ "857b8ce2.9ed1e",
+ "e95340f3.b63a6"
+ ]
+ ]
+ },
+ {
+ "id": "857b8ce2.9ed1e",
+ "type": "success",
+ "name": "outcome: Other",
+ "xml": "<outcome value=\"Other\">",
+ "comments": "",
+ "outputs": 1,
+ "x": 757.5,
+ "y": 729,
+ "z": "adf02ac6.d2cbf8",
+ "wires": [
+ [
+ "e5ca2181.c656c"
+ ]
+ ]
+ },
+ {
+ "id": "a9e75a29.dc4b58",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 933.5,
+ "y": 687,
+ "z": "adf02ac6.d2cbf8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "e5ca2181.c656c",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 930.5,
+ "y": 726,
+ "z": "adf02ac6.d2cbf8",
+ "wires": [
+ [
+ "aaba1e3.dccb9e"
+ ]
+ ]
+ },
+ {
+ "id": "aaba1e3.dccb9e",
+ "type": "set",
+ "name": "set configuration",
+ "xml": "<set>\n<parameter name='configuration' value='`$block_configuration.configuration-json`' />\n",
+ "comments": "",
+ "x": 1103.5,
+ "y": 726,
+ "z": "adf02ac6.d2cbf8",
+ "wires": []
+ },
+ {
+ "id": "4b2cf64c.6fa4d8",
+ "type": "comment",
+ "name": "JSON",
+ "info": "",
+ "comments": "",
+ "x": 1259,
+ "y": 723,
+ "z": "adf02ac6.d2cbf8",
+ "wires": []
+ },
+ {
+ "id": "7f40e7c.f1a0f18",
+ "type": "switchNode",
+ "name": "switch template-name",
+ "xml": "<switch test='`$template-name`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 464,
+ "y": 519,
+ "z": "adf02ac6.d2cbf8",
+ "wires": [
+ [
+ "db9e35c3.4ff3e8",
+ "bca04de1.2e459"
+ ]
+ ]
+ },
+ {
+ "id": "db9e35c3.4ff3e8",
+ "type": "success",
+ "name": "outcome: null",
+ "xml": "<outcome value=''>",
+ "comments": "",
+ "outputs": 1,
+ "x": 684,
+ "y": 498,
+ "z": "adf02ac6.d2cbf8",
+ "wires": [
+ [
+ "c94325ba.b9bc88"
+ ]
+ ]
+ },
+ {
+ "id": "bca04de1.2e459",
+ "type": "success",
+ "name": "outcome: Other",
+ "xml": "<outcome value=\"Other\">",
+ "comments": "",
+ "outputs": 1,
+ "x": 689,
+ "y": 540,
+ "z": "adf02ac6.d2cbf8",
+ "wires": [
+ [
+ "15180da2.8fda02"
+ ]
+ ]
+ },
+ {
+ "id": "15180da2.8fda02",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 862,
+ "y": 537,
+ "z": "adf02ac6.d2cbf8",
+ "wires": [
+ [
+ "aef8377e.d52808"
+ ]
+ ]
+ },
+ {
+ "id": "aef8377e.d52808",
+ "type": "set",
+ "name": "set config-type",
+ "xml": "<set>\n<parameter name='config-type' value='template' />\n",
+ "comments": "",
+ "x": 1034,
+ "y": 539,
+ "z": "adf02ac6.d2cbf8",
+ "wires": []
+ },
+ {
+ "id": "e6dfe3ac.24507",
+ "type": "switchNode",
+ "name": "switch configuration",
+ "xml": "<switch test='`$configuration`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 444,
+ "y": 779,
+ "z": "adf02ac6.d2cbf8",
+ "wires": [
+ [
+ "d1b87930.4064c8",
+ "c593d4e5.4643f8"
+ ]
+ ]
+ },
+ {
+ "id": "d1b87930.4064c8",
+ "type": "success",
+ "name": "outcome: Other",
+ "xml": "<outcome value=\"Other\">",
+ "comments": "",
+ "outputs": 1,
+ "x": 542,
+ "y": 862,
+ "z": "adf02ac6.d2cbf8",
+ "wires": [
+ [
+ "ea235f7f.30eb"
+ ]
+ ]
+ },
+ {
+ "id": "b2ac1569.cd70a8",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 844,
+ "y": 788,
+ "z": "adf02ac6.d2cbf8",
+ "wires": [
+ [
+ "af7911bd.7396e"
+ ]
+ ]
+ },
+ {
+ "id": "1239e45f.5f9fbc",
+ "type": "set",
+ "name": "set config-type",
+ "xml": "<set>\n<parameter name='config-type' value='template' />\n",
+ "comments": "",
+ "x": 1331,
+ "y": 877,
+ "z": "adf02ac6.d2cbf8",
+ "wires": []
+ },
+ {
+ "id": "e1c4bcf8.26b34",
+ "type": "comment",
+ "name": "Template",
+ "info": "",
+ "comments": "",
+ "x": 1311,
+ "y": 919,
+ "z": "adf02ac6.d2cbf8",
+ "wires": []
+ },
+ {
+ "id": "af7911bd.7396e",
+ "type": "switchNode",
+ "name": "switch Configuration params exists",
+ "xml": "<switch test='`$configuration-params`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1082,
+ "y": 788,
+ "z": "adf02ac6.d2cbf8",
+ "wires": [
+ [
+ "6ec74942.5d8408",
+ "833a6cbe.f853c"
+ ]
+ ]
+ },
+ {
+ "id": "6ec74942.5d8408",
+ "type": "success",
+ "name": "outcome: Other",
+ "xml": "<outcome value=\"Other\">",
+ "comments": "",
+ "outputs": 1,
+ "x": 1005,
+ "y": 875,
+ "z": "adf02ac6.d2cbf8",
+ "wires": [
+ [
+ "c0b41bfa.df8068"
+ ]
+ ]
+ },
+ {
+ "id": "c0b41bfa.df8068",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1169,
+ "y": 877,
+ "z": "adf02ac6.d2cbf8",
+ "wires": [
+ [
+ "1239e45f.5f9fbc"
+ ]
+ ]
+ },
+ {
+ "id": "a3a46465.63a528",
+ "type": "comment",
+ "name": "Specific Template",
+ "info": "",
+ "comments": "",
+ "x": 1225,
+ "y": 531,
+ "z": "adf02ac6.d2cbf8",
+ "wires": []
+ },
+ {
+ "id": "c94325ba.b9bc88",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 873,
+ "y": 493,
+ "z": "adf02ac6.d2cbf8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "ea235f7f.30eb",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 701,
+ "y": 865,
+ "z": "adf02ac6.d2cbf8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "324dd1e3.b5075e",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1510,
+ "y": 771,
+ "z": "adf02ac6.d2cbf8",
+ "wires": [
+ [
+ "dcc9e51c.03f7f8"
+ ]
+ ]
+ },
+ {
+ "id": "dcc9e51c.03f7f8",
+ "type": "switchNode",
+ "name": "switch template-name",
+ "xml": "<switch test='`$template-name`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1700,
+ "y": 772,
+ "z": "adf02ac6.d2cbf8",
+ "wires": [
+ [
+ "7d29bc8a.414494"
+ ]
+ ]
+ },
+ {
+ "id": "96404db4.f2985",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1728,
+ "y": 822,
+ "z": "adf02ac6.d2cbf8",
+ "wires": [
+ [
+ "d6492c42.82569"
+ ]
+ ]
+ },
+ {
+ "id": "d6492c42.82569",
+ "type": "set",
+ "name": "set config-type",
+ "xml": "<set>\n<parameter name='config-type' value='template' />\n",
+ "comments": "",
+ "x": 1913,
+ "y": 824,
+ "z": "adf02ac6.d2cbf8",
+ "wires": []
+ },
+ {
+ "id": "48face11.f4ff2",
+ "type": "comment",
+ "name": "Restore scenario:ASDC Template to be directly donwloaded - no params",
+ "info": "",
+ "comments": "",
+ "x": 1854,
+ "y": 870,
+ "z": "adf02ac6.d2cbf8",
+ "wires": []
+ },
+ {
+ "id": "be6c5c96.29d5e",
+ "type": "success",
+ "name": "outcome: null",
+ "xml": "<outcome value=''>",
+ "comments": "",
+ "outputs": 1,
+ "x": 769,
+ "y": 588,
+ "z": "adf02ac6.d2cbf8",
+ "wires": [
+ [
+ "dd3a9d9e.b9d2a"
+ ]
+ ]
+ },
+ {
+ "id": "e95340f3.b63a6",
+ "type": "success",
+ "name": "outcome: null",
+ "xml": "<outcome value=''>",
+ "comments": "",
+ "outputs": 1,
+ "x": 762,
+ "y": 680,
+ "z": "adf02ac6.d2cbf8",
+ "wires": [
+ [
+ "a9e75a29.dc4b58"
+ ]
+ ]
+ },
+ {
+ "id": "c593d4e5.4643f8",
+ "type": "success",
+ "name": "outcome: null",
+ "xml": "<outcome value=''>",
+ "comments": "",
+ "outputs": 1,
+ "x": 654,
+ "y": 783,
+ "z": "adf02ac6.d2cbf8",
+ "wires": [
+ [
+ "b2ac1569.cd70a8"
+ ]
+ ]
+ },
+ {
+ "id": "833a6cbe.f853c",
+ "type": "success",
+ "name": "outcome: null",
+ "xml": "<outcome value=''>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1347,
+ "y": 778,
+ "z": "adf02ac6.d2cbf8",
+ "wires": [
+ [
+ "324dd1e3.b5075e"
+ ]
+ ]
+ },
+ {
+ "id": "7d29bc8a.414494",
+ "type": "success",
+ "name": "outcome: null",
+ "xml": "<outcome value=''>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1907,
+ "y": 776,
+ "z": "adf02ac6.d2cbf8",
+ "wires": [
+ [
+ "96404db4.f2985"
+ ]
+ ]
+ },
+ {
+ "id": "7412fea.9adbc",
+ "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": 540,
+ "y": 1059,
+ "z": "adf02ac6.d2cbf8",
+ "wires": [
+ [
+ "4da43c81.2491b4",
+ "8c2aa956.c156b8",
+ "4dfd0047.6c378"
+ ]
+ ]
+ },
+ {
+ "id": "4da43c81.2491b4",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 771,
+ "y": 1044,
+ "z": "adf02ac6.d2cbf8",
+ "wires": [
+ [
+ "1a4f5cd1.590323"
+ ]
+ ]
+ },
+ {
+ "id": "8c2aa956.c156b8",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 763,
+ "y": 1091,
+ "z": "adf02ac6.d2cbf8",
+ "wires": [
+ [
+ "2489bea7.85e3e2"
+ ]
+ ]
+ },
+ {
+ "id": "1a4f5cd1.590323",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 954,
+ "y": 1047,
+ "z": "adf02ac6.d2cbf8",
+ "wires": [
+ [
+ "6cf71fbb.6b97e"
+ ]
+ ]
+ },
+ {
+ "id": "6cf71fbb.6b97e",
+ "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": 1138,
+ "y": 1046,
+ "z": "adf02ac6.d2cbf8",
+ "wires": []
+ },
+ {
+ "id": "2489bea7.85e3e2",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 940,
+ "y": 1094,
+ "z": "adf02ac6.d2cbf8",
+ "wires": [
+ [
+ "71939a70.72ef94"
+ ]
+ ]
+ },
+ {
+ "id": "71939a70.72ef94",
+ "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": 1126,
+ "y": 1092,
+ "z": "adf02ac6.d2cbf8",
+ "wires": []
+ },
+ {
+ "id": "9ad43899.01ac48",
+ "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": 477,
+ "y": 159,
+ "z": "adf02ac6.d2cbf8",
+ "wires": [
+ [
+ "5a001056.0ae7d"
+ ]
+ ]
+ },
+ {
+ "id": "ccb97140.1e539",
+ "type": "set",
+ "name": "set tmp.message",
+ "xml": "<set>\n<parameter name=\"tmp.message\" value=\"`$vnf-id + ' : ' + $request-action + ': ' + $payload`\" />\n",
+ "comments": "",
+ "x": 477,
+ "y": 120,
+ "z": "adf02ac6.d2cbf8",
+ "wires": []
+ },
+ {
+ "id": "5a001056.0ae7d",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 661,
+ "y": 158,
+ "z": "adf02ac6.d2cbf8",
+ "wires": [
+ [
+ "953a8a59.d985b8"
+ ]
+ ]
+ },
+ {
+ "id": "953a8a59.d985b8",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 818,
+ "y": 155,
+ "z": "adf02ac6.d2cbf8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "6906399c.ebbbc8",
+ "type": "call",
+ "name": "call: getAAIInfo",
+ "xml": "<call module=\"APPC\" rpc=\"GetAaiInfo\" mode=\"sync\">",
+ "comments": "",
+ "outputs": 1,
+ "x": 451,
+ "y": 454,
+ "z": "adf02ac6.d2cbf8",
+ "wires": [
+ [
+ "690b92bb.45f90c"
+ ]
+ ]
+ },
+ {
+ "id": "690b92bb.45f90c",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 671,
+ "y": 453,
+ "z": "adf02ac6.d2cbf8",
+ "wires": [
+ [
+ "d754a833.203948"
+ ]
+ ]
+ },
+ {
+ "id": "d754a833.203948",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 835,
+ "y": 451,
+ "z": "adf02ac6.d2cbf8",
+ "wires": [
+ [
+ "d1ae06b6.322778"
+ ]
+ ]
+ },
+ {
+ "id": "d1ae06b6.322778",
+ "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": 1029,
+ "y": 451,
+ "z": "adf02ac6.d2cbf8",
+ "wires": []
+ },
+ {
+ "id": "4dfd0047.6c378",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 767,
+ "y": 1150,
+ "z": "adf02ac6.d2cbf8",
+ "wires": [
+ [
+ "21cac2ec.c58f2e"
+ ]
+ ]
+ },
+ {
+ "id": "21cac2ec.c58f2e",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 930,
+ "y": 1154,
+ "z": "adf02ac6.d2cbf8",
+ "wires": [
+ [
+ "1e56ad90.fe1702"
+ ]
+ ]
+ },
+ {
+ "id": "1e56ad90.fe1702",
+ "type": "record",
+ "name": "record",
+ "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",
+ "comments": "",
+ "outputs": 1,
+ "x": 1098,
+ "y": 1153,
+ "z": "adf02ac6.d2cbf8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "503fe7d0.7e3e98",
+ "type": "switchNode",
+ "name": "switch vnfc-type",
+ "xml": "<switch test='`$vnfc-type`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 465,
+ "y": 375,
+ "z": "adf02ac6.d2cbf8",
+ "wires": [
+ [
+ "e77c9588.0afbb8",
+ "b1cb6e90.9fb7e"
+ ]
+ ]
+ },
+ {
+ "id": "e77c9588.0afbb8",
+ "type": "success",
+ "name": "outcome: Other",
+ "xml": "<outcome value='Other'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 767.7659301757812,
+ "y": 333.1706848144531,
+ "z": "adf02ac6.d2cbf8",
+ "wires": [
+ [
+ "e18fd786.d90288"
+ ]
+ ]
+ },
+ {
+ "id": "e18fd786.d90288",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "comments": null,
+ "outputs": 1,
+ "x": 976.269775390625,
+ "y": 331.4087829589844,
+ "z": "adf02ac6.d2cbf8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "b1cb6e90.9fb7e",
+ "type": "success",
+ "name": "outcome: ''",
+ "xml": "<outcome value=''>",
+ "comments": "",
+ "outputs": 1,
+ "x": 757.6666259765625,
+ "y": 384.5555419921875,
+ "z": "adf02ac6.d2cbf8",
+ "wires": [
+ [
+ "599cd92c.cb52c8"
+ ]
+ ]
+ },
+ {
+ "id": "599cd92c.cb52c8",
+ "type": "set",
+ "name": "set vnfc-type ",
+ "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",
+ "comments": "",
+ "x": 971.9999389648438,
+ "y": 384.66668701171875,
+ "z": "adf02ac6.d2cbf8",
+ "wires": []
+ }
+]
diff --git a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_GetDeviceRunningConfig.json b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_GetDeviceRunningConfig.json
index 0297491fa..5242a5d87 100644
--- a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_GetDeviceRunningConfig.json
+++ b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_GetDeviceRunningConfig.json
@@ -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":[]}]
+[
+ {
+ "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": []
+ }
+]
diff --git a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_GetTemplateConfig_Ansible.json b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_GetTemplateConfig_Ansible.json
index a140a14a8..d2f2af2ba 100644
--- a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_GetTemplateConfig_Ansible.json
+++ b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_GetTemplateConfig_Ansible.json
@@ -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":[]}]
+[
+ {
+ "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": []
+ }
+]
diff --git a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_GetTemplateConfig_Chef.json b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_GetTemplateConfig_Chef.json
index 49eb59517..7341e4aa3 100644
--- a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_GetTemplateConfig_Chef.json
+++ b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_GetTemplateConfig_Chef.json
@@ -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":[]}]
+[
+ {
+ "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": []
+ }
+]
diff --git a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_GetVfModuleInfo.json b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_GetVfModuleInfo.json
index 0253b81a3..8ccd9b92c 100644
--- a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_GetVfModuleInfo.json
+++ b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_GetVfModuleInfo.json
@@ -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":[]}]
+[
+ {
+ "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": []
+ }
+]