Deployment onap rename
[appc/deployment.git] / platform-logic / appc / src / main / json / dg-loader-dgs / Dispatcher-DG / Appc-API_2.0.0.0_VNF_UpgradePreconditionCheck.json
1 [{
2     "id": "7d1b4b8f.e55c64",
3     "type": "dgstart",
4     "name": "DGSTART",
5     "outputs": 1,
6     "x": 307.5182189941406,
7     "y": 217.5229034423828,
8     "z": "6453d20e.8e95fc",
9     "wires": [["df0b70e0.0c6d3"]]
10 },
11     {
12         "id": "df0b70e0.0c6d3",
13         "type": "service-logic",
14         "name": "Appc-API 2.0.0.0",
15         "module": "Appc-API",
16         "version": "2.0.0.0",
17         "comments": "",
18         "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-API' version='2.0.0.0'>",
19         "outputs": 1,
20         "x": 430.5182189941406,
21         "y": 275.5229034423828,
22         "z": "6453d20e.8e95fc",
23         "wires": [["80234fd5.24a4f"]]
24     },
25     {
26         "id": "80234fd5.24a4f",
27         "type": "method",
28         "name": "VNF_PreUpgradeHealthCheck",
29         "xml": "<method rpc='VNF_UpgradePreconditionCheck' mode='sync'>\n",
30         "comments": "",
31         "outputs": 1,
32         "x": 521.5182189941406,
33         "y": 337.5229034423828,
34         "z": "6453d20e.8e95fc",
35         "wires": [["a3be2603.6810f8"]]
36     },
37     {
38         "id": "a3be2603.6810f8",
39         "type": "execute",
40         "name": "execute: handleUpgradeStub",
41         "xml": "<execute plugin='org.onap.appc.dg.util.UpgradeStubNode' method='handleUpgradeStub' >\n<parameter name=\"failureIndicator\" value=\"`$failureIndicator`\" />\n\n",
42         "comments": "",
43         "outputs": 1,
44         "x": 637.5182189941406,
45         "y": 397.5229034423828,
46         "z": "6453d20e.8e95fc",
47         "wires": [["3da04637.67170a",
48             "5eb01780.4fd2f8"]]
49     },
50     {
51         "id": "3da04637.67170a",
52         "type": "success",
53         "name": "success",
54         "xml": "<outcome value='success'>\n",
55         "comments": "",
56         "outputs": 1,
57         "x": 857.5182189941406,
58         "y": 374.5229034423828,
59         "z": "6453d20e.8e95fc",
60         "wires": [["a000f105.13a86"]]
61     },
62     {
63         "id": "5eb01780.4fd2f8",
64         "type": "other",
65         "name": "other",
66         "xml": "<outcome value='Other'>\n",
67         "comments": "",
68         "outputs": 1,
69         "x": 855.5182189941406,
70         "y": 421.5229034423828,
71         "z": "6453d20e.8e95fc",
72         "wires": [["fdd8c081.07a7e"]]
73     },
74     {
75         "id": "a000f105.13a86",
76         "type": "returnSuccess",
77         "name": "return success",
78         "xml": "<return status='success'>\n<parameter name='error-code' value='200' />\n<parameter name='error-message' value=\"For testing only... success in PreUpgradeHealthCheck\" />",
79         "comments": "",
80         "x": 1043.5182189941406,
81         "y": 374.5229034423828,
82         "z": "6453d20e.8e95fc",
83         "wires": []
84     },
85     {
86         "id": "fdd8c081.07a7e",
87         "type": "returnFailure",
88         "name": "return failure",
89         "xml": "<return status='failure'>\n<parameter name='error-code' value=\"401\" />\n<parameter name='error-message' value=\"For testing only... failure in PreUpgradeHealthCheck\" />\n<parameter name='output.status.code' value='401'/>\n<parameter name='output.status.message' value=\"For testing only... failure in PreUpgradeHealthCheck\" />\n",
90         "comments": "",
91         "x": 1041.5182189941406,
92         "y": 422.5229034423828,
93         "z": "6453d20e.8e95fc",
94         "wires": []
95     }]