Code fix for config directed graph
[appc.git] / appc-directed-graph / appc-dgraph / provider / src / main / resources / json / APPC / APPC_Generic_Configure.json
index cd3c466..2f399ab 100644 (file)
@@ -1 +1,1327 @@
-[{"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.openecomp.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.openecomp.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.openecomp.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.openecomp.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": "a1a4aa32.ab2138",
+        "type": "dgstart",
+        "name": "DGSTART",
+        "outputs": 1,
+        "x": 130,
+        "y": 112,
+        "z": "52a683af.ecb40c",
+        "wires": [
+            [
+                "e2c94733.5f3678"
+            ]
+        ]
+    },
+    {
+        "id": "e2c94733.5f3678",
+        "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": 102,
+        "z": "52a683af.ecb40c",
+        "wires": [
+            [
+                "17999bb6.08fe84"
+            ]
+        ]
+    },
+    {
+        "id": "17999bb6.08fe84",
+        "type": "method",
+        "name": "method Generic_Configure",
+        "xml": "<method rpc='Generic_Configure' mode='sync'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 508,
+        "y": 94,
+        "z": "52a683af.ecb40c",
+        "wires": [
+            [
+                "bc5c78ce.32d4d8"
+            ]
+        ]
+    },
+    {
+        "id": "bc5c78ce.32d4d8",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic=\"true\">",
+        "atomic": "true",
+        "outputs": 1,
+        "x": 127,
+        "y": 237.33332538604736,
+        "z": "52a683af.ecb40c",
+        "wires": [
+            [
+                "c8c42391.b9463",
+                "aef2b058.68b18",
+                "635b3dee.ea8c04",
+                "4841c4f7.18404c",
+                "ee11c5a2.de3b28",
+                "f15b33a8.0ec6a",
+                "aadd18fd.92c118",
+                "9802424b.872eb",
+                "6d3f90cf.e8c4c"
+            ]
+        ]
+    },
+    {
+        "id": "c8c42391.b9463",
+        "type": "call",
+        "name": "call: DownloadConfig",
+        "xml": "<call module=\"APPC\" rpc=\"`$tmp.configureactiondg.DOWNLOAD-CONFIG-DG`\" mode=\"sync\">",
+        "comments": "",
+        "outputs": 1,
+        "x": 298.5872802734375,
+        "y": 958.5873413085938,
+        "z": "52a683af.ecb40c",
+        "wires": [
+            [
+                "bb25775c.36cea8",
+                "d3dce63c.f24168",
+                "64be97a6.c3ae38"
+            ]
+        ]
+    },
+    {
+        "id": "bb25775c.36cea8",
+        "type": "failure",
+        "name": "failure",
+        "xml": "<outcome value='failure'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 539.952392578125,
+        "y": 853.6824951171875,
+        "z": "52a683af.ecb40c",
+        "wires": [
+            [
+                "e7bfaaee.e62578"
+            ]
+        ]
+    },
+    {
+        "id": "d3dce63c.f24168",
+        "type": "failure",
+        "name": "not-found",
+        "xml": "<outcome value='not-found'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 539.9166870117188,
+        "y": 949.5001220703125,
+        "z": "52a683af.ecb40c",
+        "wires": [
+            [
+                "5a4d3fe8.27632"
+            ]
+        ]
+    },
+    {
+        "id": "64be97a6.c3ae38",
+        "type": "success",
+        "name": " success",
+        "xml": "<outcome value=\"success\">",
+        "comments": "",
+        "outputs": 1,
+        "x": 552.25,
+        "y": 1021.8333740234375,
+        "z": "52a683af.ecb40c",
+        "wires": [
+            [
+                "78592009.6afba"
+            ]
+        ]
+    },
+    {
+        "id": "e7bfaaee.e62578",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic=\"true\">",
+        "atomic": "true",
+        "outputs": 1,
+        "x": 774.3333129882812,
+        "y": 854.1904907226562,
+        "z": "52a683af.ecb40c",
+        "wires": [
+            [
+                "bd9894bc.d2a728",
+                "de299774.9667c8",
+                "8408b5fa.04b9b8"
+            ]
+        ]
+    },
+    {
+        "id": "5a4d3fe8.27632",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic=\"true\">",
+        "atomic": "true",
+        "outputs": 1,
+        "x": 786.8333129882812,
+        "y": 909.666748046875,
+        "z": "52a683af.ecb40c",
+        "wires": [
+            [
+                "193e6650.75be8a"
+            ]
+        ]
+    },
+    {
+        "id": "78592009.6afba",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic=\"true\">",
+        "atomic": "true",
+        "outputs": 1,
+        "x": 808.25,
+        "y": 1038.0833740234375,
+        "z": "52a683af.ecb40c",
+        "wires": [
+            [
+                "415b9faf.032fc",
+                "fb03e7e5.e72968",
+                "e8aaf1ba.2d4c5",
+                "85ef701d.dc12f"
+            ]
+        ]
+    },
+    {
+        "id": "bd9894bc.d2a728",
+        "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": 1031.2222900390625,
+        "y": 726.5555419921875,
+        "z": "52a683af.ecb40c",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "193e6650.75be8a",
+        "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": 1056.25,
+        "y": 877.4166870117188,
+        "z": "52a683af.ecb40c",
+        "wires": []
+    },
+    {
+        "id": "415b9faf.032fc",
+        "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": 1038.75,
+        "y": 960.8333740234375,
+        "z": "52a683af.ecb40c",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "de299774.9667c8",
+        "type": "returnFailure",
+        "name": "return failure",
+        "xml": "<return status=\"failure\">\n\t",
+        "comments": "",
+        "x": 1054.77783203125,
+        "y": 835.111083984375,
+        "z": "52a683af.ecb40c",
+        "wires": []
+    },
+    {
+        "id": "aef2b058.68b18",
+        "type": "set",
+        "name": "set Download params with login",
+        "xml": "<set>\n<parameter name='host-ip-address' value='`$tmp-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": 371.4602966308594,
+        "y": 713.2538452148438,
+        "z": "52a683af.ecb40c",
+        "wires": []
+    },
+    {
+        "id": "fb03e7e5.e72968",
+        "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": 1102.583251953125,
+        "y": 916.0000610351562,
+        "z": "52a683af.ecb40c",
+        "wires": []
+    },
+    {
+        "id": "5b7b33e8.1af8fc",
+        "type": "comment",
+        "name": "ConfigCompAdaptor resets error code for success cases",
+        "info": "",
+        "comments": "",
+        "x": 1461.75,
+        "y": 886.0000610351562,
+        "z": "52a683af.ecb40c",
+        "wires": []
+    },
+    {
+        "id": "635b3dee.ea8c04",
+        "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": 464.98406982421875,
+        "y": 215.20639038085938,
+        "z": "52a683af.ecb40c",
+        "wires": [
+            [
+                "df030edc.9492c"
+            ]
+        ]
+    },
+    {
+        "id": "e8aaf1ba.2d4c5",
+        "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": 1050,
+        "y": 1013.4166870117188,
+        "z": "52a683af.ecb40c",
+        "wires": [
+            [
+                "d3d756ae.72b4d8"
+            ]
+        ]
+    },
+    {
+        "id": "1dbd1b6e.fa0185",
+        "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=\"`$tmp.message`\" />\n<parameter name=\"responsePrefix\" value=\"tmp.saveTxLog\" />\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1807.888916015625,
+        "y": 877.2222290039062,
+        "z": "52a683af.ecb40c",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "892663b4.396ab",
+        "type": "set",
+        "name": "set tmp.message",
+        "xml": "<set>\n<parameter name='tmp.message' value=\"`'Download Failure : ' + $error-code + ' : ' + $error-message`\" />\n",
+        "comments": "",
+        "x": 1796.1109619140625,
+        "y": 813.5555419921875,
+        "z": "52a683af.ecb40c",
+        "wires": []
+    },
+    {
+        "id": "8408b5fa.04b9b8",
+        "type": "switchNode",
+        "name": "switch: error-code",
+        "xml": "<switch test=\"`$error-code`\">\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1057.9998779296875,
+        "y": 784.6666259765625,
+        "z": "52a683af.ecb40c",
+        "wires": [
+            [
+                "fca657fe.ffc958",
+                "6fcf550.b255dac"
+            ]
+        ]
+    },
+    {
+        "id": "fca657fe.ffc958",
+        "type": "success",
+        "name": "outcome: 400",
+        "xml": "<outcome value=\"400\">",
+        "comments": "",
+        "outputs": 1,
+        "x": 1342.666748046875,
+        "y": 770.3333129882812,
+        "z": "52a683af.ecb40c",
+        "wires": [
+            [
+                "52be6449.e72ffc"
+            ]
+        ]
+    },
+    {
+        "id": "52be6449.e72ffc",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic=\"true\">",
+        "atomic": "true",
+        "outputs": 1,
+        "x": 1576.6666259765625,
+        "y": 766.888916015625,
+        "z": "52a683af.ecb40c",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "6fcf550.b255dac",
+        "type": "success",
+        "name": "outcome: Other",
+        "xml": "<outcome value=\"Other\">",
+        "comments": "",
+        "outputs": 1,
+        "x": 1344.6666259765625,
+        "y": 837.111083984375,
+        "z": "52a683af.ecb40c",
+        "wires": [
+            [
+                "be9c69ce.50eab8"
+            ]
+        ]
+    },
+    {
+        "id": "be9c69ce.50eab8",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic=\"true\">",
+        "atomic": "true",
+        "outputs": 1,
+        "x": 1585.111083984375,
+        "y": 834.2222290039062,
+        "z": "52a683af.ecb40c",
+        "wires": [
+            [
+                "892663b4.396ab",
+                "1dbd1b6e.fa0185"
+            ]
+        ]
+    },
+    {
+        "id": "30045606.ab542a",
+        "type": "comment",
+        "name": "ISBC cases returns failure to stop polling",
+        "info": "",
+        "comments": "",
+        "x": 1596.6665344238281,
+        "y": 338.5555238723755,
+        "z": "52a683af.ecb40c",
+        "wires": []
+    },
+    {
+        "id": "d3d756ae.72b4d8",
+        "type": "failure",
+        "name": "failure",
+        "xml": "<outcome value='failure'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1282.9166259765625,
+        "y": 978.0000610351562,
+        "z": "52a683af.ecb40c",
+        "wires": [
+            [
+                "26237508.7bca3a"
+            ]
+        ]
+    },
+    {
+        "id": "26237508.7bca3a",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic=\"true\">",
+        "atomic": "true",
+        "outputs": 1,
+        "x": 1509.5,
+        "y": 975.5000610351562,
+        "z": "52a683af.ecb40c",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "df030edc.9492c",
+        "type": "failure",
+        "name": "failure",
+        "xml": "<outcome value='failure'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 630.6666870117188,
+        "y": 239.6666259765625,
+        "z": "52a683af.ecb40c",
+        "wires": [
+            [
+                "5a65ea41.9d1584"
+            ]
+        ]
+    },
+    {
+        "id": "5a65ea41.9d1584",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic=\"true\">",
+        "atomic": "true",
+        "outputs": 1,
+        "x": 781.888916015625,
+        "y": 238.5555419921875,
+        "z": "52a683af.ecb40c",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "85ef701d.dc12f",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic=\"true\">",
+        "atomic": "true",
+        "outputs": 1,
+        "x": 1045,
+        "y": 1091.6665649414062,
+        "z": "52a683af.ecb40c",
+        "wires": [
+            [
+                "9f0b8e91.beec1",
+                "9886b52d.f36528"
+            ]
+        ]
+    },
+    {
+        "id": "9886b52d.f36528",
+        "type": "call",
+        "name": "call: SaveRunningConfig",
+        "xml": "<call module=\"APPC\" rpc=\"SaveRunningConfig\" mode=\"sync\">",
+        "comments": "",
+        "outputs": 1,
+        "x": 1298.75,
+        "y": 1025.4999389648438,
+        "z": "52a683af.ecb40c",
+        "wires": [
+            [
+                "f644bf25.edfc6"
+            ]
+        ]
+    },
+    {
+        "id": "9f0b8e91.beec1",
+        "type": "switchNode",
+        "name": "switch: request-action",
+        "xml": "<switch test=\"`$request-action`\">\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1267.4998779296875,
+        "y": 1121.1665649414062,
+        "z": "52a683af.ecb40c",
+        "wires": [
+            [
+                "d0c4db66.3b7558",
+                "69204f4a.d02e6"
+            ]
+        ]
+    },
+    {
+        "id": "d0c4db66.3b7558",
+        "type": "other",
+        "name": "Configure",
+        "xml": "<outcome value='Configure'>",
+        "comments": "",
+        "outputs": 1,
+        "x": 1515.7498779296875,
+        "y": 1068.0831909179688,
+        "z": "52a683af.ecb40c",
+        "wires": [
+            [
+                "778e367b.cc4f18"
+            ]
+        ]
+    },
+    {
+        "id": "69204f4a.d02e6",
+        "type": "other",
+        "name": "ConfigScale",
+        "xml": "<outcome value='ConfigScale'>",
+        "comments": "",
+        "outputs": 1,
+        "x": 1516.5,
+        "y": 1116.16650390625,
+        "z": "52a683af.ecb40c",
+        "wires": [
+            [
+                "778e367b.cc4f18"
+            ]
+        ]
+    },
+    {
+        "id": "778e367b.cc4f18",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic=\"true\">",
+        "atomic": "true",
+        "outputs": 1,
+        "x": 1805.91650390625,
+        "y": 1095.2498779296875,
+        "z": "52a683af.ecb40c",
+        "wires": [
+            [
+                "7fa3b968.d5c0a8"
+            ]
+        ]
+    },
+    {
+        "id": "7fa3b968.d5c0a8",
+        "type": "call",
+        "name": "call: UpdateAaiInfo",
+        "xml": "<call module=\"APPC\" rpc=\"UpdateAaiInfo\" mode=\"sync\">",
+        "comments": "",
+        "outputs": 1,
+        "x": 813.3334350585938,
+        "y": 1279.583251953125,
+        "z": "52a683af.ecb40c",
+        "wires": [
+            [
+                "87178d0e.4aa59"
+            ]
+        ]
+    },
+    {
+        "id": "87178d0e.4aa59",
+        "type": "not-found",
+        "name": "not-found",
+        "xml": "<outcome value='not-found'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1033.916748046875,
+        "y": 1284.833251953125,
+        "z": "52a683af.ecb40c",
+        "wires": [
+            [
+                "f84be820.25b9a8"
+            ]
+        ]
+    },
+    {
+        "id": "f84be820.25b9a8",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic=\"true\">",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 1242.083251953125,
+        "y": 1285.41650390625,
+        "z": "52a683af.ecb40c",
+        "wires": [
+            [
+                "d6f3cd40.e1ce7",
+                "719a9d1d.42e6d4"
+            ]
+        ]
+    },
+    {
+        "id": "d6f3cd40.e1ce7",
+        "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": 1489.25,
+        "y": 1249.9998779296875,
+        "z": "52a683af.ecb40c",
+        "wires": []
+    },
+    {
+        "id": "719a9d1d.42e6d4",
+        "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": 1456.1666259765625,
+        "y": 1332.2498779296875,
+        "z": "52a683af.ecb40c",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "f6da6946.3b0728",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic=\"true\">",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 1742.083251953125,
+        "y": 1015.6665649414062,
+        "z": "52a683af.ecb40c",
+        "wires": [
+            [
+                "8515cd05.a6164",
+                "c1b64b94.7d4608"
+            ]
+        ]
+    },
+    {
+        "id": "f644bf25.edfc6",
+        "type": "not-found",
+        "name": "not-found",
+        "xml": "<outcome value='not-found'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1512.583251953125,
+        "y": 1020.4165649414062,
+        "z": "52a683af.ecb40c",
+        "wires": [
+            [
+                "f6da6946.3b0728"
+            ]
+        ]
+    },
+    {
+        "id": "8515cd05.a6164",
+        "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": 1981,
+        "y": 984.9165649414062,
+        "z": "52a683af.ecb40c",
+        "wires": []
+    },
+    {
+        "id": "c1b64b94.7d4608",
+        "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": 1949.4998779296875,
+        "y": 1044.7499389648438,
+        "z": "52a683af.ecb40c",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "4841c4f7.18404c",
+        "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": 506.20635986328125,
+        "y": 169.047607421875,
+        "z": "52a683af.ecb40c",
+        "wires": [
+            [
+                "9e905434.4346c8",
+                "6c80d4f9.72a4cc"
+            ]
+        ]
+    },
+    {
+        "id": "9e905434.4346c8",
+        "type": "other",
+        "name": "other",
+        "xml": "<outcome value='Other'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 775.77783203125,
+        "y": 146.66664123535156,
+        "z": "52a683af.ecb40c",
+        "wires": [
+            [
+                "5f985c72.409704"
+            ]
+        ]
+    },
+    {
+        "id": "5f985c72.409704",
+        "type": "block",
+        "name": "block",
+        "xml": "<block>\n",
+        "atomic": "false",
+        "comments": "",
+        "outputs": 1,
+        "x": 912.77783203125,
+        "y": 150.66664123535156,
+        "z": "52a683af.ecb40c",
+        "wires": [
+            [
+                "45365f04.afad5"
+            ]
+        ]
+    },
+    {
+        "id": "45365f04.afad5",
+        "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": 1063.77783203125,
+        "y": 147.66664123535156,
+        "z": "52a683af.ecb40c",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "6c80d4f9.72a4cc",
+        "type": "failure",
+        "name": "failure",
+        "xml": "<outcome value='failure'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 773.7777404785156,
+        "y": 196.80950927734375,
+        "z": "52a683af.ecb40c",
+        "wires": [
+            [
+                "e30b4176.d834b"
+            ]
+        ]
+    },
+    {
+        "id": "e30b4176.d834b",
+        "type": "block",
+        "name": "block",
+        "xml": "<block>\n",
+        "atomic": "false",
+        "comments": "",
+        "outputs": 1,
+        "x": 905.111083984375,
+        "y": 209.00003051757812,
+        "z": "52a683af.ecb40c",
+        "wires": [
+            [
+                "111592d3.3018bd"
+            ]
+        ]
+    },
+    {
+        "id": "111592d3.3018bd",
+        "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": 1062.7776794433594,
+        "y": 213.7142333984375,
+        "z": "52a683af.ecb40c",
+        "wires": []
+    },
+    {
+        "id": "a4911ce9.10e92",
+        "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": 495.5038757324219,
+        "y": 432.92860412597656,
+        "z": "52a683af.ecb40c",
+        "wires": [
+            [
+                "491da197.6b1ed",
+                "5638bc63.8daca4"
+            ]
+        ]
+    },
+    {
+        "id": "491da197.6b1ed",
+        "type": "failure",
+        "name": "failure",
+        "xml": "<outcome value='failure'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 650.9682312011719,
+        "y": 409.5357208251953,
+        "z": "52a683af.ecb40c",
+        "wires": [
+            [
+                "8c44ccf6.ae75b"
+            ]
+        ]
+    },
+    {
+        "id": "5638bc63.8daca4",
+        "type": "not-found",
+        "name": "not-found",
+        "xml": "<outcome value='not-found'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 654.3611145019531,
+        "y": 445.2498321533203,
+        "z": "52a683af.ecb40c",
+        "wires": [
+            [
+                "8c44ccf6.ae75b"
+            ]
+        ]
+    },
+    {
+        "id": "8c44ccf6.ae75b",
+        "type": "block",
+        "name": "block",
+        "xml": "<block>\n",
+        "atomic": "false",
+        "comments": "",
+        "outputs": 1,
+        "x": 834.3610534667969,
+        "y": 411.85716247558594,
+        "z": "52a683af.ecb40c",
+        "wires": [
+            [
+                "352edffd.79f5"
+            ]
+        ]
+    },
+    {
+        "id": "352edffd.79f5",
+        "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": 1002.7538757324219,
+        "y": 403.8214569091797,
+        "z": "52a683af.ecb40c",
+        "wires": []
+    },
+    {
+        "id": "ee11c5a2.de3b28",
+        "type": "get-resource",
+        "name": "get-resource: APPC.protocol",
+        "xml": "<get-resource\n\tplugin='onap.ccsdk.sli.core.sli.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": 464.14276123046875,
+        "y": 264.85719299316406,
+        "z": "52a683af.ecb40c",
+        "wires": [
+            [
+                "30ddfb05.6b35e4",
+                "fac18982.a86bd8"
+            ]
+        ]
+    },
+    {
+        "id": "30ddfb05.6b35e4",
+        "type": "failure",
+        "name": "failure",
+        "xml": "<outcome value='failure'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 682,
+        "y": 282,
+        "z": "52a683af.ecb40c",
+        "wires": [
+            [
+                "ef8720d2.bd0c4"
+            ]
+        ]
+    },
+    {
+        "id": "ef8720d2.bd0c4",
+        "type": "block",
+        "name": "block",
+        "xml": "<block>\n",
+        "atomic": "false",
+        "comments": "",
+        "outputs": 1,
+        "x": 812,
+        "y": 279,
+        "z": "52a683af.ecb40c",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "fac18982.a86bd8",
+        "type": "success",
+        "name": "success",
+        "xml": "<outcome value='success'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 684,
+        "y": 322,
+        "z": "52a683af.ecb40c",
+        "wires": [
+            [
+                "c39c3264.cf0ea"
+            ]
+        ]
+    },
+    {
+        "id": "c39c3264.cf0ea",
+        "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": 864,
+        "y": 319,
+        "z": "52a683af.ecb40c",
+        "wires": []
+    },
+    {
+        "id": "f15b33a8.0ec6a",
+        "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": 406.1428527832031,
+        "y": 310.85716247558594,
+        "z": "52a683af.ecb40c",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "aadd18fd.92c118",
+        "type": "set",
+        "name": "set Download params",
+        "xml": "<set> \n <parameter name='host-ip-address' value='`$tmp-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": 340.2856750488281,
+        "y": 776.4285888671875,
+        "z": "52a683af.ecb40c",
+        "wires": []
+    },
+    {
+        "id": "cb482016.78079",
+        "type": "other",
+        "name": "other",
+        "xml": "<outcome value='Other'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 354.1665344238281,
+        "y": 399.8806915283203,
+        "z": "52a683af.ecb40c",
+        "wires": [
+            [
+                "a4911ce9.10e92"
+            ]
+        ]
+    },
+    {
+        "id": "9802424b.872eb",
+        "type": "switchNode",
+        "name": "switch : Protocol",
+        "xml": "<switch test=\"`$APPC.protocol.PROTOCOL`\">\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 269.8808898925781,
+        "y": 348.45237731933594,
+        "z": "52a683af.ecb40c",
+        "wires": [
+            [
+                "aaf0fc4a.6e257",
+                "cb482016.78079"
+            ]
+        ]
+    },
+    {
+        "id": "aaf0fc4a.6e257",
+        "type": "outcome",
+        "name": "CHEF",
+        "xml": "<outcome value='CHEF'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 485.5951843261719,
+        "y": 357.02381896972656,
+        "z": "52a683af.ecb40c",
+        "wires": [
+            [
+                "80c740aa.e503"
+            ]
+        ]
+    },
+    {
+        "id": "80c740aa.e503",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic=\"true\">",
+        "atomic": "true",
+        "outputs": 1,
+        "x": 700.1666564941406,
+        "y": 358.14283752441406,
+        "z": "52a683af.ecb40c",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "6d3f90cf.e8c4c",
+        "type": "switchNode",
+        "name": "switch: IpAddress In Payload",
+        "xml": "<switch test='`$vnf-host-ip-address`'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 374,
+        "y": 567,
+        "z": "52a683af.ecb40c",
+        "wires": [
+            [
+                "1132819.1839f7e",
+                "7017363b.88eae8"
+            ]
+        ]
+    },
+    {
+        "id": "1132819.1839f7e",
+        "type": "outcome",
+        "name": "null",
+        "xml": "<outcome value=''>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 587,
+        "y": 531,
+        "z": "52a683af.ecb40c",
+        "wires": [
+            [
+                "d4cf6b30.28a6e8"
+            ]
+        ]
+    },
+    {
+        "id": "7017363b.88eae8",
+        "type": "success",
+        "name": "outcome: Other",
+        "xml": "<outcome value='Other'>",
+        "comments": "",
+        "outputs": 1,
+        "x": 602,
+        "y": 605,
+        "z": "52a683af.ecb40c",
+        "wires": [
+            [
+                "b244538a.84f09"
+            ]
+        ]
+    },
+    {
+        "id": "d4cf6b30.28a6e8",
+        "type": "block",
+        "name": "block",
+        "xml": "<block>",
+        "atomic": "false",
+        "comments": "",
+        "outputs": 1,
+        "x": 755,
+        "y": 530,
+        "z": "52a683af.ecb40c",
+        "wires": [
+            [
+                "f951247.1c448d8"
+            ]
+        ]
+    },
+    {
+        "id": "b244538a.84f09",
+        "type": "block",
+        "name": "block",
+        "xml": "<block>",
+        "atomic": "false",
+        "comments": "",
+        "outputs": 1,
+        "x": 778,
+        "y": 605,
+        "z": "52a683af.ecb40c",
+        "wires": [
+            [
+                "6eb3911b.57f3b"
+            ]
+        ]
+    },
+    {
+        "id": "f951247.1c448d8",
+        "type": "switchNode",
+        "name": "switch vnfc-type",
+        "xml": "<switch test='`$vnfc-type`'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 932,
+        "y": 526,
+        "z": "52a683af.ecb40c",
+        "wires": [
+            [
+                "c1225d38.97cb1",
+                "82d8f695.8b5c68"
+            ]
+        ]
+    },
+    {
+        "id": "6eb3911b.57f3b",
+        "type": "set",
+        "name": "set payload ip-address",
+        "xml": "<set>\n<parameter name='tmp-host-ip-address' value='`$vnf-host-ip-address`' />\n",
+        "comments": "",
+        "x": 993,
+        "y": 605,
+        "z": "52a683af.ecb40c",
+        "wires": []
+    },
+    {
+        "id": "c1225d38.97cb1",
+        "type": "outcome",
+        "name": "null",
+        "xml": "<outcome value=''>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1131,
+        "y": 482,
+        "z": "52a683af.ecb40c",
+        "wires": [
+            [
+                "f17c7d9f.507bf"
+            ]
+        ]
+    },
+    {
+        "id": "82d8f695.8b5c68",
+        "type": "success",
+        "name": "outcome: Other",
+        "xml": "<outcome value='Other'>",
+        "comments": "",
+        "outputs": 1,
+        "x": 1149,
+        "y": 553,
+        "z": "52a683af.ecb40c",
+        "wires": [
+            [
+                "a6d1702d.69cfe"
+            ]
+        ]
+    },
+    {
+        "id": "f17c7d9f.507bf",
+        "type": "block",
+        "name": "block",
+        "xml": "<block>",
+        "atomic": "false",
+        "comments": "",
+        "outputs": 1,
+        "x": 1288,
+        "y": 480,
+        "z": "52a683af.ecb40c",
+        "wires": [
+            [
+                "ba20b173.7fe9"
+            ]
+        ]
+    },
+    {
+        "id": "ba20b173.7fe9",
+        "type": "set",
+        "name": "set vnf ip-address",
+        "xml": "<set>\n<parameter name='tmp-host-ip-address' value='`$tmp.vnfInfo.vnf.ipv4-oam-address`' />\n",
+        "comments": "",
+        "x": 1475,
+        "y": 475,
+        "z": "52a683af.ecb40c",
+        "wires": []
+    },
+    {
+        "id": "a6d1702d.69cfe",
+        "type": "block",
+        "name": "block",
+        "xml": "<block>",
+        "atomic": "false",
+        "comments": "",
+        "outputs": 1,
+        "x": 1312,
+        "y": 554,
+        "z": "52a683af.ecb40c",
+        "wires": [
+            [
+                "8c1da743.f18f08"
+            ]
+        ]
+    },
+    {
+        "id": "8c1da743.f18f08",
+        "type": "switchNode",
+        "name": "switch vnfc-type",
+        "xml": "<switch test='`$vnfc-type==$tmp.vnfInfo.vnfcInfo.ipaddress-v4-oam-vip`'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1484,
+        "y": 547,
+        "z": "52a683af.ecb40c",
+        "wires": [
+            [
+                "25c93d80.d7f872",
+                "18f7dcf1.4c1b83"
+            ]
+        ]
+    },
+    {
+        "id": "25c93d80.d7f872",
+        "type": "outcomeTrue",
+        "name": "true",
+        "xml": "<outcome value='true'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1662,
+        "y": 506,
+        "z": "52a683af.ecb40c",
+        "wires": [
+            [
+                "aef4367c.80d138"
+            ]
+        ]
+    },
+    {
+        "id": "18f7dcf1.4c1b83",
+        "type": "outcomeFalse",
+        "name": "false",
+        "xml": "<outcome value='false'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1656,
+        "y": 586,
+        "z": "52a683af.ecb40c",
+        "wires": [
+            [
+                "9f404420.87c118"
+            ]
+        ]
+    },
+    {
+        "id": "aef4367c.80d138",
+        "type": "set",
+        "name": "set vnfc ip-address",
+        "xml": "<set>\n<parameter name='tmp-host-ip-address' value='`$tmp.vnfInfo.vnfcInfo.ipaddress-v4-oam-vip`' />\n",
+        "comments": "",
+        "x": 1850,
+        "y": 506,
+        "z": "52a683af.ecb40c",
+        "wires": []
+    },
+    {
+        "id": "9f404420.87c118",
+        "type": "block",
+        "name": "block",
+        "xml": "<block>\n",
+        "atomic": "false",
+        "comments": "",
+        "outputs": 1,
+        "x": 1817,
+        "y": 586,
+        "z": "52a683af.ecb40c",
+        "wires": [
+            []
+        ]
+    }
+]