2 * ============LICENSE_START=======================================================
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
11 * http://www.apache.org/licenses/LICENSE-2.0
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=========================================================
22 "id": "7d1b4b8f.e55c64",
26 "x": 307.5182189941406,
27 "y": 217.5229034423828,
28 "z": "6453d20e.8e95fc",
29 "wires": [["df0b70e0.0c6d3"]]
32 "id": "df0b70e0.0c6d3",
33 "type": "service-logic",
34 "name": "Appc-API 2.0.0.0",
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'>",
40 "x": 430.5182189941406,
41 "y": 275.5229034423828,
42 "z": "6453d20e.8e95fc",
43 "wires": [["80234fd5.24a4f"]]
46 "id": "80234fd5.24a4f",
48 "name": "VNF_PreUpgradeHealthCheck",
49 "xml": "<method rpc='VNF_UpgradePreconditionCheck' mode='sync'>\n",
52 "x": 521.5182189941406,
53 "y": 337.5229034423828,
54 "z": "6453d20e.8e95fc",
55 "wires": [["a3be2603.6810f8"]]
58 "id": "a3be2603.6810f8",
60 "name": "execute: handleUpgradeStub",
61 "xml": "<execute plugin='org.openecomp.appc.dg.util.UpgradeStubNode' method='handleUpgradeStub' >\n<parameter name=\"failureIndicator\" value=\"`$failureIndicator`\" />\n\n",
64 "x": 637.5182189941406,
65 "y": 397.5229034423828,
66 "z": "6453d20e.8e95fc",
67 "wires": [["3da04637.67170a",
71 "id": "3da04637.67170a",
74 "xml": "<outcome value='success'>\n",
77 "x": 857.5182189941406,
78 "y": 374.5229034423828,
79 "z": "6453d20e.8e95fc",
80 "wires": [["a000f105.13a86"]]
83 "id": "5eb01780.4fd2f8",
86 "xml": "<outcome value='Other'>\n",
89 "x": 855.5182189941406,
90 "y": 421.5229034423828,
91 "z": "6453d20e.8e95fc",
92 "wires": [["fdd8c081.07a7e"]]
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\" />",
100 "x": 1043.5182189941406,
101 "y": 374.5229034423828,
102 "z": "6453d20e.8e95fc",
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",
111 "x": 1041.5182189941406,
112 "y": 422.5229034423828,
113 "z": "6453d20e.8e95fc",