Initial add of appc-directed-graph bundles
[appc.git] / appc-directed-graph / appc-dgraph / provider / src / main / resources / json / Dispatcher-DG / Appc-API_2.0.0.0_VNF_HealthCheck.json
1 /*-
2  * ============LICENSE_START=======================================================
3  * ONAP : APP-C
4  * ================================================================================
5  * Copyright (C) 2017 AT&T Intellectual Property.  All rights reserved.
6  * ================================================================================
7  * Licensed under the Apache License, Version 2.0 (the "License");
8  * you may not use this file except in compliance with the License.
9  * You may obtain a copy of the License at
10  * 
11  *      http://www.apache.org/licenses/LICENSE-2.0
12  * 
13  * Unless required by applicable law or agreed to in writing, software
14  * distributed under the License is distributed on an "AS IS" BASIS,
15  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16  * See the License for the specific language governing permissions and
17  * limitations under the License.
18  * ============LICENSE_END=========================================================
19  */
20
21 [
22     {
23         "id": "9b0d47e6.16eff8",
24         "type": "dgstart",
25         "name": "DGSTART",
26         "outputs": 1,
27         "x": 238,
28         "y": 137,
29         "z": "3db25098.787c1",
30         "wires": [
31             [
32                 "cc93a914.9f00f8"
33             ]
34         ]
35     },
36     {
37         "id": "cc93a914.9f00f8",
38         "type": "service-logic",
39         "name": "Appc-API 2.0.0.0",
40         "module": "Appc-API",
41         "version": "2.0.0.0",
42         "comments": "",
43         "xml": "<service-logic xmlns='http://www.openecomp.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.openecomp.org/sdnc/svclogic ./svclogic.xsd' module='Appc-API' version='2.0.0.0'>",
44         "outputs": 1,
45         "x": 361,
46         "y": 195,
47         "z": "3db25098.787c1",
48         "wires": [
49             [
50                 "3652cb36.ce8014"
51             ]
52         ]
53     },
54     {
55         "id": "3652cb36.ce8014",
56         "type": "method",
57         "name": "VNF_HealthCheck",
58         "xml": "<method rpc='VNF_HealthCheck' mode='sync'>\n",
59         "comments": "",
60         "outputs": 1,
61         "x": 452,
62         "y": 257,
63         "z": "3db25098.787c1",
64         "wires": [
65             [
66                 "f1d1c6be.6d74e8"
67             ]
68         ]
69     },
70     {
71         "id": "f1d1c6be.6d74e8",
72         "type": "execute",
73         "name": "execute: handleUpgradeStub",
74         "xml": "<execute plugin='org.openecomp.appc.dg.util.UpgradeStubNode' method='handleUpgradeStub' >\n<parameter name=\"failureIndicator\" value=\"`$failureIndicator`\" />\n\n",
75         "comments": "",
76         "outputs": 1,
77         "x": 568,
78         "y": 317,
79         "z": "3db25098.787c1",
80         "wires": [
81             [
82                 "e3d4660c.ea71e8",
83                 "4c962a0d.b1d5c4"
84             ]
85         ]
86     },
87     {
88         "id": "e3d4660c.ea71e8",
89         "type": "success",
90         "name": "success",
91         "xml": "<outcome value='success'>\n",
92         "comments": "",
93         "outputs": 1,
94         "x": 788,
95         "y": 294,
96         "z": "3db25098.787c1",
97         "wires": [
98             [
99                 "668719c4.5a7da8"
100             ]
101         ]
102     },
103     {
104         "id": "4c962a0d.b1d5c4",
105         "type": "other",
106         "name": "other",
107         "xml": "<outcome value='Other'>\n",
108         "comments": "",
109         "outputs": 1,
110         "x": 786,
111         "y": 341,
112         "z": "3db25098.787c1",
113         "wires": [
114             [
115                 "1ec055ee.ff19ca"
116             ]
117         ]
118     },
119     {
120         "id": "668719c4.5a7da8",
121         "type": "returnSuccess",
122         "name": "return success",
123         "xml": "<return status='success'>\n<parameter name='error-code' value='200' />\n<parameter name='error-message' value=\"For testing only... success in HealthCheck\" />",
124         "comments": "",
125         "x": 974,
126         "y": 294,
127         "z": "3db25098.787c1",
128         "wires": []
129     },
130     {
131         "id": "1ec055ee.ff19ca",
132         "type": "returnFailure",
133         "name": "return failure",
134         "xml": "<return status='failure'>\n<parameter name='error-code' value=\"500\" />\n<parameter name='error-message' value=\"For testing only... failure in HealthCheck\" />\n",
135         "comments": "",
136         "x": 972,
137         "y": 342,
138         "z": "3db25098.787c1",
139         "wires": []
140     }
141 ]