3 "id": "4a37fdf2.6a2504",
17 "id": "24ca19d3.fe69f6",
18 "type": "service-logic",
23 "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' version='2.0.0'>",
27 "z": "bff4e0f.991972",
35 "id": "68e5e092.be1d4",
38 "xml": "<method rpc='Stop_VM' mode='sync'>\n",
43 "z": "bff4e0f.991972",
51 "id": "546085a8.48136c",
53 "name": "Resolve Stop Application DG",
54 "xml": "<execute plugin='org.openecomp.appc.dg.common.VNFCDgResolverPlugin' method='resolveVNFCDg'>\n<parameter name=\"vnfType\" value='`$vnf.type`' />\n<parameter name=\"vnfcType\" value='`$vnfcFlow[$i].vnfcType`' /> \n<parameter name=\"action\" value=\"Stop_Application\" />\n<parameter name=\"api-ver\" value='`$input.common-header.api-ver`' />\n<parameter name=\"prefix\" value='StopApplication' />",
59 "z": "bff4e0f.991972",
68 "id": "af254db7.09d53",
71 "xml": "<outcome value='failure'>\n",
76 "z": "bff4e0f.991972",
84 "id": "4a4711ec.83e88",
86 "name": "Call Stop Application DG",
87 "xml": "<call module='`$StopApplication.dg_module`' rpc='`$StopApplication.dg_name`' mode='sync' >\n",
92 "z": "bff4e0f.991972",
102 "id": "5b84fc8a.59ac94",
105 "xml": "<outcome value='success'>\n",
110 "z": "bff4e0f.991972",
118 "id": "7892211.d99b2e",
127 "z": "bff4e0f.991972",
137 "id": "b3421a0a.ab34d8",
139 "name": "Call StopVM_VM",
140 "xml": "<call module='APPC' rpc='StopVM_VM' mode='sync' >\n",
145 "z": "bff4e0f.991972",
155 "id": "823575c7.9529b8",
158 "xml": "<outcome value='failure'>\n",
163 "z": "bff4e0f.991972",
171 "id": "403b9a.8f504468",
174 "xml": "<outcome value='success'>\n",
179 "z": "bff4e0f.991972",
187 "id": "27344cac.0eda34",
190 "xml": "<outcome value='success'>\n",
195 "z": "bff4e0f.991972",
203 "id": "c108322b.df0e7",
206 "xml": "<outcome value='failure'>\n",
211 "z": "bff4e0f.991972",
219 "id": "3efda8ab.632bf8",
222 "xml": "<outcome value='not-found'>\n",
227 "z": "bff4e0f.991972",
235 "id": "191e02b6.f79f4d",
244 "z": "bff4e0f.991972",
253 "id": "8812042b.ba9358",
255 "name": "Set event message",
256 "xml": "<set>\n<parameter name='event-message' value=\"`'Cannot find DG: ' + $StopApplication.dg_module + ' ' + $StopApplication.dg_name`\"/>\n\n\n",
260 "z": "bff4e0f.991972",
264 "id": "59b9a03e.8323b",
267 "xml": "<set>\n<parameter name='StopApplicationFailed' value='false' />\n",
272 "z": "bff4e0f.991972",
278 "id": "79ce376b.14ba38",
287 "z": "bff4e0f.991972",
296 "id": "ea7f288e.c58648",
305 "z": "bff4e0f.991972",
314 "id": "3c46d78d.4277c8",
323 "z": "bff4e0f.991972",
332 "id": "2013c4a3.b2f33c",
334 "name": "Set Stop Application Failed",
335 "xml": "<set>\n<parameter name='StopApplicationFailed' value='true' />\n",
340 "z": "bff4e0f.991972",
346 "id": "d59b6aa1.c91618",
347 "type": "switchNode",
348 "name": "Switch Stop Application Failed",
349 "xml": "<switch test=\"`$StopApplicationFailed`\">\n",
354 "z": "bff4e0f.991972",
363 "id": "b987da03.0dc0f8",
364 "type": "outcomeTrue",
366 "xml": "<outcome value='true'>\n",
371 "z": "bff4e0f.991972",
379 "id": "98412d6e.2237",
380 "type": "returnFailure",
381 "name": "return failure",
382 "xml": "<return status='failure'>\n",
386 "z": "bff4e0f.991972",
390 "id": "fffd4e3c.8b204",
391 "type": "returnSuccess",
392 "name": "return success",
393 "xml": "<return status='success'>\n",
397 "z": "bff4e0f.991972",
401 "id": "8fa7fbb8.8355c8",
404 "xml": "<outcome value='Other'>\n",
409 "z": "bff4e0f.991972",
417 "id": "ff7db04.0cfe85",
420 "xml": "<outcome value='not-found'>\n",
425 "z": "bff4e0f.991972",
433 "id": "1dffaf3f.e12151",
435 "name": "OutputMessageBuilder",
436 "xml": "<execute plugin='org.openecomp.appc.dg.common.OutputMessagePlugin' method='outputMessageBuilder' >\n<parameter name=\"error-message\" value=\"`$error-message`\" />\n<parameter name=\"event-message\" value=\"`$event-message`\"/>",
441 "z": "bff4e0f.991972",
447 "id": "f628fc33.96856",
456 "z": "bff4e0f.991972",
465 "id": "c41ea253.33c72",
467 "name": "Set event message",
468 "xml": "<set>\n<parameter name='event-message' value=\"Cannot find DG: StopVM_VM\"/>\n\n\n",
472 "z": "bff4e0f.991972",
476 "id": "2186d059.4b82f",
479 "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"error\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"record\" value=\"`$event-message`\"/>\n",
484 "z": "bff4e0f.991972",
490 "id": "cf5c9d26.942c4",
491 "type": "returnFailure",
492 "name": "return failure",
493 "xml": "<return status='failure'>\n",
497 "z": "bff4e0f.991972",
501 "id": "c640b015.2be11",
510 "z": "bff4e0f.991972",
519 "id": "5fb32110.cadf8",
521 "name": "Report Error",
522 "xml": "<execute plugin='org.openecomp.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"event-message\" value=\"`$event-message`\" />",
527 "z": "bff4e0f.991972",
533 "id": "f600a7ce.f7f418",
542 "z": "bff4e0f.991972",
553 "id": "b8335fae.52296",
562 "z": "bff4e0f.991972",
572 "id": "2b14f2c8.13f01e",
574 "name": "Report Success",
575 "xml": "<execute plugin='org.openecomp.appc.dg.common.DCAEReporterPlugin' method='reportSuccess' >\n<parameter name=\"event-message\" value=\"`$success-message`\" />",
580 "z": "bff4e0f.991972",
586 "id": "72a691f7.431cd",
588 "name": "Log success",
589 "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"info\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"record\" value=\"`$success-message`\"/>\n",
594 "z": "bff4e0f.991972",
600 "id": "a2ebc53c.230e08",
602 "name": "Set failure code and message",
603 "xml": "<set>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value=\"`$event-message`\" />\n",
608 "z": "bff4e0f.991972",
614 "id": "292317f2.1be5c8",
616 "name": "Set success code and message",
617 "xml": "<set>\n<parameter name='error-code' value='400' />\n<parameter name='error-message' value=\"`$success-message`\" />\n",
622 "z": "bff4e0f.991972",