You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stratos.apache.org by ga...@apache.org on 2015/09/01 14:30:17 UTC

[39/50] [abbrv] stratos git commit: Merge with tenant-isolation branch

http://git-wip-us.apache.org/repos/asf/stratos/blob/2c34f816/service-stubs/org.apache.stratos.autoscaler.service.stub/src/main/resources/AutoscalerService.wsdl
----------------------------------------------------------------------
diff --cc service-stubs/org.apache.stratos.autoscaler.service.stub/src/main/resources/AutoscalerService.wsdl
index f1d8525,3daffb3..f46f4c2
--- a/service-stubs/org.apache.stratos.autoscaler.service.stub/src/main/resources/AutoscalerService.wsdl
+++ b/service-stubs/org.apache.stratos.autoscaler.service.stub/src/main/resources/AutoscalerService.wsdl
@@@ -1,6 -1,6 +1,6 @@@
- <?xml version="1.0" encoding="UTF-8"?><wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:ax29="http://rmi.java/xsd" xmlns:ns="http://impl.services.autoscaler.stratos.apache.org" xmlns:ax27="http://pojo.autoscaler.stratos.apache.org/xsd" xmlns:ax25="http://application.exception.autoscaler.stratos.apache.org/xsd" xmlns:ax23="http://common.stratos.apache.org/xsd" xmlns:ax21="http://exception.autoscaler.stratos.apache.org/xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:ax219="http://partition.common.stratos.apache.org/xsd" xmlns:ns1="http://org.apache.axis2/xsd" xmlns:ax215="http://deployment.policy.pojo.autoscaler.stratos.apache.org/xsd" xmlns:ax213="http://policy.exception.autoscaler.stratos.apache.org/xsd" xmlns:ax222="http://autoscale.policy.pojo.autoscaler.stratos.apache.org/xsd" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:ax210="http://io.java/xsd" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:ax224="http://pojo.applications.a
 utoscaler.stratos.apache.org/xsd" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" targetNamespace="http://impl.services.autoscaler.stratos.apache.org">
 -<?xml version="1.0" encoding="UTF-8"?><wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:ax29="http://deployment.policy.pojo.autoscaler.stratos.apache.org/xsd" xmlns:ns="http://impl.services.autoscaler.stratos.apache.org" xmlns:ax27="http://exception.autoscaler.stratos.apache.org/xsd" xmlns:ax25="http://application.exception.autoscaler.stratos.apache.org/xsd" xmlns:ax21="http://pojo.applications.autoscaler.stratos.apache.org/xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:ax216="http://autoscale.policy.pojo.autoscaler.stratos.apache.org/xsd" xmlns:ax22="http://common.stratos.apache.org/xsd" xmlns:ax227="http://partition.exception.autoscaler.stratos.apache.org/xsd" xmlns:ax214="http://pojo.autoscaler.stratos.apache.org/xsd" xmlns:ns1="http://org.apache.axis2/xsd" xmlns:ax220="http://policy.exception.autoscaler.stratos.apache.org/xsd" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:ax210="http://partition.common.stratos.apache.org/xsd" xmlns:ax2
 23="http://rmi.java/xsd" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:ax224="http://io.java/xsd" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" targetNamespace="http://impl.services.autoscaler.stratos.apache.org">
++<?xml version="1.0" encoding="UTF-8"?><wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:ns="http://impl.services.autoscaler.stratos.apache.org" xmlns:ax25="http://deployment.policy.pojo.autoscaler.stratos.apache.org/xsd" xmlns:ax26="http://partition.common.stratos.apache.org/xsd" xmlns:ax21="http://pojo.applications.autoscaler.stratos.apache.org/xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:ax22="http://common.stratos.apache.org/xsd" xmlns:ax218="http://application.exception.autoscaler.stratos.apache.org/xsd" xmlns:ax227="http://partition.exception.autoscaler.stratos.apache.org/xsd" xmlns:ax215="http://policy.exception.autoscaler.stratos.apache.org/xsd" xmlns:ns1="http://org.apache.axis2/xsd" xmlns:ax221="http://pojo.autoscaler.stratos.apache.org/xsd" xmlns:ax213="http://exception.autoscaler.stratos.apache.org/xsd" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:ax223="http://rmi.java/xsd" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" 
 xmlns:ax211="http://autoscale.policy.pojo.autoscaler.stratos.apache.org/xsd" xmlns:ax224="http://io.java/xsd" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" targetNamespace="http://impl.services.autoscaler.stratos.apache.org">
      <wsdl:types>
-         <xs:schema xmlns:ax211="http://io.java/xsd" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://rmi.java/xsd">
+         <xs:schema xmlns:ax225="http://io.java/xsd" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://rmi.java/xsd">
              <xs:import namespace="http://io.java/xsd"/>
              <xs:complexType name="RemoteException">
                  <xs:complexContent>
@@@ -21,8 -21,9 +21,9 @@@
                      <xs:element minOccurs="0" name="id" nillable="true" type="xs:string"/>
                      <xs:element minOccurs="0" name="instanceRoundingFactor" type="xs:float"/>
                      <xs:element minOccurs="0" name="isPublic" type="xs:boolean"/>
-                     <xs:element minOccurs="0" name="loadThresholds" nillable="true" type="ax222:LoadThresholds"/>
 -                    <xs:element minOccurs="0" name="loadThresholds" nillable="true" type="ax216:LoadThresholds"/>
++                    <xs:element minOccurs="0" name="loadThresholds" nillable="true" type="ax211:LoadThresholds"/>
                      <xs:element minOccurs="0" name="tenantId" type="xs:int"/>
+                     <xs:element minOccurs="0" name="uuid" nillable="true" type="xs:string"/>
                  </xs:sequence>
              </xs:complexType>
              <xs:complexType name="LoadThresholds">
@@@ -101,14 -106,15 +106,16 @@@
              <xs:complexType name="SubscribableInfoContext">
                  <xs:sequence>
                      <xs:element minOccurs="0" name="alias" nillable="true" type="xs:string"/>
-                     <xs:element minOccurs="0" name="artifactRepositoryContext" nillable="true" type="ax224:ArtifactRepositoryContext"/>
+                     <xs:element minOccurs="0" name="artifactRepositoryContext" nillable="true" type="ax21:ArtifactRepositoryContext"/>
                      <xs:element minOccurs="0" name="autoscalingPolicy" nillable="true" type="xs:string"/>
+                     <xs:element minOccurs="0" name="autoscalingPolicyUuid" nillable="true" type="xs:string"/>
                      <xs:element maxOccurs="unbounded" minOccurs="0" name="dependencyAliases" nillable="true" type="xs:string"/>
                      <xs:element minOccurs="0" name="deploymentPolicy" nillable="true" type="xs:string"/>
+                     <xs:element minOccurs="0" name="deploymentPolicyUuid" nillable="true" type="xs:string"/>
 +                    <xs:element minOccurs="0" name="lvsVirtualIP" nillable="true" type="xs:string"/>
                      <xs:element minOccurs="0" name="maxMembers" type="xs:int"/>
                      <xs:element minOccurs="0" name="minMembers" type="xs:int"/>
-                     <xs:element minOccurs="0" name="persistenceContext" nillable="true" type="ax224:PersistenceContext"/>
+                     <xs:element minOccurs="0" name="persistenceContext" nillable="true" type="ax21:PersistenceContext"/>
                      <xs:element minOccurs="0" name="properties" nillable="true" type="ax23:Properties"/>
                  </xs:sequence>
              </xs:complexType>
@@@ -144,9 -153,11 +154,11 @@@
              <xs:complexType name="ServiceGroup">
                  <xs:sequence>
                      <xs:element maxOccurs="unbounded" minOccurs="0" name="cartridges" nillable="true" type="xs:string"/>
-                     <xs:element minOccurs="0" name="dependencies" nillable="true" type="ax27:Dependencies"/>
-                     <xs:element maxOccurs="unbounded" minOccurs="0" name="groups" nillable="true" type="ax27:ServiceGroup"/>
 -                    <xs:element minOccurs="0" name="dependencies" nillable="true" type="ax214:Dependencies"/>
 -                    <xs:element maxOccurs="unbounded" minOccurs="0" name="groups" nillable="true" type="ax214:ServiceGroup"/>
++                    <xs:element minOccurs="0" name="dependencies" nillable="true" type="ax221:Dependencies"/>
++                    <xs:element maxOccurs="unbounded" minOccurs="0" name="groups" nillable="true" type="ax221:ServiceGroup"/>
                      <xs:element minOccurs="0" name="name" nillable="true" type="xs:string"/>
+                     <xs:element minOccurs="0" name="tenantId" type="xs:int"/>
+                     <xs:element minOccurs="0" name="uuid" nillable="true" type="xs:string"/>
                  </xs:sequence>
              </xs:complexType>
              <xs:complexType name="Dependencies">
@@@ -157,61 -168,61 +169,40 @@@
                  </xs:sequence>
              </xs:complexType>
          </xs:schema>
