aboutsummaryrefslogtreecommitdiffstats
path: root/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_brg-topology-operation-activate.xml
blob: 5e1fbe7b49a2b429c794f1ede86711be04d089a8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
<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}'><method rpc='brg-topology-operation-activate' mode='sync'>
<block atomic="true"><set>
<parameter name='tmp.ar.allotted-resource-id' value='`$brg-topology-operation-input.allotted-resource-information.allotted-resource-id`' />
<parameter name='tmp.ar.parent-service-instance-id' value='`$brg-topology-operation-input.allotted-resource-information.parent-service-instance-id`' />
<!--
<parameter name='tmp.ar.brg-vnf-id' value='`$brg-topology-operation-input.allotted-resource-data.brg-topology.brg-assignments.brg-vnf-id`' />
-->

</set><block atomic="true"><get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.mdsal.ConfigResource' resource='VNF-API' key='vnfs' pfx='tmp.vnfdata' >
</get-resource><for index='vnfidx' start='0' end='`$tmp.vnfdata.vnfs.vnf-list_length`' >


<switch test='`$tmp.vnfdata.vnfs.vnf-list[$vnfidx].service-data.service-information.service-instance-id == $tmp.ar.parent-service-instance-id`'>


<outcome value='true'>
<block>
<set>
<parameter name='tmp.ar.brg-vnf-id' 
   value='`$tmp.vnfdata.vnfs.vnf-list[$vnfidx].vnf-id`' />



