aboutsummaryrefslogtreecommitdiffstats
path: root/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/APPC_Check-Active_VNFC_vSCP.json
diff options
context:
space:
mode:
Diffstat (limited to 'appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/APPC_Check-Active_VNFC_vSCP.json')
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/APPC_Check-Active_VNFC_vSCP.json306
1 files changed, 305 insertions, 1 deletions
diff --git a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/APPC_Check-Active_VNFC_vSCP.json b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/APPC_Check-Active_VNFC_vSCP.json
index 980244935..7754ee777 100644
--- a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/APPC_Check-Active_VNFC_vSCP.json
+++ b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/APPC_Check-Active_VNFC_vSCP.json
@@ -1 +1,305 @@
-[{"id":"49deed42.81d544","type":"method","name":"Check-Active_VNFC_vSCP","xml":"<method rpc='Check-Active_VNFC_vSCP' mode='sync'>\n","comments":"","outputs":1,"x":167.80625915527344,"y":252.00000762939453,"z":"c0682e3f.3173c","wires":[["2f73c48e.7de84c"]]},{"id":"56154020.16fac","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":153.80625915527344,"y":173.0000004768375,"z":"c0682e3f.3173c","wires":[["49deed42.81d544"]]},{"id":"5b09cf65.4228c","type":"dgstart","name":"DGSTART","outputs":1,"x":128.80625915527344,"y":98.0000004768375,"z":"c0682e3f.3173c","wires":[["56154020.16fac"]]},{"id":"906908fc.43cf18","type":"execute","name":"execute","xml":"<execute plugin='com.att.appc.dg.vSCP.v3_5_5.smp.SMPDGPlugin' method='checkIfActive' >\n<parameter name=\"org.onap.appc.provider.name\" value=\"OpenStack\"/>\n<parameter name=\"org.onap.appc.identity.url\" value=\"`$AICIdentity`\" />\n\n","comments":"","outputs":1,"x":920.306266784668,"y":601.0000061988834,"z":"c0682e3f.3173c","wires":[["7805d251.09c37c","5622b0c9.b2e2d","fcf85234.6afd8"]]},{"id":"f08644b.81ce3b8","type":"returnSuccess","name":"return success","xml":"<return status='success'>\n","comments":"","x":1151.8061981201172,"y":835.2500233650211,"z":"c0682e3f.3173c","wires":[]},{"id":"7805d251.09c37c","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":1121.806282043457,"y":696.5000138282779,"z":"c0682e3f.3173c","wires":[["f08644b.81ce3b8"]]},{"id":"5622b0c9.b2e2d","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":1149.8061981201172,"y":639.2500233650211,"z":"c0682e3f.3173c","wires":[["fcc5b930.9c3858"]]},{"id":"2f73c48e.7de84c","type":"switchNode","name":"switch","xml":"<switch test='`length($connection-details) == 0`'>\n\n\n","comments":"","outputs":1,"x":290.80625915527344,"y":442.0000004768375,"z":"c0682e3f.3173c","wires":[["6a23cb1e.58a7a4","d7b3fd49.e8382"]]},{"id":"6a23cb1e.58a7a4","type":"outcomeTrue","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":454.55626678466797,"y":374.5000061988834,"z":"c0682e3f.3173c","wires":[["e548aab0.213398"]]},{"id":"d7b3fd49.e8382","type":"outcomeFalse","name":"false","xml":"<outcome value='false'>\n","comments":"","outputs":1,"x":454.05625915527344,"y":522.7500004768375,"z":"c0682e3f.3173c","wires":[["906908fc.43cf18"]]},{"id":"e548aab0.213398","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":743.3062744140625,"y":355.7500061988834,"z":"c0682e3f.3173c","wires":[["ae264d49.ae7ad","99b67ee2.a89a5"]]},{"id":"ae264d49.ae7ad","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":837.0562591552734,"y":469.5000004768375,"z":"c0682e3f.3173c","wires":[["906908fc.43cf18"]]},{"id":"99b67ee2.a89a5","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1007.0562591552734,"y":275.7500004768375,"z":"c0682e3f.3173c","wires":[["c78d1a7f.685198"]]},{"id":"2730046b.7b6b6c","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":1610.8061981201172,"y":752.7115101814273,"z":"c0682e3f.3173c","wires":[]},{"id":"2e2a4b44.42d064","type":"set","name":"set","xml":"<set>\n<parameter name=\"event-message\" value=\"`'Failed to retrieve connection details of the vnfc : ' + $vnfcType`\"/> ","comments":"","x":1529.287353515625,"y":187.00000143051182,"z":"c0682e3f.3173c","wires":[]},{"id":"c78d1a7f.685198","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1302.5179901123047,"y":297.8461232185367,"z":"c0682e3f.3173c","wires":[["2e2a4b44.42d064","2c80a8ba.83a878"]]},{"id":"fcf85234.6afd8","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1144.8061981201172,"y":569.6667103767398,"z":"c0682e3f.3173c","wires":[["fcc5b930.9c3858"]]},{"id":"7171117c.85bcd","type":"set","name":"Set event message","xml":"<set>\n<parameter name=\"event-message\" value=\"`'Failed to retrieve the role(Active/Passive) of the vnfc : ' + $vnfcType`\"/> ","comments":"","x":1482.8061981201172,"y":501.6666798591617,"z":"c0682e3f.3173c","wires":[]},{"id":"fcc5b930.9c3858","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1348.8062591552734,"y":577.6666646003727,"z":"c0682e3f.3173c","wires":[["7171117c.85bcd","2730046b.7b6b6c"]]},{"id":"2c80a8ba.83a878","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":1495.8062286376953,"y":384.6666569709781,"z":"c0682e3f.3173c","wires":[]}]
+[
+ {
+ "id": "49deed42.81d544",
+ "type": "method",
+ "name": "Check-Active_VNFC_vSCP",
+ "xml": "<method rpc='Check-Active_VNFC_vSCP' mode='sync'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 167.80625915527344,
+ "y": 252.00000762939453,
+ "z": "c0682e3f.3173c",
+ "wires": [
+ [
+ "2f73c48e.7de84c"
+ ]
+ ]
+ },
+ {
+ "id": "56154020.16fac",
+ "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": 153.80625915527344,
+ "y": 173.0000004768375,
+ "z": "c0682e3f.3173c",
+ "wires": [
+ [
+ "49deed42.81d544"
+ ]
+ ]
+ },
+ {
+ "id": "5b09cf65.4228c",
+ "type": "dgstart",
+ "name": "DGSTART",
+ "outputs": 1,
+ "x": 128.80625915527344,
+ "y": 98.0000004768375,
+ "z": "c0682e3f.3173c",
+ "wires": [
+ [
+ "56154020.16fac"
+ ]
+ ]
+ },
+ {
+ "id": "906908fc.43cf18",
+ "type": "execute",
+ "name": "execute",
+ "xml": "<execute plugin='com.att.appc.dg.vSCP.v3_5_5.smp.SMPDGPlugin' method='checkIfActive' >\n<parameter name=\"org.onap.appc.provider.name\" value=\"OpenStack\"/>\n<parameter name=\"org.onap.appc.identity.url\" value=\"`$AICIdentity`\" />\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 920.306266784668,
+ "y": 601.0000061988834,
+ "z": "c0682e3f.3173c",
+ "wires": [
+ [
+ "7805d251.09c37c",
+ "5622b0c9.b2e2d",
+ "fcf85234.6afd8"
+ ]
+ ]
+ },
+ {
+ "id": "f08644b.81ce3b8",
+ "type": "returnSuccess",
+ "name": "return success",
+ "xml": "<return status='success'>\n",
+ "comments": "",
+ "x": 1151.8061981201172,
+ "y": 835.2500233650211,
+ "z": "c0682e3f.3173c",
+ "wires": []
+ },
+ {
+ "id": "7805d251.09c37c",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1121.806282043457,
+ "y": 696.5000138282779,
+ "z": "c0682e3f.3173c",
+ "wires": [
+ [
+ "f08644b.81ce3b8"
+ ]
+ ]
+ },
+ {
+ "id": "5622b0c9.b2e2d",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1149.8061981201172,
+ "y": 639.2500233650211,
+ "z": "c0682e3f.3173c",
+ "wires": [
+ [
+ "fcc5b930.9c3858"
+ ]
+ ]
+ },
+ {
+ "id": "2f73c48e.7de84c",
+ "type": "switchNode",
+ "name": "switch",
+ "xml": "<switch test='`length($connection-details) == 0`'>\n\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 290.80625915527344,
+ "y": 442.0000004768375,
+ "z": "c0682e3f.3173c",
+ "wires": [
+ [
+ "6a23cb1e.58a7a4",
+ "d7b3fd49.e8382"
+ ]
+ ]
+ },
+ {
+ "id": "6a23cb1e.58a7a4",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 454.55626678466797,
+ "y": 374.5000061988834,
+ "z": "c0682e3f.3173c",
+ "wires": [
+ [
+ "e548aab0.213398"
+ ]
+ ]
+ },
+ {
+ "id": "d7b3fd49.e8382",
+ "type": "outcomeFalse",
+ "name": "false",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 454.05625915527344,
+ "y": 522.7500004768375,
+ "z": "c0682e3f.3173c",
+ "wires": [
+ [
+ "906908fc.43cf18"
+ ]
+ ]
+ },
+ {
+ "id": "e548aab0.213398",
+ "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": 743.3062744140625,
+ "y": 355.7500061988834,
+ "z": "c0682e3f.3173c",
+ "wires": [
+ [
+ "ae264d49.ae7ad",
+ "99b67ee2.a89a5"
+ ]
+ ]
+ },
+ {
+ "id": "ae264d49.ae7ad",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 837.0562591552734,
+ "y": 469.5000004768375,
+ "z": "c0682e3f.3173c",
+ "wires": [
+ [
+ "906908fc.43cf18"
+ ]
+ ]
+ },
+ {
+ "id": "99b67ee2.a89a5",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1007.0562591552734,
+ "y": 275.7500004768375,
+ "z": "c0682e3f.3173c",
+ "wires": [
+ [
+ "c78d1a7f.685198"
+ ]
+ ]
+ },
+ {
+ "id": "2730046b.7b6b6c",
+ "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": 1610.8061981201172,
+ "y": 752.7115101814273,
+ "z": "c0682e3f.3173c",
+ "wires": []
+ },
+ {
+ "id": "2e2a4b44.42d064",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n<parameter name=\"event-message\" value=\"`'Failed to retrieve connection details of the vnfc : ' + $vnfcType`\"/> ",
+ "comments": "",
+ "x": 1529.287353515625,
+ "y": 187.00000143051182,
+ "z": "c0682e3f.3173c",
+ "wires": []
+ },
+ {
+ "id": "c78d1a7f.685198",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1302.5179901123047,
+ "y": 297.8461232185367,
+ "z": "c0682e3f.3173c",
+ "wires": [
+ [
+ "2e2a4b44.42d064",
+ "2c80a8ba.83a878"
+ ]
+ ]
+ },
+ {
+ "id": "fcf85234.6afd8",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1144.8061981201172,
+ "y": 569.6667103767398,
+ "z": "c0682e3f.3173c",
+ "wires": [
+ [
+ "fcc5b930.9c3858"
+ ]
+ ]
+ },
+ {
+ "id": "7171117c.85bcd",
+ "type": "set",
+ "name": "Set event message",
+ "xml": "<set>\n<parameter name=\"event-message\" value=\"`'Failed to retrieve the role(Active/Passive) of the vnfc : ' + $vnfcType`\"/> ",
+ "comments": "",
+ "x": 1482.8061981201172,
+ "y": 501.6666798591617,
+ "z": "c0682e3f.3173c",
+ "wires": []
+ },
+ {
+ "id": "fcc5b930.9c3858",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1348.8062591552734,
+ "y": 577.6666646003727,
+ "z": "c0682e3f.3173c",
+ "wires": [
+ [
+ "7171117c.85bcd",
+ "2730046b.7b6b6c"
+ ]
+ ]
+ },
+ {
+ "id": "2c80a8ba.83a878",
+ "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": 1495.8062286376953,
+ "y": 384.6666569709781,
+ "z": "c0682e3f.3173c",
+ "wires": []
+ }
+]