-         <xs:schema xmlns:ax216="http://common.stratos.apache.org/xsd" xmlns:ax221="http://partition.common.stratos.apache.org/xsd" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://deployment.policy.pojo.autoscaler.stratos.apache.org/xsd">
-             <xs:import namespace="http://common.stratos.apache.org/xsd"/>
-             <xs:import namespace="http://partition.common.stratos.apache.org/xsd"/>
-             <xs:complexType name="ApplicationPolicy">
-                 <xs:sequence>
-                     <xs:element minOccurs="0" name="algorithm" nillable="true" type="xs:string"/>
-                     <xs:element minOccurs="0" name="id" nillable="true" type="xs:string"/>
-                     <xs:element maxOccurs="unbounded" minOccurs="0" name="networkPartitionGroups" nillable="true" type="xs:string"/>
-                     <xs:element maxOccurs="unbounded" minOccurs="0" name="networkPartitions" nillable="true" type="xs:string"/>
-                     <xs:element minOccurs="0" name="properties" nillable="true" type="ax23:Properties"/>
-                 </xs:sequence>
-             </xs:complexType>
-             <xs:complexType name="DeploymentPolicy">
-                 <xs:sequence>
-                     <xs:element minOccurs="0" name="deploymentPolicyID" nillable="true" type="xs:string"/>
-                     <xs:element maxOccurs="unbounded" minOccurs="0" name="networkPartitionRefs" nillable="true" type="ax219:NetworkPartitionRef"/>
-                 </xs:sequence>
-             </xs:complexType>
-         </xs:schema>
-         <xs:schema xmlns:ax28="http://pojo.autoscaler.stratos.apache.org/xsd" xmlns:ax26="http://application.exception.autoscaler.stratos.apache.org/xsd" xmlns:ax24="http://common.stratos.apache.org/xsd" xmlns:ax217="http://deployment.policy.pojo.autoscaler.stratos.apache.org/xsd" xmlns:ax22="http://exception.autoscaler.stratos.apache.org/xsd" xmlns:ax214="http://policy.exception.autoscaler.stratos.apache.org/xsd" xmlns:ax212="http://rmi.java/xsd" xmlns:ax223="http://autoscale.policy.pojo.autoscaler.stratos.apache.org/xsd" xmlns:ax226="http://pojo.applications.autoscaler.stratos.apache.org/xsd" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://impl.services.autoscaler.stratos.apache.org">
 -        <xs:schema xmlns:ax28="http://exception.autoscaler.stratos.apache.org/xsd" xmlns:ax26="http://application.exception.autoscaler.stratos.apache.org/xsd" xmlns:ax24="http://pojo.applications.autoscaler.stratos.apache.org/xsd" xmlns:ax217="http://autoscale.policy.pojo.autoscaler.stratos.apache.org/xsd" xmlns:ax218="http://common.stratos.apache.org/xsd" xmlns:ax221="http://policy.exception.autoscaler.stratos.apache.org/xsd" xmlns:ax226="http://rmi.java/xsd" xmlns:ax228="http://partition.exception.autoscaler.stratos.apache.org/xsd" xmlns:ax215="http://pojo.autoscaler.stratos.apache.org/xsd" xmlns:ax213="http://deployment.policy.pojo.autoscaler.stratos.apache.org/xsd" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://impl.services.autoscaler.stratos.apache.org">
++        <xs:schema xmlns:ax29="http://deployment.policy.pojo.autoscaler.stratos.apache.org/xsd" xmlns:ax24="http://pojo.applications.autoscaler.stratos.apache.org/xsd" xmlns:ax216="http://policy.exception.autoscaler.stratos.apache.org/xsd" xmlns:ax219="http://application.exception.autoscaler.stratos.apache.org/xsd" xmlns:ax220="http://common.stratos.apache.org/xsd" xmlns:ax222="http://pojo.autoscaler.stratos.apache.org/xsd" xmlns:ax226="http://rmi.java/xsd" xmlns:ax228="http://partition.exception.autoscaler.stratos.apache.org/xsd" xmlns:ax214="http://exception.autoscaler.stratos.apache.org/xsd" xmlns:ax212="http://autoscale.policy.pojo.autoscaler.stratos.apache.org/xsd" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://impl.services.autoscaler.stratos.apache.org">
+             <xs:import namespace="http://pojo.applications.autoscaler.stratos.apache.org/xsd"/>
 -            <xs:import namespace="http://application.exception.autoscaler.stratos.apache.org/xsd"/>
 -            <xs:import namespace="http://exception.autoscaler.stratos.apache.org/xsd"/>
+             <xs:import namespace="http://deployment.policy.pojo.autoscaler.stratos.apache.org/xsd"/>
 -            <xs:import namespace="http://pojo.autoscaler.stratos.apache.org/xsd"/>
+             <xs:import namespace="http://autoscale.policy.pojo.autoscaler.stratos.apache.org/xsd"/>
 -            <xs:import namespace="http://common.stratos.apache.org/xsd"/>
 +            <xs:import namespace="http://exception.autoscaler.stratos.apache.org/xsd"/>
-             <xs:import namespace="http://common.stratos.apache.org/xsd"/>
+             <xs:import namespace="http://policy.exception.autoscaler.stratos.apache.org/xsd"/>
 +            <xs:import namespace="http://application.exception.autoscaler.stratos.apache.org/xsd"/>
++            <xs:import namespace="http://common.stratos.apache.org/xsd"/>
 +            <xs:import namespace="http://pojo.autoscaler.stratos.apache.org/xsd"/>
              <xs:import namespace="http://rmi.java/xsd"/>
-             <xs:import namespace="http://policy.exception.autoscaler.stratos.apache.org/xsd"/>
-             <xs:import namespace="http://deployment.policy.pojo.autoscaler.stratos.apache.org/xsd"/>
-             <xs:import namespace="http://autoscale.policy.pojo.autoscaler.stratos.apache.org/xsd"/>
-             <xs:import namespace="http://pojo.applications.autoscaler.stratos.apache.org/xsd"/>
-             <xs:element name="undeployApplication">
+             <xs:import namespace="http://partition.exception.autoscaler.stratos.apache.org/xsd"/>
+             <xs:element name="getApplications">
                  <xs:complexType>
-                     <xs:sequence>
-                         <xs:element minOccurs="0" name="applicationId" nillable="true" type="xs:string"/>
-                         <xs:element minOccurs="0" name="force" type="xs:boolean"/>
-                     </xs:sequence>
+                     <xs:sequence/>
                  </xs:complexType>
              </xs:element>
-             <xs:element name="undeployApplicationResponse">
+             <xs:element name="getApplicationsResponse">
                  <xs:complexType>
                      <xs:sequence>
-                         <xs:element minOccurs="0" name="return" type="xs:boolean"/>
+                         <xs:element maxOccurs="unbounded" minOccurs="0" name="return" nillable="true" type="ax24:ApplicationContext"/>
                      </xs:sequence>
                  </xs:complexType>
              </xs:element>
-             <xs:element name="deleteApplication">
 -            <xs:element name="AutoscalerServiceApplicationDefinitionException">
 -                <xs:complexType>
 -                    <xs:sequence>
 -                        <xs:element minOccurs="0" name="ApplicationDefinitionException" nillable="true" type="ax25:ApplicationDefinitionException"/>
 -                    </xs:sequence>
 -                </xs:complexType>
 -            </xs:element>
 -            <xs:element name="AutoscalerServiceCartridgeGroupNotFoundException">
 -                <xs:complexType>
 -                    <xs:sequence>
 -                        <xs:element minOccurs="0" name="CartridgeGroupNotFoundException" nillable="true" type="ax27:CartridgeGroupNotFoundException"/>
 -                    </xs:sequence>
 -                </xs:complexType>
 -            </xs:element>
 -            <xs:element name="AutoscalerServiceCartridgeNotFoundException">
 -                <xs:complexType>
 -                    <xs:sequence>
 -                        <xs:element minOccurs="0" name="CartridgeNotFoundException" nillable="true" type="ax27:CartridgeNotFoundException"/>
 -                    </xs:sequence>
 -                </xs:complexType>
 -            </xs:element>
 -            <xs:element name="addApplication">
++            <xs:element name="getApplication">
                  <xs:complexType>
                      <xs:sequence>
 -                        <xs:element minOccurs="0" name="applicationContext" nillable="true" type="ax24:ApplicationContext"/>
 +                        <xs:element minOccurs="0" name="applicationId" nillable="true" type="xs:string"/>
                      </xs:sequence>
                  </xs:complexType>
              </xs:element>
-             <xs:element name="deleteApplicationResponse">
 -            <xs:element name="addApplicationResponse">
++            <xs:element name="getApplicationResponse">
                  <xs:complexType>
                      <xs:sequence>
--                        <xs:element minOccurs="0" name="return" type="xs:boolean"/>
++                        <xs:element minOccurs="0" name="return" nillable="true" type="ax24:ApplicationContext"/>
                      </xs:sequence>
                  </xs:complexType>
              </xs:element>
@@@ -230,177 -240,192 +220,178 @@@
                      </xs:sequence>
                  </xs:complexType>
              </xs:element>
-             <xs:element name="updateClusterMonitorResponse">
 -            <xs:element name="getApplication">
++            <xs:element name="getApplicationPolicy">
                  <xs:complexType>
                      <xs:sequence>
-                         <xs:element minOccurs="0" name="return" type="xs:boolean"/>
 -                        <xs:element minOccurs="0" name="applicationId" nillable="true" type="xs:string"/>
++                        <xs:element minOccurs="0" name="applicationPolicyId" nillable="true" type="xs:string"/>
++                        <xs:element minOccurs="0" name="tenantId" type="xs:int"/>
                      </xs:sequence>
                  </xs:complexType>
              </xs:element>
-             <xs:element name="AutoscalerServiceInvalidServiceGroupException">
 -            <xs:element name="getApplicationResponse">
++            <xs:element name="getApplicationPolicyResponse">
                  <xs:complexType>
                      <xs:sequence>
-                         <xs:element minOccurs="0" name="InvalidServiceGroupException" nillable="true" type="ax25:InvalidServiceGroupException"/>
 -                        <xs:element minOccurs="0" name="return" nillable="true" type="ax24:ApplicationContext"/>
++                        <xs:element minOccurs="0" name="return" nillable="true" type="ax29:ApplicationPolicy"/>
                      </xs:sequence>
                  </xs:complexType>
              </xs:element>
-             <xs:element name="addServiceGroup">
 -            <xs:element name="getServiceGroup">
++            <xs:element name="getAutoScalingPoliciesByTenant">
                  <xs:complexType>
                      <xs:sequence>
-                         <xs:element minOccurs="0" name="servicegroup" nillable="true" type="ax27:ServiceGroup"/>
 -                        <xs:element minOccurs="0" name="uuid" nillable="true" type="xs:string"/>
++                        <xs:element minOccurs="0" name="tenantId" type="xs:int"/>
                      </xs:sequence>
                  </xs:complexType>
              </xs:element>
-             <xs:element name="addServiceGroupResponse">
 -            <xs:element name="getServiceGroupResponse">
++            <xs:element name="getAutoScalingPoliciesByTenantResponse">
                  <xs:complexType>
                      <xs:sequence>
-                         <xs:element minOccurs="0" name="return" type="xs:boolean"/>
 -                        <xs:element minOccurs="0" name="return" nillable="true" type="ax214:ServiceGroup"/>
++                        <xs:element maxOccurs="unbounded" minOccurs="0" name="return" nillable="true" type="ax212:AutoscalePolicy"/>
                      </xs:sequence>
                  </xs:complexType>
              </xs:element>
-             <xs:element name="updateServiceGroup">
 -            <xs:element name="getAutoscalingPolicy">
++            <xs:element name="getAutoScalingPolicies">
                  <xs:complexType>
--                    <xs:sequence>
-                         <xs:element minOccurs="0" name="cartridgeGroup" nillable="true" type="ax27:ServiceGroup"/>
 -                        <xs:element minOccurs="0" name="autoscalingPolicyId" nillable="true" type="xs:string"/>
