aboutsummaryrefslogtreecommitdiffstats
path: root/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/APPC_HealthCheck_VNF_vSCP.json
diff options
context:
space:
mode:
Diffstat (limited to 'appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/APPC_HealthCheck_VNF_vSCP.json')
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/APPC_HealthCheck_VNF_vSCP.json319
1 files changed, 318 insertions, 1 deletions
diff --git a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/APPC_HealthCheck_VNF_vSCP.json b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/APPC_HealthCheck_VNF_vSCP.json
index a9483cb55..3169f3b04 100644
--- a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/APPC_HealthCheck_VNF_vSCP.json
+++ b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/APPC_HealthCheck_VNF_vSCP.json
@@ -1 +1,318 @@
-[{"id":"63ee9929.4f7758","type":"dgstart","name":"DGSTART","outputs":1,"x":167.80625915527344,"y":110.82500457763672,"z":"dc4cc75e.06b738","wires":[["cb9d6d77.df0cb"]]},{"id":"cb9d6d77.df0cb","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":266.80625915527344,"y":159.82500457763672,"z":"dc4cc75e.06b738","wires":[["c2c949ab.cfbdb8"]]},{"id":"c2c949ab.cfbdb8","type":"method","name":"HealthCheck_VNF_vSCP","xml":"<method rpc='HealthCheck_VNF_vSCP' mode='sync'>\n","comments":"","outputs":1,"x":322.80625915527344,"y":260.8250045776367,"z":"dc4cc75e.06b738","wires":[["ec7a529c.e62e5"]]},{"id":"c00f6c66.afecd","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value='`$error-message`' />\n<parameter name='output.status.code' value='401'/>\n","comments":"","x":1247.5750579833984,"y":498.28661346435547,"z":"dc4cc75e.06b738","wires":[]},{"id":"97e98dca.283de","type":"returnSuccess","name":"return success","xml":"<return status='success'>\n<parameter name='error-code' value='400' />\n","comments":"","x":1140.8060150146484,"y":896.8251266479492,"z":"dc4cc75e.06b738","wires":[]},{"id":"f55bbc3a.10506","type":"execute","name":"execute: retrieveConnectionDetails","xml":"<execute plugin='org.onap.appc.dg.ssh.SshDBPlugin' method='retrieveConnectionDetails' >\n<parameter name=\"vnf-host-ip-address\" value=\"`$vnf-host-ip-address`\" />\n<parameter name='vnf-type' value=\"`$vnf.type`\" />\n","comments":"","outputs":1,"x":715.8061370849609,"y":413.82506561279297,"z":"dc4cc75e.06b738","wires":[["7b5a3bce.849884","c7f4caa4.4c7e88"]]},{"id":"83ed6d82.27f7b","type":"set","name":"set","xml":"<set>\n<parameter name=\"event-message\" value=\"`'Failed to retrieve connection details for vnfc : ' + $vnfcType`\"/> ","comments":"","x":1350.806137084961,"y":213.82512664794922,"z":"dc4cc75e.06b738","wires":[]},{"id":"7b5a3bce.849884","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":717.8061370849609,"y":545.825065612793,"z":"dc4cc75e.06b738","wires":[["3f7d06de.4adc9a"]]},{"id":"48769737.4cb898","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":848.8060150146484,"y":895.8251266479492,"z":"dc4cc75e.06b738","wires":[["97e98dca.283de"]]},{"id":"3f7d06de.4adc9a","type":"execute","name":"executeTest","xml":"<execute plugin='com.att.appc.dg.vSCP.v3_5_5.VSCPDGUtils' method='healthCheckVMs'>\n<parameter name=\"org.onap.appc.identity.url\" value=\"`$AICIdentity`\" />\n<parameter name=\"connection-details\" value=\"`$connection-details`\" />\n<parameter name=\"org.onap.appc.provider.name\" value=\"OpenStack\"/>\n<parameter name=\"retry-healthcheck\" value=\"`$retry-healthcheck`\"/>","comments":"","outputs":1,"x":741.8060150146484,"y":738.825065612793,"z":"dc4cc75e.06b738","wires":[["48769737.4cb898","51efdcf8.289614"]]},{"id":"5eaef937.ba54c8","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1119.036849975586,"y":274.67125701904297,"z":"dc4cc75e.06b738","wires":[["83ed6d82.27f7b","de589d77.aee22","9d5c2e19.ae055"]]},{"id":"37d3c438.cac5ec","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":978.3442230224609,"y":460.4404830932617,"z":"dc4cc75e.06b738","wires":[["f52994d0.a42ec8","c00f6c66.afecd","ec0b5de3.efb66"]]},{"id":"ec7a529c.e62e5","type":"switchNode","name":"switch","xml":"<switch test='`length($connection-details) == 0`'>\n\n\n","comments":"","outputs":1,"x":302.80625915527344,"y":379.5750045776367,"z":"dc4cc75e.06b738","wires":[["f28dc950.083398","d4c1bf0.970e44"]]},{"id":"f28dc950.083398","type":"outcomeTrue","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":472.80625915527344,"y":324.5750045776367,"z":"dc4cc75e.06b738","wires":[["f55bbc3a.10506"]]},{"id":"d4c1bf0.970e44","type":"outcomeFalse","name":"false","xml":"<outcome value='false'>\n","comments":"","outputs":1,"x":429.80625915527344,"y":461.5750045776367,"z":"dc4cc75e.06b738","wires":[["3f7d06de.4adc9a"]]},{"id":"c7f4caa4.4c7e88","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":953.8062591552734,"y":287.8250045776367,"z":"dc4cc75e.06b738","wires":[["5eaef937.ba54c8"]]},{"id":"51efdcf8.289614","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":881.8062591552734,"y":670.8250045776367,"z":"dc4cc75e.06b738","wires":[["37d3c438.cac5ec"]]},{"id":"f52994d0.a42ec8","type":"set","name":"set","xml":"<set>\n<parameter name=\"event-message\" value=\"`'Failed to do health check of the vnfc : ' + $vnfcType`\"/> ","comments":"","x":1226.8062591552734,"y":400.8250045776367,"z":"dc4cc75e.06b738","wires":[]},{"id":"de589d77.aee22","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":1359.8062591552734,"y":273.8250045776367,"z":"dc4cc75e.06b738","wires":[[]]},{"id":"ec0b5de3.efb66","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":1236.8062591552734,"y":454.8250045776367,"z":"dc4cc75e.06b738","wires":[[]]},{"id":"9d5c2e19.ae055","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value='`$error-message`' />\n<parameter name='output.status.code' value='401'/>\n","comments":"","x":1358.6552276611328,"y":336.3406295776367,"z":"dc4cc75e.06b738","wires":[]}]
+[
+ {
+ "id": "63ee9929.4f7758",
+ "type": "dgstart",
+ "name": "DGSTART",
+ "outputs": 1,
+ "x": 167.80625915527344,
+ "y": 110.82500457763672,
+ "z": "dc4cc75e.06b738",
+ "wires": [
+ [
+ "cb9d6d77.df0cb"
+ ]
+ ]
+ },
+ {
+ "id": "cb9d6d77.df0cb",
+ "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": 266.80625915527344,
+ "y": 159.82500457763672,
+ "z": "dc4cc75e.06b738",
+ "wires": [
+ [
+ "c2c949ab.cfbdb8"
+ ]
+ ]
+ },
+ {
+ "id": "c2c949ab.cfbdb8",
+ "type": "method",
+ "name": "HealthCheck_VNF_vSCP",
+ "xml": "<method rpc='HealthCheck_VNF_vSCP' mode='sync'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 322.80625915527344,
+ "y": 260.8250045776367,
+ "z": "dc4cc75e.06b738",
+ "wires": [
+ [
+ "ec7a529c.e62e5"
+ ]
+ ]
+ },
+ {
+ "id": "c00f6c66.afecd",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value='`$error-message`' />\n<parameter name='output.status.code' value='401'/>\n",
+ "comments": "",
+ "x": 1247.5750579833984,
+ "y": 498.28661346435547,
+ "z": "dc4cc75e.06b738",
+ "wires": []
+ },
+ {
+ "id": "97e98dca.283de",
+ "type": "returnSuccess",
+ "name": "return success",
+ "xml": "<return status='success'>\n<parameter name='error-code' value='400' />\n",
+ "comments": "",
+ "x": 1140.8060150146484,
+ "y": 896.8251266479492,
+ "z": "dc4cc75e.06b738",
+ "wires": []
+ },
+ {
+ "id": "f55bbc3a.10506",
+ "type": "execute",
+ "name": "execute: retrieveConnectionDetails",
+ "xml": "<execute plugin='org.onap.appc.dg.ssh.SshDBPlugin' method='retrieveConnectionDetails' >\n<parameter name=\"vnf-host-ip-address\" value=\"`$vnf-host-ip-address`\" />\n<parameter name='vnf-type' value=\"`$vnf.type`\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 715.8061370849609,
+ "y": 413.82506561279297,
+ "z": "dc4cc75e.06b738",
+ "wires": [
+ [
+ "7b5a3bce.849884",
+ "c7f4caa4.4c7e88"
+ ]
+ ]
+ },
+ {
+ "id": "83ed6d82.27f7b",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n<parameter name=\"event-message\" value=\"`'Failed to retrieve connection details for vnfc : ' + $vnfcType`\"/> ",
+ "comments": "",
+ "x": 1350.806137084961,
+ "y": 213.82512664794922,
+ "z": "dc4cc75e.06b738",
+ "wires": []
+ },
+ {
+ "id": "7b5a3bce.849884",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 717.8061370849609,
+ "y": 545.825065612793,
+ "z": "dc4cc75e.06b738",
+ "wires": [
+ [
+ "3f7d06de.4adc9a"
+ ]
+ ]
+ },
+ {
+ "id": "48769737.4cb898",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 848.8060150146484,
+ "y": 895.8251266479492,
+ "z": "dc4cc75e.06b738",
+ "wires": [
+ [
+ "97e98dca.283de"
+ ]
+ ]
+ },
+ {
+ "id": "3f7d06de.4adc9a",
+ "type": "execute",
+ "name": "executeTest",
+ "xml": "<execute plugin='com.att.appc.dg.vSCP.v3_5_5.VSCPDGUtils' method='healthCheckVMs'>\n<parameter name=\"org.onap.appc.identity.url\" value=\"`$AICIdentity`\" />\n<parameter name=\"connection-details\" value=\"`$connection-details`\" />\n<parameter name=\"org.onap.appc.provider.name\" value=\"OpenStack\"/>\n<parameter name=\"retry-healthcheck\" value=\"`$retry-healthcheck`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 741.8060150146484,
+ "y": 738.825065612793,
+ "z": "dc4cc75e.06b738",
+ "wires": [
+ [
+ "48769737.4cb898",
+ "51efdcf8.289614"
+ ]
+ ]
+ },
+ {
+ "id": "5eaef937.ba54c8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1119.036849975586,
+ "y": 274.67125701904297,
+ "z": "dc4cc75e.06b738",
+ "wires": [
+ [
+ "83ed6d82.27f7b",
+ "de589d77.aee22",
+ "9d5c2e19.ae055"
+ ]
+ ]
+ },
+ {
+ "id": "37d3c438.cac5ec",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 978.3442230224609,
+ "y": 460.4404830932617,
+ "z": "dc4cc75e.06b738",
+ "wires": [
+ [
+ "f52994d0.a42ec8",
+ "c00f6c66.afecd",
+ "ec0b5de3.efb66"
+ ]
+ ]
+ },
+ {
+ "id": "ec7a529c.e62e5",
+ "type": "switchNode",
+ "name": "switch",
+ "xml": "<switch test='`length($connection-details) == 0`'>\n\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 302.80625915527344,
+ "y": 379.5750045776367,
+ "z": "dc4cc75e.06b738",
+ "wires": [
+ [
+ "f28dc950.083398",
+ "d4c1bf0.970e44"
+ ]
+ ]
+ },
+ {
+ "id": "f28dc950.083398",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 472.80625915527344,
+ "y": 324.5750045776367,
+ "z": "dc4cc75e.06b738",
+ "wires": [
+ [
+ "f55bbc3a.10506"
+ ]
+ ]
+ },
+ {
+ "id": "d4c1bf0.970e44",
+ "type": "outcomeFalse",
+ "name": "false",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 429.80625915527344,
+ "y": 461.5750045776367,
+ "z": "dc4cc75e.06b738",
+ "wires": [
+ [
+ "3f7d06de.4adc9a"
+ ]
+ ]
+ },
+ {
+ "id": "c7f4caa4.4c7e88",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 953.8062591552734,
+ "y": 287.8250045776367,
+ "z": "dc4cc75e.06b738",
+ "wires": [
+ [
+ "5eaef937.ba54c8"
+ ]
+ ]
+ },
+ {
+ "id": "51efdcf8.289614",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 881.8062591552734,
+ "y": 670.8250045776367,
+ "z": "dc4cc75e.06b738",
+ "wires": [
+ [
+ "37d3c438.cac5ec"
+ ]
+ ]
+ },
+ {
+ "id": "f52994d0.a42ec8",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n<parameter name=\"event-message\" value=\"`'Failed to do health check of the vnfc : ' + $vnfcType`\"/> ",
+ "comments": "",
+ "x": 1226.8062591552734,
+ "y": 400.8250045776367,
+ "z": "dc4cc75e.06b738",
+ "wires": []
+ },
+ {
+ "id": "de589d77.aee22",
+ "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": 1359.8062591552734,
+ "y": 273.8250045776367,
+ "z": "dc4cc75e.06b738",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "ec0b5de3.efb66",
+ "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": 1236.8062591552734,
+ "y": 454.8250045776367,
+ "z": "dc4cc75e.06b738",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "9d5c2e19.ae055",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value='`$error-message`' />\n<parameter name='output.status.code' value='401'/>\n",
+ "comments": "",
+ "x": 1358.6552276611328,
+ "y": 336.3406295776367,
+ "z": "dc4cc75e.06b738",
+ "wires": []
+ }
+]