3 "id": "91e51a78.f2f898",
5 "name": "vnf-topology-rollback",
8 "x": 744.3209228515625,
9 "y": 66.54320526123047,
10 "z": "da6e10f.d63acf",
14 "id": "cf768572.2720b8",
16 "name": "block : atomic",
17 "xml": "<block atomic=\"true\">",
20 "x": 167.79322814941406,
21 "y": 531.182092666626,
22 "z": "da6e10f.d63acf",
30 "id": "685886bd.6497f8",
32 "name": "method vnf-topology-rollback",
33 "xml": "<method rpc='vnf-topology-rollback' mode='sync'>\n",
36 "x": 180.65435028076172,
37 "y": 125.26542377471924,
38 "z": "da6e10f.d63acf",
46 "id": "9497dff0.cd216",
47 "type": "service-logic",
48 "name": "VNF-API ${project.version}",
50 "version": "${project.version}",
52 "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='VNF-API' version='${project.version}'>",
54 "x": 329.6543884277344,
55 "y": 77.15432167053223,
56 "z": "da6e10f.d63acf",
64 "id": "bd68af1b.bf9c3",
68 "x": 126.48766326904297,
69 "y": 77.09875869750977,
70 "z": "da6e10f.d63acf",
78 "id": "cdbdf7d4.379e78",
79 "type": "returnSuccess",
80 "name": "return success",
81 "xml": "<return status='success'>\n\t<parameter name=\"error-code\" value=\"200\" />",
83 "x": 489.3766670227051,
84 "y": 447.2627954483032,
85 "z": "da6e10f.d63acf",
89 "id": "c94fe78d.f21d78",
91 "name": "set: order-status = Deleted",
92 "xml": "<set>\n\t<parameter name=\"service-data.oper-status.order-status\" value=\"Deleted\"/>",
94 "x": 526.2377548217773,
95 "y": 318.2627754211426,
96 "z": "da6e10f.d63acf",
100 "id": "77ddff10.81a9e",
101 "type": "switchNode",
102 "name": "switch: order-status = PendingCreate",
103 "xml": "<switch test=\"`$service-data.oper-status.order-status == PendingCreate`\">",
106 "x": 559.0786972045898,
107 "y": 232.39155769348145,
108 "z": "da6e10f.d63acf",
116 "id": "1dbee524.28393b",
119 "xml": "<outcome value='false'>",
122 "x": 790.6620788574219,
123 "y": 232.22486972808838,
124 "z": "da6e10f.d63acf",
132 "id": "a0f6ee02.fe089",
133 "type": "returnFailure",
134 "name": "return failure",
135 "xml": "<return status='failure'>\n\t<parameter name='error-code' value='400'/>\n\t<parameter name='error-message' value='Invalid order-status'/>",
137 "x": 942.9952087402344,
138 "y": 232.22493076324463,
139 "z": "da6e10f.d63acf",
143 "id": "712c6030.e56b2",
145 "name": "set: last-action ",
146 "xml": "<set>\n\t<parameter name=\"service-data.oper-status.last-action\" value=\"`$service-data.request-information.request-action`\"/>",
148 "x": 487.9954490661621,
149 "y": 360.5583686828613,
150 "z": "da6e10f.d63acf",
154 "id": "aa95e846.1b2478",
155 "type": "outcomeFalse",
157 "xml": "<outcome value='false'>\n",
160 "x": 779.3362731933594,
161 "y": 185.18211460113525,
162 "z": "da6e10f.d63acf",
170 "id": "4527a17.6e2476",
171 "type": "returnFailure",
172 "name": "return failure",
173 "xml": "<return status='failure'>\n\t<parameter name='error-code' value='400'/>\n\t<parameter name='error-message' value=\"`'vnf-id = ' + $vnf-topology-operation-input.vnf-request-information.vnf-id + ' not found in config tree'`\"/>",
175 "x": 942.4270935058594,
176 "y": 185.59121799468994,
177 "z": "da6e10f.d63acf",
181 "id": "9ab6d07b.bdd0c",
183 "name": "set: last-order-status = order-status",
184 "xml": "<set>\n\t<parameter name=\"service-data.oper-status.last-order-status\" value=\"`$service-data.oper-status.order-status`\"/>",
186 "x": 552.8817977905273,
187 "y": 275.25032234191895,
188 "z": "da6e10f.d63acf",
192 "id": "95a16bfa.1fed78",
194 "name": "Clear vnf topology",
195 "xml": "<set>\n\t<parameter name=\"service-data.\" value=\"\" /> \n",
197 "x": 500.2707099914551,
198 "y": 404.2503433227539,
199 "z": "da6e10f.d63acf",
203 "id": "52c9c127.4c5ea",
204 "type": "switchNode",
205 "name": "switch:CONFIG == INPUT - vnf-id",
206 "xml": "<switch test=\"`$vnf-topology-operation-input.vnf-request-information.vnf-id == $service-data.vnf-id`\">",
209 "x": 548.4877548217773,
210 "y": 185.18211460113525,
211 "z": "da6e10f.d63acf",
219 "id": "38ee8eff.5172c2",
220 "type": "switchNode",
221 "name": "switch: order-status = PendingCreate",
222 "xml": "<switch test=\"`$service-data.oper-status.order-status == PendingCreate`\">\n\n<!--\nleaf order-status {\n\ttype enumeration {\n\t\tenum \"Active\";\n\t\tenum \"PendingAssignment\";\n\t\tenum \"PendingCreate\";\n\t\tenum \"PendingUpdate\";\n\t\tenum \"Deleted\";\n\t}\n}\n-->",
225 "x": 275.2932357788086,
226 "y": 578.1265535354614,
227 "z": "da6e10f.d63acf",
235 "id": "3321b25c.99345e",
238 "xml": "<outcome value='true'>",
241 "x": 511.54322814941406,
242 "y": 578.8765468597412,
243 "z": "da6e10f.d63acf",
249 "id": "e765cc09.203e5",
251 "name": "block : atomic",
252 "xml": "<block atomic=\"true\">",
255 "x": 257.98773193359375,
256 "y": 184.4321117401123,
257 "z": "da6e10f.d63acf",
271 "id": "a864c3f6.a048c",
273 "name": "request-action = VNFActivateRequest, svc-action = rollback",
276 "x": 755.7376708984375,
277 "y": 102.5432071685791,
278 "z": "da6e10f.d63acf",
282 "id": "5b757381.4bc8ac",
284 "name": "Removing the redundent check",
285 "info": "ks220y: it's being checked at node 3",
287 "x": 217.65431213378906,
288 "y": 490.987642288208,
289 "z": "da6e10f.d63acf",