--                    </xs:sequence>
++                    <xs:sequence/>
                  </xs:complexType>
              </xs:element>
-             <xs:element name="updateServiceGroupResponse">
 -            <xs:element name="getAutoscalingPolicyResponse">
++            <xs:element name="getAutoScalingPoliciesResponse">
                  <xs:complexType>
                      <xs:sequence>
-                         <xs:element minOccurs="0" name="return" type="xs:boolean"/>
 -                        <xs:element minOccurs="0" name="return" nillable="true" type="ax217:AutoscalePolicy"/>
++                        <xs:element maxOccurs="unbounded" minOccurs="0" name="return" nillable="true" type="ax212:AutoscalePolicy"/>
                      </xs:sequence>
                  </xs:complexType>
              </xs:element>
-             <xs:element name="AutoscalerServiceCartridgeGroupNotFoundException">
 -            <xs:element name="AutoscalerServiceInvalidArgumentException">
++            <xs:element name="AutoscalerServiceAutoScalingPolicyAlreadyExistException">
                  <xs:complexType>
                      <xs:sequence>
-                         <xs:element minOccurs="0" name="CartridgeGroupNotFoundException" nillable="true" type="ax21:CartridgeGroupNotFoundException"/>
 -                        <xs:element minOccurs="0" name="InvalidArgumentException" nillable="true" type="ax27:InvalidArgumentException"/>
++                        <xs:element minOccurs="0" name="AutoScalingPolicyAlreadyExistException" nillable="true" type="ax214:AutoScalingPolicyAlreadyExistException"/>
                      </xs:sequence>
                  </xs:complexType>
              </xs:element>
-             <xs:element name="removeServiceGroup">
 -            <xs:element name="updateClusterMonitor">
++            <xs:element name="addAutoScalingPolicy">
                  <xs:complexType>
                      <xs:sequence>
-                         <xs:element minOccurs="0" name="groupName" nillable="true" type="xs:string"/>
 -                        <xs:element minOccurs="0" name="clusterId" nillable="true" type="xs:string"/>
 -                        <xs:element minOccurs="0" name="properties" nillable="true" type="ax22:Properties"/>
++                        <xs:element minOccurs="0" name="autoscalePolicy" nillable="true" type="ax212:AutoscalePolicy"/>
                      </xs:sequence>
                  </xs:complexType>
              </xs:element>
-             <xs:element name="removeServiceGroupResponse">
 -            <xs:element name="updateClusterMonitorResponse">
++            <xs:element name="addAutoScalingPolicyResponse">
                  <xs:complexType>
                      <xs:sequence>
                          <xs:element minOccurs="0" name="return" type="xs:boolean"/>
                      </xs:sequence>
                  </xs:complexType>
              </xs:element>
-             <xs:element name="getServiceGroup">
 -            <xs:element name="getApplicationPolicyByUuid">
 -                <xs:complexType>
 -                    <xs:sequence>
 -                        <xs:element minOccurs="0" name="applicationPolicyUuid" nillable="true" type="xs:string"/>
 -                    </xs:sequence>
 -                </xs:complexType>
 -            </xs:element>
 -            <xs:element name="getApplicationPolicyByUuidResponse">
++            <xs:element name="AutoscalerServiceInvalidPolicyException">
                  <xs:complexType>
                      <xs:sequence>
-                         <xs:element minOccurs="0" name="name" nillable="true" type="xs:string"/>
 -                        <xs:element minOccurs="0" name="return" nillable="true" type="ax29:ApplicationPolicy"/>
++                        <xs:element minOccurs="0" name="InvalidPolicyException" nillable="true" type="ax216:InvalidPolicyException"/>
                      </xs:sequence>
                  </xs:complexType>
              </xs:element>
-             <xs:element name="getServiceGroupResponse">
 -            <xs:element name="getAutoScalingPolicies">
 -                <xs:complexType>
 -                    <xs:sequence/>
 -                </xs:complexType>
 -            </xs:element>
 -            <xs:element name="getAutoScalingPoliciesResponse">
++            <xs:element name="updateAutoScalingPolicy">
                  <xs:complexType>
                      <xs:sequence>
-                         <xs:element minOccurs="0" name="return" nillable="true" type="ax27:ServiceGroup"/>
 -                        <xs:element maxOccurs="unbounded" minOccurs="0" name="return" nillable="true" type="ax217:AutoscalePolicy"/>
++                        <xs:element minOccurs="0" name="autoscalePolicy" nillable="true" type="ax212:AutoscalePolicy"/>
                      </xs:sequence>
                  </xs:complexType>
              </xs:element>
-             <xs:element name="findClusterId">
 -            <xs:element name="getAutoScalingPoliciesByTenant">
++            <xs:element name="updateAutoScalingPolicyResponse">
                  <xs:complexType>
                      <xs:sequence>
-                         <xs:element minOccurs="0" name="applicationId" nillable="true" type="xs:string"/>
-                         <xs:element minOccurs="0" name="alias" nillable="true" type="xs:string"/>
 -                        <xs:element minOccurs="0" name="tenantId" type="xs:int"/>
++                        <xs:element minOccurs="0" name="return" type="xs:boolean"/>
                      </xs:sequence>
                  </xs:complexType>
              </xs:element>
-             <xs:element name="findClusterIdResponse">
 -            <xs:element name="getAutoScalingPoliciesByTenantResponse">
++            <xs:element name="AutoscalerServiceUnremovablePolicyException">
                  <xs:complexType>
                      <xs:sequence>
-                         <xs:element minOccurs="0" name="return" nillable="true" type="xs:string"/>
 -                        <xs:element maxOccurs="unbounded" minOccurs="0" name="return" nillable="true" type="ax217:AutoscalePolicy"/>
++                        <xs:element minOccurs="0" name="UnremovablePolicyException" nillable="true" type="ax216:UnremovablePolicyException"/>
                      </xs:sequence>
                  </xs:complexType>
              </xs:element>
-             <xs:element name="AutoscalerServiceAutoScalerException">
 -            <xs:element name="AutoscalerServiceAutoScalingPolicyAlreadyExistException">
++            <xs:element name="AutoscalerServicePolicyDoesNotExistException">
                  <xs:complexType>
                      <xs:sequence>
-                         <xs:element minOccurs="0" name="AutoScalerException" nillable="true" type="ax21:AutoScalerException"/>
 -                        <xs:element minOccurs="0" name="AutoScalingPolicyAlreadyExistException" nillable="true" type="ax27:AutoScalingPolicyAlreadyExistException"/>
++                        <xs:element minOccurs="0" name="PolicyDoesNotExistException" nillable="true" type="ax216:PolicyDoesNotExistException"/>
                      </xs:sequence>
                  </xs:complexType>
              </xs:element>
-             <xs:element name="getServiceGroups">
 -            <xs:element name="addAutoScalingPolicy">
++            <xs:element name="removeAutoScalingPolicy">
                  <xs:complexType>
-                     <xs:sequence/>
+                     <xs:sequence>
 -                        <xs:element minOccurs="0" name="autoscalePolicy" nillable="true" type="ax217:AutoscalePolicy"/>
++                        <xs:element minOccurs="0" name="autoscalePolicyId" nillable="true" type="xs:string"/>
+                     </xs:sequence>
                  </xs:complexType>
              </xs:element>
-             <xs:element name="getServiceGroupsResponse">
 -            <xs:element name="addAutoScalingPolicyResponse">
++            <xs:element name="removeAutoScalingPolicyResponse">
                  <xs:complexType>
                      <xs:sequence>
-                         <xs:element maxOccurs="unbounded" minOccurs="0" name="return" nillable="true" type="ax27:ServiceGroup"/>
+                         <xs:element minOccurs="0" name="return" type="xs:boolean"/>
                      </xs:sequence>
                  </xs:complexType>
              </xs:element>
-             <xs:element name="serviceGroupExist">
 -            <xs:element name="AutoscalerServiceInvalidPolicyException">
++            <xs:element name="getAutoscalingPolicy">
                  <xs:complexType>
                      <xs:sequence>
-                         <xs:element minOccurs="0" name="serviceName" nillable="true" type="xs:string"/>
 -                        <xs:element minOccurs="0" name="InvalidPolicyException" nillable="true" type="ax220:InvalidPolicyException"/>
++                        <xs:element minOccurs="0" name="autoscalingPolicyId" nillable="true" type="xs:string"/>
                      </xs:sequence>
                  </xs:complexType>
              </xs:element>
-             <xs:element name="serviceGroupExistResponse">
 -            <xs:element name="updateAutoScalingPolicy">
++            <xs:element name="getAutoscalingPolicyResponse">
                  <xs:complexType>
                      <xs:sequence>
-                         <xs:element minOccurs="0" name="return" type="xs:boolean"/>
 -                        <xs:element minOccurs="0" name="autoscalePolicy" nillable="true" type="ax217:AutoscalePolicy"/>
++                        <xs:element minOccurs="0" name="return" nillable="true" type="ax212:AutoscalePolicy"/>
                      </xs:sequence>
                  </xs:complexType>
              </xs:element>
-             <xs:element name="undeployServiceGroup">
 -            <xs:element name="updateAutoScalingPolicyResponse">
++            <xs:element name="getAutoscalingPolicyForTenant">
                  <xs:complexType>
                      <xs:sequence>
-                         <xs:element minOccurs="0" name="name" nillable="true" type="xs:string"/>
 -                        <xs:element minOccurs="0" name="return" type="xs:boolean"/>
++                        <xs:element minOccurs="0" name="autoscalingPolicyId" nillable="true" type="xs:string"/>
++                        <xs:element minOccurs="0" name="tenantId" type="xs:int"/>
                      </xs:sequence>
                  </xs:complexType>
              </xs:element>
-             <xs:element name="undeployServiceGroupResponse">
 -            <xs:element name="AutoscalerServiceUnremovablePolicyException">
++            <xs:element name="getAutoscalingPolicyForTenantResponse">
                  <xs:complexType>
                      <xs:sequence>
-                         <xs:element minOccurs="0" name="return" type="xs:boolean"/>
 -                        <xs:element minOccurs="0" name="UnremovablePolicyException" nillable="true" type="ax220:UnremovablePolicyException"/>
++                        <xs:element minOccurs="0" name="return" nillable="true" type="ax212:AutoscalePolicy"/>
                      </xs:sequence>
                  </xs:complexType>
              </xs:element>
