summaryrefslogtreecommitdiffstats
path: root/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_Generic_Configure.json
diff options
context:
space:
mode:
authorTaka <tc012c@att.com>2017-12-22 17:44:27 -0500
committerTaka <tc012c@att.com>2017-12-22 17:46:08 -0500
commit26c841f18a69baedda1215cb06ee3197f4662115 (patch)
treeada1b18a78e126f117a053d433da04a8a68a99c1 /appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_Generic_Configure.json
parent8d08b3b9314dbb5eb15cd278fb50fc35b1cc8fdd (diff)
Platform Hardening for DG Json files- Part 6
Issue-ID: APPC-305 Change-Id: I6cdc5bc789c4935d4515bc55edd8a9dc7f32c3c3 Signed-off-by: Taka <tc012c@att.com>
Diffstat (limited to 'appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_Generic_Configure.json')
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_Generic_Configure.json1064
1 files changed, 1063 insertions, 1 deletions
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