-[{"id":"eb3345bc.1c6008","type":"dgstart","name":"DGSTART","outputs":1,"x":160,"y":114,"z":"e64f9575.c955b8","wires":[["48829488.85508c"]]},{"id":"48829488.85508c","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":342.1667022705078,"y":110.66668701171875,"z":"e64f9575.c955b8","wires":[["e0a3d8ff.542978"]]},{"id":"e0a3d8ff.542978","type":"method","name":"method DownloadIsbcConfig","xml":"<method rpc='DownloadIsbcConfig' mode='sync'>\n","comments":"","outputs":1,"x":612.5000305175781,"y":107.33334350585938,"z":"e64f9575.c955b8","wires":[["114a3b97.bcbcc4"]]},{"id":"114a3b97.bcbcc4","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":127.25,"y":174.88888549804688,"z":"e64f9575.c955b8","wires":[["83df5118.b8ab3","7075ec58.bf47f4","b6692cc9.1d46f"]]},{"id":"83df5118.b8ab3","type":"configure","name":"configure: SftpAdaptor: Put config","xml":"<configure adaptor=\"org.openecomp.appc.ccadaptor.ConfigComponentAdaptor\" key=\"put\">\n<parameter name=\"host\" value=\"`$vnf-host-ip-address`\"/>\n<parameter name=\"loginId\" value=\"`$device-authentication.USER-NAME`\"/>\n<parameter name=\"password\" value=\"`$device-authentication.PASSWORD`\"/>\n<parameter name=\"data\" value=\"`$deviceconfig-file-content`\"/>\t\n<parameter name=\"fullPathFileName\" value=\"`$configfilereference-deviceconfig.TARGET-FILE-PATH`\"/>\t\n\n\n","comments":"","outputs":1,"x":451.06817626953125,"y":388.2281188964844,"z":"e64f9575.c955b8","wires":[["b2f45988.44cff8","b0981c87.9858"]]},{"id":"b2f45988.44cff8","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":731.0681762695312,"y":365.2281188964844,"z":"e64f9575.c955b8","wires":[["7119a88b.f78748"]]},{"id":"7119a88b.f78748","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":915.0681762695312,"y":370.2281188964844,"z":"e64f9575.c955b8","wires":[["dd3ffa1.5c71708","cb21b493.06d748"]]},{"id":"7075ec58.bf47f4","type":"call","name":"call: CheckConfigStatus","xml":"<call module=\"APPC\" rpc=\"CheckConfigStatus\" mode=\"sync\">","comments":"","outputs":1,"x":426.06817626953125,"y":619.2281188964844,"z":"e64f9575.c955b8","wires":[["d5aabd81.471ee"]]},{"id":"dd3ffa1.5c71708","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n<parameter name=\"error-code\" value=\"401\"/>\n","comments":"","x":1131.25,"y":426.8888854980469,"z":"e64f9575.c955b8","wires":[]},{"id":"b0981c87.9858","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":729,"y":517.0000305175781,"z":"e64f9575.c955b8","wires":[["b7e9dc8a.54fff"]]},{"id":"b7e9dc8a.54fff","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":902,"y":521.0000305175781,"z":"e64f9575.c955b8","wires":[["169463d2.10edfc"]]},{"id":"169463d2.10edfc","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n<parameter name=\"error-code\" value=\"401\"/>\n<parameter name=\"error-message\" value=\"DG Failure.Unable to Call Sftp Adaptor for Config\"/>","comments":"","x":1094,"y":521.0000305175781,"z":"e64f9575.c955b8","wires":[]},{"id":"cb21b493.06d748","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=\"host\" value=\"`$vnf-host-ip-address`\"/>\n<parameter name=\"SFTPERRORCODE\" value=\"`$error-code`\"/>\n<parameter name=\"SFTPERRORMESSAGE\" value=\"`$error-message`\"/>\n\n\n\n\n\n","comments":"","outputs":1,"x":1128,"y":327.0000305175781,"z":"e64f9575.c955b8","wires":[[]]},{"id":"67dd3158.9d315","type":"failure","name":"failure","xml":"<outcome value='failure'>","comments":"","outputs":1,"x":635,"y":625.3333435058594,"z":"e64f9575.c955b8","wires":[["153f64f9.4e677b"]]},{"id":"153f64f9.4e677b","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":802,"y":625.3333435058594,"z":"e64f9575.c955b8","wires":[["2ba04af9.5b58c6"]]},{"id":"2ba04af9.5b58c6","type":"record","name":"record","xml":"<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field3\" value=\"CONTINUE THE FLOW\"/>\n\n","comments":"","outputs":1,"x":996,"y":620.3333435058594,"z":"e64f9575.c955b8","wires":[[]]},{"id":"d5aabd81.471ee","type":"failure","name":"not-found","xml":"<outcome value='not-found'>","comments":"","outputs":1,"x":636,"y":680.3333435058594,"z":"e64f9575.c955b8","wires":[["b6627066.5ac24"]]},{"id":"b6627066.5ac24","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":811,"y":683.3333435058594,"z":"e64f9575.c955b8","wires":[["8f7d48e.816bcb8"]]},{"id":"8f7d48e.816bcb8","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n<parameter name=\"error-code\" value=\"401\"/>\n<parameter name=\"error-message\" value=\"DG Workflow RetryActivate not found\"/>","comments":"","x":1009,"y":681.3333435058594,"z":"e64f9575.c955b8","wires":[]},{"id":"b6692cc9.1d46f","type":"execute","name":"execute getConfigFileReference","xml":"<execute plugin=\"org.openecomp.appc.data.services.node.ConfigResourceNode\" method=\"getConfigFileReference\">\n<parameter name=\"responsePrefix\" value=\"tmp.configfilereference\" />\n","comments":"","outputs":1,"x":423,"y":253,"z":"e64f9575.c955b8","wires":[["f431fc4b.07dbd","6aa707f2.3962d8"]]},{"id":"f431fc4b.07dbd","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":664,"y":256,"z":"e64f9575.c955b8","wires":[["490891c5.5ce3c"]]},{"id":"490891c5.5ce3c","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":821,"y":259,"z":"e64f9575.c955b8","wires":[["b38dc0b2.00fff"]]},{"id":"b38dc0b2.00fff","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n<parameter name=\"error-code\" value=\"401\"/>\n\t<parameter name=\"error-message\" value=\"`$tmp.configfilereference.error-message`\"/>","comments":"","x":1007,"y":264,"z":"e64f9575.c955b8","wires":[]},{"id":"6aa707f2.3962d8","type":"failure","name":"not-found","xml":"<outcome value='not-found'>","comments":"","outputs":1,"x":666,"y":308,"z":"e64f9575.c955b8","wires":[["e505c188.60085"]]},{"id":"e505c188.60085","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":818,"y":311,"z":"e64f9575.c955b8","wires":[["e3e69cb8.26078"]]},{"id":"e3e69cb8.26078","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n<parameter name=\"error-code\" value=\"401\"/>\n<parameter name=\"error-message\" value=\"Unable to get data from config_file_reference\"/>","comments":"","x":965,"y":312,"z":"e64f9575.c955b8","wires":[]}]
+[\r
+ {\r
+ "id": "eb3345bc.1c6008",\r
+ "type": "dgstart",\r
+ "name": "DGSTART",\r
+ "outputs": 1,\r
+ "x": 160,\r
+ "y": 114,\r
+ "z": "e64f9575.c955b8",\r
+ "wires": [\r
+ [\r
+ "48829488.85508c"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "48829488.85508c",\r
+ "type": "service-logic",\r
+ "name": "APPC 4.0.0",\r
+ "module": "APPC",\r
+ "version": "4.0.0",\r
+ "comments": "",\r
+ "xml": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='APPC' version='4.0.0'>",\r
+ "outputs": 1,\r
+ "x": 342.1667022705078,\r
+ "y": 110.66668701171875,\r
+ "z": "e64f9575.c955b8",\r
+ "wires": [\r
+ [\r
+ "e0a3d8ff.542978"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "e0a3d8ff.542978",\r
+ "type": "method",\r
+ "name": "method DownloadIsbcConfig",\r
+ "xml": "<method rpc='DownloadIsbcConfig' mode='sync'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 612.5000305175781,\r
+ "y": 107.33334350585938,\r
+ "z": "e64f9575.c955b8",\r
+ "wires": [\r
+ [\r
+ "114a3b97.bcbcc4"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "114a3b97.bcbcc4",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic=\"true\">",\r
+ "atomic": "true",\r
+ "outputs": 1,\r
+ "x": 127.25,\r
+ "y": 174.88888549804688,\r
+ "z": "e64f9575.c955b8",\r
+ "wires": [\r
+ [\r
+ "83df5118.b8ab3",\r
+ "7075ec58.bf47f4",\r
+ "b6692cc9.1d46f"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "83df5118.b8ab3",\r
+ "type": "configure",\r
+ "name": "configure: SftpAdaptor: Put config",\r
+ "xml": "<configure adaptor=\"org.onap.appc.ccadaptor.ConfigComponentAdaptor\" key=\"put\">\n<parameter name=\"host\" value=\"`$vnf-host-ip-address`\"/>\n<parameter name=\"loginId\" value=\"`$device-authentication.USER-NAME`\"/>\n<parameter name=\"password\" value=\"`$device-authentication.PASSWORD`\"/>\n<parameter name=\"data\" value=\"`$deviceconfig-file-content`\"/>\t\n<parameter name=\"fullPathFileName\" value=\"`$configfilereference-deviceconfig.TARGET-FILE-PATH`\"/>\t\n\n\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 451.06817626953125,\r
+ "y": 388.2281188964844,\r
+ "z": "e64f9575.c955b8",\r
+ "wires": [\r
+ [\r
+ "b2f45988.44cff8",\r
+ "b0981c87.9858"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "b2f45988.44cff8",\r
+ "type": "failure",\r
+ "name": "failure",\r
+ "xml": "<outcome value='failure'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 731.0681762695312,\r
+ "y": 365.2281188964844,\r
+ "z": "e64f9575.c955b8",\r
+ "wires": [\r
+ [\r
+ "7119a88b.f78748"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "7119a88b.f78748",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 915.0681762695312,\r
+ "y": 370.2281188964844,\r
+ "z": "e64f9575.c955b8",\r
+ "wires": [\r
+ [\r
+ "dd3ffa1.5c71708",\r
+ "cb21b493.06d748"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "7075ec58.bf47f4",\r
+ "type": "call",\r
+ "name": "call: CheckConfigStatus",\r
+ "xml": "<call module=\"APPC\" rpc=\"CheckConfigStatus\" mode=\"sync\">",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 426.06817626953125,\r
+ "y": 619.2281188964844,\r
+ "z": "e64f9575.c955b8",\r
+ "wires": [\r
+ [\r
+ "d5aabd81.471ee"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "dd3ffa1.5c71708",\r
+ "type": "returnFailure",\r
+ "name": "return failure",\r
+ "xml": "<return status='failure'>\n<parameter name=\"error-code\" value=\"401\"/>\n",\r
+ "comments": "",\r
+ "x": 1131.25,\r
+ "y": 426.8888854980469,\r
+ "z": "e64f9575.c955b8",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "b0981c87.9858",\r
+ "type": "not-found",\r
+ "name": "not-found",\r
+ "xml": "<outcome value='not-found'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 729,\r
+ "y": 517.0000305175781,\r
+ "z": "e64f9575.c955b8",\r
+ "wires": [\r
+ [\r
+ "b7e9dc8a.54fff"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "b7e9dc8a.54fff",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 902,\r
+ "y": 521.0000305175781,\r
+ "z": "e64f9575.c955b8",\r
+ "wires": [\r
+ [\r
+ "169463d2.10edfc"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "169463d2.10edfc",\r
+ "type": "returnFailure",\r
+ "name": "return failure",\r
+ "xml": "<return status='failure'>\n<parameter name=\"error-code\" value=\"401\"/>\n<parameter name=\"error-message\" value=\"DG Failure.Unable to Call Sftp Adaptor for Config\"/>",\r
+ "comments": "",\r
+ "x": 1094,\r
+ "y": 521.0000305175781,\r
+ "z": "e64f9575.c955b8",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "cb21b493.06d748",\r
+ "type": "record",\r
+ "name": "record",\r
+ "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=\"host\" value=\"`$vnf-host-ip-address`\"/>\n<parameter name=\"SFTPERRORCODE\" value=\"`$error-code`\"/>\n<parameter name=\"SFTPERRORMESSAGE\" value=\"`$error-message`\"/>\n\n\n\n\n\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1128,\r
+ "y": 327.0000305175781,\r
+ "z": "e64f9575.c955b8",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "67dd3158.9d315",\r
+ "type": "failure",\r
+ "name": "failure",\r
+ "xml": "<outcome value='failure'>",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 635,\r
+ "y": 625.3333435058594,\r
+ "z": "e64f9575.c955b8",\r
+ "wires": [\r
+ [\r
+ "153f64f9.4e677b"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "153f64f9.4e677b",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic=\"true\">",\r
+ "atomic": "true",\r
+ "outputs": 1,\r
+ "x": 802,\r
+ "y": 625.3333435058594,\r
+ "z": "e64f9575.c955b8",\r
+ "wires": [\r
+ [\r
+ "2ba04af9.5b58c6"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "2ba04af9.5b58c6",\r
+ "type": "record",\r
+ "name": "record",\r
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field3\" value=\"CONTINUE THE FLOW\"/>\n\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 996,\r
+ "y": 620.3333435058594,\r
+ "z": "e64f9575.c955b8",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "d5aabd81.471ee",\r
+ "type": "failure",\r
+ "name": "not-found",\r
+ "xml": "<outcome value='not-found'>",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 636,\r
+ "y": 680.3333435058594,\r
+ "z": "e64f9575.c955b8",\r
+ "wires": [\r
+ [\r
+ "b6627066.5ac24"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "b6627066.5ac24",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic=\"true\">",\r
+ "atomic": "true",\r
+ "outputs": 1,\r
+ "x": 811,\r
+ "y": 683.3333435058594,\r
+ "z": "e64f9575.c955b8",\r
+ "wires": [\r
+ [\r
+ "8f7d48e.816bcb8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "8f7d48e.816bcb8",\r
+ "type": "returnFailure",\r
+ "name": "return failure",\r
+ "xml": "<return status='failure'>\n<parameter name=\"error-code\" value=\"401\"/>\n<parameter name=\"error-message\" value=\"DG Workflow RetryActivate not found\"/>",\r
+ "comments": "",\r
+ "x": 1009,\r
+ "y": 681.3333435058594,\r
+ "z": "e64f9575.c955b8",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "b6692cc9.1d46f",\r
+ "type": "execute",\r
+ "name": "execute getConfigFileReference",\r
+ "xml": "<execute plugin=\"org.onap.appc.data.services.node.ConfigResourceNode\" method=\"getConfigFileReference\">\n<parameter name=\"responsePrefix\" value=\"tmp.configfilereference\" />\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 423,\r
+ "y": 253,\r
+ "z": "e64f9575.c955b8",\r
+ "wires": [\r
+ [\r
+ "f431fc4b.07dbd",\r
+ "6aa707f2.3962d8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "f431fc4b.07dbd",\r
+ "type": "failure",\r
+ "name": "failure",\r
+ "xml": "<outcome value='failure'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 664,\r
+ "y": 256,\r
+ "z": "e64f9575.c955b8",\r
+ "wires": [\r
+ [\r
+ "490891c5.5ce3c"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "490891c5.5ce3c",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 821,\r
+ "y": 259,\r
+ "z": "e64f9575.c955b8",\r
+ "wires": [\r
+ [\r
+ "b38dc0b2.00fff"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "b38dc0b2.00fff",\r
+ "type": "returnFailure",\r
+ "name": "return failure",\r
+ "xml": "<return status=\"failure\">\n<parameter name=\"error-code\" value=\"401\"/>\n\t<parameter name=\"error-message\" value=\"`$tmp.configfilereference.error-message`\"/>",\r
+ "comments": "",\r
+ "x": 1007,\r
+ "y": 264,\r
+ "z": "e64f9575.c955b8",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "6aa707f2.3962d8",\r
+ "type": "failure",\r
+ "name": "not-found",\r
+ "xml": "<outcome value='not-found'>",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 666,\r
+ "y": 308,\r
+ "z": "e64f9575.c955b8",\r
+ "wires": [\r
+ [\r
+ "e505c188.60085"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "e505c188.60085",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 818,\r
+ "y": 311,\r
+ "z": "e64f9575.c955b8",\r
+ "wires": [\r
+ [\r
+ "e3e69cb8.26078"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "e3e69cb8.26078",\r
+ "type": "returnFailure",\r
+ "name": "return failure",\r
+ "xml": "<return status='failure'>\n<parameter name=\"error-code\" value=\"401\"/>\n<parameter name=\"error-message\" value=\"Unable to get data from config_file_reference\"/>",\r
+ "comments": "",\r
+ "x": 965,\r
+ "y": 312,\r
+ "z": "e64f9575.c955b8",\r
+ "wires": []\r
+ }\r
+]\r