-             <xs:element name="AutoscalerServiceRemoteException">
 -            <xs:element name="AutoscalerServicePolicyDoesNotExistException">
++            <xs:element name="AutoscalerServiceApplicationDefinitionException">
                  <xs:complexType>
                      <xs:sequence>
-                         <xs:element minOccurs="0" name="RemoteException" nillable="true" type="ax29:RemoteException"/>
 -                        <xs:element minOccurs="0" name="PolicyDoesNotExistException" nillable="true" type="ax220:PolicyDoesNotExistException"/>
++                        <xs:element minOccurs="0" name="ApplicationDefinitionException" nillable="true" type="ax219:ApplicationDefinitionException"/>
                      </xs:sequence>
                  </xs:complexType>
              </xs:element>
-             <xs:element name="AutoscalerServiceInvalidApplicationPolicyException">
 -            <xs:element name="removeAutoScalingPolicy">
++            <xs:element name="AutoscalerServiceCartridgeGroupNotFoundException">
                  <xs:complexType>
                      <xs:sequence>
-                         <xs:element minOccurs="0" name="InvalidApplicationPolicyException" nillable="true" type="ax25:InvalidApplicationPolicyException"/>
 -                        <xs:element minOccurs="0" name="autoscalePolicyId" nillable="true" type="xs:string"/>
++                        <xs:element minOccurs="0" name="CartridgeGroupNotFoundException" nillable="true" type="ax214:CartridgeGroupNotFoundException"/>
                      </xs:sequence>
                  </xs:complexType>
              </xs:element>
-             <xs:element name="AutoscalerServiceApplicationPolicyAlreadyExistsException">
 -            <xs:element name="removeAutoScalingPolicyResponse">
++            <xs:element name="AutoscalerServiceCartridgeNotFoundException">
                  <xs:complexType>
                      <xs:sequence>
-                         <xs:element minOccurs="0" name="ApplicationPolicyAlreadyExistsException" nillable="true" type="ax214:ApplicationPolicyAlreadyExistsException"/>
 -                        <xs:element minOccurs="0" name="return" type="xs:boolean"/>
++                        <xs:element minOccurs="0" name="CartridgeNotFoundException" nillable="true" type="ax214:CartridgeNotFoundException"/>
                      </xs:sequence>
                  </xs:complexType>
              </xs:element>
-             <xs:element name="addApplicationPolicy">
 -            <xs:element name="getAutoscalingPolicyForTenant">
++            <xs:element name="addApplication">
                  <xs:complexType>
                      <xs:sequence>
-                         <xs:element minOccurs="0" name="applicationPolicy" nillable="true" type="ax217:ApplicationPolicy"/>
 -                        <xs:element minOccurs="0" name="autoscalingPolicyId" nillable="true" type="xs:string"/>
 -                        <xs:element minOccurs="0" name="tenantId" type="xs:int"/>
++                        <xs:element minOccurs="0" name="applicationContext" nillable="true" type="ax24:ApplicationContext"/>
                      </xs:sequence>
                  </xs:complexType>
              </xs:element>
-             <xs:element name="addApplicationPolicyResponse">
 -            <xs:element name="getAutoscalingPolicyForTenantResponse">
++            <xs:element name="addApplicationResponse">
                  <xs:complexType>
                      <xs:sequence>
 -                        <xs:element minOccurs="0" name="return" nillable="true" type="ax217:AutoscalePolicy"/>
 +                        <xs:element minOccurs="0" name="return" type="xs:boolean"/>
                      </xs:sequence>
                  </xs:complexType>
              </xs:element>
@@@ -500,50 -531,31 +497,53 @@@
                      </xs:sequence>
                  </xs:complexType>
              </xs:element>
-             <xs:element name="AutoscalerServiceCloudControllerConnectionException">
++            <xs:element name="AutoscalerServiceInvalidArgumentException">
 +                <xs:complexType>
 +                    <xs:sequence>
-                         <xs:element minOccurs="0" name="CloudControllerConnectionException" nillable="true" type="ax21:CloudControllerConnectionException"/>
++                        <xs:element minOccurs="0" name="InvalidArgumentException" nillable="true" type="ax214:InvalidArgumentException"/>
 +                    </xs:sequence>
 +                </xs:complexType>
 +            </xs:element>
-             <xs:element name="updateDeploymentPolicy">
++            <xs:element name="updateClusterMonitor">
 +                <xs:complexType>
 +                    <xs:sequence>
-                         <xs:element minOccurs="0" name="deploymentPolicy" nillable="true" type="ax217:DeploymentPolicy"/>
++                        <xs:element minOccurs="0" name="clusterId" nillable="true" type="xs:string"/>
++                        <xs:element minOccurs="0" name="properties" nillable="true" type="ax22:Properties"/>
 +                    </xs:sequence>
 +                </xs:complexType>
 +            </xs:element>
-             <xs:element name="updateDeploymentPolicyResponse">
++            <xs:element name="updateClusterMonitorResponse">
 +                <xs:complexType>
 +                    <xs:sequence>
 +                        <xs:element minOccurs="0" name="return" type="xs:boolean"/>
 +                    </xs:sequence>
 +                </xs:complexType>
 +            </xs:element>
-             <xs:element name="removeDeployementPolicy">
+             <xs:element name="AutoscalerServiceInvalidServiceGroupException">
                  <xs:complexType>
                      <xs:sequence>
-                         <xs:element minOccurs="0" name="deploymentPolicyID" nillable="true" type="xs:string"/>
 -                        <xs:element minOccurs="0" name="InvalidServiceGroupException" nillable="true" type="ax25:InvalidServiceGroupException"/>
++                        <xs:element minOccurs="0" name="InvalidServiceGroupException" nillable="true" type="ax219:InvalidServiceGroupException"/>
                      </xs:sequence>
                  </xs:complexType>
              </xs:element>
-             <xs:element name="removeDeployementPolicyResponse">
+             <xs:element name="addServiceGroup">
                  <xs:complexType>
                      <xs:sequence>
-                         <xs:element minOccurs="0" name="return" type="xs:boolean"/>
 -                        <xs:element minOccurs="0" name="servicegroup" nillable="true" type="ax214:ServiceGroup"/>
++                        <xs:element minOccurs="0" name="servicegroup" nillable="true" type="ax221:ServiceGroup"/>
                      </xs:sequence>
                  </xs:complexType>
              </xs:element>
-             <xs:element name="getDeploymentPolicies">
+             <xs:element name="addServiceGroupResponse">
                  <xs:complexType>
-                     <xs:sequence/>
+                     <xs:sequence>
+                         <xs:element minOccurs="0" name="return" type="xs:boolean"/>
+                     </xs:sequence>
                  </xs:complexType>
              </xs:element>
-             <xs:element name="getDeploymentPoliciesResponse">
+             <xs:element name="updateServiceGroup">
                  <xs:complexType>
                      <xs:sequence>
-                         <xs:element maxOccurs="unbounded" minOccurs="0" name="return" nillable="true" type="ax217:DeploymentPolicy"/>
 -                        <xs:element minOccurs="0" name="cartridgeGroup" nillable="true" type="ax214:ServiceGroup"/>
++                        <xs:element minOccurs="0" name="cartridgeGroup" nillable="true" type="ax221:ServiceGroup"/>
                      </xs:sequence>
                  </xs:complexType>
              </xs:element>
@@@ -566,31 -580,18 +568,32 @@@
                      </xs:sequence>
                  </xs:complexType>
              </xs:element>
-             <xs:element name="addAutoScalingPolicy">
++            <xs:element name="getServiceGroup">
 +                <xs:complexType>
 +                    <xs:sequence>
-                         <xs:element minOccurs="0" name="autoscalePolicy" nillable="true" type="ax222:AutoscalePolicy"/>
++                        <xs:element minOccurs="0" name="uuid" nillable="true" type="xs:string"/>
 +                    </xs:sequence>
 +                </xs:complexType>
 +            </xs:element>
-             <xs:element name="addAutoScalingPolicyResponse">
++            <xs:element name="getServiceGroupResponse">
 +                <xs:complexType>
 +                    <xs:sequence>
-                         <xs:element minOccurs="0" name="return" type="xs:boolean"/>
++                        <xs:element minOccurs="0" name="return" nillable="true" type="ax221:ServiceGroup"/>
 +                    </xs:sequence>
 +                </xs:complexType>
 +            </xs:element>
-             <xs:element name="updateAutoScalingPolicy">
+             <xs:element name="getServiceGroupByTenant">
                  <xs:complexType>
                      <xs:sequence>
-                         <xs:element minOccurs="0" name="autoscalePolicy" nillable="true" type="ax222:AutoscalePolicy"/>
+                         <xs:element minOccurs="0" name="name" nillable="true" type="xs:string"/>
+                         <xs:element minOccurs="0" name="tenantId" type="xs:int"/>
                      </xs:sequence>
                  </xs:complexType>
              </xs:element>
-             <xs:element name="updateAutoScalingPolicyResponse">
+             <xs:element name="getServiceGroupByTenantResponse">
                  <xs:complexType>
                      <xs:sequence>
-                         <xs:element minOccurs="0" name="return" type="xs:boolean"/>
 -                        <xs:element minOccurs="0" name="return" nillable="true" type="ax214:ServiceGroup"/>
++                        <xs:element minOccurs="0" name="return" nillable="true" type="ax221:ServiceGroup"/>
                      </xs:sequence>
                  </xs:complexType>
              </xs:element>
@@@ -601,10 -603,10 +605,10 @@@
                      </xs:sequence>
                  </xs:complexType>
              </xs:element>
-             <xs:element name="removeAutoScalingPolicy">
+             <xs:element name="getOuterServiceGroupByTenantResponse">
                  <xs:complexType>
                      <xs:sequence>
-                         <xs:element minOccurs="0" name="autoscalePolicyId" nillable="true" type="xs:string"/>
 -                        <xs:element minOccurs="0" name="return" nillable="true" type="ax214:ServiceGroup"/>
++                        <xs:element minOccurs="0" name="return" nillable="true" type="ax221:ServiceGroup"/>
                      </xs:sequence>
                  </xs:complexType>
              </xs:element>
@@@ -636,24 -640,22 +642,22 @@@
                      </xs:sequence>
                  </xs:complexType>
              </xs:element>
-             <xs:element name="AutoscalerServiceCartridgeNotFoundException">
+             <xs:element name="AutoscalerServiceAutoScalerException">
                  <xs:complexType>
                      <xs:sequence>