</set></block></outcome></switch></for></block><set>
<parameter name='tmp.ar.self-link' value="`'restconf/config/GENERIC-RESOURCE-API:brg-allotted-resources/brg-allotted-resource/'
 + $tmp.ar.allotted-resource-id
 + '/allotted-resource-data/brg-topology/'` " />

</set><execute plugin='org.onap.ccsdk.sli.plugins.prop.PropertiesNode' method='readProperties' >
    <parameter name='fileName' value='%SDNC_CONFIG_DIR%/generic-resource-api-dg.properties' />
    <parameter name='contextPrefix' value='prop' />
</execute><execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
    <parameter name="source" value="`$prop.restapi.brg-allottedresource`"/>
    <parameter name="outputPath" value="tmp.ar-url"/>
    <parameter name="target" value="{allotted-resource-id}"/>
    <parameter name="replacement" value="`$tmp.ar.allotted-resource-id`"/>
</execute><execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
    <parameter name='restapiUrl' value='`$prop.controller.url + $tmp.ar-url`' />
    <parameter name='restapiUser' value='`$prop.controller.user`' />
    <parameter name='restapiPassword' value='`$prop.controller.pwd`' />
    <parameter name='format' value='json' />
    <parameter name='httpMethod' value='GET' />
    <parameter name="responsePrefix" value="mdsal-ar" />

<outcome value='success'>
<block atomic="true">
<set>
<parameter name='bk-brg-ar' value='$mdsal-ar.' />
</set><switch test='`$mdsal-ar.brg-allotted-resource_length`'>
<outcome value='1'>
<block atomic='true'>
<set>
<parameter name='brg-ar.' value='$mdsal-ar.brg-allotted-resource[0].' />
</set><switch test='`$brg-ar.allotted-resource-data.allotted-resource-oper-status.order-status`'>
<outcome value='Created'>
<block>
</block></outcome><outcome value='Other'>
<block>
</block></outcome></switch><set>
<parameter name='brg-ar.allotted-resource-data.allotted-resource-oper-status.last-action' value='`$brg-ar.allotted-resource-data.allotted-resource-operation-information.request-information.request-action`' />
<parameter name='brg-ar.allotted-resource-data.allotted-resource-oper-status.last-rpc-action' value='`$brg-ar.allotted-resource-status.rpc-action`' />
<parameter name='brg-ar.allotted-resource-data.allotted-resource-oper-status.last-svc-request-id' value='`$brg-ar.allotted-resource-data.allotted-resource-operation-information.sdnc-request-header.svc-request-id`' />

</set></block></outcome></switch></block></outcome><outcome value='Other'>
<block atomic="true">
</block></outcome></execute><set>
<parameter name='brg-ar.allotted-resource-id' value="`$tmp.ar.allotted-resource-id` " />
<parameter name='brg-ar.allotted-resource-status.action' value="`$brg-topology-operation-input.request-information.request-action` " />
<parameter name='brg-ar.allotted-resource-status.rpc-name' value="brg-topology-operation" />
<parameter name='brg-ar.allotted-resource-status.rpc-action' value="`$brg-topology-operation-input.sdnc-request-header.svc-action` " />
<parameter name='brg-ar.allotted-resource-data.allotted-resource-operation-information.request-information.' value="`$brg-topology-operation-input.request-information.` " />
<parameter name='brg-ar.allotted-resource-data.allotted-resource-operation-information.sdnc-request-header.' value="`$brg-topology-operation-input.sdnc-request-header.` " />
<parameter name='brg-ar.allotted-resource-data.allotted-resource-operation-information.service-information.' value="`$brg-topology-operation-input.service-information.` " />
<parameter name='brg-ar.allotted-resource-data.allotted-resource-operation-information.allotted-resource-information.' value="`$brg-topology-operation-input.allotted-resource-information.` " />
<parameter name='brg-ar.allotted-resource-data.allotted-resource-operation-information.brg-request-input.' value="`$brg-topology-operation-input.brg-request-input.` " /></set><execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='setTime' >
    <parameter name="outputPath" value="tmp.current-time" />

</execute><set>
<parameter name='brg-ar.allotted-resource-data.allotted-resource-oper-status.order-status' value='Active' />
<parameter name='brg-ar.allotted-resource-data.allotted-resource-oper-status.last-action' value='`$brg-topology-operation-input.request-information.request-action`' />
<parameter name='brg-ar.allotted-resource-data.allotted-resource-oper-status.last-rpc-action' value='`$brg-topology-operation-input.sdnc-request-header.svc-action`' />
<parameter name='brg-ar.allotted-resource-data.allotted-resource-oper-status.last-svc-request-id' value='`$brg-topology-operation-input.sdnc-request-header.svc-request-id`' />
<parameter name='brg-ar.allotted-resource-data.allotted-resource-oper-status.create-timestamp' value='`$tmp.current-time`' />
</set><update plugin="org.onap.ccsdk.sli.adaptors.aai.AAIService" 
		resource="allotted-resource" 
		key="customer.global-customer-id = $brg-topology-operation-input.service-information.global-customer-id AND
			service-subscription.service-type = $brg-topology-operation-input.service-information.subscription-service-type AND
			service-instance.service-instance-id = $brg-topology-operation-input.allotted-resource-information.parent-service-instance-id AND
			allotted-resource.id = $tmp.ar.allotted-resource-id"
        pfx='pfx' local-only='false' force='false'>
	<parameter name="operational-status" value="in-service-path" />
<outcome value='failure'>
<return status='failure'>
	<parameter name='ack-final' value='Y'/>
	<parameter name="error-code" value="500" />
    <parameter name="error-message" value="AAI failed" />
</return></outcome><outcome value='not-found'>
<return status='failure'>
	<parameter name='ack-final' value='Y'/>
	<parameter name="error-code" value="500" />
    <parameter name="error-message" value="AAI failed" />
</return></outcome></update><execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
    <parameter name='templateFileName' value="`$prop.restapi.templateDir + '/' + $prop.restapi.brg.templatefile`" />
    <parameter name='restapiUrl' value='`$prop.controller.url + $tmp.ar-url`' />
    <parameter name='restapiUser' value='`$prop.controller.user`' />
    <parameter name='restapiPassword' value='`$prop.controller.pwd`' />
    <parameter name='format' value='json' />
    <parameter name='httpMethod' value='PUT' />
    <parameter name="responsePrefix" value="mdsal-ar" />

<outcome value='success'>
<block>
</block></outcome><outcome value='failure'>
<return status='failure'>
	<parameter name='ack-final' value='Y'/>
	<parameter name="error-code" value="500" />
    <parameter name="error-message" value="Error updating md-sal for brg-allotted-resource" />
</return></outcome><outcome value='not-found'>
<return status='failure'>
	<parameter name='ack-final' value='Y'/>
	<parameter name="error-code" value="500" />
    <parameter name="error-message" value="Error updating md-sal for brg-allotted-resource" />
</return></outcome></execute><get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' resource='IPADDR' key="SELECT min(ip_addr) ip from DHCP_MAP where mac_addr = $brg-ar.allotted-resource-data.allotted-resource-operation-information.brg-request-input.brg-wan-mac-address" pfx="tmp.brg-wan-ip" >
</get-resource><set>
<parameter name='brg-ar.allotted-resource-data.brg-topology.brg-assignments.vbrg-wan-ip' value='`$tmp.brg-wan-ip.ip`' />
</set><set>
<parameter name='tmp.ar.consuming-service-instance-id' value='`$brg-ar.allotted-resource-data.brg-topology.allotted-resource-identifiers.consuming-service-instance-id`' />
</set><call module='GENERIC-RESOURCE-API' rpc='get-tunnelxconn-ar' mode='sync' >
</call><set>
<parameter name='brg-ar.allotted-resource-data.brg-topology.brg-assignments.vgmux-lan-ip' value='`$tmp.tunnelxconn-ar.allotted-resource-data.tunnelxconn-topology.tunnelxconn-assignments.vgmux-lan-ip`' />
</set><execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
    <parameter name="source" value="`$prop.honeycomb.url`"/>
    <parameter name="outputPath" value="tmp.honeycomb.url"/>
    <parameter name="target" value="{honeycomb-instance-ip}"/>
    <parameter name="replacement" value="`$brg-ar.allotted-resource-data.brg-topology.brg-assignments.vbrg-wan-ip`"/>
</execute><set>
<parameter name='tmp.tunnel-name' value="`'vxlanTun' + $brg-ar.allotted-resource-data.brg-topology.brg-assignments.vgmux-lan-ip` " />
<parameter name='tmp.tunnel-dest-ip' value="`$brg-ar.allotted-resource-data.brg-topology.brg-assignments.vgmux-lan-ip` " />
<parameter name='tmp.tunnel-src-ip' value="`$brg-ar.allotted-resource-data.brg-topology.brg-assignments.vbrg-wan-ip` " />
<parameter name='tmp.tunnel-vni' value="`$brg-ar.allotted-resource-data.allotted-resource-operation-information.brg-request-input.vni` " /></set><execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
    <parameter name="source" value="`$prop.restapi.vpp-honeycomb`"/>
    <parameter name="outputPath" value="tmp.vpp-honeycomb-url"/>
    <parameter name="target" value="{tunnel-name}"/>
    <parameter name="replacement" value="`$tmp.tunnel-name`"/>
</execute><execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
    <parameter name='templateFileName' value="`$prop.restapi.templateDir + '/' + $prop.restapi.vpp.vxlan-tunnel.templatefile`" />
    <parameter name='restapiUrl' value='`$tmp.honeycomb.url + $tmp.vpp-honeycomb-url`' />
    <parameter name='restapiUser' value='`$prop.honeycomb.user`' />
    <parameter name='restapiPassword' value='`$prop.honeycomb.pwd`' />
    <parameter name='format' value='json' />
    <parameter name='httpMethod' value='PUT' />
    <parameter name="responsePrefix" value="honeycomb-vnf" />

<outcome value='success'>
<block>
</block></outcome><outcome value='failure'>
<return status='failure'>
	<parameter name='ack-final' value='Y'/>
	<parameter name="error-code" value="500" />
    <parameter name="error-message" value="Error setting up vxlan tunnel" />
</return></outcome><outcome value='not-found'>
<return status='failure'>
	<parameter name='ack-final' value='Y'/>
	<parameter name="error-code" value="500" />
    <parameter name="error-message" value="Error setting up vxlan tunnel" />
</return></outcome></execute><set>
<parameter name='tmp.bridge-domain' value="bridge-domain-10" />
<parameter name='tmp.split-horizon-group' value="2" /></set><execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
    <parameter name='templateFileName' value="`$prop.restapi.templateDir + '/' + $prop.restapi.vpp.bridge-domain.templatefile`" />
    <parameter name='restapiUrl' value="`$tmp.honeycomb.url + $tmp.vpp-honeycomb-url + '/v3po:l2' `" />
    <parameter name='restapiUser' value='`$prop.honeycomb.user`' />
    <parameter name='restapiPassword' value='`$prop.honeycomb.pwd`' />
    <parameter name='format' value='json' />
    <parameter name='httpMethod' value='PUT' />
    <parameter name="responsePrefix" value="honeycomb-vnf" />

<outcome value='success'>
<block>
</block></outcome><outcome value='failure'>
<return status='failure'>
	<parameter name='ack-final' value='Y'/>
	<parameter name="error-code" value="500" />
    <parameter name="error-message" value="Error setting up bridge domain" />
</return></outcome><outcome value='not-found'>
<return status='failure'>
	<parameter name='ack-final' value='Y'/>
	<parameter name="error-code" value="500" />
    <parameter name="error-message" value="Error setting up bridge domain" />
</return></outcome></execute><set>
<parameter name='brg-ar.allotted-resource-data.brg-topology.brg-assignments.vg-ip' value='`$tmp.tunnelxconn-ar.allotted-resource-data.tunnelxconn-topology.tunnelxconn-assignments.vg-ip`' />
</set><set>
<parameter name='brg-ar.allotted-resource-data.brg-topology.brg-assignments.vgmux-bearer-ip' value='`$tmp.tunnelxconn-ar.allotted-resource-data.tunnelxconn-topology.tunnelxconn-assignments.vgmux-bearer-ip`' />
</set><set>
<parameter name='tmp.search.consuming-service-instance-id' value='`$brg-ar.allotted-resource-data.brg-topology.allotted-resource-identifiers.consuming-service-instance-id`' />
																	</set><get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.mdsal.ConfigResource' resource='VNF-API' key='preload-vnfs' pfx='tmp.preloadvnfdata' >
<!--
tmp.preloadvnfdata.preload-vnfs.vnf-preload-list[1].preload-data[0].vnf-topology-information.vnf-parameters[16].vnf-parameter-value = 10.0.101.30
--><outcome value='success'>
<block>
<set>
<parameter name='tmp.brg-match-vnf-name' value="`'VGW2BRG-'+ $brg-ar.allotted-resource-data.allotted-resource-operation-information.brg-request-input.brg-wan-mac-address`" />

</set><for index='vnfidx' start='0' end='`$tmp.preloadvnfdata.preload-vnfs.vnf-preload-list_length`' >
                               


<block>
<switch test='`$tmp.preloadvnfdata.preload-vnfs.vnf-preload-list[$vnfidx].vnf-name == $tmp.brg-match-vnf-name`'>


<outcome value='true'>
<for index='paramidx' start='0' end='`$tmp.preloadvnfdata.preload-vnfs.vnf-preload-list[$vnfidx].preload-data.vnf-topology-information.vnf-parameters_length`' >


<switch test="`$tmp.preloadvnfdata.preload-vnfs.vnf-preload-list[$vnfidx].preload-data.vnf-topology-information.vnf-parameters[$paramidx].vnf-parameter-name == 'vgw_private_ip_1'`" >


<outcome value='true'>
<set>
<parameter name='brg-ar.allotted-resource-data.brg-topology.brg-assignments.vg-mgmt-ip'
 value="`$tmp.preloadvnfdata.preload-vnfs.vnf-preload-list[$vnfidx].preload-data.vnf-topology-information.vnf-parameters[$paramidx].vnf-parameter-value`" />

</set></outcome></switch></for></outcome></switch></block></for></block></outcome><outcome value='failure'>
<return status='failure'>
	<parameter name='ack-final' value='Y'/>
	<parameter name="error-code" value="500" />
    <parameter name="error-message" value="Error getting GENERIC-RESOURCE-API:services" />
</return></outcome><outcome value='not-found'>
<return status='failure'>
	<parameter name='ack-final' value='Y'/>
	<parameter name="error-code" value="500" />
    <parameter name="error-message" value="Error getting GENERIC-RESOURCE-API:services" />
</return></outcome></get-resource><execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
    <parameter name="source" value="`$prop.honeycomb.url`"/>
    <parameter name="outputPath" value="tmp.honeycomb.url"/>
    <parameter name="target" value="{honeycomb-instance-ip}"/>
    <parameter name="replacement" value="`$brg-ar.allotted-resource-data.brg-topology.brg-assignments.vg-mgmt-ip`"/>
</execute><set>
<parameter name='tmp.tunnel-name' value="`'vxlanTun' + $brg-ar.allotted-resource-data.brg-topology.brg-assignments.vgmux-bearer-ip` " />
<parameter name='tmp.tunnel-dest-ip' value="`$brg-ar.allotted-resource-data.brg-topology.brg-assignments.vgmux-bearer-ip` " />
<parameter name='tmp.tunnel-src-ip' value="`$brg-ar.allotted-resource-data.brg-topology.brg-assignments.vg-ip` " />
<parameter name='tmp.tunnel-vni' value="`$brg-ar.allotted-resource-data.allotted-resource-operation-information.brg-request-input.vni` " /></set><execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
    <parameter name="source" value="`$prop.restapi.vpp-honeycomb`"/>
    <parameter name="outputPath" value="tmp.vpp-honeycomb-url"/>
    <parameter name="target" value="{tunnel-name}"/>
    <parameter name="replacement" value="`$tmp.tunnel-name`"/>
</execute><execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
    <parameter name="source" value="`$prop.restapi.vnf-api.service-information`"/>
    <parameter name="outputPath" value="tmp.vnf-api-url"/>
    <parameter name="target" value="{vnf-id}"/>
    <parameter name="replacement" value="`$tmp.ar.brg-vnf-id`"/>

   <!-- 
   <parameter name="replacement" value="`$brg-ar.allotted-resource-data.brg-topology.brg-assignments.brg-vnf-id`"/>
 -->
    <!--
    <parameter name="replacement" value="`$brg-topology-operation-input.allotted-resource-data.brg-topology.brg-assignments.brg-vnf-id`"/>
-->
<!--
brg-ar.allotted-resource-data.brg-topology.brg-assignments
--></execute><execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
    <parameter name='restapiUrl' value='`$prop.controller.url + $tmp.vnf-api-url`' />
    <parameter name='restapiUser' value='`$prop.controller.user`' />
    <parameter name='restapiPassword' value='`$prop.controller.pwd`' />
    <parameter name='format' value='json' />
    <parameter name='httpMethod' value='GET' />
    <parameter name="responsePrefix" value="service-data" />

<outcome value='success'>
<block atomic="true">
<set>
<parameter name='bk-service-data' value='$service-data.' />
</set><switch test='`$service-data.service-data_length`'>
<outcome value='1'>
<block atomic='true'>
<set>
<parameter name='tmp.service-data.' value='$service-data.service-data[0].' />
</set><switch test='`$tmp.service-data.order-status`'>
<outcome value='Created'>
<block>
</block></outcome><outcome value='Other'>
<block>
</block></outcome></switch></block></outcome></switch></block></outcome><outcome value='Other'>
<block atomic="true">
</block></outcome></execute><set>
<parameter name='tmp.service-data.service-information.service-instance-id' value='`$brg-topology-operation-input.service-information.service-instance-id`' />
</set><execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
    <parameter name="source" value="`$prop.restapi.services`"/>
    <parameter name="outputPath" value="tmp.services-url"/>
    <parameter name="target" value="{service-instance-id}"/>
    <parameter name="replacement" value="`$tmp.service-data.service-information.service-instance-id`"/>
<!--  tmp.service-data.service-information.service-instance-id
brg-topology-operation-input.allotted-resource-information.parent-service-instance-id
brg-topology-operation-input.service-information.service-instance-id

--></execute><execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
    <parameter name='templateFileName' value="`$prop.restapi.templateDir + '/' + $prop.restapi.services.templatefile`" />
    <parameter name='restapiUrl' value='`$prop.controller.url + $tmp.services-url`' />
    <parameter name='restapiUser' value='`$prop.controller.user`' />
    <parameter name='restapiPassword' value='`$prop.controller.pwd`' />
    <parameter name='format' value='json' />
    <parameter name='httpMethod' value='PUT' />
    <parameter name="responsePrefix" value="mdsal-ar" />

<outcome value='success'>
<block>
</block></outcome><outcome value='failure'>
<return status='failure'>
	<parameter name='ack-final' value='Y'/>
	<parameter name="error-code" value="500" />
    <parameter name="error-message" value="Error updating md-sal for brg-allotted-resource" />
</return></outcome><outcome value='not-found'>
<return status='failure'>
	<parameter name='ack-final' value='Y'/>
	<parameter name="error-code" value="500" />
    <parameter name="error-message" value="Error updating md-sal for brg-allotted-resource" />
</return></outcome></execute><set>
<parameter name='allotted-resource-id' value='`$tmp.ar.allotted-resource-id`' />
<parameter name='brg-object-path' value="`$tmp.ar.self-link`"/>
<parameter name='service-object-path' value="`'restconf/config/GENERIC-RESOURCE-API:services/service/'
 + $tmp.service-data.service-information.service-instance-id
 + '/service-data/service-topology/'`"/>
 
 <!--
brg-topology-operation-input.allotted-resource-information.parent-service-instance-id
 
 brg-topology-operation-input.service-information.service-instance-id
 -->
</set><return status='success'>
<parameter name="ack-final-indicator" value="Y" />
<parameter name="error-code" value="200" />
<parameter name="error-message" value="`$error-message`" />
</return></block></method></service-logic>