Repository: incubator-stratos Updated Branches: refs/heads/master 78c83378e -> c6334db79
Fixing STRATOS-554. Adding an operation in Autoscaler to retrieve default LB cluster Id. Setting LB clusterId appropriately in Stratos Manger. Project: http://git-wip-us.apache.org/repos/asf/incubator-stratos/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-stratos/commit/c6334db7 Tree: http://git-wip-us.apache.org/repos/asf/incubator-stratos/tree/c6334db7 Diff: http://git-wip-us.apache.org/repos/asf/incubator-stratos/diff/c6334db7 Branch: refs/heads/master Commit: c6334db79a5be9e8de9de1a5837c1d59a06998db Parents: 78c8337 Author: Sajith Kariyawasam <[email protected]> Authored: Mon Mar 24 01:14:57 2014 +0530 Committer: Sajith Kariyawasam <[email protected]> Committed: Mon Mar 24 01:14:57 2014 +0530 ---------------------------------------------------------------------- .../autoscaler/api/AutoScalerServiceImpl.java | 44 +++++++ .../interfaces/AutoScalerServiceInterface.java | 4 + .../manager/client/AutoscalerServiceClient.java | 10 ++ .../category/DefaultLoadBalancerCategory.java | 75 ++++++++++++ .../lb/category/LoadBalancerCategory.java | 12 +- .../manager/CartridgeSubscriptionManager.java | 6 + .../utils/CartridgeSubscriptionUtils.java | 7 +- .../model/TopologyClusterInformationModel.java | 15 ++- .../src/main/resources/AutoScalerService.wsdl | 115 ++++++++++++++++++- 9 files changed, 276 insertions(+), 12 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/c6334db7/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/api/AutoScalerServiceImpl.java ---------------------------------------------------------------------- diff --git a/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/api/AutoScalerServiceImpl.java b/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/api/AutoScalerServiceImpl.java index 8fec464..8e9f8bc 100644 --- a/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/api/AutoScalerServiceImpl.java +++ b/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/api/AutoScalerServiceImpl.java @@ -180,6 +180,29 @@ public class AutoScalerServiceImpl implements AutoScalerServiceInterface{ return true; } + + public String getDefaultLBClusterId (String deploymentPolicyName) { + if(log.isDebugEnabled()) { + log.debug("Default LB Cluster Id for Deployment Policy ["+deploymentPolicyName+"] "); + } + for (PartitionGroup partitionGroup : PolicyManager.getInstance().getDeploymentPolicy(deploymentPolicyName).getPartitionGroups()) { + + NetworkPartitionLbHolder nwPartitionLbHolder = partitionManager.getNetworkPartitionLbHolder(partitionGroup.getId()); + + if (nwPartitionLbHolder.isDefaultLBExist()) { + if (log.isDebugEnabled()) { + log.debug("Default LB does not exist in [network partition] " + + nwPartitionLbHolder.getNetworkPartitionId() + " of [Deployment Policy] " + + deploymentPolicyName); + + } + return nwPartitionLbHolder.getDefaultLbClusterId(); + } + + } + + return null; + } public boolean checkServiceLBExistenceAgainstPolicy(String serviceName, String deploymentPolicyId) { @@ -202,6 +225,27 @@ public class AutoScalerServiceImpl implements AutoScalerServiceInterface{ return true; } + + public String getServiceLBClusterId (String serviceType, String deploymentPolicyName) { + + for (PartitionGroup partitionGroup : PolicyManager.getInstance().getDeploymentPolicy(deploymentPolicyName).getPartitionGroups()) { + + NetworkPartitionLbHolder nwPartitionLbHolder = partitionManager.getNetworkPartitionLbHolder(partitionGroup.getId()); + + if (nwPartitionLbHolder.isServiceLBExist(serviceType)) { + if (log.isDebugEnabled()) { + log.debug("Service LB [service name] "+serviceType+" does not exist in [network partition] " + + nwPartitionLbHolder.getNetworkPartitionId() + " of [Deployment Policy] " + + deploymentPolicyName); + + } + return nwPartitionLbHolder.getLBClusterIdOfService(serviceType); + } + + } + + return null; + } public boolean checkClusterLBExistenceAgainstPolicy(String clusterId, String deploymentPolicyId) { http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/c6334db7/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/interfaces/AutoScalerServiceInterface.java ---------------------------------------------------------------------- diff --git a/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/interfaces/AutoScalerServiceInterface.java b/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/interfaces/AutoScalerServiceInterface.java index 4d492e6..cc2638d 100644 --- a/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/interfaces/AutoScalerServiceInterface.java +++ b/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/interfaces/AutoScalerServiceInterface.java @@ -63,4 +63,8 @@ public interface AutoScalerServiceInterface { * false if a LB couldn't find even in one network partition. */ public boolean checkServiceLBExistenceAgainstPolicy(String serviceName, String deploymentPolicyId); + + public String getDefaultLBClusterId (String deploymentPolicyName); + + public String getServiceLBClusterId (String serviceType, String deploymentPolicyName); } http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/c6334db7/components/org.apache.stratos.manager/src/main/java/org/apache/stratos/manager/client/AutoscalerServiceClient.java ---------------------------------------------------------------------- diff --git a/components/org.apache.stratos.manager/src/main/java/org/apache/stratos/manager/client/AutoscalerServiceClient.java b/components/org.apache.stratos.manager/src/main/java/org/apache/stratos/manager/client/AutoscalerServiceClient.java index 3d2089c..b87d0f2 100644 --- a/components/org.apache.stratos.manager/src/main/java/org/apache/stratos/manager/client/AutoscalerServiceClient.java +++ b/components/org.apache.stratos.manager/src/main/java/org/apache/stratos/manager/client/AutoscalerServiceClient.java @@ -202,4 +202,14 @@ public class AutoscalerServiceClient { return stub.addPartition(partition); } + + public String getDefaultLBClusterId (String deploymentPolicy) throws RemoteException { + return stub.getDefaultLBClusterId(deploymentPolicy); + } + + + public String getServiceLBClusterId (String serviceType, String deploymentPolicy) throws RemoteException { + return stub.getServiceLBClusterId(serviceType, deploymentPolicy); + } + } http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/c6334db7/components/org.apache.stratos.manager/src/main/java/org/apache/stratos/manager/lb/category/DefaultLoadBalancerCategory.java ---------------------------------------------------------------------- diff --git a/components/org.apache.stratos.manager/src/main/java/org/apache/stratos/manager/lb/category/DefaultLoadBalancerCategory.java b/components/org.apache.stratos.manager/src/main/java/org/apache/stratos/manager/lb/category/DefaultLoadBalancerCategory.java index 0df3589..4fca4fa 100644 --- a/components/org.apache.stratos.manager/src/main/java/org/apache/stratos/manager/lb/category/DefaultLoadBalancerCategory.java +++ b/components/org.apache.stratos.manager/src/main/java/org/apache/stratos/manager/lb/category/DefaultLoadBalancerCategory.java @@ -19,6 +19,81 @@ package org.apache.stratos.manager.lb.category; +import java.rmi.RemoteException; +import java.util.Map; + +import org.apache.axis2.AxisFault; +import org.apache.commons.logging.Log; +import org.apache.commons.logging.LogFactory; +import org.apache.stratos.cloud.controller.stub.pojo.CartridgeInfo; +import org.apache.stratos.cloud.controller.stub.pojo.Properties; +import org.apache.stratos.manager.client.AutoscalerServiceClient; +import org.apache.stratos.manager.dao.Cluster; +import org.apache.stratos.manager.exception.ADCException; +import org.apache.stratos.manager.exception.AlreadySubscribedException; +import org.apache.stratos.manager.exception.UnregisteredCartridgeException; +import org.apache.stratos.manager.payload.PayloadData; +import org.apache.stratos.manager.repository.Repository; +import org.apache.stratos.manager.subscriber.Subscriber; +import org.apache.stratos.manager.subscription.utils.CartridgeSubscriptionUtils; + public class DefaultLoadBalancerCategory extends LoadBalancerCategory { + private boolean defaultLBExists; + + private static Log log = LogFactory.getLog(DefaultLoadBalancerCategory.class); + + public PayloadData create(String alias, Cluster cluster, Subscriber subscriber, Repository repository, CartridgeInfo cartridgeInfo, + String subscriptionKey, Map<String, String> customPayloadEntries) + throws ADCException, AlreadySubscribedException { + + // call the relevant method to get the cluster id, using deployment policy + String clusterId = null; + try { + clusterId = AutoscalerServiceClient.getServiceClient().getDefaultLBClusterId(getDeploymentPolicyName()); + } catch (Exception e) { + log.error("Error occurred in retrieving default LB cluster id. " + e.getMessage()); + throw new ADCException(e); + } + + if (clusterId != null) { + + //set the cluster id to Cluster object + defaultLBExists = true; + //need to check if we can get the host name as well.. + + } else { + clusterId = alias + "." + cartridgeInfo.getType() + ".domain"; + + // limit the cartridge alias to 30 characters in length + if (clusterId.length() > 30) { + clusterId = CartridgeSubscriptionUtils.limitLengthOfString(clusterId, 30); + } + cluster.setClusterDomain(clusterId); + // set hostname + cluster.setHostName(alias + "." + cluster.getHostName()); + } + + return createPayload(cartridgeInfo, subscriptionKey, subscriber, + cluster, repository, alias, customPayloadEntries); + } + + public void register(CartridgeInfo cartridgeInfo, Cluster cluster, PayloadData payloadData, String autoscalePolicyName, String deploymentPolicyName, Properties properties) throws ADCException, UnregisteredCartridgeException { + + if (!isDefaultLBExists()) { + log.info("Payload: " + payloadData.getCompletePayloadData().toString()); + super.register(cartridgeInfo, cluster, payloadData, autoscalePolicyName, deploymentPolicyName, properties); + }else { + log.info(" Default LB exists... Not registering..."); + } + } + + + public boolean isDefaultLBExists() { + return defaultLBExists; + } + + public void setDefaultLBExists(boolean defaultLBExists) { + this.defaultLBExists = defaultLBExists; + } } http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/c6334db7/components/org.apache.stratos.manager/src/main/java/org/apache/stratos/manager/lb/category/LoadBalancerCategory.java ---------------------------------------------------------------------- diff --git a/components/org.apache.stratos.manager/src/main/java/org/apache/stratos/manager/lb/category/LoadBalancerCategory.java b/components/org.apache.stratos.manager/src/main/java/org/apache/stratos/manager/lb/category/LoadBalancerCategory.java index 6d5ed47..1243b12 100644 --- a/components/org.apache.stratos.manager/src/main/java/org/apache/stratos/manager/lb/category/LoadBalancerCategory.java +++ b/components/org.apache.stratos.manager/src/main/java/org/apache/stratos/manager/lb/category/LoadBalancerCategory.java @@ -40,6 +40,7 @@ public abstract class LoadBalancerCategory extends CartridgeMgtBehaviour { private String loadBalancedServiceType; private boolean isLoadBalancedServiceMultiTenant; + private String deploymentPolicyName; private static Log log = LogFactory.getLog(LoadBalancerCategory.class); public String getLoadBalancedServiceType() { @@ -114,6 +115,13 @@ public abstract class LoadBalancerCategory extends CartridgeMgtBehaviour { boolean isLoadBalancedServiceMultiTenant) { this.isLoadBalancedServiceMultiTenant = isLoadBalancedServiceMultiTenant; } - - + + + public String getDeploymentPolicyName() { + return deploymentPolicyName; + } + + public void setDeploymentPolicyName(String deploymentPolicyName) { + this.deploymentPolicyName = deploymentPolicyName; + } } http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/c6334db7/components/org.apache.stratos.manager/src/main/java/org/apache/stratos/manager/manager/CartridgeSubscriptionManager.java ---------------------------------------------------------------------- diff --git a/components/org.apache.stratos.manager/src/main/java/org/apache/stratos/manager/manager/CartridgeSubscriptionManager.java b/components/org.apache.stratos.manager/src/main/java/org/apache/stratos/manager/manager/CartridgeSubscriptionManager.java index 18df8c7..e4aa282 100644 --- a/components/org.apache.stratos.manager/src/main/java/org/apache/stratos/manager/manager/CartridgeSubscriptionManager.java +++ b/components/org.apache.stratos.manager/src/main/java/org/apache/stratos/manager/manager/CartridgeSubscriptionManager.java @@ -150,6 +150,9 @@ public class CartridgeSubscriptionManager { if (lbCartridgeSubscription != null) { // register LB cartridge subscription + if(log.isDebugEnabled()) { + log.debug(" Registering LB Cartridge subscription "); + } registerCartridgeSubscription(lbCartridgeSubscription, lbCartridgeSubscriptionProperties); } @@ -199,6 +202,9 @@ public class CartridgeSubscriptionManager { // Set if the load balanced service is multi tenant or not loadBalancerCategory.setLoadBalancedServiceMultiTenant(serviceCartridgeInfo.getMultiTenant()); + // set the relevant deployment policy + loadBalancerCategory.setDeploymentPolicyName(lbDataContext.getDeploymentPolicy()); + // Create the CartridgeSubscription instance CartridgeSubscription cartridgeSubscription = CartridgeSubscriptionFactory.getLBCartridgeSubscriptionInstance(lbDataContext, loadBalancerCategory); http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/c6334db7/components/org.apache.stratos.manager/src/main/java/org/apache/stratos/manager/subscription/utils/CartridgeSubscriptionUtils.java ---------------------------------------------------------------------- diff --git a/components/org.apache.stratos.manager/src/main/java/org/apache/stratos/manager/subscription/utils/CartridgeSubscriptionUtils.java b/components/org.apache.stratos.manager/src/main/java/org/apache/stratos/manager/subscription/utils/CartridgeSubscriptionUtils.java index 1230b74..130a727 100644 --- a/components/org.apache.stratos.manager/src/main/java/org/apache/stratos/manager/subscription/utils/CartridgeSubscriptionUtils.java +++ b/components/org.apache.stratos.manager/src/main/java/org/apache/stratos/manager/subscription/utils/CartridgeSubscriptionUtils.java @@ -317,13 +317,18 @@ public class CartridgeSubscriptionUtils { if (deploymentPolicyName.equals(policy.getId())) { if (!getAutoscalerServiceClient().checkDefaultLBExistenceAgainstPolicy(deploymentPolicyName)) { + if(log.isDebugEnabled()){ + log.debug(" Default LB doesn't exist for deployment policy ["+deploymentPolicyName+"] "); + } Properties lbProperties = new Properties(); // if LB cartridge definition has properties as well, combine if (lbCartridgeInfo.getProperties() != null && lbCartridgeInfo.getProperties().length > 0) { + if(log.isDebugEnabled()){ + log.debug(" Combining LB properties "); + } lbProperties.setProperties(combine(lbCartridgeInfo.getProperties(), new Property[]{lbRefProperty})); - } else { lbProperties.setProperties(new Property[]{lbRefProperty}); } http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/c6334db7/components/org.apache.stratos.manager/src/main/java/org/apache/stratos/manager/topology/model/TopologyClusterInformationModel.java ---------------------------------------------------------------------- diff --git a/components/org.apache.stratos.manager/src/main/java/org/apache/stratos/manager/topology/model/TopologyClusterInformationModel.java b/components/org.apache.stratos.manager/src/main/java/org/apache/stratos/manager/topology/model/TopologyClusterInformationModel.java index 1b09190..8d44ac4 100644 --- a/components/org.apache.stratos.manager/src/main/java/org/apache/stratos/manager/topology/model/TopologyClusterInformationModel.java +++ b/components/org.apache.stratos.manager/src/main/java/org/apache/stratos/manager/topology/model/TopologyClusterInformationModel.java @@ -83,7 +83,9 @@ public class TopologyClusterInformationModel { } public Set<Cluster> getClusters (int tenantId, String cartridgeType) { - + if(log.isDebugEnabled()) { + log.info(" Getting cluster for tenant id [" + tenantId + "] "); + } Collection<CartridgeSubscription> subscriptions = null; if(cartridgeType != null) { @@ -93,11 +95,18 @@ public class TopologyClusterInformationModel { } Set<Cluster> clusterSet = new HashSet<Cluster>(); - if (subscriptions != null) { for (CartridgeSubscription cartridgeSubscription : subscriptions) { + + // TODO -- check this. Sometimes getting clusterId some non-meaningful value String clusterId = cartridgeSubscription.getClusterDomain(); - clusterSet.add(clusterIdToClusterMap.get(clusterId)); + if(log.isDebugEnabled()) { + log.info("Finding cluster with id ["+clusterId+"] "); + } + Cluster foundCluster = clusterIdToClusterMap.get(clusterId); + if (foundCluster != null) { + clusterSet.add(foundCluster); + } } } return clusterSet; http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/c6334db7/service-stubs/org.apache.stratos.autoscaler.service.stub/src/main/resources/AutoScalerService.wsdl ---------------------------------------------------------------------- diff --git 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 index 36c347f..28d915b 100644 --- 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 @@ -38,6 +38,21 @@ </xs:sequence> </xs:complexType> </xs:element> + <xs:element name="getServiceLBClusterId"> + <xs:complexType> + <xs:sequence> + <xs:element minOccurs="0" name="serviceType" nillable="true" type="xs:string"></xs:element> + <xs:element minOccurs="0" name="deploymentPolicyName" nillable="true" type="xs:string"></xs:element> + </xs:sequence> + </xs:complexType> + </xs:element> + <xs:element name="getServiceLBClusterIdResponse"> + <xs:complexType> + <xs:sequence> + <xs:element minOccurs="0" name="return" nillable="true" type="xs:string"></xs:element> + </xs:sequence> + </xs:complexType> + </xs:element> <xs:element name="getPartitionsOfGroup"> <xs:complexType> <xs:sequence> @@ -109,6 +124,20 @@ </xs:sequence> </xs:complexType> </xs:element> + <xs:element name="getDefaultLBClusterId"> + <xs:complexType> + <xs:sequence> + <xs:element minOccurs="0" name="deploymentPolicyName" nillable="true" type="xs:string"></xs:element> + </xs:sequence> + </xs:complexType> + </xs:element> + <xs:element name="getDefaultLBClusterIdResponse"> + <xs:complexType> + <xs:sequence> + <xs:element minOccurs="0" name="return" nillable="true" type="xs:string"></xs:element> + </xs:sequence> + </xs:complexType> + </xs:element> <xs:element name="getAutoscalingPolicy"> <xs:complexType> <xs:sequence> @@ -380,6 +409,12 @@ <wsdl:message name="getPartitionsOfDeploymentPolicyResponse"> <wsdl:part name="parameters" element="ns:getPartitionsOfDeploymentPolicyResponse"></wsdl:part> </wsdl:message> + <wsdl:message name="getDefaultLBClusterIdRequest"> + <wsdl:part name="parameters" element="ns:getDefaultLBClusterId"></wsdl:part> + </wsdl:message> + <wsdl:message name="getDefaultLBClusterIdResponse"> + <wsdl:part name="parameters" element="ns:getDefaultLBClusterIdResponse"></wsdl:part> + </wsdl:message> <wsdl:message name="getPartitionsOfGroupRequest"> <wsdl:part name="parameters" element="ns:getPartitionsOfGroup"></wsdl:part> </wsdl:message> @@ -470,6 +505,12 @@ <wsdl:message name="addDeploymentPolicyResponse"> <wsdl:part name="parameters" element="ns:addDeploymentPolicyResponse"></wsdl:part> </wsdl:message> + <wsdl:message name="getServiceLBClusterIdRequest"> + <wsdl:part name="parameters" element="ns:getServiceLBClusterId"></wsdl:part> + </wsdl:message> + <wsdl:message name="getServiceLBClusterIdResponse"> + <wsdl:part name="parameters" element="ns:getServiceLBClusterIdResponse"></wsdl:part> + </wsdl:message> <wsdl:message name="getPartitionGroupsRequest"> <wsdl:part name="parameters" element="ns:getPartitionGroups"></wsdl:part> </wsdl:message> @@ -487,6 +528,10 @@ <wsdl:input message="ns:getPartitionsOfDeploymentPolicyRequest" wsaw:Action="urn:getPartitionsOfDeploymentPolicy"></wsdl:input> <wsdl:output message="ns:getPartitionsOfDeploymentPolicyResponse" wsaw:Action="urn:getPartitionsOfDeploymentPolicyResponse"></wsdl:output> </wsdl:operation> + <wsdl:operation name="getDefaultLBClusterId"> + <wsdl:input message="ns:getDefaultLBClusterIdRequest" wsaw:Action="urn:getDefaultLBClusterId"></wsdl:input> + <wsdl:output message="ns:getDefaultLBClusterIdResponse" wsaw:Action="urn:getDefaultLBClusterIdResponse"></wsdl:output> + </wsdl:operation> <wsdl:operation name="getPartitionsOfGroup"> <wsdl:input message="ns:getPartitionsOfGroupRequest" wsaw:Action="urn:getPartitionsOfGroup"></wsdl:input> <wsdl:output message="ns:getPartitionsOfGroupResponse" wsaw:Action="urn:getPartitionsOfGroupResponse"></wsdl:output> @@ -546,6 +591,10 @@ <wsdl:output message="ns:addDeploymentPolicyResponse" wsaw:Action="urn:addDeploymentPolicyResponse"></wsdl:output> <wsdl:fault message="ns:AutoScalerServiceInvalidPolicyException" name="AutoScalerServiceInvalidPolicyException" wsaw:Action="urn:addDeploymentPolicyAutoScalerServiceInvalidPolicyException"></wsdl:fault> </wsdl:operation> + <wsdl:operation name="getServiceLBClusterId"> + <wsdl:input message="ns:getServiceLBClusterIdRequest" wsaw:Action="urn:getServiceLBClusterId"></wsdl:input> + <wsdl:output message="ns:getServiceLBClusterIdResponse" wsaw:Action="urn:getServiceLBClusterIdResponse"></wsdl:output> + </wsdl:operation> <wsdl:operation name="getPartitionGroups"> <wsdl:input message="ns:getPartitionGroupsRequest" wsaw:Action="urn:getPartitionGroups"></wsdl:input> <wsdl:output message="ns:getPartitionGroupsResponse" wsaw:Action="urn:getPartitionGroupsResponse"></wsdl:output> @@ -566,8 +615,8 @@ <soap:body use="literal"></soap:body> </wsdl:output> </wsdl:operation> - <wsdl:operation name="getAllAutoScalingPolicy"> - <soap:operation soapAction="urn:getAllAutoScalingPolicy" style="document"></soap:operation> + <wsdl:operation name="getDefaultLBClusterId"> + <soap:operation soapAction="urn:getDefaultLBClusterId" style="document"></soap:operation> <wsdl:input> <soap:body use="literal"></soap:body> </wsdl:input> @@ -584,6 +633,15 @@ <soap:body use="literal"></soap:body> </wsdl:output> </wsdl:operation> + <wsdl:operation name="getAllAutoScalingPolicy"> + <soap:operation soapAction="urn:getAllAutoScalingPolicy" style="document"></soap:operation> + <wsdl:input> + <soap:body use="literal"></soap:body> + </wsdl:input> + <wsdl:output> + <soap:body use="literal"></soap:body> + </wsdl:output> + </wsdl:operation> <wsdl:operation name="getDeploymentPolicy"> <soap:operation soapAction="urn:getDeploymentPolicy" style="document"></soap:operation> <wsdl:input> @@ -701,6 +759,15 @@ <soap:fault use="literal" name="AutoScalerServiceInvalidPolicyException"></soap:fault> </wsdl:fault> </wsdl:operation> + <wsdl:operation name="getServiceLBClusterId"> + <soap:operation soapAction="urn:getServiceLBClusterId" style="document"></soap:operation> + <wsdl:input> + <soap:body use="literal"></soap:body> + </wsdl:input> + <wsdl:output> + <soap:body use="literal"></soap:body> + </wsdl:output> + </wsdl:operation> <wsdl:operation name="getPartitionGroups"> <soap:operation soapAction="urn:getPartitionGroups" style="document"></soap:operation> <wsdl:input> @@ -731,8 +798,8 @@ <soap12:body use="literal"></soap12:body> </wsdl:output> </wsdl:operation> - <wsdl:operation name="getAllAutoScalingPolicy"> - <soap12:operation soapAction="urn:getAllAutoScalingPolicy" style="document"></soap12:operation> + <wsdl:operation name="getDefaultLBClusterId"> + <soap12:operation soapAction="urn:getDefaultLBClusterId" style="document"></soap12:operation> <wsdl:input> <soap12:body use="literal"></soap12:body> </wsdl:input> @@ -749,6 +816,15 @@ <soap12:body use="literal"></soap12:body> </wsdl:output> </wsdl:operation> + <wsdl:operation name="getAllAutoScalingPolicy"> + <soap12:operation soapAction="urn:getAllAutoScalingPolicy" style="document"></soap12:operation> + <wsdl:input> + <soap12:body use="literal"></soap12:body> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal"></soap12:body> + </wsdl:output> + </wsdl:operation> <wsdl:operation name="getDeploymentPolicy"> <soap12:operation soapAction="urn:getDeploymentPolicy" style="document"></soap12:operation> <wsdl:input> @@ -866,6 +942,15 @@ <soap12:fault use="literal" name="AutoScalerServiceInvalidPolicyException"></soap12:fault> </wsdl:fault> </wsdl:operation> + <wsdl:operation name="getServiceLBClusterId"> + <soap12:operation soapAction="urn:getServiceLBClusterId" style="document"></soap12:operation> + <wsdl:input> + <soap12:body use="literal"></soap12:body> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal"></soap12:body> + </wsdl:output> + </wsdl:operation> <wsdl:operation name="getPartitionGroups"> <soap12:operation soapAction="urn:getPartitionGroups" style="document"></soap12:operation> <wsdl:input> @@ -896,8 +981,8 @@ <mime:content type="text/xml" part="parameters"></mime:content> </wsdl:output> </wsdl:operation> - <wsdl:operation name="getAllAutoScalingPolicy"> - <http:operation location="getAllAutoScalingPolicy"></http:operation> + <wsdl:operation name="getDefaultLBClusterId"> + <http:operation location="getDefaultLBClusterId"></http:operation> <wsdl:input> <mime:content type="text/xml" part="parameters"></mime:content> </wsdl:input> @@ -914,6 +999,15 @@ <mime:content type="text/xml" part="parameters"></mime:content> </wsdl:output> </wsdl:operation> + <wsdl:operation name="getAllAutoScalingPolicy"> + <http:operation location="getAllAutoScalingPolicy"></http:operation> + <wsdl:input> + <mime:content type="text/xml" part="parameters"></mime:content> + </wsdl:input> + <wsdl:output> + <mime:content type="text/xml" part="parameters"></mime:content> + </wsdl:output> + </wsdl:operation> <wsdl:operation name="getDeploymentPolicy"> <http:operation location="getDeploymentPolicy"></http:operation> <wsdl:input> @@ -1022,6 +1116,15 @@ <mime:content type="text/xml" part="parameters"></mime:content> </wsdl:output> </wsdl:operation> + <wsdl:operation name="getServiceLBClusterId"> + <http:operation location="getServiceLBClusterId"></http:operation> + <wsdl:input> + <mime:content type="text/xml" part="parameters"></mime:content> + </wsdl:input> + <wsdl:output> + <mime:content type="text/xml" part="parameters"></mime:content> + </wsdl:output> + </wsdl:operation> <wsdl:operation name="getPartitionGroups"> <http:operation location="getPartitionGroups"></http:operation> <wsdl:input>