-                         <xs:element minOccurs="0" name="CartridgeNotFoundException" nillable="true" type="ax21:CartridgeNotFoundException"/>
 -                        <xs:element minOccurs="0" name="AutoScalerException" nillable="true" type="ax27:AutoScalerException"/>
++                        <xs:element minOccurs="0" name="AutoScalerException" nillable="true" type="ax214:AutoScalerException"/>
                      </xs:sequence>
                  </xs:complexType>
              </xs:element>
-             <xs:element name="addApplication">
+             <xs:element name="getServiceGroups">
                  <xs:complexType>
-                     <xs:sequence>
-                         <xs:element minOccurs="0" name="applicationContext" nillable="true" type="ax224:ApplicationContext"/>
-                     </xs:sequence>
+                     <xs:sequence/>
                  </xs:complexType>
              </xs:element>
-             <xs:element name="addApplicationResponse">
+             <xs:element name="getServiceGroupsResponse">
                  <xs:complexType>
                      <xs:sequence>
-                         <xs:element minOccurs="0" name="return" type="xs:boolean"/>
 -                        <xs:element maxOccurs="unbounded" minOccurs="0" name="return" nillable="true" type="ax214:ServiceGroup"/>
++                        <xs:element maxOccurs="unbounded" minOccurs="0" name="return" nillable="true" type="ax221:ServiceGroup"/>
                      </xs:sequence>
                  </xs:complexType>
              </xs:element>
@@@ -664,10 -666,10 +668,10 @@@
                      </xs:sequence>
                  </xs:complexType>
              </xs:element>
-             <xs:element name="updateApplicationResponse">
+             <xs:element name="getServiceGroupsByTenantResponse">
                  <xs:complexType>
                      <xs:sequence>
-                         <xs:element minOccurs="0" name="return" type="xs:boolean"/>
 -                        <xs:element maxOccurs="unbounded" minOccurs="0" name="return" nillable="true" type="ax214:ServiceGroup"/>
++                        <xs:element maxOccurs="unbounded" minOccurs="0" name="return" nillable="true" type="ax221:ServiceGroup"/>
                      </xs:sequence>
                  </xs:complexType>
              </xs:element>
@@@ -721,17 -722,17 +724,17 @@@
                      </xs:sequence>
                  </xs:complexType>
              </xs:element>
-             <xs:element name="getDeploymentPolicyResponse">
+             <xs:element name="AutoscalerServiceInvalidApplicationPolicyException">
                  <xs:complexType>
                      <xs:sequence>
-                         <xs:element minOccurs="0" name="return" nillable="true" type="ax217:DeploymentPolicy"/>
 -                        <xs:element minOccurs="0" name="InvalidApplicationPolicyException" nillable="true" type="ax25:InvalidApplicationPolicyException"/>
++                        <xs:element minOccurs="0" name="InvalidApplicationPolicyException" nillable="true" type="ax219:InvalidApplicationPolicyException"/>
                      </xs:sequence>
                  </xs:complexType>
              </xs:element>
-             <xs:element name="getApplicationPolicy">
+             <xs:element name="AutoscalerServiceApplicationPolicyAlreadyExistsException">
                  <xs:complexType>
                      <xs:sequence>
-                         <xs:element minOccurs="0" name="applicationPolicyId" nillable="true" type="xs:string"/>
 -                        <xs:element minOccurs="0" name="ApplicationPolicyAlreadyExistsException" nillable="true" type="ax220:ApplicationPolicyAlreadyExistsException"/>
++                        <xs:element minOccurs="0" name="ApplicationPolicyAlreadyExistsException" nillable="true" type="ax216:ApplicationPolicyAlreadyExistsException"/>
                      </xs:sequence>
                  </xs:complexType>
              </xs:element>
@@@ -742,7 -743,64 +745,78 @@@
                      </xs:sequence>
                  </xs:complexType>
              </xs:element>
-             <xs:element name="getApplications">
+             <xs:element name="addApplicationPolicyResponse">
+                 <xs:complexType>
+                     <xs:sequence>
+                         <xs:element minOccurs="0" name="return" type="xs:boolean"/>
+                     </xs:sequence>
+                 </xs:complexType>
+             </xs:element>
++            <xs:element name="getApplicationPolicyByUuid">
++                <xs:complexType>
++                    <xs:sequence>
++                        <xs:element minOccurs="0" name="applicationPolicyUuid" nillable="true" type="xs:string"/>
++                    </xs:sequence>
++                </xs:complexType>
++            </xs:element>
++            <xs:element name="getApplicationPolicyByUuidResponse">
++                <xs:complexType>
++                    <xs:sequence>
++                        <xs:element minOccurs="0" name="return" nillable="true" type="ax29:ApplicationPolicy"/>
++                    </xs:sequence>
++                </xs:complexType>
++            </xs:element>
+             <xs:element name="getApplicationPolicyByTenant">
+                 <xs:complexType>
+                     <xs:sequence>
+                         <xs:element minOccurs="0" name="applicationPolicyId" nillable="true" type="xs:string"/>
+                         <xs:element minOccurs="0" name="tenantId" type="xs:int"/>
+                     </xs:sequence>
+                 </xs:complexType>
+             </xs:element>
+             <xs:element name="getApplicationPolicyByTenantResponse">
+                 <xs:complexType>
+                     <xs:sequence>
+                         <xs:element minOccurs="0" name="return" nillable="true" type="ax29:ApplicationPolicy"/>
+                     </xs:sequence>
+                 </xs:complexType>
+             </xs:element>
+             <xs:element name="removeApplicationPolicy">
+                 <xs:complexType>
+                     <xs:sequence>
+                         <xs:element minOccurs="0" name="applicationPolicyId" nillable="true" type="xs:string"/>
+                     </xs:sequence>
+                 </xs:complexType>
+             </xs:element>
+             <xs:element name="removeApplicationPolicyResponse">
+                 <xs:complexType>
+                     <xs:sequence>
+                         <xs:element minOccurs="0" name="return" type="xs:boolean"/>
+                     </xs:sequence>
+                 </xs:complexType>
+             </xs:element>
+             <xs:element name="AutoscalerServiceApplicatioinPolicyNotExistsException">
+                 <xs:complexType>
+                     <xs:sequence>
 -                        <xs:element minOccurs="0" name="ApplicatioinPolicyNotExistsException" nillable="true" type="ax220:ApplicatioinPolicyNotExistsException"/>
++                        <xs:element minOccurs="0" name="ApplicatioinPolicyNotExistsException" nillable="true" type="ax216:ApplicatioinPolicyNotExistsException"/>
+                     </xs:sequence>
+                 </xs:complexType>
+             </xs:element>
+             <xs:element name="updateApplicationPolicy">
+                 <xs:complexType>
+                     <xs:sequence>
+                         <xs:element minOccurs="0" name="applicationPolicy" nillable="true" type="ax29:ApplicationPolicy"/>
+                     </xs:sequence>
+                 </xs:complexType>
+             </xs:element>
+             <xs:element name="updateApplicationPolicyResponse">
+                 <xs:complexType>
+                     <xs:sequence>
+                         <xs:element minOccurs="0" name="return" type="xs:boolean"/>
+                     </xs:sequence>
+                 </xs:complexType>
+             </xs:element>
+             <xs:element name="getApplicationPolicies">
                  <xs:complexType>
                      <xs:sequence/>
                  </xs:complexType>
@@@ -768,14 -841,172 +857,157 @@@
                      </xs:sequence>
                  </xs:complexType>
              </xs:element>
+             <xs:element name="validateNetworkPartitionWithApplicationResponse">
+                 <xs:complexType>
+                     <xs:sequence>
+                         <xs:element minOccurs="0" name="return" type="xs:boolean"/>
+                     </xs:sequence>
+                 </xs:complexType>
+             </xs:element>
+             <xs:element name="AutoscalerServiceInvalidDeploymentPolicyException">
+                 <xs:complexType>
+                     <xs:sequence>
 -                        <xs:element minOccurs="0" name="InvalidDeploymentPolicyException" nillable="true" type="ax220:InvalidDeploymentPolicyException"/>
++                        <xs:element minOccurs="0" name="InvalidDeploymentPolicyException" nillable="true" type="ax216:InvalidDeploymentPolicyException"/>
+                     </xs:sequence>
+                 </xs:complexType>
+             </xs:element>
+             <xs:element name="AutoscalerServiceDeploymentPolicyAlreadyExistsException">
+                 <xs:complexType>
+                     <xs:sequence>
 -                        <xs:element minOccurs="0" name="DeploymentPolicyAlreadyExistsException" nillable="true" type="ax220:DeploymentPolicyAlreadyExistsException"/>
++                        <xs:element minOccurs="0" name="DeploymentPolicyAlreadyExistsException" nillable="true" type="ax216:DeploymentPolicyAlreadyExistsException"/>
+                     </xs:sequence>
+                 </xs:complexType>
+             </xs:element>
+             <xs:element name="addDeployementPolicy">
+                 <xs:complexType>
+                     <xs:sequence>
+                         <xs:element minOccurs="0" name="deploymentPolicy" nillable="true" type="ax29:DeploymentPolicy"/>
+                     </xs:sequence>
+                 </xs:complexType>
+             </xs:element>
+             <xs:element name="addDeployementPolicyResponse">
+                 <xs:complexType>
+                     <xs:sequence>
+                         <xs:element minOccurs="0" name="return" type="xs:boolean"/>
+                     </xs:sequence>
+                 </xs:complexType>
+             </xs:element>
+             <xs:element name="AutoscalerServiceDeploymentPolicyNotExistsException">
+                 <xs:complexType>
+                     <xs:sequence>
 -                        <xs:element minOccurs="0" name="DeploymentPolicyNotExistsException" nillable="true" type="ax220:DeploymentPolicyNotExistsException"/>
++                        <xs:element minOccurs="0" name="DeploymentPolicyNotExistsException" nillable="true" type="ax216:DeploymentPolicyNotExistsException"/>
+                     </xs:sequence>
+                 </xs:complexType>
+             </xs:element>
+             <xs:element name="AutoscalerServiceCloudControllerConnectionException">
+                 <xs:complexType>
+                     <xs:sequence>
 -                        <xs:element minOccurs="0" name="CloudControllerConnectionException" nillable="true" type="ax27:CloudControllerConnectionException"/>
