Adding new directed graphs
[appc/deployment.git] / platform-logic / appc / src / main / xml / APPC_method_legacy_operation_2.0.0.xml
diff --git a/platform-logic/appc/src/main/xml/APPC_method_legacy_operation_2.0.0.xml b/platform-logic/appc/src/main/xml/APPC_method_legacy_operation_2.0.0.xml
new file mode 100644 (file)
index 0000000..f24c454
--- /dev/null
@@ -0,0 +1,36 @@
+<!--
+  ============LICENSE_START=======================================================
+  APPC
+  ================================================================================
+  Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
+  ================================================================================
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+  
+       http://www.apache.org/licenses/LICENSE-2.0
+  
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+  ============LICENSE_END=========================================================
+  ECOMP is a trademark and service mark of AT&T Intellectual Property.
+-->
+
+<service-logic xmlns='http://www.openecomp.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.openecomp.org/sdnc/svclogic ./svclogic.xsd' module='Appc-API' version='2.0.0.0'><method rpc='legacy_operation' mode='sync'>
+<block atomic='true'><execute plugin='org.openecomp.appc.dg.common.LegacyUtil' method='prepareRequest' >
+</execute><call module='APPC' rpc='topology-operation-all' version='2.0.0' mode='sync' >
+<outcome value='failure'>
+<execute plugin='org.openecomp.appc.dg.common.LegacyUtil' method='convertNegativeResponse' >
+<outcome value='success'>
+<return status='failure'>
+<parameter name='SvcLogic.status.code' value='`$error-code`' />
+<parameter name='org.openecomp.appc.dg.error' value='`$error-message`' />
+<parameter name='dg.status.message.param.errorMsg' value='`$error-message`' />
+</return></outcome></execute></outcome><outcome value='success'>
+<execute plugin='org.openecomp.appc.dg.common.LegacyUtil' method='convertPositiveResponse' >
+<outcome value='success'>
+</outcome></execute></outcome></call><return status='success'>
+</return></block></method></service-logic>