Deployment onap rename
[appc/deployment.git] / platform-logic / appc / src / main / xml / APPC_chef.xml
index 5e87526..69fb012 100644 (file)
@@ -1,26 +1,46 @@
-<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' version='3.0.0'><method rpc='chef' mode='sync'>
+<!--
+  ============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=========================================================
+  -->
+
+<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' version='3.0.0'><method rpc='chef' mode='sync'>
 <block>
 <set>
 <parameter name='chef-server-address' value='`$chef-server-address`' />
 <parameter name='chef-username' value='`$chef-username`' />
 <parameter name='chef-organization' value='`$chef-organization`'/>
 </set><block>
-<execute plugin='org.openecomp.appc.adapter.chef.ChefAdapter' method='VnfcEnvironment' >
-<parameter name='organizations' value='`$chef-organization`'/> 
-<parameter name='serverAddress' value='`$chef-server-address`'/> 
-<parameter name='username' value='`$chef-username`'/> 
+<execute plugin='org.onap.appc.adapter.chef.ChefAdapter' method='VnfcEnvironment' >
+<parameter name='organizations' value='`$chef-organization`'/>
+<parameter name='serverAddress' value='`$chef-server-address`'/>
+<parameter name='username' value='`$chef-username`'/>
 <parameter name='Environment' value='`$Environment`'/></execute><switch test='`$chefServerResult.code`'><outcome value='200'>
 <block>
-<execute plugin='org.openecomp.appc.adapter.chef.ChefAdapter' method='VnfcNodeobjects' >
-<parameter name='organizations' value='`$chef-organization`'/> 
-<parameter name='serverAddress' value='`$chef-server-address`'/> 
-<parameter name='username' value='`$chef-username`'/> 
+<execute plugin='org.onap.appc.adapter.chef.ChefAdapter' method='VnfcNodeobjects' >
+<parameter name='organizations' value='`$chef-organization`'/>
+<parameter name='serverAddress' value='`$chef-server-address`'/>
+<parameter name='username' value='`$chef-username`'/>
 <parameter name='NodeList' value='`$NodeList`'/>
 <parameter name='Node' value='`$Node`'/></execute><switch test='`$chefServerResult.code`'><outcome value='200'>
 <switch test='`$PushJobFlag`'>
 <outcome value='true'>
 <block>
-<execute plugin='org.openecomp.appc.adapter.chef.ChefAdapter' method='VnfcPushJob'>
+<execute plugin='org.onap.appc.adapter.chef.ChefAdapter' method='VnfcPushJob'>
        <parameter name='organizations' value='`$chef-organization`'/> 
        <parameter name='serverAddress' value='`$chef-server-address`'/> 
        <parameter name='username' value='`$chef-username`'/> 
@@ -39,7 +59,7 @@
 <parameter name='output.status.code' value='400' />
 <parameter name='output.status.message' value='chef success, waiting for callback' /></return></outcome><outcome value='Other'>
 <block>
-<execute plugin='org.openecomp.appc.adapter.chef.ChefAdapter' method='checkPushJob' >
+<execute plugin='org.onap.appc.adapter.chef.ChefAdapter' method='checkPushJob' >
        <parameter name='organizations' value='`$chef-organization`'/> 
        <parameter name='serverAddress' value='`$chef-server-address`'/> 
        <parameter name='username' value='`$chef-username`'/> 
@@ -56,7 +76,7 @@
 <parameter name='output.status.code' value='400' />
 <parameter name='output.status.message' value='`$chefServerResult.message`' /></return></outcome><outcome value='true'>
 <block>
-<execute plugin='org.openecomp.appc.adapter.chef.ChefAdapter' method='fetchResults' >
+<execute plugin='org.onap.appc.adapter.chef.ChefAdapter' method='fetchResults' >
        <parameter name='organizations' value='`$chef-organization`'/> 
        <parameter name='serverAddress' value='`$chef-server-address`'/> 
        <parameter name='username' value='`$chef-username`'/> 
@@ -78,7 +98,7 @@
 <parameter name='output.status.message' value='`$chefServerResult.message`' />
 </return></outcome></switch></block></outcome><outcome value='201'>
 <block>
-<execute plugin='org.openecomp.appc.adapter.chef.ChefAdapter' method='VnfcNodeobjects' >
+<execute plugin='org.onap.appc.adapter.chef.ChefAdapter' method='VnfcNodeobjects' >
 <parameter name='organizations' value='`$chef-organization`'/> 
 <parameter name='serverAddress' value='`$chef-server-address`'/> 
 <parameter name='username' value='`$chef-username`'/> 
 <switch test='`$PushJobFlag`'>
 <outcome value='true'>
 <block>
-<execute plugin='org.openecomp.appc.adapter.chef.ChefAdapter' method='VnfcPushJob'>
+<execute plugin='org.onap.appc.adapter.chef.ChefAdapter' method='VnfcPushJob'>
        <parameter name='organizations' value='`$chef-organization`'/> 
        <parameter name='serverAddress' value='`$chef-server-address`'/> 
        <parameter name='username' value='`$chef-username`'/> 
 <parameter name='output.status.code' value='400' />
 <parameter name='output.status.message' value='chef success, waiting for callback' /></return></outcome><outcome value='Other'>
 <block>
-<execute plugin='org.openecomp.appc.adapter.chef.ChefAdapter' method='checkPushJob' >
+<execute plugin='org.onap.appc.adapter.chef.ChefAdapter' method='checkPushJob' >
        <parameter name='organizations' value='`$chef-organization`'/> 
        <parameter name='serverAddress' value='`$chef-server-address`'/> 
        <parameter name='username' value='`$chef-username`'/> 
 <parameter name='output.status.code' value='400' />
 <parameter name='output.status.message' value='`$chefServerResult.message`' /></return></outcome><outcome value='true'>
 <block>
-<execute plugin='org.openecomp.appc.adapter.chef.ChefAdapter' method='fetchResults' >
+<execute plugin='org.onap.appc.adapter.chef.ChefAdapter' method='fetchResults' >
        <parameter name='organizations' value='`$chef-organization`'/> 
        <parameter name='serverAddress' value='`$chef-server-address`'/> 
        <parameter name='username' value='`$chef-username`'/> 
 <return status='failure'>
 <parameter name='output.status.code' value='200' />
 <parameter name='output.status.message' value='`$chefServerResult.message`' />
-</return></outcome></switch></block></block></method></service-logic>
\ No newline at end of file
+</return></outcome></switch></block></block></method></service-logic>