++                        <xs:element minOccurs="0" name="CloudControllerConnectionException" nillable="true" type="ax214:CloudControllerConnectionException"/>
+                     </xs:sequence>
+                 </xs:complexType>
+             </xs:element>
+             <xs:element name="updateDeploymentPolicy">
+                 <xs:complexType>
+                     <xs:sequence>
+                         <xs:element minOccurs="0" name="deploymentPolicy" nillable="true" type="ax29:DeploymentPolicy"/>
+                     </xs:sequence>
+                 </xs:complexType>
+             </xs:element>
+             <xs:element name="updateDeploymentPolicyResponse">
+                 <xs:complexType>
+                     <xs:sequence>
+                         <xs:element minOccurs="0" name="return" type="xs:boolean"/>
+                     </xs:sequence>
+                 </xs:complexType>
+             </xs:element>
+             <xs:element name="removeDeployementPolicy">
+                 <xs:complexType>
+                     <xs:sequence>
+                         <xs:element minOccurs="0" name="deploymentPolicyId" nillable="true" type="xs:string"/>
+                     </xs:sequence>
+                 </xs:complexType>
+             </xs:element>
+             <xs:element name="removeDeployementPolicyResponse">
+                 <xs:complexType>
+                     <xs:sequence>
+                         <xs:element minOccurs="0" name="return" type="xs:boolean"/>
+                     </xs:sequence>
+                 </xs:complexType>
+             </xs:element>
+             <xs:element name="getDeploymentPolicyForTenant">
+                 <xs:complexType>
+                     <xs:sequence>
+                         <xs:element minOccurs="0" name="deploymentPolicyID" nillable="true" type="xs:string"/>
+                         <xs:element minOccurs="0" name="tenantId" type="xs:int"/>
+                     </xs:sequence>
+                 </xs:complexType>
+             </xs:element>
+             <xs:element name="getDeploymentPolicyForTenantResponse">
+                 <xs:complexType>
+                     <xs:sequence>
+                         <xs:element minOccurs="0" name="return" nillable="true" type="ax29:DeploymentPolicy"/>
+                     </xs:sequence>
+                 </xs:complexType>
+             </xs:element>
+             <xs:element name="getDeploymentPolicies">
+                 <xs:complexType>
+                     <xs:sequence/>
+                 </xs:complexType>
+             </xs:element>
+             <xs:element name="getDeploymentPoliciesResponse">
+                 <xs:complexType>
+                     <xs:sequence>
+                         <xs:element maxOccurs="unbounded" minOccurs="0" name="return" nillable="true" type="ax29:DeploymentPolicy"/>
+                     </xs:sequence>
+                 </xs:complexType>
+             </xs:element>
+             <xs:element name="getDeploymentPoliciesByTenant">
+                 <xs:complexType>
+                     <xs:sequence>
+                         <xs:element minOccurs="0" name="tenantId" type="xs:int"/>
+                     </xs:sequence>
+                 </xs:complexType>
+             </xs:element>
+             <xs:element name="getDeploymentPoliciesByTenantResponse">
+                 <xs:complexType>
+                     <xs:sequence>
+                         <xs:element maxOccurs="unbounded" minOccurs="0" name="return" nillable="true" type="ax29:DeploymentPolicy"/>
+                     </xs:sequence>
+                 </xs:complexType>
+             </xs:element>
 -            <xs:element name="getApplicationPolicy">
 -                <xs:complexType>
 -                    <xs:sequence>
 -                        <xs:element minOccurs="0" name="applicationPolicyId" nillable="true" type="xs:string"/>
 -                        <xs:element minOccurs="0" name="tenantId" type="xs:int"/>
 -                    </xs:sequence>
 -                </xs:complexType>
 -            </xs:element>
 -            <xs:element name="getApplicationPolicyResponse">
 -                <xs:complexType>
 -                    <xs:sequence>
 -                        <xs:element minOccurs="0" name="return" nillable="true" type="ax29:ApplicationPolicy"/>
 -                    </xs:sequence>
 -                </xs:complexType>
 -            </xs:element>
+         </xs:schema>
 -        <xs:schema xmlns:ax219="http://common.stratos.apache.org/xsd" xmlns:ax212="http://partition.common.stratos.apache.org/xsd" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://deployment.policy.pojo.autoscaler.stratos.apache.org/xsd">
++        <xs:schema xmlns:ax28="http://partition.common.stratos.apache.org/xsd" xmlns:ax210="http://common.stratos.apache.org/xsd" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://deployment.policy.pojo.autoscaler.stratos.apache.org/xsd">
+             <xs:import namespace="http://partition.common.stratos.apache.org/xsd"/>
+             <xs:import namespace="http://common.stratos.apache.org/xsd"/>
+             <xs:complexType name="DeploymentPolicy">
+                 <xs:sequence>
+                     <xs:element minOccurs="0" name="id" nillable="true" type="xs:string"/>
 -                    <xs:element maxOccurs="unbounded" minOccurs="0" name="networkPartitionRefs" nillable="true" type="ax212:NetworkPartitionRef"/>
++                    <xs:element maxOccurs="unbounded" minOccurs="0" name="networkPartitionRefs" nillable="true" type="ax28:NetworkPartitionRef"/>
+                     <xs:element minOccurs="0" name="tenantId" type="xs:int"/>
+                     <xs:element minOccurs="0" name="uuid" nillable="true" type="xs:string"/>
+                 </xs:sequence>
+             </xs:complexType>
+             <xs:complexType name="ApplicationPolicy">
+                 <xs:sequence>
+                     <xs:element minOccurs="0" name="algorithm" nillable="true" type="xs:string"/>
+                     <xs:element minOccurs="0" name="id" nillable="true" type="xs:string"/>
+                     <xs:element maxOccurs="unbounded" minOccurs="0" name="networkPartitionGroups" nillable="true" type="xs:string"/>
+                     <xs:element maxOccurs="unbounded" minOccurs="0" name="networkPartitions" nillable="true" type="xs:string"/>
+                     <xs:element maxOccurs="unbounded" minOccurs="0" name="networkPartitionsUuid" nillable="true" type="xs:string"/>
+                     <xs:element minOccurs="0" name="properties" nillable="true" type="ax22:Properties"/>
+                     <xs:element minOccurs="0" name="tenantId" type="xs:int"/>
+                     <xs:element minOccurs="0" name="uuid" nillable="true" type="xs:string"/>
+                 </xs:sequence>
+             </xs:complexType>
          </xs:schema>
-         <xs:schema xmlns:ax220="http://common.stratos.apache.org/xsd" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://partition.common.stratos.apache.org/xsd">
 -        <xs:schema xmlns:ax211="http://common.stratos.apache.org/xsd" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://partition.common.stratos.apache.org/xsd">
++        <xs:schema xmlns:ax27="http://common.stratos.apache.org/xsd" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://partition.common.stratos.apache.org/xsd">
              <xs:import namespace="http://common.stratos.apache.org/xsd"/>
              <xs:complexType name="NetworkPartitionRef">
                  <xs:sequence>
                      <xs:element minOccurs="0" name="id" nillable="true" type="xs:string"/>
                      <xs:element minOccurs="0" name="partitionAlgo" nillable="true" type="xs:string"/>
-                     <xs:element maxOccurs="unbounded" minOccurs="0" name="partitionRefs" nillable="true" type="ax219:PartitionRef"/>
 -                    <xs:element maxOccurs="unbounded" minOccurs="0" name="partitionRefs" nillable="true" type="ax210:PartitionRef"/>
++                    <xs:element maxOccurs="unbounded" minOccurs="0" name="partitionRefs" nillable="true" type="ax26:PartitionRef"/>
+                     <xs:element minOccurs="0" name="uuid" nillable="true" type="xs:string"/>
                  </xs:sequence>
              </xs:complexType>
              <xs:complexType name="PartitionRef">
@@@ -784,7 -1015,9 +1016,9 @@@
                      <xs:element minOccurs="0" name="id" nillable="true" type="xs:string"/>
                      <xs:element minOccurs="0" name="kubernetesClusterId" nillable="true" type="xs:string"/>
                      <xs:element minOccurs="0" name="partitionMax" type="xs:int"/>
-                     <xs:element minOccurs="0" name="properties" nillable="true" type="ax23:Properties"/>
 -                    <xs:element minOccurs="0" name="properties" nillable="true" type="ax22:Properties"/>
++                    <xs:element minOccurs="0" name="properties" nillable="true" type="ax27:Properties"/>
+                     <xs:element minOccurs="0" name="tenantId" type="xs:int"/>
+                     <xs:element minOccurs="0" name="uuid" nillable="true" type="xs:string"/>
                  </xs:sequence>
              </xs:complexType>
          </xs:schema>
@@@ -818,11 -1051,15 +1052,15 @@@
                  </xs:sequence>
              </xs:complexType>
          </xs:schema>
-         <xs:schema xmlns:ax218="http://exception.autoscaler.stratos.apache.org/xsd" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://policy.exception.autoscaler.stratos.apache.org/xsd">
-             <xs:import namespace="http://exception.autoscaler.stratos.apache.org/xsd"/>
-             <xs:complexType name="ApplicationPolicyAlreadyExistsException">
-                 <xs:sequence/>
+         <xs:schema attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://partition.exception.autoscaler.stratos.apache.org/xsd">
+             <xs:complexType name="PartitionValidationException">
+                 <xs:sequence>
+                     <xs:element minOccurs="0" name="message" nillable="true" type="xs:string"/>
+                 </xs:sequence>
              </xs:complexType>
+         </xs:schema>
 -        <xs:schema xmlns:ax222="http://exception.autoscaler.stratos.apache.org/xsd" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://policy.exception.autoscaler.stratos.apache.org/xsd">
++        <xs:schema xmlns:ax217="http://exception.autoscaler.stratos.apache.org/xsd" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://policy.exception.autoscaler.stratos.apache.org/xsd">
+             <xs:import namespace="http://exception.autoscaler.stratos.apache.org/xsd"/>
              <xs:complexType name="InvalidPolicyException">
                  <xs:sequence>
                      <xs:element minOccurs="0" name="message" nillable="true" type="xs:string"/>
@@@ -830,7 -1067,14 +1068,14 @@@
              </xs:complexType>
              <xs:complexType name="UnremovablePolicyException">
                  <xs:complexContent>
-                     <xs:extension base="ax21:AutoScalerException">
 -                    <xs:extension base="ax27:AutoScalerException">
++                    <xs:extension base="ax217:AutoScalerException">
+                         <xs:sequence/>
+                     </xs:extension>
+                 </xs:complexContent>
+             </xs:complexType>
+             <xs:complexType name="PolicyDoesNotExistException">
+                 <xs:complexContent>
 -                    <xs:extension base="ax27:AutoScalerException">
