f9e0e3e44daff072527ed6d97d154636cffd25da
[appc.git] /
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     "id": "7d1b4b8f.e55c64",
23     "type": "dgstart",
24     "name": "DGSTART",
25     "outputs": 1,
26     "x": 307.5182189941406,
27     "y": 217.5229034423828,
28     "z": "6453d20e.8e95fc",
29     "wires": [["df0b70e0.0c6d3"]]
30 },
31     {
32         "id": "df0b70e0.0c6d3",
33         "type": "service-logic",
34         "name": "Appc-API 2.0.0.0",
35         "module": "Appc-API",
36         "version": "2.0.0.0",
37         "comments": "",
38         "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'>",
39         "outputs": 1,
40         "x": 430.5182189941406,
41         "y": 275.5229034423828,
42         "z": "6453d20e.8e95fc",
43         "wires": [["80234fd5.24a4f"]]
44     },
45     {
46         "id": "80234fd5.24a4f",
47         "type": "method",
48         "name": "VNF_PreUpgradeHealthCheck",
49         "xml": "<method rpc='VNF_UpgradePreconditionCheck' mode='sync'>\n",
50         "comments": "",
51         "outputs": 1,
52         "x": 521.5182189941406,
53         "y": 337.5229034423828,
54         "z": "6453d20e.8e95fc",
55         "wires": [["a3be2603.6810f8"]]
56     },
57     {
58         "id": "a3be2603.6810f8",
59         "type": "execute",
60         "name": "execute: handleUpgradeStub",
61         "xml": "<execute plugin='org.openecomp.appc.dg.util.UpgradeStubNode' method='handleUpgradeStub' >\n<parameter name=\"failureIndicator\" value=\"`$failureIndicator`\" />\n\n",
62         "comments": "",
63         "outputs": 1,
64         "x": 637.5182189941406,
65         "y": 397.5229034423828,
66         "z": "6453d20e.8e95fc",
67         "wires": [["3da04637.67170a",
68             "5eb01780.4fd2f8"]]
69     },
70     {
71         "id": "3da04637.67170a",
72         "type": "success",
73         "name": "success",
74         "xml": "<outcome value='success'>\n",
75         "comments": "",
76         "outputs": 1,
77         "x": 857.5182189941406,
78         "y": 374.5229034423828,
79         "z": "6453d20e.8e95fc",
80         "wires": [["a000f105.13a86"]]
81     },
82     {
83         "id": "5eb01780.4fd2f8",
84         "type": "other",
85         "name": "other",
86         "xml": "<outcome value='Other'>\n",
87         "comments": "",
88         "outputs": 1,
89         "x": 855.5182189941406,
90         "y": 421.5229034423828,
91         "z": "6453d20e.8e95fc",
92         "wires": [["fdd8c081.07a7e"]]
93     },
94     {
95         "id": "a000f105.13a86",
96         "type": "returnSuccess",
97         "name": "return success",
98         "xml": "<return status='success'>\n<parameter name='error-code' value='200' />\n<parameter name='error-message' value=\"For testing only... success in PreUpgradeHealthCheck\" />",
99         "comments": "",
100         "x": 1043.5182189941406,
101         "y": 374.5229034423828,
102         "z": "6453d20e.8e95fc",
103         "wires": []
104     },
105     {
106         "id": "fdd8c081.07a7e",
107         "type": "returnFailure",
108         "name": "return failure",
109         "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",
110         "comments": "",
111         "x": 1041.5182189941406,
112         "y": 422.5229034423828,
113         "z": "6453d20e.8e95fc",
114         "wires": []
115     }]