Add relationship between bbs resource and service
[sdnc/oam.git] / platform-logic / generic-resource-api / src / main / json / GENERIC-RESOURCE-API_bbs-internet-profile-network-topology-operation-create-huawei.json
1 [
2     {
3         "id": "a336222.57d48e",
4         "type": "dgstart",
5         "name": "DGSTART",
6         "outputs": 1,
7         "x": 223.03125,
8         "y": 256.03125,
9         "z": "aab7ce65.cac3d",
10         "wires": [
11             [
12                 "825ef52.3a00b08"
13             ]
14         ]
15     },
16     {
17         "id": "825ef52.3a00b08",
18         "type": "service-logic",
19         "name": "GENERIC-RESOURCE-API ${project.version}",
20         "module": "GENERIC-RESOURCE-API",
21         "version": "${project.version}",
22         "comments": "",
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='GENERIC-RESOURCE-API' version='${project.version}'>",
24         "outputs": 1,
25         "x": 583.0308990478516,
26         "y": 257.0312719345093,
27         "z": "aab7ce65.cac3d",
28         "wires": [
29             [
30                 "b1e4bf68.32817"
31             ]
32         ]
33     },
34     {
35         "id": "b1e4bf68.32817",
36         "type": "method",
37         "name": "method:bbs-internet-profile-network-topology-operation-create-huawei",
38         "xml": "<method rpc='bbs-internet-profile-network-topology-operation-create-huawei' mode='sync'>\n",
39         "comments": "",
40         "outputs": 1,
41         "x": 581.0309143066406,
42         "y": 477.0313491821289,
43         "z": "aab7ce65.cac3d",
44         "wires": [
45             [
46                 "5c27c5cc.716a9c"
47             ]
48         ]
49     },
50     {
51         "id": "5c27c5cc.716a9c",
52         "type": "block",
53         "name": "block : atomic",
54         "xml": "<block atomic=\"true\">\n",
55         "atomic": "false",
56         "comments": "",
57         "outputs": 1,
58         "x": 1005.0311126708984,
59         "y": 476.0313491821289,
60         "z": "aab7ce65.cac3d",
61         "wires": [
62             [
63                 "df661865.6ac258",
64                 "ace54c5f.9cbb7",
65                 "b56478eb.baf7f8",
66                 "67bc1d3.308aae4"
67             ]
68         ]
69     },
70     {
71         "id": "df661865.6ac258",
72         "type": "call",
73         "name": "call:bbs-internet-profile-network-topology-operation-common-huawei",
74         "xml": "<call module='GENERIC-RESOURCE-API' rpc='bbs-internet-profile-network-topology-operation-common-huawei' mode='sync' >\n",
75         "comments": "",
76         "outputs": 1,
77         "x": 1521.0314025878906,
78         "y": 389.0312690734863,
79         "z": "aab7ce65.cac3d",
80         "wires": [
81             []
82         ]
83     },
84     {
85         "id": "ace54c5f.9cbb7",
86         "type": "execute",
87         "name": "execute:CreateInternetProfileInstance",
88         "xml": "<execute plugin=\"org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode\" method=\"sendRequest\">\n    <parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/bbs-internet-profile-operation.json'`\" />\n    <parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/CreateInternetProfileInstance'`\" />\n    <parameter name=\"contentType\" value=\"application/json\"/>\n    <parameter name=\"httpMethod\" value=\"post\"/>\n    <parameter name=\"responsePrefix\" value=\"service-result\"/>",
89         "comments": "",
90         "outputs": 1,
91         "x": 1410.6820373535156,
92         "y": 474.9920845031738,
93         "z": "aab7ce65.cac3d",
94         "wires": [
95             [
96                 "d900182d.b78f38",
97                 "632d7421.f9066c"
98             ]
99         ]
100     },
101     {
102         "id": "632d7421.f9066c",
103         "type": "outcome",
104         "name": "failure",
105         "xml": "<outcome value='failure'>\n",
106         "comments": "",
107         "outputs": 1,
108         "x": 1712.0150184631348,
109         "y": 474.9920845031738,
110         "z": "aab7ce65.cac3d",
111         "wires": [
112             [
113                 "ab6b3ce2.e4f21"
114             ]
115         ]
116     },
117     {
118         "id": "d900182d.b78f38",
119         "type": "outcome",
120         "name": "success",
121         "xml": "<outcome value='success'>\n",
122         "comments": "",
123         "outputs": 1,
124         "x": 1721.0149307250977,
125         "y": 549.9920864105225,
126         "z": "aab7ce65.cac3d",
127         "wires": [
128             [
129                 "3236773.1989488"
130             ]
131         ]
132     },
133     {
134         "id": "3236773.1989488",
135         "type": "switchNode",
136         "name": "switch:service-result",
137         "xml": "<switch test=\"`$service-result.errors.error[0].error-message`\">\n",
138         "comments": "",
139         "outputs": 1,
140         "x": 1956.0310516357422,
141         "y": 549.0313816070557,
142         "z": "aab7ce65.cac3d",
143         "wires": [
144             [
145                 "1a5d7765.109479",
146                 "57a6d69.9382728"
147             ]
148         ]
149     },
150     {
151         "id": "ab6b3ce2.e4f21",
152         "type": "returnFailure",
153         "name": "return failure",
154         "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error failed to call CreateInternetProfileInstance\" />\n",
155         "comments": "",
156         "x": 2224.282148361206,
157         "y": 475.281587600708,
158         "z": "aab7ce65.cac3d",
159         "wires": []
160     },
161     {
162         "id": "1a5d7765.109479",
163         "type": "outcome",
164         "name": "Other",
165         "xml": "<outcome value='Other'>\n",
166         "comments": "",
167         "outputs": 1,
168         "x": 2182.031391143799,
169         "y": 550.0314750671387,
170         "z": "aab7ce65.cac3d",
171         "wires": [
172             [
173                 "8eb57923.9623f8"
174             ]
175         ]
176     },
177     {
178         "id": "57a6d69.9382728",
179         "type": "outcome",
180         "name": "NULL",
181         "xml": "<outcome value=''>\n",
182         "comments": "",
183         "outputs": 1,
184         "x": 2192.0310974121094,
185         "y": 636.0313415527344,
186         "z": "aab7ce65.cac3d",
187         "wires": [
188             [
189                 "4e694f8b.fdd2b"
190             ]
191         ]
192     },
193     {
194         "id": "8eb57923.9623f8",
195         "type": "returnFailure",
196         "name": "return failure",
197         "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"`'Error CreateInternetProfileInstance return: '+$service-result.errors.error[0].error-message`\" />\n\n",
198         "comments": "",
199         "x": 2368.5310592651367,
200         "y": 550.0313119888306,
201         "z": "aab7ce65.cac3d",
202         "wires": []
203     },
204     {
205         "id": "4e694f8b.fdd2b",
206         "type": "block",
207         "name": "block",
208         "xml": "<block>\n",
209         "atomic": "false",
210         "comments": "",
211         "outputs": 1,
212         "x": 2350.197727203369,
213         "y": 637.0313167572021,
214         "z": "aab7ce65.cac3d",
215         "wires": [
216             []
217         ]
218     },
219     {
220         "id": "b56478eb.baf7f8",
221         "type": "returnSuccess",
222         "name": "return success",
223         "xml": "<return status='success'>\n<parameter name=\"ack-final-indicator\" value=\"Y\" />\n<parameter name=\"error-code\" value=\"200\" />\n<parameter name=\"error-message\" value=\"`$error-message`\" />\n",
224         "comments": "",
225         "x": 1315.5311737060547,
226         "y": 1274.031442642212,
227         "z": "aab7ce65.cac3d",
228         "wires": []
229     },
230     {
231         "id": "7577071d.7f2498",
232         "type": "save",
233         "name": "save:generic-vnf",
234         "xml": "<save plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" resource=\"generic-vnf\" key=\"generic-vnf.vnf-id = $vnf-id\" >\n<parameter name= \"vnf-id\" value = \"`$vnf-id`\"/>\n<parameter name=  \"vnf-name\" value = \"`$vnf-name`\"/>\n<parameter name=  \"vnf-type\" value = \"InternetProfile\"/>\n<parameter name=  \"service-id\" value = \"`$network-topology-operation-input.service-information.service-id`\"/>\n<parameter name=  \"prov-status\" value = \"ACTIVE\"/>\n<parameter name=  \"orchestration-status\" value = \"Active\"/>\n<parameter name=  \"is-closed-loop-disabled\" value = \"false\" />\n<parameter name=  \"model-invariant-id\" value = \"`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`\"/>\n<parameter name=  \"model-version-id\" value = \"`$network-topology-operation-input.network-information.onap-model-information.model-uuid`\"/>\n<parameter name=  \"model-customization-id\" value = \"`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`\"/>",
235         "comments": "",
236         "outputs": 1,
237         "x": 1594.0624866485596,
238         "y": 940.062463760376,
239         "z": "aab7ce65.cac3d",
240         "wires": [
241             [
242                 "de67643d.0a9048",
243                 "508bcbf7.e76f04",
244                 "840edff8.2907d"
245             ]
246         ]
247     },
248     {
249         "id": "de67643d.0a9048",
250         "type": "failure",
251         "name": "failure",
252         "xml": "<outcome value='failure'>\n",
253         "comments": "",
254         "outputs": 1,
255         "x": 1830.2843418121338,
256         "y": 811.9512214660645,
257         "z": "aab7ce65.cac3d",
258         "wires": [
259             [
260                 "fe5bd03.02c593"
261             ]
262         ]
263     },
264     {
265         "id": "508bcbf7.e76f04",
266         "type": "failure",
267         "name": "not-found",
268         "xml": "<outcome value='not-found'>\n",
269         "comments": "",
270         "outputs": 1,
271         "x": 1841.260160446167,
272         "y": 871.9670777320862,
273         "z": "aab7ce65.cac3d",
274         "wires": [
275             [
276                 "703dd65f.36e058"
277             ]
278         ]
279     },
280     {
281         "id": "fe5bd03.02c593",
282         "type": "returnFailure",
283         "name": "return failure",
284         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"Failure calling AAI to save generic-vnf\" />\n",
285         "comments": "",
286         "x": 2066.4268894195557,
287         "y": 811.5226864814758,
288         "z": "aab7ce65.cac3d",
289         "wires": []
290     },
291     {
292         "id": "703dd65f.36e058",
293         "type": "returnFailure",
294         "name": "return failure",
295         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"generic-vnf instance does not exist in AAI\" />\n",
296         "comments": "",
297         "x": 2061.3076877593994,
298         "y": 872.4433922767639,
299         "z": "aab7ce65.cac3d",
300         "wires": []
301     },
302     {
303         "id": "840edff8.2907d",
304         "type": "outcome",
305         "name": "success",
306         "xml": "<outcome value='success'>\n",
307         "comments": "",
308         "outputs": 1,
309         "x": 1834.8709659576416,
310         "y": 937.0935578346252,
311         "z": "aab7ce65.cac3d",
312         "wires": [
313             []
314         ]
315     },
316     {
317         "id": "d7aa4847.5acd58",
318         "type": "record",
319         "name": "log file",
320         "xml": " <record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n    <parameter name=\"file\" value=\"/opt/oak/logx.txt\" />\n    <parameter name=\"field1\" value=\"save generic-vnf success!\" />\n    ",
321         "comments": "",
322         "outputs": 1,
323         "x": 2042.8712196350098,
324         "y": 935.0936870574951,
325         "z": "aab7ce65.cac3d",
326         "wires": [
327             []
328         ]
329     },
330     {
331         "id": "5fc61219.65927c",
332         "type": "save",
333         "name": "save:metadata",
334         "xml": "<save plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" resource=\"service-instance:metadata\"\n key=\"service-instance.service-instance-id = $network-topology-operation-input.service-information.service-id  \n\tAND customer.global-customer-id = $network-topology-operation-input.service-information.global-customer-id\n\t  AND service-subscription.service-type = $network-topology-operation-input.service-information.subscription-service-type\n\t  AND service-instance.service-instance-id =  $network-topology-operation-input.service-information.service-instance-id\"  force=\"true\" pfx=\"tmp.AnAI-data\">\n    <parameter name=\"metadata.metadatum[0].metaname\" value=\"service-type\" />\n    <parameter name=\"metadata.metadatum[0].metaval\" value=\"`$prop.bbs.service_type`\" />\n    <parameter name=\"metadata.metadatum[1].metaname\" value=\"up-speed\" />\n    <parameter name=\"metadata.metadatum[1].metaval\" value=\"`$prop.bbs.up_speed`\" />\n    <parameter name=\"metadata.metadatum[2].metaname\" value=\"down-speed\" />\n    <parameter name=\"metadata.metadatum[2].metaval\" value=\"`$prop.bbs.down_speed`\" />\n    <parameter name=\"metadata.metadatum[3].metaname\" value=\"cvlan\" />\n    <parameter name=\"metadata.metadatum[3].metaval\" value=\"`$prop.bbs.c_vlan`\" />\n    <parameter name=\"metadata.metadatum[4].metaname\" value=\"svlan\" />\n    <parameter name=\"metadata.metadatum[4].metaval\" value=\"`$prop.bbs.s_vlan`\" />\n    <parameter name=\"metadata.metadatum[5].metaname\" value=\"expected-ont-id\" />\n    <parameter name=\"metadata.metadatum[5].metaval\" value=\"`$prop.bbs.ont_sn`\" />\n    <parameter name=\"metadata.metadatum[6].metaname\" value=\"rgw-mac-address\" />\n    <parameter name=\"metadata.metadatum[6].metaval\" value=\"`$prop.bbs.mac`\" />",
335         "comments": "",
336         "outputs": 1,
337         "x": 1592.5618381500244,
338         "y": 1092.0622310638428,
339         "z": "aab7ce65.cac3d",
340         "wires": [
341             [
342                 "9b60d426.7e33d8",
343                 "c2480a0e.1b1478",
344                 "a17ec97.b6aa738"
345             ]
346         ]
347     },
348     {
349         "id": "9b60d426.7e33d8",
350         "type": "failure",
351         "name": "failure",
352         "xml": "<outcome value='failure'>\n",
353         "comments": "",
354         "outputs": 1,
355         "x": 1823.037347793579,
356         "y": 1023.4268345832825,
357         "z": "aab7ce65.cac3d",
358         "wires": [
359             [
360                 "54deb41c.97ae6c"
361             ]
362         ]
363     },
364     {
365         "id": "c2480a0e.1b1478",
366         "type": "failure",
367         "name": "not-found",
368         "xml": "<outcome value='not-found'>\n",
369         "comments": "",
370         "outputs": 1,
371         "x": 1835.0135097503662,
372         "y": 1093.4427680969238,
373         "z": "aab7ce65.cac3d",
374         "wires": [
375             [
376                 "15a91907.6a2f77"
377             ]
378         ]
379     },
380     {
381         "id": "54deb41c.97ae6c",
382         "type": "returnFailure",
383         "name": "return failure",
384         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"Failure calling AAI to save metadatum\" />\n",
385         "comments": "",
386         "x": 2063.1801433563232,
387         "y": 1021.998336315155,
388         "z": "aab7ce65.cac3d",
389         "wires": []
390     },
391     {
392         "id": "15a91907.6a2f77",
393         "type": "returnFailure",
394         "name": "return failure",
395         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"metadatum instance does not exist in AAI\" />\n",
396         "comments": "",
397         "x": 2060.0610427856445,
398         "y": 1092.9190044403076,
399         "z": "aab7ce65.cac3d",
400         "wires": []
401     },
402     {
403         "id": "a17ec97.b6aa738",
404         "type": "outcome",
405         "name": "success",
406         "xml": "<outcome value='success'>\n",
407         "comments": "",
408         "outputs": 1,
409         "x": 1829.6242198944092,
410         "y": 1163.5692076683044,
411         "z": "aab7ce65.cac3d",
412         "wires": [
413             []
414         ]
415     },
416     {
417         "id": "e577d9f5.accf98",
418         "type": "record",
419         "name": "log file",
420         "xml": " <record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n    <parameter name=\"file\" value=\"/opt/oak/logx.txt\" />\n    <parameter name=\"field1\" value=\"save metadatum success!\" />\n    ",
421         "comments": "",
422         "outputs": 1,
423         "x": 2040.6242198944092,
424         "y": 1163.5692076683044,
425         "z": "aab7ce65.cac3d",
426         "wires": [
427             []
428         ]
429     },
430     {
431         "id": "67bc1d3.308aae4",
432         "type": "block",
433         "name": "block",
434         "xml": "<block>\n",
435         "atomic": "false",
436         "comments": "",
437         "outputs": 1,
438         "x": 1289.196086883545,
439         "y": 814.0310153961182,
440         "z": "aab7ce65.cac3d",
441         "wires": [
442             [
443                 "7577071d.7f2498",
444                 "5fc61219.65927c",
445                 "6fa2d919.edbe98",
446                 "a47acb9b.a35478",
447                 "3aa091fc.f969ae"
448             ]
449         ]
450     },
451     {
452         "id": "6fa2d919.edbe98",
453         "type": "set",
454         "name": "set:variables",
455         "xml": "<set>\n<parameter name='vnf-id' value=\"`$prop.random-data-list[3]`\"/>\n<parameter name='vnf-name' value=\"`'vnf-'+$prop.random-data-list[4]`\"/>\n",
456         "comments": "",
457         "x": 1577.1964359283447,
458         "y": 810.364013671875,
459         "z": "aab7ce65.cac3d",
460         "wires": []
461     },
462     {
463         "id": "a47acb9b.a35478",
464         "type": "execute",
465         "name": "execute:generate",
466         "xml": " <execute plugin=\"org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils\" method=\"generateUUID\">\n    <parameter name=\"ctx-destination\" value=\"prop.random-data\"/>",
467         "comments": "",
468         "outputs": 1,
469         "x": 1598.5606498718262,
470         "y": 736.061863899231,
471         "z": "aab7ce65.cac3d",
472         "wires": [
473             [
474                 "b904a8e6.00ba98"
475             ]
476         ]
477     },
478     {
479         "id": "b904a8e6.00ba98",
480         "type": "success",
481         "name": "success",
482         "xml": "<outcome value='success'>\n",
483         "comments": "",
484         "outputs": 1,
485         "x": 1827.5605926513672,
486         "y": 737.0618381500244,
487         "z": "aab7ce65.cac3d",
488         "wires": [
489             [
490                 "973e3b14.e96fb8"
491             ]
492         ]
493     },
494     {
495         "id": "973e3b14.e96fb8",
496         "type": "execute",
497         "name": "execute",
498         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n    <parameter name=\"ctx_memory_result_key\" value=\"prop.random-data-list\"/>\n    <parameter name=\"original_string\" value=\"`$prop.random-data`\"/>\n    <parameter name=\"regex\" value=\"-\"/>\n",
499         "comments": "",
500         "outputs": 1,
501         "x": 2018.5606498718262,
502         "y": 735.0618381500244,
503         "z": "aab7ce65.cac3d",
504         "wires": [
505             [
506                 "dd3fe058.06716"
507             ]
508         ]
509     },
510     {
511         "id": "61f078a0.340828",
512         "type": "record",
513         "name": "log file",
514         "xml": " <record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n    <parameter name=\"file\" value=\"/opt/oak/logx.txt\" />\n    <parameter name=\"field1\" value=\"`$prop.random-data`\" />\n    ",
515         "comments": "",
516         "outputs": 1,
517         "x": 2350.560712814331,
518         "y": 733.0618991851807,
519         "z": "aab7ce65.cac3d",
520         "wires": [
521             []
522         ]
523     },
524     {
525         "id": "dd3fe058.06716",
526         "type": "outcome",
527         "name": "success",
528         "xml": "<outcome value='success'>\n",
529         "comments": "",
530         "outputs": 1,
531         "x": 2185.56058883667,
532         "y": 734.0618686676025,
533         "z": "aab7ce65.cac3d",
534         "wires": [
535             []
536         ]
537     },
538     {
539         "id": "3aa091fc.f969ae",
540         "type": "save",
541         "name": "save:relationship",
542         "xml": "<save plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" resource=\"service-instance:relationship-list\" \n      key=\"service-instance.service-instance-id =  $network-topology-operation-input.service-information.service-id\n         AND customer.global-customer-id = $network-topology-operation-input.service-information.global-customer-id\n         AND service-subscription.service-type =  $network-topology-operation-input.service-information.subscription-service-type \n         AND service-instance.service-instance-id =  $network-topology-operation-input.service-information.service-instance-id\" force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"generic-vnf\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/generic-vnfs/generic-vnf/' + $vnf-id`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"generic-vnf.vnf-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$vnf-id`\" />",
543         "comments": "",
544         "outputs": 1,
545         "x": 1538.03125,
546         "y": 1312.03125,
547         "z": "aab7ce65.cac3d",
548         "wires": [
549             [
550                 "3b4ae4d5.3b347c",
551                 "987fe733.92a5d8",
552                 "73836da.8f43494"
553             ]
554         ]
555     },
556     {
557         "id": "3b4ae4d5.3b347c",
558         "type": "failure",
559         "name": "failure",
560         "xml": "<outcome value='failure'>\n",
561         "comments": "",
562         "outputs": 1,
563         "x": 1768.5067596435547,
564         "y": 1243.3958535194397,
565         "z": "aab7ce65.cac3d",
566         "wires": [
567             [
568                 "2856d517.9eb7ba"
569             ]
570         ]
571     },
572     {
573         "id": "987fe733.92a5d8",
574         "type": "failure",
575         "name": "not-found",
576         "xml": "<outcome value='not-found'>\n",
577         "comments": "",
578         "outputs": 1,
579         "x": 1780.4829216003418,
580         "y": 1313.411787033081,
581         "z": "aab7ce65.cac3d",
582         "wires": [
583             [
584                 "43a5ebe7.d55dc4"
585             ]
586         ]
587     },
588     {
589         "id": "2856d517.9eb7ba",
590         "type": "returnFailure",
591         "name": "return failure",
592         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"Failure calling AAI to save metadatum\" />\n",
593         "comments": "",
594         "x": 2008.6495552062988,
595         "y": 1241.9673552513123,
596         "z": "aab7ce65.cac3d",
597         "wires": []
598     },
599     {
600         "id": "43a5ebe7.d55dc4",
601         "type": "returnFailure",
602         "name": "return failure",
603         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"metadatum instance does not exist in AAI\" />\n",
604         "comments": "",
605         "x": 2005.5304546356201,
606         "y": 1312.8880233764648,
607         "z": "aab7ce65.cac3d",
608         "wires": []
609     },
610     {
611         "id": "73836da.8f43494",
612         "type": "outcome",
613         "name": "success",
614         "xml": "<outcome value='success'>\n",
615         "comments": "",
616         "outputs": 1,
617         "x": 1775.0936317443848,
618         "y": 1383.5382266044617,
619         "z": "aab7ce65.cac3d",
620         "wires": [
621             []
622         ]
623     }
624 ]