aboutsummaryrefslogtreecommitdiffstats
path: root/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/APPC_Restart_VNFC.json
diff options
context:
space:
mode:
Diffstat (limited to 'appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/APPC_Restart_VNFC.json')
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/APPC_Restart_VNFC.json534
1 files changed, 533 insertions, 1 deletions
diff --git a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/APPC_Restart_VNFC.json b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/APPC_Restart_VNFC.json
index 8637e7353..ac659f8b2 100644
--- a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/APPC_Restart_VNFC.json
+++ b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/APPC_Restart_VNFC.json
@@ -1 +1,533 @@
-[{"id":"3999b2fb.e7e18e","type":"dgstart","name":"DGSTART","outputs":1,"x":93.80625915527344,"y":73,"z":"4854885a.f23e18","wires":[["b5e49950.85b5a8"]]},{"id":"b5e49950.85b5a8","type":"service-logic","name":"APPC 2.0.0","module":"APPC","version":"2.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='2.0.0'>","outputs":1,"x":242.80638122558594,"y":71,"z":"4854885a.f23e18","wires":[["bdcf7e7f.4e437"]]},{"id":"bdcf7e7f.4e437","type":"method","name":"Restart_VNFC","xml":"<method rpc='Restart_VNFC' mode='sync'>\n","comments":"","outputs":1,"x":179.8064422607422,"y":195,"z":"4854885a.f23e18","wires":[["a5783312.b327c"]]},{"id":"1bd84ac3.7fcfd5","type":"execute","name":"Resolve_VNFC_Healthcheck_DG","xml":"<execute plugin='org.onap.appc.dg.common.DgResolverPlugin' method='resolveDg'>\n<parameter name=\"vnfType\" value='`$vnf.type`' />\n<parameter name=\"vnfcType\" value='`$vnfcType`' />\n<parameter name=\"action\" value=\"HealthCheck\" />\n<parameter name=\"api-ver\" value='`$input.common-header.api-ver`' />\n<parameter name=\"prefix\" value=\"HealthCheckDG\" />\n<parameter name=\"DGResolutionType\" value=\"VNFC\" />","comments":"","outputs":1,"x":556.8065338134766,"y":131,"z":"4854885a.f23e18","wires":[["53648e0a.881e6","a7ddd2a4.8b0b1","cbf0e15a.5803f"]]},{"id":"53648e0a.881e6","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":820.8063812255859,"y":73,"z":"4854885a.f23e18","wires":[["725f6041.883d9"]]},{"id":"a7ddd2a4.8b0b1","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":815.8064422607422,"y":153,"z":"4854885a.f23e18","wires":[["97c69f2.728956"]]},{"id":"a5783312.b327c","type":"block","name":"block","xml":"<block atomic='true'>","atomic":"false","comments":"","outputs":1,"x":317.80638122558594,"y":335,"z":"4854885a.f23e18","wires":[["1bd84ac3.7fcfd5","d71f5937.f14218","936e1ac5.afa968"]]},{"id":"d71f5937.f14218","type":"execute","name":"Update AAI ","xml":"<execute plugin='org.onap.appc.dg.aai.AAIPlugin' method='postResource'>\n<parameter name=\"resourceType\" value=\"vnfc\" />\n<parameter name=\"prefix\" value=\"vnfc\" />\n<parameter name=\"resourceKey\" value='vnfc-name = $vnfcName' />\n<parameter name=\"attributeName\" value=\"orchestration-status\" />\n<parameter name=\"attributeValue\" value=\"Restarting\" />","comments":"","outputs":1,"x":1197.8065185546875,"y":332.00000762939453,"z":"4854885a.f23e18","wires":[["bea680bc.2d4ac","c88e6fc7.c8b1a","b684c3af.4fe9d"]]},{"id":"936e1ac5.afa968","type":"switchNode","name":"Resilence Type ?","xml":"<switch test='`$resilienceType`'>\n","comments":"","outputs":1,"x":488.80633544921875,"y":589.0002136230469,"z":"4854885a.f23e18","wires":[["c45e35f9.dc3078","f08e1f81.6c0c6","2a0b09fd.8888e6"]]},{"id":"c45e35f9.dc3078","type":"outcome","name":"Active_Active","xml":"<outcome value='Active-Active'>\n","comments":"","outputs":1,"x":685.8064117431641,"y":517.0001220703125,"z":"4854885a.f23e18","wires":[["da64233c.b93ea"]]},{"id":"f08e1f81.6c0c6","type":"outcome","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":669.8064727783203,"y":590.0001525878906,"z":"4854885a.f23e18","wires":[["da64233c.b93ea"]]},{"id":"2a0b09fd.8888e6","type":"outcome","name":"Active_Passive","xml":"<outcome value='Active-Passive'>\n","comments":"","outputs":1,"x":699.8064270019531,"y":673.0003356933594,"z":"4854885a.f23e18","wires":[["c062a5d9.ab8188"]]},{"id":"da64233c.b93ea","type":"call","name":"Restart-Active-Active_VNFC","xml":"<call module='APPC' rpc='Restart-Active-Active_VNFC' mode='sync' >\n","comments":"","outputs":1,"x":902.8066558837891,"y":517.0000915527344,"z":"4854885a.f23e18","wires":[["76b0f0de.90c76","31b4e906.be1f16","f041df7c.46d81"]]},{"id":"c062a5d9.ab8188","type":"call","name":"Restart-Active-Passive_VNFC","xml":"<call module='APPC' rpc='Restart-Active-Passive_VNFC' mode='sync' >\n","comments":"","outputs":1,"x":905.8065338134766,"y":673.0001983642578,"z":"4854885a.f23e18","wires":[["76b0f0de.90c76","31b4e906.be1f16","f041df7c.46d81"]]},{"id":"76b0f0de.90c76","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":1157.8064880371094,"y":517.0000915527344,"z":"4854885a.f23e18","wires":[["ebbd3602.006ea8"]]},{"id":"31b4e906.be1f16","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1164.8068542480469,"y":592.0001373291016,"z":"4854885a.f23e18","wires":[["b02a2f12.c650d"]]},{"id":"d9102a6.6c83ed8","type":"execute","name":"Update AAI Error","xml":"<execute plugin='org.onap.appc.dg.aai.AAIPlugin' method='postResource'>\n<parameter name=\"resourceType\" value=\"vnfc\" />\n<parameter name=\"prefix\" value=\"vnfc\" />\n<parameter name=\"resourceKey\" value='vnfc-name = $vnfcName' />\n<parameter name=\"attributeName\" value=\"orchestration-status\" />\n<parameter name=\"attributeValue\" value=\"Error\" />","comments":"","outputs":1,"x":1487.8067474365234,"y":424.000244140625,"z":"4854885a.f23e18","wires":[["bea680bc.2d4ac","c88e6fc7.c8b1a","b684c3af.4fe9d"]]},{"id":"5f6c2b04.563a64","type":"execute","name":"Update AAI Success","xml":"<execute plugin='org.onap.appc.dg.aai.AAIPlugin' method='postResource'>\n<parameter name=\"resourceType\" value=\"vnfc\" />\n<parameter name=\"prefix\" value=\"vnfc\" />\n<parameter name=\"resourceKey\" value='vnfc-name = $vnfcName' />\n<parameter name=\"attributeName\" value=\"orchestration-status\" />\n<parameter name=\"attributeValue\" value=\"Running\" />\n","comments":"","outputs":1,"x":1499.8065032958984,"y":678.0003662109375,"z":"4854885a.f23e18","wires":[["bea680bc.2d4ac","c88e6fc7.c8b1a","b684c3af.4fe9d"]]},{"id":"f2b5d348.d725c","type":"returnSuccess","name":"return success","xml":"<return status='success'>\n\n","comments":"","x":1480.8064880371094,"y":831.0003814697266,"z":"4854885a.f23e18","wires":[]},{"id":"725f6041.883d9","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":963.0286712646484,"y":73.41883087158203,"z":"4854885a.f23e18","wires":[["938f579b.411248","7176b2b1.aefe5c","f1e55ee7.25d16","ecd3f4e6.878f68","92cc8ec.5ca637"]]},{"id":"938f579b.411248","type":"set","name":"Set event message","xml":"<set>\n<parameter name='event-message' value=\"`'Healthcheck DG resolution plugin not found for VNFC : ' + $vnfcName`\"/>\n","comments":"","x":1214.8065643310547,"y":54,"z":"4854885a.f23e18","wires":[]},{"id":"97c69f2.728956","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":963.0286712646484,"y":132.88888549804688,"z":"4854885a.f23e18","wires":[["ebdfd4f1.4d8308","7176b2b1.aefe5c","f1e55ee7.25d16","ecd3f4e6.878f68","92cc8ec.5ca637"]]},{"id":"ebdfd4f1.4d8308","type":"set","name":"Set event message","xml":"<set>\n<parameter name='event-message' value=\"`'Error while resolving Healthcheck DG for VNFC : ' + $vnfcName`\"/>\n","comments":"","x":1225.0286102294922,"y":95.88888549804688,"z":"4854885a.f23e18","wires":[]},{"id":"7176b2b1.aefe5c","type":"record","name":"Log event","xml":"<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"error\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"record\" value=\"`$event-message`\"/>\n","comments":"","outputs":1,"x":1206.5973358154297,"y":133.18878173828125,"z":"4854885a.f23e18","wires":[[]]},{"id":"f1e55ee7.25d16","type":"execute","name":"OutputMessageBuilder","xml":"<execute plugin='org.onap.appc.dg.common.OutputMessagePlugin' method='outputMessageBuilder' >\n<parameter name=\"error-message\" value=\"`$error-message`\" />\n<parameter name=\"event-message\" value=\"`$event-message`\" />","comments":"","outputs":1,"x":1247.4647064208984,"y":172.37603759765625,"z":"4854885a.f23e18","wires":[[]]},{"id":"ecd3f4e6.878f68","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n<parameter name='error-message' value=\"`$error-message`\"/>","comments":"","x":1216.5843353271484,"y":250.35894775390625,"z":"4854885a.f23e18","wires":[]},{"id":"8c69089c.629f08","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n\n","comments":"","x":1499.806625366211,"y":633.00048828125,"z":"4854885a.f23e18","wires":[]},{"id":"b02a2f12.c650d","type":"block","name":"block","xml":"<block atomic='true'>\n","atomic":"false","comments":"","outputs":1,"x":1311.2509460449219,"y":591.0002593994141,"z":"4854885a.f23e18","wires":[["d9102a6.6c83ed8","8c69089c.629f08","518c8bec.70b344"]]},{"id":"51555c54.d61924","type":"block","name":"block","xml":"<block atomic='true'>\n","atomic":"false","comments":"","outputs":1,"x":1294.2510223388672,"y":673.0003356933594,"z":"4854885a.f23e18","wires":[["5f6c2b04.563a64","f2b5d348.d725c","39261310.3b1cac","e457098a.bbf808"]]},{"id":"39261310.3b1cac","type":"record","name":"Log message","xml":"<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"debug\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"record\" value=\"`'VNFC restarted successfully : ' + $vnfcName`\"/>\n","comments":"","outputs":1,"x":1488.695297241211,"y":782.888916015625,"z":"4854885a.f23e18","wires":[[]]},{"id":"ebbd3602.006ea8","type":"block","name":"block","xml":"<block atomic='true'>\n","atomic":"false","comments":"","outputs":1,"x":1288.5841827392578,"y":516.8889465332031,"z":"4854885a.f23e18","wires":[["8c69089c.629f08","c16bef1.90f251","d9102a6.6c83ed8","518c8bec.70b344","ed0a15aa.d0fb28"]]},{"id":"c16bef1.90f251","type":"execute","name":"OutputMessageBuilder","xml":"<execute plugin='org.onap.appc.dg.common.OutputMessagePlugin' method='outputMessageBuilder' >\n<parameter name=\"error-message\" value=\"`$error-message`\" />\n<parameter name=\"event-message\" value=\"`'VNFC Restart DG not found for resilience type : ' + $resilienceType`\" />","comments":"","outputs":1,"x":1530.5840911865234,"y":527.888916015625,"z":"4854885a.f23e18","wires":[[]]},{"id":"bea680bc.2d4ac","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":1837.9176025390625,"y":220.11121368408203,"z":"4854885a.f23e18","wires":[["355e292.0ccebd6"]]},{"id":"c88e6fc7.c8b1a","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1832.9173583984375,"y":274.11112213134766,"z":"4854885a.f23e18","wires":[["bc52d02f.83b3b"]]},{"id":"b684c3af.4fe9d","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":1792.9172668457031,"y":371.11112213134766,"z":"4854885a.f23e18","wires":[["564492cb.9e00cc"]]},{"id":"564492cb.9e00cc","type":"switchNode","name":"switch","xml":"<switch test='`$postResource_result`'>\n","comments":"","outputs":1,"x":1919.0279541015625,"y":371.0000991821289,"z":"4854885a.f23e18","wires":[["8bd18854.c20b98","f0c03ee4.fd60e"]]},{"id":"8bd18854.c20b98","type":"outcome","name":"NOT_FOUND","xml":"<outcome value='NOT_FOUND'>\n","comments":"","outputs":1,"x":2081.0286865234375,"y":324.0000991821289,"z":"4854885a.f23e18","wires":[["74288e2b.a3955"]]},{"id":"f0c03ee4.fd60e","type":"outcome","name":"FAILURE","xml":"<outcome value='FAILURE'>\n","comments":"","outputs":1,"x":2078.029052734375,"y":403.0000991821289,"z":"4854885a.f23e18","wires":[["7d7bf29.5cc980c"]]},{"id":"74288e2b.a3955","type":"block","name":"block","xml":"<block>","atomic":"true","comments":"","outputs":1,"x":2230.028564453125,"y":324.0000991821289,"z":"4854885a.f23e18","wires":[["3589aab3.2a6646","e9478caf.5709c","51856197.1ce12"]]},{"id":"7d7bf29.5cc980c","type":"block","name":"block","xml":"<block>","atomic":"true","comments":"","outputs":1,"x":2218.028564453125,"y":370.0000991821289,"z":"4854885a.f23e18","wires":[["3589aab3.2a6646","8a498524.f57948","51856197.1ce12"]]},{"id":"3589aab3.2a6646","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n","comments":"","x":2438.0296478271484,"y":538.0001220703125,"z":"4854885a.f23e18","wires":[]},{"id":"f041df7c.46d81","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":1155.8069610595703,"y":673.0000915527344,"z":"4854885a.f23e18","wires":[["51555c54.d61924"]]},{"id":"bc52d02f.83b3b","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":2241.806396484375,"y":272.47013092041016,"z":"4854885a.f23e18","wires":[["3589aab3.2a6646","f0d258f1.eac3c8"]]},{"id":"355e292.0ccebd6","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":2241.806396484375,"y":221.00012969970703,"z":"4854885a.f23e18","wires":[["3589aab3.2a6646","d0f8911a.f3c29","51856197.1ce12"]]},{"id":"d0f8911a.f3c29","type":"execute","name":"OutputMessageBuilder","xml":"<execute plugin='org.onap.appc.dg.common.OutputMessagePlugin' method='outputMessageBuilder' >\n<parameter name=\"error-message\" value=\"`$error-message`\" />\n<parameter name=\"event-message\" value=\"`'Error occurred while updating VNF details in A&amp;AI for '+ $vnfcName`\"/>\n\n","comments":"","outputs":1,"x":2491.6238861083984,"y":118.484375,"z":"4854885a.f23e18","wires":[[]]},{"id":"f0d258f1.eac3c8","type":"execute","name":"OutputMessageBuilder","xml":"<execute plugin='org.onap.appc.dg.common.OutputMessagePlugin' method='outputMessageBuilder' >\n<parameter name=\"error-message\" value=\"`$error-message`\" />\n<parameter name=\"event-message\" value=\"`'Error occurred while updating VNF details in A&amp;AI for '+ $vnfcName`\"/>","comments":"","outputs":1,"x":2476.6241302490234,"y":224.484375,"z":"4854885a.f23e18","wires":[[]]},{"id":"e9478caf.5709c","type":"execute","name":"OutputMessageBuilder","xml":"<execute plugin='org.onap.appc.dg.common.OutputMessagePlugin' method='outputMessageBuilder' >\n<parameter name=\"error-message\" value=\"`$error-message`\" />\n<parameter name=\"event-message\" value=\"`'Error occurred while updating VNF details in A&amp;AI for : '+ $vnfcName`\"/>\n\n","comments":"","outputs":1,"x":2453.6240844726562,"y":279.48438262939453,"z":"4854885a.f23e18","wires":[[]]},{"id":"8a498524.f57948","type":"execute","name":"OutputMessageBuilder","xml":"<execute plugin='org.onap.appc.dg.common.OutputMessagePlugin' method='outputMessageBuilder' >\n<parameter name=\"error-message\" value=\"`$error-message`\" />\n<parameter name=\"event-message\" value=\"`'Error occurred while updating VNF details in A&amp;AI for '+ $vnfcName`\"/>","comments":"","outputs":1,"x":2453.6241302490234,"y":326.484375,"z":"4854885a.f23e18","wires":[[]]},{"id":"e457098a.bbf808","type":"set","name":"Set AAI update Flag","xml":"<set>\n<parameter name='AAIUpdateSuccessFlag' value='true' />\n","comments":"","x":1499.8062591552734,"y":725,"z":"4854885a.f23e18","wires":[]},{"id":"518c8bec.70b344","type":"set","name":"Set AAI update Flag","xml":"<set>\n<parameter name='AAIUpdateSuccessFlag' value='true' />\n","comments":"","x":1516.3062591552734,"y":477,"z":"4854885a.f23e18","wires":[]},{"id":"51856197.1ce12","type":"execute","name":"Report_Error_To_DCAE","xml":"<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"event-message\" value=\"`$event-message`\" />","comments":"","outputs":1,"x":2460.8062591552734,"y":399.515625,"z":"4854885a.f23e18","wires":[[]]},{"id":"ed0a15aa.d0fb28","type":"execute","name":"Report_Error_To_DCAE","xml":"<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"event-message\" value=\"`$event-message`\" />","comments":"","outputs":1,"x":1536.3062591552734,"y":582.515625,"z":"4854885a.f23e18","wires":[[]]},{"id":"92cc8ec.5ca637","type":"execute","name":"Report_Error_To_DCAE","xml":"<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"event-message\" value=\"`$event-message`\" />","comments":"","outputs":1,"x":1238.3062591552734,"y":210.515625,"z":"4854885a.f23e18","wires":[[]]},{"id":"86490b1e.e7c3e8","type":"record","name":"Log message","xml":"<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"debug\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"record\" value=\"`'Hleathchek DG resolved to : ' + $HealthCheckDG.dg_name`\"/>\n","comments":"","outputs":1,"x":910.8062591552734,"y":220.515625,"z":"4854885a.f23e18","wires":[[]]},{"id":"cbf0e15a.5803f","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":742.8062591552734,"y":228.51560711860702,"z":"4854885a.f23e18","wires":[["86490b1e.e7c3e8"]]}]
+[
+ {
+ "id": "de1aee3b.04ffa",
+ "type": "dgstart",
+ "name": "DGSTART",
+ "outputs": 1,
+ "x": 127.515625,
+ "y": 96.99999743700027,
+ "z": "5f3b2f89.a07d1",
+ "wires": [
+ [
+ "d9a22308.c7367"
+ ]
+ ]
+ },
+ {
+ "id": "d9a22308.c7367",
+ "type": "service-logic",
+ "name": "APPC 2.0.0",
+ "module": "APPC",
+ "version": "2.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='2.0.0'>",
+ "outputs": 1,
+ "x": 276.5157470703125,
+ "y": 94.99999743700027,
+ "z": "5f3b2f89.a07d1",
+ "wires": [
+ [
+ "dd0b31c0.6100f"
+ ]
+ ]
+ },
+ {
+ "id": "dd0b31c0.6100f",
+ "type": "method",
+ "name": "Restart_VNFC",
+ "xml": "<method rpc='Restart_VNFC' mode='sync'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 213.51580810546875,
+ "y": 218.99999743700027,
+ "z": "5f3b2f89.a07d1",
+ "wires": [
+ [
+ "8460a8c2.6f1338"
+ ]
+ ]
+ },
+ {
+ "id": "85255ef8.6cc46",
+ "type": "execute",
+ "name": "Resolve_VNFC_Healthcheck_DG",
+ "xml": "<execute plugin='org.onap.appc.dg.common.DgResolverPlugin' method='resolveDg'>\n<parameter name=\"vnfType\" value='`$vnf.type`' />\n<parameter name=\"vnfcType\" value='`$vnfcType`' />\n<parameter name=\"action\" value=\"HealthCheck\" />\n<parameter name=\"api-ver\" value='`$input.common-header.api-ver`' />\n<parameter name=\"prefix\" value=\"HealthCheckDG\" />\n<parameter name=\"DGResolutionType\" value=\"VNFC\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 590.5158996582031,
+ "y": 154.99999743700027,
+ "z": "5f3b2f89.a07d1",
+ "wires": [
+ [
+ "c0370da4.37861",
+ "e37680a8.9f773",
+ "699f7854.ff88c8"
+ ]
+ ]
+ },
+ {
+ "id": "c0370da4.37861",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 854.5157470703125,
+ "y": 96.99999743700027,
+ "z": "5f3b2f89.a07d1",
+ "wires": [
+ [
+ "4fa4a9f7.300e48"
+ ]
+ ]
+ },
+ {
+ "id": "e37680a8.9f773",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 849.5158081054688,
+ "y": 176.99999743700027,
+ "z": "5f3b2f89.a07d1",
+ "wires": [
+ [
+ "20eb9fd4.8b4b1"
+ ]
+ ]
+ },
+ {
+ "id": "8460a8c2.6f1338",
+ "type": "block",
+ "name": "block",
+ "xml": "<block atomic='true'>",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 351.5157470703125,
+ "y": 358.9999974370003,
+ "z": "5f3b2f89.a07d1",
+ "wires": [
+ [
+ "85255ef8.6cc46",
+ "fae31e06.2838d"
+ ]
+ ]
+ },
+ {
+ "id": "fae31e06.2838d",
+ "type": "switchNode",
+ "name": "Resilence Type ?",
+ "xml": "<switch test='`$resilienceType`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 522.5157012939453,
+ "y": 613.0002110600471,
+ "z": "5f3b2f89.a07d1",
+ "wires": [
+ [
+ "4f1e885f.39f1d8",
+ "af01744f.38cc48",
+ "a0719d85.c73ca"
+ ]
+ ]
+ },
+ {
+ "id": "4f1e885f.39f1d8",
+ "type": "outcome",
+ "name": "Active_Active",
+ "xml": "<outcome value='Active-Active'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 719.5157775878906,
+ "y": 541.0001195073128,
+ "z": "5f3b2f89.a07d1",
+ "wires": [
+ [
+ "9724292f.48b7a8"
+ ]
+ ]
+ },
+ {
+ "id": "af01744f.38cc48",
+ "type": "outcome",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 703.5158386230469,
+ "y": 614.0001500248909,
+ "z": "5f3b2f89.a07d1",
+ "wires": [
+ [
+ "9724292f.48b7a8"
+ ]
+ ]
+ },
+ {
+ "id": "a0719d85.c73ca",
+ "type": "outcome",
+ "name": "Active_Passive",
+ "xml": "<outcome value='Active-Passive'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 711.5158615112305,
+ "y": 701.0003242492676,
+ "z": "5f3b2f89.a07d1",
+ "wires": [
+ [
+ "7e27530b.2f00ac"
+ ]
+ ]
+ },
+ {
+ "id": "9724292f.48b7a8",
+ "type": "call",
+ "name": "Restart-Active-Active_VNFC",
+ "xml": "<call module='APPC' rpc='Restart-Active-Active_VNFC' mode='sync' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 936.5160217285156,
+ "y": 541.0000889897346,
+ "z": "5f3b2f89.a07d1",
+ "wires": [
+ [
+ "21596597.c96aaa",
+ "edb09ee8.6b7c4",
+ "a3848460.dc7548"
+ ]
+ ]
+ },
+ {
+ "id": "7e27530b.2f00ac",
+ "type": "call",
+ "name": "Restart-Active-Passive_VNFC",
+ "xml": "<call module='APPC' rpc='Restart-Active-Passive_VNFC' mode='sync' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 943.5158996582031,
+ "y": 698.0002326965332,
+ "z": "5f3b2f89.a07d1",
+ "wires": [
+ [
+ "21596597.c96aaa",
+ "edb09ee8.6b7c4",
+ "a3848460.dc7548"
+ ]
+ ]
+ },
+ {
+ "id": "21596597.c96aaa",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1191.515853881836,
+ "y": 541.0000889897346,
+ "z": "5f3b2f89.a07d1",
+ "wires": [
+ [
+ "76d58b6d.082104"
+ ]
+ ]
+ },
+ {
+ "id": "edb09ee8.6b7c4",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1198.5162200927734,
+ "y": 616.0001347661018,
+ "z": "5f3b2f89.a07d1",
+ "wires": [
+ [
+ "cf480b74.b14a08"
+ ]
+ ]
+ },
+ {
+ "id": "fc40b2ae.fe3ca",
+ "type": "returnSuccess",
+ "name": "return success",
+ "xml": "<return status='success'>\n\n",
+ "comments": "",
+ "x": 1578.515911102295,
+ "y": 780.0003890991211,
+ "z": "5f3b2f89.a07d1",
+ "wires": []
+ },
+ {
+ "id": "4fa4a9f7.300e48",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 996.738037109375,
+ "y": 97.4188283085823,
+ "z": "5f3b2f89.a07d1",
+ "wires": [
+ [
+ "a08aadab.2d8dc",
+ "7700c838.ca86e8",
+ "35106ee6.29ccc2",
+ "8c7e023.88381",
+ "7dbef058.376e3"
+ ]
+ ]
+ },
+ {
+ "id": "a08aadab.2d8dc",
+ "type": "set",
+ "name": "Set event message",
+ "xml": "<set>\n<parameter name='event-message' value=\"`'Healthcheck DG resolution plugin not found for VNFC : ' + $vnfcName`\"/>\n",
+ "comments": "",
+ "x": 1248.5159301757812,
+ "y": 77.99999743700027,
+ "z": "5f3b2f89.a07d1",
+ "wires": []
+ },
+ {
+ "id": "20eb9fd4.8b4b1",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 996.738037109375,
+ "y": 156.88888293504715,
+ "z": "5f3b2f89.a07d1",
+ "wires": [
+ [
+ "b3a4f088.6f205",
+ "7700c838.ca86e8",
+ "35106ee6.29ccc2",
+ "8c7e023.88381",
+ "7dbef058.376e3"
+ ]
+ ]
+ },
+ {
+ "id": "b3a4f088.6f205",
+ "type": "set",
+ "name": "Set event message",
+ "xml": "<set>\n<parameter name='event-message' value=\"`'Error while resolving Healthcheck DG for VNFC : ' + $vnfcName`\"/>\n",
+ "comments": "",
+ "x": 1258.7379760742188,
+ "y": 119.88888293504715,
+ "z": "5f3b2f89.a07d1",
+ "wires": []
+ },
+ {
+ "id": "7700c838.ca86e8",
+ "type": "record",
+ "name": "Log event",
+ "xml": "<record plugin=\"onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"error\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"record\" value=\"`$event-message`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1240.3067016601562,
+ "y": 157.18877917528152,
+ "z": "5f3b2f89.a07d1",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "35106ee6.29ccc2",
+ "type": "execute",
+ "name": "OutputMessageBuilder",
+ "xml": "<execute plugin='org.onap.appc.dg.common.OutputMessagePlugin' method='outputMessageBuilder' >\n<parameter name=\"error-message\" value=\"`$error-message`\" />\n<parameter name=\"event-message\" value=\"`$event-message`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1281.174072265625,
+ "y": 196.37603503465652,
+ "z": "5f3b2f89.a07d1",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "8c7e023.88381",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-message' value=\"`$error-message`\"/>",
+ "comments": "",
+ "x": 1250.293701171875,
+ "y": 274.3589451909065,
+ "z": "5f3b2f89.a07d1",
+ "wires": []
+ },
+ {
+ "id": "234b60a5.4b7e1",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n\n",
+ "comments": "",
+ "x": 1549.5161895751953,
+ "y": 651.000566482544,
+ "z": "5f3b2f89.a07d1",
+ "wires": []
+ },
+ {
+ "id": "cf480b74.b14a08",
+ "type": "block",
+ "name": "block",
+ "xml": "<block atomic='true'>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1335.9603652954102,
+ "y": 646.0002918243408,
+ "z": "5f3b2f89.a07d1",
+ "wires": [
+ [
+ "234b60a5.4b7e1"
+ ]
+ ]
+ },
+ {
+ "id": "d3ba8fd.0d50f7",
+ "type": "block",
+ "name": "block",
+ "xml": "<block atomic='true'>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1342.9604873657227,
+ "y": 748.0003242492676,
+ "z": "5f3b2f89.a07d1",
+ "wires": [
+ [
+ "fc40b2ae.fe3ca",
+ "4878a43a.2f93dc"
+ ]
+ ]
+ },
+ {
+ "id": "4878a43a.2f93dc",
+ "type": "record",
+ "name": "Log message",
+ "xml": "<record plugin=\"onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"debug\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"record\" value=\"`'VNFC restarted successfully : ' + $vnfcName`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1570.4047393798828,
+ "y": 719.8889694213867,
+ "z": "5f3b2f89.a07d1",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "76d58b6d.082104",
+ "type": "block",
+ "name": "block",
+ "xml": "<block atomic='true'>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1322.2935485839844,
+ "y": 540.8889439702034,
+ "z": "5f3b2f89.a07d1",
+ "wires": [
+ [
+ "234b60a5.4b7e1",
+ "c30c04c5.1d2eb8",
+ "ec3dcea.349513"
+ ]
+ ]
+ },
+ {
+ "id": "c30c04c5.1d2eb8",
+ "type": "execute",
+ "name": "OutputMessageBuilder",
+ "xml": "<execute plugin='org.onap.appc.dg.common.OutputMessagePlugin' method='outputMessageBuilder' >\n<parameter name=\"error-message\" value=\"`$error-message`\" />\n<parameter name=\"event-message\" value=\"`'VNFC Restart DG not found for resilience type : ' + $resilienceType`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1556.2935638427734,
+ "y": 499.8889617919922,
+ "z": "5f3b2f89.a07d1",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a3848460.dc7548",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1189.5163269042969,
+ "y": 697.0000889897346,
+ "z": "5f3b2f89.a07d1",
+ "wires": [
+ [
+ "d3ba8fd.0d50f7"
+ ]
+ ]
+ },
+ {
+ "id": "ec3dcea.349513",
+ "type": "execute",
+ "name": "Report_Error_To_DCAE",
+ "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"event-message\" value=\"`$event-message`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1559.0157318115234,
+ "y": 582.5156402587891,
+ "z": "5f3b2f89.a07d1",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "7dbef058.376e3",
+ "type": "execute",
+ "name": "Report_Error_To_DCAE",
+ "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"event-message\" value=\"`$event-message`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1272.015625,
+ "y": 234.51562243700027,
+ "z": "5f3b2f89.a07d1",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "af7fd57b.dc9518",
+ "type": "record",
+ "name": "Log message",
+ "xml": "<record plugin=\"onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"debug\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"record\" value=\"`'Hleathchek DG resolved to : ' + $HealthCheckDG.dg_name`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 944.515625,
+ "y": 244.51562243700027,
+ "z": "5f3b2f89.a07d1",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "699f7854.ff88c8",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 776.515625,
+ "y": 252.5156045556073,
+ "z": "5f3b2f89.a07d1",
+ "wires": [
+ [
+ "af7fd57b.dc9518"
+ ]
+ ]
+ }
+] \ No newline at end of file