++                    <xs:extension base="ax217:AutoScalerException">
                          <xs:sequence/>
                      </xs:extension>
                  </xs:complexContent>
@@@ -865,47 -1105,41 +1106,41 @@@
              </xs:complexType>
          </xs:schema>
          <xs:schema attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://exception.autoscaler.stratos.apache.org/xsd">
-             <xs:complexType name="InvalidArgumentException">
-                 <xs:sequence>
-                     <xs:element minOccurs="0" name="message" nillable="true" type="xs:string"/>
-                 </xs:sequence>
-             </xs:complexType>
-             <xs:complexType name="CartridgeGroupNotFoundException">
-                 <xs:sequence>
-                     <xs:element minOccurs="0" name="message" nillable="true" type="xs:string"/>
-                 </xs:sequence>
++            <xs:complexType name="AutoScalingPolicyAlreadyExistException">
++                <xs:sequence/>
 +            </xs:complexType>
 +            <xs:complexType name="AutoScalerException">
 +                <xs:complexContent>
 +                    <xs:extension base="xs:RuntimeException">
 +                        <xs:sequence/>
 +                    </xs:extension>
 +                </xs:complexContent>
 +            </xs:complexType>
-             <xs:complexType name="CloudControllerConnectionException">
-                 <xs:sequence/>
-             </xs:complexType>
-             <xs:complexType name="AutoScalingPolicyAlreadyExistException">
-                 <xs:sequence/>
+             <xs:complexType name="CartridgeGroupNotFoundException">
+                 <xs:sequence>
+                     <xs:element minOccurs="0" name="message" nillable="true" type="xs:string"/>
+                 </xs:sequence>
              </xs:complexType>
              <xs:complexType name="CartridgeNotFoundException">
                  <xs:sequence>
                      <xs:element minOccurs="0" name="message" nillable="true" type="xs:string"/>
                  </xs:sequence>
              </xs:complexType>
+             <xs:complexType name="InvalidArgumentException">
+                 <xs:sequence>
+                     <xs:element minOccurs="0" name="message" nillable="true" type="xs:string"/>
+                 </xs:sequence>
+             </xs:complexType>
 -            <xs:complexType name="AutoScalingPolicyAlreadyExistException">
 -                <xs:sequence/>
 -            </xs:complexType>
 -            <xs:complexType name="AutoScalerException">
 -                <xs:complexContent>
 -                    <xs:extension base="xs:RuntimeException">
 -                        <xs:sequence/>
 -                    </xs:extension>
 -                </xs:complexContent>
 -            </xs:complexType>
+             <xs:complexType name="CloudControllerConnectionException">
+                 <xs:sequence/>
+             </xs:complexType>
          </xs:schema>
      </wsdl:types>
-     <wsdl:message name="removeAutoScalingPolicyRequest">
-         <wsdl:part name="parameters" element="ns:removeAutoScalingPolicy"/>
+     <wsdl:message name="getServiceGroupByTenantRequest">
+         <wsdl:part name="parameters" element="ns:getServiceGroupByTenant"/>
      </wsdl:message>
-     <wsdl:message name="removeAutoScalingPolicyResponse">
-         <wsdl:part name="parameters" element="ns:removeAutoScalingPolicyResponse"/>
-     </wsdl:message>
-     <wsdl:message name="AutoscalerServiceUnremovablePolicyException">
-         <wsdl:part name="parameters" element="ns:AutoscalerServiceUnremovablePolicyException"/>
-     </wsdl:message>
-     <wsdl:message name="AutoscalerServicePolicyDoesNotExistException">
-         <wsdl:part name="parameters" element="ns:AutoscalerServicePolicyDoesNotExistException"/>
+     <wsdl:message name="getServiceGroupByTenantResponse">
+         <wsdl:part name="parameters" element="ns:getServiceGroupByTenantResponse"/>
      </wsdl:message>
      <wsdl:message name="getAutoScalingPoliciesRequest">
          <wsdl:part name="parameters" element="ns:getAutoScalingPolicies"/>
@@@ -1135,24 -1462,22 +1463,22 @@@
      <wsdl:message name="removeServiceGroupResponse">
          <wsdl:part name="parameters" element="ns:removeServiceGroupResponse"/>
      </wsdl:message>
--    <wsdl:message name="getApplicationPolicyRequest">
--        <wsdl:part name="parameters" element="ns:getApplicationPolicy"/>
--    </wsdl:message>
--    <wsdl:message name="getApplicationPolicyResponse">
--        <wsdl:part name="parameters" element="ns:getApplicationPolicyResponse"/>
--    </wsdl:message>
      <wsdl:message name="updateApplicationRequest">
          <wsdl:part name="parameters" element="ns:updateApplication"/>
      </wsdl:message>
      <wsdl:message name="updateApplicationResponse">
          <wsdl:part name="parameters" element="ns:updateApplicationResponse"/>
      </wsdl:message>
++    <wsdl:message name="getApplicationPolicyRequest">
++        <wsdl:part name="parameters" element="ns:getApplicationPolicy"/>
++    </wsdl:message>
++    <wsdl:message name="getApplicationPolicyResponse">
++        <wsdl:part name="parameters" element="ns:getApplicationPolicyResponse"/>
++    </wsdl:message>
      <wsdl:portType name="AutoscalerServicePortType">
-         <wsdl:operation name="removeAutoScalingPolicy">
-             <wsdl:input message="ns:removeAutoScalingPolicyRequest" wsaw:Action="urn:removeAutoScalingPolicy"/>
-             <wsdl:output message="ns:removeAutoScalingPolicyResponse" wsaw:Action="urn:removeAutoScalingPolicyResponse"/>
-             <wsdl:fault message="ns:AutoscalerServiceUnremovablePolicyException" name="AutoscalerServiceUnremovablePolicyException" wsaw:Action="urn:removeAutoScalingPolicyAutoscalerServiceUnremovablePolicyException"/>
-             <wsdl:fault message="ns:AutoscalerServicePolicyDoesNotExistException" name="AutoscalerServicePolicyDoesNotExistException" wsaw:Action="urn:removeAutoScalingPolicyAutoscalerServicePolicyDoesNotExistException"/>
+         <wsdl:operation name="getServiceGroupByTenant">
+             <wsdl:input message="ns:getServiceGroupByTenantRequest" wsaw:Action="urn:getServiceGroupByTenant"/>
+             <wsdl:output message="ns:getServiceGroupByTenantResponse" wsaw:Action="urn:getServiceGroupByTenantResponse"/>
          </wsdl:operation>
          <wsdl:operation name="getAutoScalingPolicies">
              <wsdl:input message="ns:getAutoScalingPoliciesRequest" wsaw:Action="urn:getAutoScalingPolicies"/>
@@@ -1305,10 -1689,10 +1690,6 @@@
              <wsdl:output message="ns:removeServiceGroupResponse" wsaw:Action="urn:removeServiceGroupResponse"/>
              <wsdl:fault message="ns:AutoscalerServiceCartridgeGroupNotFoundException" name="AutoscalerServiceCartridgeGroupNotFoundException" wsaw:Action="urn:removeServiceGroupAutoscalerServiceCartridgeGroupNotFoundException"/>
          </wsdl:operation>
--        <wsdl:operation name="getApplicationPolicy">
--            <wsdl:input message="ns:getApplicationPolicyRequest" wsaw:Action="urn:getApplicationPolicy"/>
--            <wsdl:output message="ns:getApplicationPolicyResponse" wsaw:Action="urn:getApplicationPolicyResponse"/>
--        </wsdl:operation>
          <wsdl:operation name="updateApplication">
              <wsdl:input message="ns:updateApplicationRequest" wsaw:Action="urn:updateApplication"/>
              <wsdl:output message="ns:updateApplicationResponse" wsaw:Action="urn:updateApplicationResponse"/>
@@@ -1316,6 -1700,6 +1697,10 @@@
              <wsdl:fault message="ns:AutoscalerServiceCartridgeGroupNotFoundException" name="AutoscalerServiceCartridgeGroupNotFoundException" wsaw:Action="urn:updateApplicationAutoscalerServiceCartridgeGroupNotFoundException"/>
              <wsdl:fault message="ns:AutoscalerServiceCartridgeNotFoundException" name="AutoscalerServiceCartridgeNotFoundException" wsaw:Action="urn:updateApplicationAutoscalerServiceCartridgeNotFoundException"/>
          </wsdl:operation>
++        <wsdl:operation name="getApplicationPolicy">
++            <wsdl:input message="ns:getApplicationPolicyRequest" wsaw:Action="urn:getApplicationPolicy"/>
++            <wsdl:output message="ns:getApplicationPolicyResponse" wsaw:Action="urn:getApplicationPolicyResponse"/>
++        </wsdl:operation>
      </wsdl:portType>
      <wsdl:binding name="AutoscalerServiceSoap11Binding" type="ns:AutoscalerServicePortType">
          <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
@@@ -1697,6 -2210,6 +2211,15 @@@
                  <soap:fault use="literal" name="AutoscalerServiceCartridgeGroupNotFoundException"/>
              </wsdl:fault>
          </wsdl:operation>
++        <wsdl:operation name="getApplicationPolicy">
++            <soap:operation soapAction="urn:getApplicationPolicy" style="document"/>
++            <wsdl:input>
++                <soap:body use="literal"/>
++            </wsdl:input>
++            <wsdl:output>
++                <soap:body use="literal"/>
++            </wsdl:output>
++        </wsdl:operation>
          <wsdl:operation name="updateApplication">
              <soap:operation soapAction="urn:updateApplication" style="document"/>
              <wsdl:input>
@@@ -1715,15 -2228,15 +2238,6 @@@
                  <soap:fault use="literal" name="AutoscalerServiceCartridgeGroupNotFoundException"/>
              </wsdl:fault>
          </wsdl:operation>
--        <wsdl:operation name="getApplicationPolicy">
--            <soap:operation soapAction="urn:getApplicationPolicy" style="document"/>
--            <wsdl:input>
--                <soap:body use="literal"/>
--            </wsdl:input>
--            <wsdl:output>
--                <soap:body use="literal"/>
--            </wsdl:output>
--        </wsdl:operation>
      </wsdl:binding>
      <wsdl:binding name="AutoscalerServiceSoap12Binding" type="ns:AutoscalerServicePortType">
          <soap12:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
