732a13342851e74f76bdf9b0460dbab90c66e371
[appc/deployment.git] / platform-logic / appc / src / main / json / dg-loader-dgs / Dispatcher-DG / Appc-API_2.0.0.0_VNF_UploadNewVersion.json
1 [{
2     "id": "69db81ef.ba444",
3     "type": "dgstart",
4     "name": "DGSTART",
5     "outputs": 1,
6     "x": 268.5182189941406,
7     "y": 169.5229034423828,
8     "z": "f1bd34c4.1f4c58",
9     "wires": [["ef3e4d0d.b0fab"]]
10 },
11     {
12         "id": "ef3e4d0d.b0fab",
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": 374.5182189941406,
21         "y": 226.5229034423828,
22         "z": "f1bd34c4.1f4c58",
23         "wires": [["b30be360.1439e"]]
24     },
25     {
26         "id": "b30be360.1439e",
27         "type": "method",
28         "name": "VNF_UploadNewVersion",
29         "xml": "<method rpc='VNF_UploadNewVersion' mode='sync'>\n",
30         "comments": "",
31         "outputs": 1,
32         "x": 465.5182189941406,
33         "y": 288.5229034423828,
34         "z": "f1bd34c4.1f4c58",
35         "wires": [["dc3e3baf.d4f3d8"]]
36     },
37     {
38         "id": "dc3e3baf.d4f3d8",
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": 581.5182189941406,
45         "y": 348.5229034423828,
46         "z": "f1bd34c4.1f4c58",
47         "wires": [["12490bb0.1ac3c4",
48             "75432d77.5dd7c4"]]
49     },
50     {
51         "id": "12490bb0.1ac3c4",
52         "type": "success",
53         "name": "success",
54         "xml": "<outcome value='success'>\n",
55         "comments": "",
56         "outputs": 1,
57         "x": 801.5182189941406,
58         "y": 325.5229034423828,
59         "z": "f1bd34c4.1f4c58",
60         "wires": [["8632c267.27b45"]]
61     },
62     {
63         "id": "75432d77.5dd7c4",
64         "type": "other",
65         "name": "other",
66         "xml": "<outcome value='Other'>\n",
67         "comments": "",
68         "outputs": 1,
69         "x": 799.5182189941406,
70         "y": 372.5229034423828,
71         "z": "f1bd34c4.1f4c58",
72         "wires": [["6fdbe1aa.4a1fb"]]
73     },
74     {
75         "id": "8632c267.27b45",
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 UploadNewVersion\" />\n",
79         "comments": "",
80         "x": 987.5182189941406,
81         "y": 325.5229034423828,
82         "z": "f1bd34c4.1f4c58",
83         "wires": []
84     },
85     {
86         "id": "6fdbe1aa.4a1fb",
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 UploadNewVersion\" />\n<parameter name='output.status.code' value='401'/>\n<parameter name='output.status.message' value=\"For testing only... failure in UploadNewVersion\" />\n",
90         "comments": "",
91         "x": 985.5182189941406,
92         "y": 373.5229034423828,
93         "z": "f1bd34c4.1f4c58",
94         "wires": []
95     }]