aboutsummaryrefslogtreecommitdiffstats
path: root/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/Appc-API_2.0.0.0_VNF_UploadNewVersion.json
blob: be09c4681ead7042890f2d63c4d4970f5a539c67 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
/*-
 * ============LICENSE_START=======================================================
 * ONAP : APP-C
 * ================================================================================
 * Copyright (C) 2017 AT&T Intellectual Property.  All rights reserved.
 * ================================================================================
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * 
 *      http://www.apache.org/licenses/LICENSE-2.0
 * 
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 * ============LICENSE_END=========================================================
 */

[{
    "id": "69db81ef.ba444",
    "type": "dgstart",
    "name": "DGSTART",
    "outputs": 1,
    "x": 268.5182189941406,
    "y": 169.5229034423828,
    "z": "f1bd34c4.1f4c58",
    "wires": [["ef3e4d0d.b0fab"]]
},
    {
        "id": "ef3e4d0d.b0fab",
        "type": "service-logic",
        "name": "Appc-API 2.0.0.0",
        "module": "Appc-API",
        "version": "2.0.0.0",
        "comments": "",
        "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'>",
        "outputs": 1,
        "x": 374.5182189941406,
        "y": 226.5229034423828,
        "z": "f1bd34c4.1f4c58",
        "wires": [["b30be360.1439e"]]
    },
    {
        "id": "b30be360.1439e",
        "type": "method",
        "name": "VNF_UploadNewVersion",
        "xml": "<method rpc='VNF_UploadNewVersion' mode='sync'>\n",
        "comments": "",
        "outputs": 1,
        "x": 465.5182189941406,
        "y": 288.5229034423828,
        "z": "f1bd34c4.1f4c58",
        "wires": [["dc3e3baf.d4f3d8"]]
    },
    {
        "id": "dc3e3baf.d4f3d8",
        "type": "execute",
        "name": "execute: handleUpgradeStub",
        "xml": "<execute plugin='org.openecomp.appc.dg.util.UpgradeStubNode' method='handleUpgradeStub' >\n<parameter name=\"failureIndicator\" value=\"`$failureIndicator`\" />\n\n",
        "comments": "",
        "outputs": 1,
        "x": 581.5182189941406,
        "y": 348.5229034423828,
        "z": "f1bd34c4.1f4c58",
        "wires": [["12490bb0.1ac3c4",
            "75432d77.5dd7c4"]]
    },
    {
        "id": "12490bb0.1ac3c4",
        "type": "success",
        "name": "success",
        "xml": "<outcome value='success'>\n",
        "comments": "",
        "outputs": 1,
        "x": 801.5182189941406,
        "y": 325.5229034423828,
        "z": "f1bd34c4.1f4c58",
        "wires": [["8632c267.27b45"]]
    },
    {
        "id": "75432d77.5dd7c4",
        "type": "other",
        "name": "other",
        "xml": "<outcome value='Other'>\n",
        "comments": "",
        "outputs": 1,
        "x": 799.5182189941406,
        "y": 372.5229034423828,
        "z": "f1bd34c4.1f4c58",
        "wires": [["6fdbe1aa.4a1fb"]]
    },
    {
        "id": "8632c267.27b45",
        "type": "returnSuccess",
        "name": "return success",
        "xml": "<return status='success'>\n<parameter name='error-code' value='200' />\n<parameter name='error-message' value=\"For testing only... success in UploadNewVersion\" />\n",
        "comments": "",
        "x": 987.5182189941406,
        "y": 325.5229034423828,
        "z": "f1bd34c4.1f4c58",
        "wires": []
    },
    {
        "id": "6fdbe1aa.4a1fb",
        "type": "returnFailure",
        "name": "return failure",
        "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",
        "comments": "",
        "x": 985.5182189941406,
        "y": 373.5229034423828,
        "z": "f1bd34c4.1f4c58",
        "wires": []
    }]