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=========================================================
23 "id": "d52f4308.555fb",
27 "x": 96.99993896484375,
29 "z": "1cdd4efa.2a36b1",
37 "id": "763cad7e.1450b4",
38 "type": "service-logic",
43 "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' version='2.0.0'>",
45 "x": 141.99993896484375,
47 "z": "1cdd4efa.2a36b1",
55 "id": "812b1c37.4885c",
58 "xml": "<method rpc='Start_VM' mode='sync'>\n",
61 "x": 301.99993896484375,
63 "z": "1cdd4efa.2a36b1",
71 "id": "280842c.c99e1be",
73 "name": "Start Application ",
74 "xml": "<call module='`$ApplicationStart.dg_module`' rpc='`$ApplicationStart.dg_name`' version='`$ApplicationStart.dg_version`' mode='sync' >\n",
77 "x": 766.9999771118164,
78 "y": 336.0000305175781,
79 "z": "1cdd4efa.2a36b1",
89 "id": "144156f7.572b29",
92 "xml": "<outcome value='success'>\n",
95 "x": 998.9999771118164,
96 "y": 266.9998779296875,
97 "z": "1cdd4efa.2a36b1",
105 "id": "7eab80e5.2adb3",
108 "xml": "<outcome value='failure'>\n",
111 "x": 996.9999771118164,
112 "y": 407.9999694824219,
113 "z": "1cdd4efa.2a36b1",
121 "id": "db549b18.455358",
122 "type": "returnSuccess",
123 "name": "return success",
124 "xml": "<return status='success'>\n",
126 "x": 1378.0005493164062,
127 "y": 262.9998779296875,
128 "z": "1cdd4efa.2a36b1",
132 "id": "c47aa6c9.8c9378",
134 "name": "Resolve Application Start DG",
135 "xml": "<execute plugin='org.openecomp.appc.dg.common.DgResolverPlugin' method='resolveDg'>\n<parameter name=\"vnfType\" value='`$vnf.type`' />\n<parameter name=\"vnfcType\" value='`$vnfcType`' />\n<parameter name=\"action\" value=\"Start_Application\" />\n<parameter name=\"api-ver\" value=\"2.0.0\" />\n<parameter name=\"prefix\" value=\"ApplicationStart\" />\n<parameter name=\"DGResolutionType\" value=\"VNFC\" />\n",
140 "z": "1cdd4efa.2a36b1",
149 "id": "ba0ce95d.a32d48",
152 "xml": "<outcome value='failure'>\n",
157 "z": "1cdd4efa.2a36b1",
165 "id": "cc32ed95.f1246",
168 "xml": "<outcome value='success'>\n",
171 "x": 598.9999771118164,
172 "y": 336.0000305175781,
173 "z": "1cdd4efa.2a36b1",
181 "id": "c89af7a5.6217e8",
183 "name": "block : atomic",
184 "xml": "<block atomic='true'>",
188 "x": 770.0000610351562,
190 "z": "1cdd4efa.2a36b1",
200 "id": "e4e7b04c.adb7d",
202 "name": "Log message",
203 "xml": "<record plugin=\"org.openecomp.sdnc.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"debug\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"record\" value=\"`$error-message`\"/>\n",
208 "z": "1cdd4efa.2a36b1",
214 "id": "735a4bd9.4bb604",
216 "name": "Set failure code and message",
217 "xml": "<set>\n<parameter name='error-code' value=\"401\"/>\n<parameter name='error-message' value=\"`'Failed to resolve Application start DG for : ' + $vnfcType`\"/>\n",
220 "y": 98.88888549804688,
221 "z": "1cdd4efa.2a36b1",
225 "id": "d2671f6c.53d78",
226 "type": "returnFailure",
227 "name": "return failure",
228 "xml": "<return status='failure'>\n",
230 "x": 989.9998779296875,
231 "y": 186.00006103515625,
232 "z": "1cdd4efa.2a36b1",
236 "id": "70e14c1f.8e34e4",
239 "xml": "<outcome value='not-found'>\n",
242 "x": 996.5555191040039,
243 "y": 335.8888854980469,
244 "z": "1cdd4efa.2a36b1",
252 "id": "bbaacbc9.6e42a8",
254 "name": "block : atomic",
255 "xml": "<block atomic='true'>",
259 "x": 1172.222267150879,
260 "y": 336.8888854980469,
261 "z": "1cdd4efa.2a36b1",
271 "id": "2620f33d.ba7aac",
273 "name": "Set failure code and message",
274 "xml": "<set>\n<parameter name='error-code' value=\"401\"/>\n<parameter name='error-message' value=\"`'Application Start DG not found for : ' + $vnfcType`\" />\n",
276 "x": 1426.5555419921875,
277 "y": 316.77777099609375,
278 "z": "1cdd4efa.2a36b1",
282 "id": "d98a42e2.78acd",
284 "name": "Log message",
285 "xml": "<record plugin=\"org.openecomp.sdnc.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"debug\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"record\" value=\"`$error-message`\"/>\n",
288 "x": 1381.5554809570312,
289 "y": 362.8888854980469,
290 "z": "1cdd4efa.2a36b1",
296 "id": "87259f65.26a31",
297 "type": "returnFailure",
298 "name": "return failure",
299 "xml": "<return status='failure'>\n",
301 "x": 1379.555519104004,
302 "y": 408.8888854980469,
303 "z": "1cdd4efa.2a36b1",
307 "id": "deb77571.89feb8",
309 "name": "block : atomic",
310 "xml": "<block atomic='true'>",
314 "x": 1155.555549621582,
315 "y": 407.8888854980469,
316 "z": "1cdd4efa.2a36b1",
325 "id": "96fd3f86.877cb",
327 "name": "block : atomic",
328 "xml": "<block atomic='true'>",
332 "x": 1172.9999389648438,
334 "z": "1cdd4efa.2a36b1",
343 "id": "ba9d1c0b.3d282",
345 "name": "Set success code and message",
346 "xml": "<set>\n<parameter name='error-code' value=\"400\"/>\n<parameter name='error-message' value=\"Success\" />\n",
348 "x": 1430.9999389648438,
350 "z": "1cdd4efa.2a36b1",