optimize size and time using "--no-cache-dir"
[appc/deployment.git] / platform-logic / appc / src / main / xml / APPC_method_legacy_operation_2.0.0.xml
1 <!--
2   ============LICENSE_START=======================================================
3   APPC
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
10   
11        http://www.apache.org/licenses/LICENSE-2.0
12   
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=========================================================
19   ECOMP is a trademark and service mark of AT&T Intellectual Property.
20 -->
21
22 <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-API' version='2.0.0.0'><method rpc='legacy_operation' mode='sync'>
23 <block atomic='true'><execute plugin='org.onap.appc.dg.common.LegacyUtil' method='prepareRequest' >
24 </execute><call module='APPC' rpc='topology-operation-all' version='2.0.0' mode='sync' >
25 <outcome value='failure'>
26 <execute plugin='org.onap.appc.dg.common.LegacyUtil' method='convertNegativeResponse' >
27 <outcome value='success'>
28 <return status='failure'>
29 <parameter name='SvcLogic.status.code' value='`$error-code`' />
30 <parameter name='org.onap.appc.dg.error' value='`$error-message`' />
31 <parameter name='dg.status.message.param.errorMsg' value='`$error-message`' />
32 </return></outcome></execute></outcome><outcome value='success'>
33 <execute plugin='org.onap.appc.dg.common.LegacyUtil' method='convertPositiveResponse' >
34 <outcome value='success'>
35 </outcome></execute></outcome></call><return status='success'>
36 </return></block></method></service-logic>