@@@ -2105,6 -2747,6 +2748,15 @@@
                  <soap12:fault use="literal" name="AutoscalerServiceCartridgeGroupNotFoundException"/>
              </wsdl:fault>
          </wsdl:operation>
++        <wsdl:operation name="getApplicationPolicy">
++            <soap12:operation soapAction="urn:getApplicationPolicy" style="document"/>
++            <wsdl:input>
++                <soap12:body use="literal"/>
++            </wsdl:input>
++            <wsdl:output>
++                <soap12:body use="literal"/>
++            </wsdl:output>
++        </wsdl:operation>
          <wsdl:operation name="updateApplication">
              <soap12:operation soapAction="urn:updateApplication" style="document"/>
              <wsdl:input>
@@@ -2123,313 -2765,439 +2775,430 @@@
                  <soap12:fault use="literal" name="AutoscalerServiceCartridgeGroupNotFoundException"/>
              </wsdl:fault>
          </wsdl:operation>
--        <wsdl:operation name="getApplicationPolicy">
--            <soap12:operation soapAction="urn:getApplicationPolicy" style="document"/>
 -            <wsdl:input>
 -                <soap12:body use="literal"/>
 -            </wsdl:input>
 -            <wsdl:output>
 -                <soap12:body use="literal"/>
 -            </wsdl:output>
 -        </wsdl:operation>
+     </wsdl:binding>
+     <wsdl:binding name="AutoscalerServiceHttpBinding" type="ns:AutoscalerServicePortType">
+         <http:binding verb="POST"/>
+         <wsdl:operation name="getServiceGroupByTenant">
+             <http:operation location="getServiceGroupByTenant"/>
              <wsdl:input>
-                 <soap12:body use="literal"/>
 -                <mime:content type="text/xml" part="parameters"/>
++                <mime:content type="application/xml" part="parameters"/>
              </wsdl:input>
              <wsdl:output>
-                 <soap12:body use="literal"/>
 -                <mime:content type="text/xml" part="parameters"/>
++                <mime:content type="application/xml" part="parameters"/>
              </wsdl:output>
          </wsdl:operation>
-     </wsdl:binding>
-     <wsdl:binding name="AutoscalerServiceHttpBinding" type="ns:AutoscalerServicePortType">
-         <http:binding verb="POST"/>
          <wsdl:operation name="getAutoScalingPolicies">
              <http:operation location="getAutoScalingPolicies"/>
              <wsdl:input>
--                <mime:content type="text/xml" part="parameters"/>
++                <mime:content type="application/xml" part="parameters"/>
              </wsdl:input>
              <wsdl:output>
--                <mime:content type="text/xml" part="parameters"/>
++                <mime:content type="application/xml" part="parameters"/>
              </wsdl:output>
          </wsdl:operation>
-         <wsdl:operation name="removeAutoScalingPolicy">
-             <http:operation location="removeAutoScalingPolicy"/>
+         <wsdl:operation name="addApplicationPolicy">
+             <http:operation location="addApplicationPolicy"/>
              <wsdl:input>
--                <mime:content type="text/xml" part="parameters"/>
++                <mime:content type="application/xml" part="parameters"/>
              </wsdl:input>
              <wsdl:output>
--                <mime:content type="text/xml" part="parameters"/>
++                <mime:content type="application/xml" part="parameters"/>
              </wsdl:output>
          </wsdl:operation>
-         <wsdl:operation name="addApplicationPolicy">
-             <http:operation location="addApplicationPolicy"/>
+         <wsdl:operation name="getDeploymentPolicies">
+             <http:operation location="getDeploymentPolicies"/>
+             <wsdl:input>
 -                <mime:content type="text/xml" part="parameters"/>
++                <mime:content type="application/xml" part="parameters"/>
+             </wsdl:input>
+             <wsdl:output>
 -                <mime:content type="text/xml" part="parameters"/>
++                <mime:content type="application/xml" part="parameters"/>
+             </wsdl:output>
+         </wsdl:operation>
+         <wsdl:operation name="removeAutoScalingPolicy">
+             <http:operation location="removeAutoScalingPolicy"/>
              <wsdl:input>
--                <mime:content type="text/xml" part="parameters"/>
++                <mime:content type="application/xml" part="parameters"/>
              </wsdl:input>
              <wsdl:output>
--                <mime:content type="text/xml" part="parameters"/>
++                <mime:content type="application/xml" part="parameters"/>
              </wsdl:output>
          </wsdl:operation>
          <wsdl:operation name="getApplicationPolicies">
              <http:operation location="getApplicationPolicies"/>
              <wsdl:input>
--                <mime:content type="text/xml" part="parameters"/>
++                <mime:content type="application/xml" part="parameters"/>
              </wsdl:input>
              <wsdl:output>
--                <mime:content type="text/xml" part="parameters"/>
++                <mime:content type="application/xml" part="parameters"/>
              </wsdl:output>
          </wsdl:operation>
-         <wsdl:operation name="getDeploymentPolicies">
-             <http:operation location="getDeploymentPolicies"/>
+         <wsdl:operation name="getApplicationByTenant">
+             <http:operation location="getApplicationByTenant"/>
              <wsdl:input>
--                <mime:content type="text/xml" part="parameters"/>
++                <mime:content type="application/xml" part="parameters"/>
              </wsdl:input>
              <wsdl:output>
--                <mime:content type="text/xml" part="parameters"/>
++                <mime:content type="application/xml" part="parameters"/>
              </wsdl:output>
          </wsdl:operation>
          <wsdl:operation name="getServiceGroups">
              <http:operation location="getServiceGroups"/>
              <wsdl:input>
--                <mime:content type="text/xml" part="parameters"/>
++                <mime:content type="application/xml" part="parameters"/>
+             </wsdl:input>
+             <wsdl:output>
 -                <mime:content type="text/xml" part="parameters"/>
++                <mime:content type="application/xml" part="parameters"/>
+             </wsdl:output>
+         </wsdl:operation>
+         <wsdl:operation name="getAutoScalingPoliciesByTenant">
+             <http:operation location="getAutoScalingPoliciesByTenant"/>
+             <wsdl:input>
 -                <mime:content type="text/xml" part="parameters"/>
++                <mime:content type="application/xml" part="parameters"/>
              </wsdl:input>
              <wsdl:output>
--                <mime:content type="text/xml" part="parameters"/>
++                <mime:content type="application/xml" part="parameters"/>
              </wsdl:output>
          </wsdl:operation>
          <wsdl:operation name="getApplication">
              <http:operation location="getApplication"/>
              <wsdl:input>
--                <mime:content type="text/xml" part="parameters"/>
++                <mime:content type="application/xml" part="parameters"/>
              </wsdl:input>
              <wsdl:output>
--                <mime:content type="text/xml" part="parameters"/>
++                <mime:content type="application/xml" part="parameters"/>
              </wsdl:output>
          </wsdl:operation>
          <wsdl:operation name="updateServiceGroup">
              <http:operation location="updateServiceGroup"/>
              <wsdl:input>
--                <mime:content type="text/xml" part="parameters"/>
++                <mime:content type="application/xml" part="parameters"/>
              </wsdl:input>
              <wsdl:output>
--                <mime:content type="text/xml" part="parameters"/>
++                <mime:content type="application/xml" part="parameters"/>
              </wsdl:output>
          </wsdl:operation>
          <wsdl:operation name="deployApplication">
              <http:operation location="deployApplication"/>
              <wsdl:input>
--                <mime:content type="text/xml" part="parameters"/>
++                <mime:content type="application/xml" part="parameters"/>
+             </wsdl:input>
+             <wsdl:output>
 -                <mime:content type="text/xml" part="parameters"/>
++                <mime:content type="application/xml" part="parameters"/>
+             </wsdl:output>
+         </wsdl:operation>
+         <wsdl:operation name="getApplicationsByTenant">
+             <http:operation location="getApplicationsByTenant"/>
+             <wsdl:input>
 -                <mime:content type="text/xml" part="parameters"/>
++                <mime:content type="application/xml" part="parameters"/>
              </wsdl:input>
              <wsdl:output>
--                <mime:content type="text/xml" part="parameters"/>
++                <mime:content type="application/xml" part="parameters"/>
              </wsdl:output>
          </wsdl:operation>
          <wsdl:operation name="updateApplicationPolicy">
              <http:operation location="updateApplicationPolicy"/>
              <wsdl:input>
--                <mime:content type="text/xml" part="parameters"/>
++                <mime:content type="application/xml" part="parameters"/>
              </wsdl:input>
              <wsdl:output>
--                <mime:content type="text/xml" part="parameters"/>
++                <mime:content type="application/xml" part="parameters"/>
              </wsdl:output>
          </wsdl:operation>
          <wsdl:operation name="getApplicationNetworkPartitions">
              <http:operation location="getApplicationNetworkPartitions"/>
              <wsdl:input>
--                <mime:content type="text/xml" part="parameters"/>
++                <mime:content type="application/xml" part="parameters"/>
              </wsdl:input>
              <wsdl:output>
--                <mime:content type="text/xml" part="parameters"/>
++                <mime:content type="application/xml" part="parameters"/>
              </wsdl:output>
          </wsdl:operation>
          <wsdl:operation name="serviceGroupExist">
              <http:operation location="serviceGroupExist"/>
              <wsdl:input>
--                <mime:content type="text/xml" part="parameters"/>
++                <mime:content type="application/xml" part="parameters"/>
              </wsdl:input>
              <wsdl:output>
--                <mime:content type="text/xml" part="parameters"/>
++                <mime:content type="application/xml" part="parameters"/>
              </wsdl:output>
          </wsdl:operation>
          <wsdl:operation name="getDeploymentPolicy">
              <http:operation location="getDeploymentPolicy"/>
              <wsdl:input>
--                <mime:content type="text/xml" part="parameters"/>
++                <mime:content type="application/xml" part="parameters"/>
              </wsdl:input>
              <wsdl:output>
--                <mime:content type="text/xml" part="parameters"/>
++                <mime:content type="application/xml" part="parameters"/>
              </wsdl:output>
          </wsdl:operation>
-         <wsdl:operation name="addAutoScalingPolicy">
-             <http:operation location="addAutoScalingPolicy"/>
+         <wsdl:operation name="getApplicationPolicyByUuid">
+             <http:operation location="getApplicationPolicyByUuid"/>
              <wsdl:input>
--                <mime:content type="text/xml" part="parameters"/>
++                <mime:content type="application/xml" part="parameters"/>
              </wsdl:input>
              <wsdl:output>
--                <mime:content type="text/xml" part="p

<TRUNCATED>