be09c4681ead7042890f2d63c4d4970f5a539c67
[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": "69db81ef.ba444",
23     "type": "dgstart",
24     "name": "DGSTART",
25     "outputs": 1,
26     "x": 268.5182189941406,
27     "y": 169.5229034423828,
28     "z": "f1bd34c4.1f4c58",
29     "wires": [["ef3e4d0d.b0fab"]]
30 },
31     {
32         "id": "ef3e4d0d.b0fab",
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": 374.5182189941406,
41         "y": 226.5229034423828,
42         "z": "f1bd34c4.1f4c58",
43         "wires": [["b30be360.1439e"]]
44     },
45     {
46         "id": "b30be360.1439e",
47         "type": "method",
48         "name": "VNF_UploadNewVersion",
49         "xml": "<method rpc='VNF_UploadNewVersion' mode='sync'>\n",
50         "comments": "",
51         "outputs": 1,
52         "x": 465.5182189941406,
53         "y": 288.5229034423828,
54         "z": "f1bd34c4.1f4c58",
55         "wires": [["dc3e3baf.d4f3d8"]]
56     },
57     {
58         "id": "dc3e3baf.d4f3d8",
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": 581.5182189941406,
65         "y": 348.5229034423828,
66         "z": "f1bd34c4.1f4c58",
67         "wires": [["12490bb0.1ac3c4",
68             "75432d77.5dd7c4"]]
69     },
70     {
71         "id": "12490bb0.1ac3c4",
72         "type": "success",
73         "name": "success",
74         "xml": "<outcome value='success'>\n",
75         "comments": "",
76         "outputs": 1,
77         "x": 801.5182189941406,
78         "y": 325.5229034423828,
79         "z": "f1bd34c4.1f4c58",
80         "wires": [["8632c267.27b45"]]
81     },
82     {
83         "id": "75432d77.5dd7c4",
84         "type": "other",
85         "name": "other",
86         "xml": "<outcome value='Other'>\n",
87         "comments": "",
88         "outputs": 1,
89         "x": 799.5182189941406,
90         "y": 372.5229034423828,
91         "z": "f1bd34c4.1f4c58",
92         "wires": [["6fdbe1aa.4a1fb"]]
93     },
94     {
95         "id": "8632c267.27b45",
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 UploadNewVersion\" />\n",
99         "comments": "",
100         "x": 987.5182189941406,
101         "y": 325.5229034423828,
102         "z": "f1bd34c4.1f4c58",
103         "wires": []
104     },
105     {
106         "id": "6fdbe1aa.4a1fb",
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 UploadNewVersion\" />\n<parameter name='output.status.code' value='401'/>\n<parameter name='output.status.message' value=\"For testing only... failure in UploadNewVersion\" />\n",
110         "comments": "",
111         "x": 985.5182189941406,
112         "y": 373.5229034423828,
113         "z": "f1bd34c4.1f4c58",
114         "wires": []
115     }]