diff options
author | 2017-12-22 17:01:22 -0500 | |
---|---|---|
committer | 2017-12-22 17:03:53 -0500 | |
commit | 8d08b3b9314dbb5eb15cd278fb50fc35b1cc8fdd (patch) | |
tree | d2b298ab52e90781c9af8ec34b22aea3905b8424 /appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_healthcheck.json | |
parent | 79e06aed697580577579f8d4e4e844dd773fb613 (diff) |
Platform Hardening for DG Json files - Part 5
Change-Id: If1d1b8090c6f932c1b383e0be3d942bc9d082fae
Issue-ID: APPC-305
Signed-off-by: Taka <tc012c@att.com>
Diffstat (limited to 'appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_healthcheck.json')
-rw-r--r-- | appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_healthcheck.json | 230 |
1 files changed, 229 insertions, 1 deletions
diff --git a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_healthcheck.json b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_healthcheck.json index bc683f16c..154145582 100644 --- a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_healthcheck.json +++ b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_healthcheck.json @@ -1 +1,229 @@ -[{"id":"eb339652.aa1bb","type":"dgstart","name":"DGSTART","outputs":1,"x":361.8833312988281,"y":294.5666790008545,"z":"8fbf021e.b75288","wires":[["6a6b9cbd.5c5064"]]},{"id":"6a6b9cbd.5c5064","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":520.8833312988281,"y":290.5666790008545,"z":"8fbf021e.b75288","wires":[["ad9ed23f.8f9c68"]]},{"id":"ad9ed23f.8f9c68","type":"method","name":"method healthcheck","xml":"<method rpc='healthcheck' mode='sync'>\n","comments":"","outputs":1,"x":725.8833389282227,"y":289.5666809082031,"z":"8fbf021e.b75288","wires":[["23912012.6a432"]]},{"id":"23912012.6a432","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","comments":"","outputs":1,"x":385.8833312988281,"y":398.5666790008545,"z":"8fbf021e.b75288","wires":[["96f48524.be9e1","d37d976d.cb8ed"]]},{"id":"96f48524.be9e1","type":"execute","name":"execute get and executeFlowSequence","xml":"<execute plugin=\"org.onap.appc.flow.controller.node.RestServiceNode\" method=\"sendRequest\">\n<parameter name=\"responsePrefix\" value=\"APPC.healthcheck\" />\n\n","comments":"","outputs":1,"x":438.8832702636719,"y":497.01111030578613,"z":"8fbf021e.b75288","wires":[["6be528f6.12212","d4a71709.a43268","c328bc28.cc53f"]]},{"id":"6be528f6.12212","type":"failure","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":737.994457244873,"y":469.34446811676025,"z":"8fbf021e.b75288","wires":[["248dee55.40e1d2"]]},{"id":"248dee55.40e1d2","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":891.4388961791992,"y":456.5666694641113,"z":"8fbf021e.b75288","wires":[["31d502fd.89de4e"]]},{"id":"31d502fd.89de4e","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value=\"Unable to find Execute Node DG sendRequest\" />\n\n\n\t","comments":"","x":1059.9667205810547,"y":443.9000587463379,"z":"8fbf021e.b75288","wires":[]},{"id":"d4a71709.a43268","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":739.6610946655273,"y":514.1222286224365,"z":"8fbf021e.b75288","wires":[["1d2f2a87.475dc5"]]},{"id":"1d2f2a87.475dc5","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":891.2166862487793,"y":507.34448051452637,"z":"8fbf021e.b75288","wires":[["bc79231c.35d1f"]]},{"id":"bc79231c.35d1f","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value=\"`$APPC.healthcheck.error-message`\" />\n\n\n\t","comments":"","x":1053.2723236083984,"y":500.5111427307129,"z":"8fbf021e.b75288","wires":[]},{"id":"d37d976d.cb8ed","type":"set","name":"set Context params","xml":"<set>\n<parameter name='vnf-id' value='`$input.action-identifiers.vnf-id`' /> \n<parameter name='service-instance-id' value='`$input.action-identifiers.service-instance-id`' /> \n\n<parameter name='request-id' value='`$input.common-header.request-id`' />\n\n<parameter name='originator-id' value='`$input.common-header.originator-id`' /> \n\n<!-- Not required in Get request<parameter name='payload' value='`$input.payload`' /> -->\n\n<parameter name='request-action-type' value= 'GET' /> \n\n\n\n","comments":"","x":1149.0261611938477,"y":373.67383003234863,"z":"8fbf021e.b75288","wires":[]},{"id":"c328bc28.cc53f","type":"success","name":"outcome: Other","xml":"<outcome value=\"Other\">","comments":"","outputs":1,"x":749.9944763183594,"y":571.9000425338745,"z":"8fbf021e.b75288","wires":[["a4c92174.a2ada8"]]},{"id":"a4c92174.a2ada8","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","comments":"","outputs":1,"x":931.3277626037598,"y":570.2333450317383,"z":"8fbf021e.b75288","wires":[["f6918f40.5299c"]]},{"id":"f6918f40.5299c","type":"set","name":"set payloadResponse","xml":"<set>\n<parameter name='output.payload' value='`$APPC.healthcheck.status-message`' /> \n\n\n\n\n","comments":"","x":1175.8833465576172,"y":561.3166847229004,"z":"8fbf021e.b75288","wires":[]}] +[
+ {
+ "id": "eb339652.aa1bb",
+ "type": "dgstart",
+ "name": "DGSTART",
+ "outputs": 1,
+ "x": 361.8833312988281,
+ "y": 294.5666790008545,
+ "z": "8fbf021e.b75288",
+ "wires": [
+ [
+ "6a6b9cbd.5c5064"
+ ]
+ ]
+ },
+ {
+ "id": "6a6b9cbd.5c5064",
+ "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": 520.8833312988281,
+ "y": 290.5666790008545,
+ "z": "8fbf021e.b75288",
+ "wires": [
+ [
+ "ad9ed23f.8f9c68"
+ ]
+ ]
+ },
+ {
+ "id": "ad9ed23f.8f9c68",
+ "type": "method",
+ "name": "method healthcheck",
+ "xml": "<method rpc='healthcheck' mode='sync'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 725.8833389282227,
+ "y": 289.5666809082031,
+ "z": "8fbf021e.b75288",
+ "wires": [
+ [
+ "23912012.6a432"
+ ]
+ ]
+ },
+ {
+ "id": "23912012.6a432",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 385.8833312988281,
+ "y": 398.5666790008545,
+ "z": "8fbf021e.b75288",
+ "wires": [
+ [
+ "96f48524.be9e1",
+ "d37d976d.cb8ed"
+ ]
+ ]
+ },
+ {
+ "id": "96f48524.be9e1",
+ "type": "execute",
+ "name": "execute get and executeFlowSequence",
+ "xml": "<execute plugin=\"org.onap.appc.flow.controller.node.RestServiceNode\" method=\"sendRequest\">\n<parameter name=\"responsePrefix\" value=\"APPC.healthcheck\" />\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 438.8832702636719,
+ "y": 497.01111030578613,
+ "z": "8fbf021e.b75288",
+ "wires": [
+ [
+ "6be528f6.12212",
+ "d4a71709.a43268",
+ "c328bc28.cc53f"
+ ]
+ ]
+ },
+ {
+ "id": "6be528f6.12212",
+ "type": "failure",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 737.994457244873,
+ "y": 469.34446811676025,
+ "z": "8fbf021e.b75288",
+ "wires": [
+ [
+ "248dee55.40e1d2"
+ ]
+ ]
+ },
+ {
+ "id": "248dee55.40e1d2",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 891.4388961791992,
+ "y": 456.5666694641113,
+ "z": "8fbf021e.b75288",
+ "wires": [
+ [
+ "31d502fd.89de4e"
+ ]
+ ]
+ },
+ {
+ "id": "31d502fd.89de4e",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status=\"failure\">\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value=\"Unable to find Execute Node DG sendRequest\" />\n\n\n\t",
+ "comments": "",
+ "x": 1059.9667205810547,
+ "y": 443.9000587463379,
+ "z": "8fbf021e.b75288",
+ "wires": []
+ },
+ {
+ "id": "d4a71709.a43268",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 739.6610946655273,
+ "y": 514.1222286224365,
+ "z": "8fbf021e.b75288",
+ "wires": [
+ [
+ "1d2f2a87.475dc5"
+ ]
+ ]
+ },
+ {
+ "id": "1d2f2a87.475dc5",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 891.2166862487793,
+ "y": 507.34448051452637,
+ "z": "8fbf021e.b75288",
+ "wires": [
+ [
+ "bc79231c.35d1f"
+ ]
+ ]
+ },
+ {
+ "id": "bc79231c.35d1f",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status=\"failure\">\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value=\"`$APPC.healthcheck.error-message`\" />\n\n\n\t",
+ "comments": "",
+ "x": 1053.2723236083984,
+ "y": 500.5111427307129,
+ "z": "8fbf021e.b75288",
+ "wires": []
+ },
+ {
+ "id": "d37d976d.cb8ed",
+ "type": "set",
+ "name": "set Context params",
+ "xml": "<set>\n<parameter name='vnf-id' value='`$input.action-identifiers.vnf-id`' /> \n<parameter name='service-instance-id' value='`$input.action-identifiers.service-instance-id`' /> \n\n<parameter name='request-id' value='`$input.common-header.request-id`' />\n\n<parameter name='originator-id' value='`$input.common-header.originator-id`' /> \n\n<!-- Not required in Get request<parameter name='payload' value='`$input.payload`' /> -->\n\n<parameter name='request-action-type' value= 'GET' /> \n\n\n\n",
+ "comments": "",
+ "x": 1149.0261611938477,
+ "y": 373.67383003234863,
+ "z": "8fbf021e.b75288",
+ "wires": []
+ },
+ {
+ "id": "c328bc28.cc53f",
+ "type": "success",
+ "name": "outcome: Other",
+ "xml": "<outcome value=\"Other\">",
+ "comments": "",
+ "outputs": 1,
+ "x": 749.9944763183594,
+ "y": 571.9000425338745,
+ "z": "8fbf021e.b75288",
+ "wires": [
+ [
+ "a4c92174.a2ada8"
+ ]
+ ]
+ },
+ {
+ "id": "a4c92174.a2ada8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 931.3277626037598,
+ "y": 570.2333450317383,
+ "z": "8fbf021e.b75288",
+ "wires": [
+ [
+ "f6918f40.5299c"
+ ]
+ ]
+ },
+ {
+ "id": "f6918f40.5299c",
+ "type": "set",
+ "name": "set payloadResponse",
+ "xml": "<set>\n<parameter name='output.payload' value='`$APPC.healthcheck.status-message`' /> \n\n\n\n\n",
+ "comments": "",
+ "x": 1175.8833465576172,
+ "y": 561.3166847229004,
+ "z": "8fbf021e.b75288",
+ "wires": []
+ }
+]
|