You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stratos.apache.org by ra...@apache.org on 2015/03/20 12:21:59 UTC
[1/6] stratos git commit: updating wsdls
Repository: stratos
Updated Branches:
refs/heads/master 85f99e174 -> decd0a3a8
updating wsdls
Project: http://git-wip-us.apache.org/repos/asf/stratos/repo
Commit: http://git-wip-us.apache.org/repos/asf/stratos/commit/decd0a3a
Tree: http://git-wip-us.apache.org/repos/asf/stratos/tree/decd0a3a
Diff: http://git-wip-us.apache.org/repos/asf/stratos/diff/decd0a3a
Branch: refs/heads/master
Commit: decd0a3a887115101f87806da27b56b86399d6f4
Parents: 7ef5583
Author: R-Rajkumar <rr...@gmail.com>
Authored: Fri Mar 20 16:50:24 2015 +0530
Committer: R-Rajkumar <rr...@gmail.com>
Committed: Fri Mar 20 16:50:52 2015 +0530
----------------------------------------------------------------------
.../src/main/resources/AutoscalerService.wsdl | 299 ++++++++++---------
.../main/resources/CloudControllerService.wsdl | 140 ++++-----
2 files changed, 221 insertions(+), 218 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/stratos/blob/decd0a3a/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 6648ec1..cc0b2ea 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
@@ -1,11 +1,11 @@
-<wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:ax29="http://common.stratos.apache.org/xsd" xmlns:ax27="http://exception.autoscaler.stratos.apache.org/xsd" xmlns:ns="http://impl.services.autoscaler.stratos.apache.org" xmlns:ax25="http://policy.exception.autoscaler.stratos.apache.org/xsd" xmlns:ax23="http://autoscale.policy.pojo.autoscaler.stratos.apache.org/xsd" xmlns:ax217="http://io.java/xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:ax216="http://rmi.java/xsd" xmlns:ns1="http://org.apache.axis2/xsd" xmlns:ax220="http://deployment.policy.pojo.autoscaler.stratos.apache.org/xsd" xmlns:ax213="http://pojo.applications.autoscaler.stratos.apache.org/xsd" xmlns:ax223="http://pojo.autoscaler.stratos.apache.org/xsd" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:ax211="http://application.exception.autoscaler.stratos.apache.org/xsd" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:mime="ht
tp://schemas.xmlsoap.org/wsdl/mime/" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" targetNamespace="http://impl.services.autoscaler.stratos.apache.org">
+<wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:ax29="http://pojo.applications.autoscaler.stratos.apache.org/xsd" xmlns:ns="http://impl.services.autoscaler.stratos.apache.org" xmlns:ax27="http://application.exception.autoscaler.stratos.apache.org/xsd" xmlns:ax25="http://autoscale.policy.pojo.autoscaler.stratos.apache.org/xsd" xmlns:ax23="http://policy.exception.autoscaler.stratos.apache.org/xsd" xmlns:ax217="http://deployment.policy.pojo.autoscaler.stratos.apache.org/xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:ax214="http://io.java/xsd" xmlns:ax220="http://exception.autoscaler.stratos.apache.org/xsd" xmlns:ns1="http://org.apache.axis2/xsd" xmlns:ax213="http://rmi.java/xsd" xmlns:ax223="http://pojo.autoscaler.stratos.apache.org/xsd" xmlns:ax210="http://common.stratos.apache.org/xsd" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:mime="ht
tp://schemas.xmlsoap.org/wsdl/mime/" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" targetNamespace="http://impl.services.autoscaler.stratos.apache.org">
<wsdl:documentation>AutoscalerService</wsdl:documentation>
<wsdl:types>
- <xs:schema xmlns:ax218="http://io.java/xsd" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://rmi.java/xsd">
+ <xs:schema xmlns:ax215="http://io.java/xsd" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://rmi.java/xsd">
<xs:import namespace="http://io.java/xsd"></xs:import>
<xs:complexType name="RemoteException">
<xs:complexContent>
- <xs:extension base="ax217:IOException">
+ <xs:extension base="ax214:IOException">
<xs:sequence>
<xs:element minOccurs="0" name="cause" nillable="true" type="xs:anyType"></xs:element>
<xs:element minOccurs="0" name="message" nillable="true" type="xs:string"></xs:element>
@@ -22,7 +22,7 @@
<xs:element minOccurs="0" name="id" nillable="true" type="xs:string"></xs:element>
<xs:element minOccurs="0" name="instanceRoundingFactor" type="xs:float"></xs:element>
<xs:element minOccurs="0" name="isPublic" type="xs:boolean"></xs:element>
- <xs:element minOccurs="0" name="loadThresholds" nillable="true" type="ax23:LoadThresholds"></xs:element>
+ <xs:element minOccurs="0" name="loadThresholds" nillable="true" type="ax25:LoadThresholds"></xs:element>
<xs:element minOccurs="0" name="tenantId" type="xs:int"></xs:element>
</xs:sequence>
</xs:complexType>
@@ -34,17 +34,17 @@
</xs:sequence>
</xs:complexType>
</xs:schema>
- <xs:schema xmlns:ax214="http://common.stratos.apache.org/xsd" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://pojo.applications.autoscaler.stratos.apache.org/xsd">
+ <xs:schema xmlns:ax211="http://common.stratos.apache.org/xsd" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://pojo.applications.autoscaler.stratos.apache.org/xsd">
<xs:import namespace="http://common.stratos.apache.org/xsd"></xs:import>
<xs:complexType name="ApplicationContext">
<xs:sequence>
<xs:element minOccurs="0" name="alias" nillable="true" type="xs:string"></xs:element>
<xs:element minOccurs="0" name="applicationId" nillable="true" type="xs:string"></xs:element>
- <xs:element minOccurs="0" name="components" nillable="true" type="ax213:ComponentContext"></xs:element>
+ <xs:element minOccurs="0" name="components" nillable="true" type="ax29:ComponentContext"></xs:element>
<xs:element minOccurs="0" name="description" nillable="true" type="xs:string"></xs:element>
<xs:element minOccurs="0" name="multiTenant" type="xs:boolean"></xs:element>
<xs:element minOccurs="0" name="name" nillable="true" type="xs:string"></xs:element>
- <xs:element minOccurs="0" name="properties" nillable="true" type="ax29:Properties"></xs:element>
+ <xs:element minOccurs="0" name="properties" nillable="true" type="ax210:Properties"></xs:element>
<xs:element minOccurs="0" name="status" nillable="true" type="xs:string"></xs:element>
<xs:element minOccurs="0" name="tenantAdminUsername" nillable="true" type="xs:string"></xs:element>
<xs:element minOccurs="0" name="tenantDomain" nillable="true" type="xs:string"></xs:element>
@@ -53,10 +53,10 @@
</xs:complexType>
<xs:complexType name="ComponentContext">
<xs:sequence>
- <xs:element maxOccurs="unbounded" minOccurs="0" name="applicationClusterContexts" nillable="true" type="ax213:ApplicationClusterContext"></xs:element>
- <xs:element maxOccurs="unbounded" minOccurs="0" name="cartridgeContexts" nillable="true" type="ax213:CartridgeContext"></xs:element>
- <xs:element minOccurs="0" name="dependencyContext" nillable="true" type="ax213:DependencyContext"></xs:element>
- <xs:element maxOccurs="unbounded" minOccurs="0" name="groupContexts" nillable="true" type="ax213:GroupContext"></xs:element>
+ <xs:element maxOccurs="unbounded" minOccurs="0" name="applicationClusterContexts" nillable="true" type="ax29:ApplicationClusterContext"></xs:element>
+ <xs:element maxOccurs="unbounded" minOccurs="0" name="cartridgeContexts" nillable="true" type="ax29:CartridgeContext"></xs:element>
+ <xs:element minOccurs="0" name="dependencyContext" nillable="true" type="ax29:DependencyContext"></xs:element>
+ <xs:element maxOccurs="unbounded" minOccurs="0" name="groupContexts" nillable="true" type="ax29:GroupContext"></xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="ApplicationClusterContext">
@@ -67,30 +67,49 @@
<xs:element maxOccurs="unbounded" minOccurs="0" name="dependencyClusterIds" nillable="true" type="xs:string"></xs:element>
<xs:element minOccurs="0" name="deploymentPolicyName" nillable="true" type="xs:string"></xs:element>
<xs:element minOccurs="0" name="hostName" nillable="true" type="xs:string"></xs:element>
- <xs:element minOccurs="0" name="properties" nillable="true" type="ax29:Properties"></xs:element>
+ <xs:element minOccurs="0" name="persistenceContext" nillable="true" type="ax29:PersistenceContext"></xs:element>
+ <xs:element minOccurs="0" name="properties" nillable="true" type="ax210:Properties"></xs:element>
<xs:element minOccurs="0" name="tenantRange" nillable="true" type="xs:string"></xs:element>
<xs:element minOccurs="0" name="textPayload" nillable="true" type="xs:string"></xs:element>
</xs:sequence>
</xs:complexType>
+ <xs:complexType name="PersistenceContext">
+ <xs:sequence>
+ <xs:element minOccurs="0" name="persistenceRequired" type="xs:boolean"></xs:element>
+ <xs:element maxOccurs="unbounded" minOccurs="0" name="volumes" nillable="true" type="ax29:VolumeContext"></xs:element>
+ </xs:sequence>
+ </xs:complexType>
+ <xs:complexType name="VolumeContext">
+ <xs:sequence>
+ <xs:element minOccurs="0" name="device" nillable="true" type="xs:string"></xs:element>
+ <xs:element minOccurs="0" name="iaasType" nillable="true" type="xs:string"></xs:element>
+ <xs:element minOccurs="0" name="id" nillable="true" type="xs:string"></xs:element>
+ <xs:element minOccurs="0" name="mappingPath" nillable="true" type="xs:string"></xs:element>
+ <xs:element minOccurs="0" name="removeOntermination" type="xs:boolean"></xs:element>
+ <xs:element minOccurs="0" name="size" type="xs:int"></xs:element>
+ <xs:element minOccurs="0" name="snapshotId" nillable="true" type="xs:string"></xs:element>
+ <xs:element minOccurs="0" name="volumeId" nillable="true" type="xs:string"></xs:element>
+ </xs:sequence>
+ </xs:complexType>
<xs:complexType name="CartridgeContext">
<xs:sequence>
<xs:element minOccurs="0" name="cartridgeMax" type="xs:int"></xs:element>
<xs:element minOccurs="0" name="cartridgeMin" type="xs:int"></xs:element>
- <xs:element minOccurs="0" name="subscribableInfoContext" nillable="true" type="ax213:SubscribableInfoContext"></xs:element>
+ <xs:element minOccurs="0" name="subscribableInfoContext" nillable="true" type="ax29:SubscribableInfoContext"></xs:element>
<xs:element minOccurs="0" name="type" nillable="true" type="xs:string"></xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="SubscribableInfoContext">
<xs:sequence>
<xs:element minOccurs="0" name="alias" nillable="true" type="xs:string"></xs:element>
- <xs:element minOccurs="0" name="artifactRepositoryContext" nillable="true" type="ax213:ArtifactRepositoryContext"></xs:element>
+ <xs:element minOccurs="0" name="artifactRepositoryContext" nillable="true" type="ax29:ArtifactRepositoryContext"></xs:element>
<xs:element minOccurs="0" name="autoscalingPolicy" nillable="true" type="xs:string"></xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" name="dependencyAliases" nillable="true" type="xs:string"></xs:element>
<xs:element minOccurs="0" name="deploymentPolicy" nillable="true" type="xs:string"></xs:element>
<xs:element minOccurs="0" name="maxMembers" type="xs:int"></xs:element>
<xs:element minOccurs="0" name="minMembers" type="xs:int"></xs:element>
- <xs:element minOccurs="0" name="persistenceContext" nillable="true" type="ax213:PersistenceContext"></xs:element>
- <xs:element minOccurs="0" name="properties" nillable="true" type="ax29:Properties"></xs:element>
+ <xs:element minOccurs="0" name="persistenceContext" nillable="true" type="ax29:PersistenceContext"></xs:element>
+ <xs:element minOccurs="0" name="properties" nillable="true" type="ax210:Properties"></xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="ArtifactRepositoryContext">
@@ -102,24 +121,6 @@
<xs:element minOccurs="0" name="repoUsername" nillable="true" type="xs:string"></xs:element>
</xs:sequence>
</xs:complexType>
- <xs:complexType name="PersistenceContext">
- <xs:sequence>
- <xs:element minOccurs="0" name="persistenceRequired" type="xs:boolean"></xs:element>
- <xs:element maxOccurs="unbounded" minOccurs="0" name="volumes" nillable="true" type="ax213:VolumeContext"></xs:element>
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="VolumeContext">
- <xs:sequence>
- <xs:element minOccurs="0" name="device" nillable="true" type="xs:string"></xs:element>
- <xs:element minOccurs="0" name="iaasType" nillable="true" type="xs:string"></xs:element>
- <xs:element minOccurs="0" name="id" nillable="true" type="xs:string"></xs:element>
- <xs:element minOccurs="0" name="mappingPath" nillable="true" type="xs:string"></xs:element>
- <xs:element minOccurs="0" name="removeOntermination" type="xs:boolean"></xs:element>
- <xs:element minOccurs="0" name="size" type="xs:int"></xs:element>
- <xs:element minOccurs="0" name="snapshotId" nillable="true" type="xs:string"></xs:element>
- <xs:element minOccurs="0" name="volumeId" nillable="true" type="xs:string"></xs:element>
- </xs:sequence>
- </xs:complexType>
<xs:complexType name="DependencyContext">
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" name="scalingDependents" nillable="true" type="xs:string"></xs:element>
@@ -130,9 +131,9 @@
<xs:complexType name="GroupContext">
<xs:sequence>
<xs:element minOccurs="0" name="alias" nillable="true" type="xs:string"></xs:element>
- <xs:element maxOccurs="unbounded" minOccurs="0" name="cartridgeContexts" nillable="true" type="ax213:CartridgeContext"></xs:element>
+ <xs:element maxOccurs="unbounded" minOccurs="0" name="cartridgeContexts" nillable="true" type="ax29:CartridgeContext"></xs:element>
<xs:element minOccurs="0" name="deploymentPolicy" nillable="true" type="xs:string"></xs:element>
- <xs:element maxOccurs="unbounded" minOccurs="0" name="groupContexts" nillable="true" type="ax213:GroupContext"></xs:element>
+ <xs:element maxOccurs="unbounded" minOccurs="0" name="groupContexts" nillable="true" type="ax29:GroupContext"></xs:element>
<xs:element minOccurs="0" name="groupMaxInstances" type="xs:int"></xs:element>
<xs:element minOccurs="0" name="groupMinInstances" type="xs:int"></xs:element>
<xs:element minOccurs="0" name="groupScalingEnabled" type="xs:boolean"></xs:element>
@@ -158,7 +159,7 @@
</xs:sequence>
</xs:complexType>
</xs:schema>
- <xs:schema xmlns:ax221="http://common.stratos.apache.org/xsd" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://deployment.policy.pojo.autoscaler.stratos.apache.org/xsd">
+ <xs:schema xmlns:ax218="http://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>
<xs:complexType name="ApplicationPolicy">
<xs:sequence>
@@ -166,43 +167,31 @@
<xs:element minOccurs="0" name="id" nillable="true" type="xs:string"></xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" name="networkPartitionGroups" nillable="true" type="xs:string"></xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" name="networkPartitions" nillable="true" type="xs:string"></xs:element>
- <xs:element minOccurs="0" name="properties" nillable="true" type="ax29:Properties"></xs:element>
+ <xs:element minOccurs="0" name="properties" nillable="true" type="ax218:Properties"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:schema>
- <xs:schema xmlns:ax215="http://pojo.applications.autoscaler.stratos.apache.org/xsd" xmlns:ax212="http://application.exception.autoscaler.stratos.apache.org/xsd" xmlns:ax222="http://deployment.policy.pojo.autoscaler.stratos.apache.org/xsd" xmlns:ax28="http://exception.autoscaler.stratos.apache.org/xsd" xmlns:ax210="http://common.stratos.apache.org/xsd" xmlns:ax224="http://pojo.autoscaler.stratos.apache.org/xsd" xmlns:ax26="http://policy.exception.autoscaler.stratos.apache.org/xsd" xmlns:ax24="http://autoscale.policy.pojo.autoscaler.stratos.apache.org/xsd" xmlns:ax219="http://rmi.java/xsd" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://impl.services.autoscaler.stratos.apache.org">
- <xs:import namespace="http://autoscale.policy.pojo.autoscaler.stratos.apache.org/xsd"></xs:import>
+ <xs:schema xmlns:ax221="http://exception.autoscaler.stratos.apache.org/xsd" xmlns:ax212="http://pojo.applications.autoscaler.stratos.apache.org/xsd" xmlns:ax222="http://common.stratos.apache.org/xsd" xmlns:ax28="http://application.exception.autoscaler.stratos.apache.org/xsd" xmlns:ax224="http://pojo.autoscaler.stratos.apache.org/xsd" xmlns:ax26="http://autoscale.policy.pojo.autoscaler.stratos.apache.org/xsd" xmlns:ax24="http://policy.exception.autoscaler.stratos.apache.org/xsd" xmlns:ax216="http://rmi.java/xsd" xmlns:ax219="http://deployment.policy.pojo.autoscaler.stratos.apache.org/xsd" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://impl.services.autoscaler.stratos.apache.org">
<xs:import namespace="http://policy.exception.autoscaler.stratos.apache.org/xsd"></xs:import>
- <xs:import namespace="http://exception.autoscaler.stratos.apache.org/xsd"></xs:import>
- <xs:import namespace="http://common.stratos.apache.org/xsd"></xs:import>
+ <xs:import namespace="http://autoscale.policy.pojo.autoscaler.stratos.apache.org/xsd"></xs:import>
<xs:import namespace="http://application.exception.autoscaler.stratos.apache.org/xsd"></xs:import>
<xs:import namespace="http://pojo.applications.autoscaler.stratos.apache.org/xsd"></xs:import>
<xs:import namespace="http://rmi.java/xsd"></xs:import>
<xs:import namespace="http://deployment.policy.pojo.autoscaler.stratos.apache.org/xsd"></xs:import>
+ <xs:import namespace="http://exception.autoscaler.stratos.apache.org/xsd"></xs:import>
+ <xs:import namespace="http://common.stratos.apache.org/xsd"></xs:import>
<xs:import namespace="http://pojo.autoscaler.stratos.apache.org/xsd"></xs:import>
- <xs:element name="getAutoScalingPolicies">
- <xs:complexType>
- <xs:sequence></xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="getAutoScalingPoliciesResponse">
- <xs:complexType>
- <xs:sequence>
- <xs:element maxOccurs="unbounded" minOccurs="0" name="return" nillable="true" type="ax23:AutoscalePolicy"></xs:element>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
<xs:element name="AutoscalerServiceInvalidPolicyException">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="InvalidPolicyException" nillable="true" type="ax25:InvalidPolicyException"></xs:element>
+ <xs:element minOccurs="0" name="InvalidPolicyException" nillable="true" type="ax23:InvalidPolicyException"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="addAutoScalingPolicy">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="autoscalePolicy" nillable="true" type="ax23:AutoscalePolicy"></xs:element>
+ <xs:element minOccurs="0" name="autoscalePolicy" nillable="true" type="ax25:AutoscalePolicy"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
@@ -213,233 +202,245 @@
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="updateAutoScalingPolicy">
+ <xs:element name="getAutoScalingPolicies">
<xs:complexType>
- <xs:sequence>
- <xs:element minOccurs="0" name="autoscalePolicy" nillable="true" type="ax23:AutoscalePolicy"></xs:element>
- </xs:sequence>
+ <xs:sequence></xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="updateAutoScalingPolicyResponse">
+ <xs:element name="getAutoScalingPoliciesResponse">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="return" type="xs:boolean"></xs:element>
+ <xs:element maxOccurs="unbounded" minOccurs="0" name="return" nillable="true" type="ax25:AutoscalePolicy"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="removeAutoScalingPolicy">
+ <xs:element name="AutoscalerServiceApplicationDefinitionException">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="autoscalePolicyId" nillable="true" type="xs:string"></xs:element>
+ <xs:element minOccurs="0" name="ApplicationDefinitionException" nillable="true" type="ax27:ApplicationDefinitionException"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="removeAutoScalingPolicyResponse">
+ <xs:element name="addApplication">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="return" type="xs:boolean"></xs:element>
+ <xs:element minOccurs="0" name="applicationContext" nillable="true" type="ax29:ApplicationContext"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="AutoscalerServiceInvalidArgumentException">
+ <xs:element name="getApplications">
+ <xs:complexType>
+ <xs:sequence></xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="getApplicationsResponse">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="InvalidArgumentException" nillable="true" type="ax27:InvalidArgumentException"></xs:element>
+ <xs:element maxOccurs="unbounded" minOccurs="0" name="return" nillable="true" type="ax29:ApplicationContext"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="updateClusterMonitor">
+ <xs:element name="deployApplication">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="clusterId" nillable="true" type="xs:string"></xs:element>
- <xs:element minOccurs="0" name="properties" nillable="true" type="ax29:Properties"></xs:element>
+ <xs:element minOccurs="0" name="applicationId" nillable="true" type="xs:string"></xs:element>
+ <xs:element minOccurs="0" name="applicationPolicyId" nillable="true" type="xs:string"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="findClusterId">
+ <xs:element name="deployApplicationResponse">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="applicationId" nillable="true" type="xs:string"></xs:element>
- <xs:element minOccurs="0" name="alias" nillable="true" type="xs:string"></xs:element>
+ <xs:element minOccurs="0" name="return" type="xs:boolean"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="findClusterIdResponse">
+ <xs:element name="AutoscalerServiceRemoteException">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="return" nillable="true" type="xs:string"></xs:element>
+ <xs:element minOccurs="0" name="RemoteException" nillable="true" type="ax216:RemoteException"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="serviceGroupExist">
+ <xs:element name="AutoscalerServiceInvalidApplicationPolicyException">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="serviceName" nillable="true" type="xs:string"></xs:element>
+ <xs:element minOccurs="0" name="InvalidApplicationPolicyException" nillable="true" type="ax27:InvalidApplicationPolicyException"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="serviceGroupExistResponse">
+ <xs:element name="addApplicationPolicy">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="return" type="xs:boolean"></xs:element>
+ <xs:element minOccurs="0" name="applicationPolicy" nillable="true" type="ax217:ApplicationPolicy"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="AutoscalerServiceAutoScalerException">
+ <xs:element name="getApplicationPolicy">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="AutoScalerException" nillable="true" type="ax27:AutoScalerException"></xs:element>
+ <xs:element minOccurs="0" name="applicationPolicyId" nillable="true" type="xs:string"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="undeployServiceGroup">
+ <xs:element name="getApplicationPolicyResponse">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="name" nillable="true" type="xs:string"></xs:element>
+ <xs:element minOccurs="0" name="return" nillable="true" type="ax217:ApplicationPolicy"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="AutoscalerServiceApplicationDefinitionException">
+ <xs:element name="getApplicationPolicies">
+ <xs:complexType>
+ <xs:sequence></xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="getApplicationPoliciesResponse">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="ApplicationDefinitionException" nillable="true" type="ax212:ApplicationDefinitionException"></xs:element>
+ <xs:element maxOccurs="unbounded" minOccurs="0" name="return" nillable="true" type="ax217:ApplicationPolicy"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="addApplication">
+ <xs:element name="removeApplicationPolicy">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="applicationContext" nillable="true" type="ax215:ApplicationContext"></xs:element>
+ <xs:element minOccurs="0" name="applicationPolicyId" nillable="true" type="xs:string"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="getApplications">
+ <xs:element name="AutoscalerServiceApplicatioinPolicyNotExistsException">
<xs:complexType>
- <xs:sequence></xs:sequence>
+ <xs:sequence>
+ <xs:element minOccurs="0" name="ApplicatioinPolicyNotExistsException" nillable="true" type="ax23:ApplicatioinPolicyNotExistsException"></xs:element>
+ </xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="getApplicationsResponse">
+ <xs:element name="updateApplicationPolicy">
<xs:complexType>
<xs:sequence>
- <xs:element maxOccurs="unbounded" minOccurs="0" name="return" nillable="true" type="ax215:ApplicationContext"></xs:element>
+ <xs:element minOccurs="0" name="applicationPolicy" nillable="true" type="ax217:ApplicationPolicy"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="deployApplication">
+ <xs:element name="AutoscalerServiceAutoScalerException">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="applicationId" nillable="true" type="xs:string"></xs:element>
- <xs:element minOccurs="0" name="applicationPolicyId" nillable="true" type="xs:string"></xs:element>
+ <xs:element minOccurs="0" name="AutoScalerException" nillable="true" type="ax220:AutoScalerException"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="deployApplicationResponse">
+ <xs:element name="getApplicationNetworkPartitions">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="return" type="xs:boolean"></xs:element>
+ <xs:element minOccurs="0" name="applicationId" nillable="true" type="xs:string"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="AutoscalerServiceRemoteException">
+ <xs:element name="getApplicationNetworkPartitionsResponse">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="RemoteException" nillable="true" type="ax216:RemoteException"></xs:element>
+ <xs:element maxOccurs="unbounded" minOccurs="0" name="return" nillable="true" type="xs:string"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="AutoscalerServiceInvalidApplicationPolicyException">
+ <xs:element name="undeployApplication">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="InvalidApplicationPolicyException" nillable="true" type="ax212:InvalidApplicationPolicyException"></xs:element>
+ <xs:element minOccurs="0" name="applicationId" nillable="true" type="xs:string"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="addApplicationPolicy">
+ <xs:element name="getAutoscalingPolicy">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="applicationPolicy" nillable="true" type="ax220:ApplicationPolicy"></xs:element>
+ <xs:element minOccurs="0" name="autoscalingPolicyId" nillable="true" type="xs:string"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="getApplicationPolicy">
+ <xs:element name="getAutoscalingPolicyResponse">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="applicationPolicyId" nillable="true" type="xs:string"></xs:element>
+ <xs:element minOccurs="0" name="return" nillable="true" type="ax25:AutoscalePolicy"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="getApplicationPolicyResponse">
+ <xs:element name="updateAutoScalingPolicy">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="return" nillable="true" type="ax220:ApplicationPolicy"></xs:element>
+ <xs:element minOccurs="0" name="autoscalePolicy" nillable="true" type="ax25:AutoscalePolicy"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="getApplicationPolicies">
+ <xs:element name="updateAutoScalingPolicyResponse">
<xs:complexType>
- <xs:sequence></xs:sequence>
+ <xs:sequence>
+ <xs:element minOccurs="0" name="return" type="xs:boolean"></xs:element>
+ </xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="getApplicationPoliciesResponse">
+ <xs:element name="removeAutoScalingPolicy">
<xs:complexType>
<xs:sequence>
- <xs:element maxOccurs="unbounded" minOccurs="0" name="return" nillable="true" type="ax220:ApplicationPolicy"></xs:element>
+ <xs:element minOccurs="0" name="autoscalePolicyId" nillable="true" type="xs:string"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="removeApplicationPolicy">
+ <xs:element name="removeAutoScalingPolicyResponse">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="applicationPolicyId" nillable="true" type="xs:string"></xs:element>
+ <xs:element minOccurs="0" name="return" type="xs:boolean"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="AutoscalerServiceApplicatioinPolicyNotExistsException">
+ <xs:element name="AutoscalerServiceInvalidArgumentException">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="ApplicatioinPolicyNotExistsException" nillable="true" type="ax25:ApplicatioinPolicyNotExistsException"></xs:element>
+ <xs:element minOccurs="0" name="InvalidArgumentException" nillable="true" type="ax220:InvalidArgumentException"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="updateApplicationPolicy">
+ <xs:element name="updateClusterMonitor">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="applicationPolicy" nillable="true" type="ax220:ApplicationPolicy"></xs:element>
+ <xs:element minOccurs="0" name="clusterId" nillable="true" type="xs:string"></xs:element>
+ <xs:element minOccurs="0" name="properties" nillable="true" type="ax222:Properties"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="getApplicationNetworkPartitions">
+ <xs:element name="findClusterId">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="applicationId" nillable="true" type="xs:string"></xs:element>
+ <xs:element minOccurs="0" name="alias" nillable="true" type="xs:string"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="getApplicationNetworkPartitionsResponse">
+ <xs:element name="findClusterIdResponse">
<xs:complexType>
<xs:sequence>
- <xs:element maxOccurs="unbounded" minOccurs="0" name="return" nillable="true" type="xs:string"></xs:element>
+ <xs:element minOccurs="0" name="return" nillable="true" type="xs:string"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="undeployApplication">
+ <xs:element name="serviceGroupExist">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="applicationId" nillable="true" type="xs:string"></xs:element>
+ <xs:element minOccurs="0" name="serviceName" nillable="true" type="xs:string"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="getAutoscalingPolicy">
+ <xs:element name="serviceGroupExistResponse">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="autoscalingPolicyId" nillable="true" type="xs:string"></xs:element>
+ <xs:element minOccurs="0" name="return" type="xs:boolean"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="getAutoscalingPolicyResponse">
+ <xs:element name="undeployServiceGroup">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="return" nillable="true" type="ax23:AutoscalePolicy"></xs:element>
+ <xs:element minOccurs="0" name="name" nillable="true" type="xs:string"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
@@ -460,54 +461,54 @@
<xs:element name="getApplicationResponse">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="return" nillable="true" type="ax215:ApplicationContext"></xs:element>
+ <xs:element minOccurs="0" name="return" nillable="true" type="ax29:ApplicationContext"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="getServiceGroup">
+ <xs:element name="AutoscalerServiceInvalidServiceGroupException">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="name" nillable="true" type="xs:string"></xs:element>
+ <xs:element minOccurs="0" name="InvalidServiceGroupException" nillable="true" type="ax27:InvalidServiceGroupException"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="getServiceGroupResponse">
+ <xs:element name="addServiceGroup">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="return" nillable="true" type="ax223:ServiceGroup"></xs:element>
+ <xs:element minOccurs="0" name="servicegroup" nillable="true" type="ax223:ServiceGroup"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="getServiceGroups">
+ <xs:element name="removeServiceGroup">
<xs:complexType>
- <xs:sequence></xs:sequence>
+ <xs:sequence>
+ <xs:element minOccurs="0" name="groupName" nillable="true" type="xs:string"></xs:element>
+ </xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="getServiceGroupsResponse">
+ <xs:element name="getServiceGroup">
<xs:complexType>
<xs:sequence>
- <xs:element maxOccurs="unbounded" minOccurs="0" name="return" nillable="true" type="ax223:ServiceGroup"></xs:element>
+ <xs:element minOccurs="0" name="name" nillable="true" type="xs:string"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="AutoscalerServiceInvalidServiceGroupException">
+ <xs:element name="getServiceGroupResponse">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="InvalidServiceGroupException" nillable="true" type="ax212:InvalidServiceGroupException"></xs:element>
+ <xs:element minOccurs="0" name="return" nillable="true" type="ax223:ServiceGroup"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="addServiceGroup">
+ <xs:element name="getServiceGroups">
<xs:complexType>
- <xs:sequence>
- <xs:element minOccurs="0" name="servicegroup" nillable="true" type="ax223:ServiceGroup"></xs:element>
- </xs:sequence>
+ <xs:sequence></xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="removeServiceGroup">
+ <xs:element name="getServiceGroupsResponse">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="groupName" nillable="true" type="xs:string"></xs:element>
+ <xs:element maxOccurs="unbounded" minOccurs="0" name="return" nillable="true" type="ax223:ServiceGroup"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
@@ -532,7 +533,7 @@
<xs:schema attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://common.stratos.apache.org/xsd">
<xs:complexType name="Properties">
<xs:sequence>
- <xs:element maxOccurs="unbounded" minOccurs="0" name="properties" nillable="true" type="ax29:Property"></xs:element>
+ <xs:element maxOccurs="unbounded" minOccurs="0" name="properties" nillable="true" type="ax210:Property"></xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="Property">
@@ -560,11 +561,6 @@
</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:element>
- </xs:sequence>
- </xs:complexType>
<xs:complexType name="AutoScalerException">
<xs:complexContent>
<xs:extension base="xs:RuntimeException">
@@ -572,6 +568,11 @@
</xs:extension>
</xs:complexContent>
</xs:complexType>
+ <xs:complexType name="InvalidArgumentException">
+ <xs:sequence>
+ <xs:element minOccurs="0" name="message" nillable="true" type="xs:string"></xs:element>
+ </xs:sequence>
+ </xs:complexType>
</xs:schema>
</wsdl:types>
<wsdl:message name="removeAutoScalingPolicyRequest">
http://git-wip-us.apache.org/repos/asf/stratos/blob/decd0a3a/service-stubs/org.apache.stratos.cloud.controller.service.stub/src/main/resources/CloudControllerService.wsdl
----------------------------------------------------------------------
diff --git a/service-stubs/org.apache.stratos.cloud.controller.service.stub/src/main/resources/CloudControllerService.wsdl b/service-stubs/org.apache.stratos.cloud.controller.service.stub/src/main/resources/CloudControllerService.wsdl
index f417084..0ff10a1 100644
--- a/service-stubs/org.apache.stratos.cloud.controller.service.stub/src/main/resources/CloudControllerService.wsdl
+++ b/service-stubs/org.apache.stratos.cloud.controller.service.stub/src/main/resources/CloudControllerService.wsdl
@@ -322,22 +322,24 @@
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="getDeploymentPolicies">
+ <xs:element name="CloudControllerServiceInvalidCartridgeDefinitionException">
<xs:complexType>
- <xs:sequence></xs:sequence>
+ <xs:sequence>
+ <xs:element minOccurs="0" name="InvalidCartridgeDefinitionException" nillable="true" type="ax225:InvalidCartridgeDefinitionException"></xs:element>
+ </xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="getDeploymentPoliciesResponse">
+ <xs:element name="CloudControllerServiceCartridgeAlreadyExistsException">
<xs:complexType>
<xs:sequence>
- <xs:element maxOccurs="unbounded" minOccurs="0" name="return" nillable="true" type="ax228:DeploymentPolicy"></xs:element>
+ <xs:element minOccurs="0" name="CartridgeAlreadyExistsException" nillable="true" type="ax225:CartridgeAlreadyExistsException"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="CloudControllerServiceInvalidCartridgeDefinitionException">
+ <xs:element name="addCartridge">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="InvalidCartridgeDefinitionException" nillable="true" type="ax225:InvalidCartridgeDefinitionException"></xs:element>
+ <xs:element minOccurs="0" name="cartridgeConfig" nillable="true" type="ax228:CartridgeConfig"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
@@ -506,17 +508,15 @@
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="CloudControllerServiceCartridgeAlreadyExistsException">
+ <xs:element name="getDeploymentPolicies">
<xs:complexType>
- <xs:sequence>
- <xs:element minOccurs="0" name="CartridgeAlreadyExistsException" nillable="true" type="ax225:CartridgeAlreadyExistsException"></xs:element>
- </xs:sequence>
+ <xs:sequence></xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="addCartridge">
+ <xs:element name="getDeploymentPoliciesResponse">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="cartridgeConfig" nillable="true" type="ax228:CartridgeConfig"></xs:element>
+ <xs:element maxOccurs="unbounded" minOccurs="0" name="return" nillable="true" type="ax228:DeploymentPolicy"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
@@ -583,20 +583,6 @@
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="CloudControllerServiceUnregisteredClusterException">
- <xs:complexType>
- <xs:sequence>
- <xs:element minOccurs="0" name="UnregisteredClusterException" nillable="true" type="ax225:UnregisteredClusterException"></xs:element>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="unregisterService">
- <xs:complexType>
- <xs:sequence>
- <xs:element minOccurs="0" name="clusterId" nillable="true" type="xs:string"></xs:element>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
<xs:element name="CloudControllerServiceInvalidMemberException">
<xs:complexType>
<xs:sequence>
@@ -625,17 +611,17 @@
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="getServiceGroup">
+ <xs:element name="CloudControllerServiceUnregisteredClusterException">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="name" nillable="true" type="xs:string"></xs:element>
+ <xs:element minOccurs="0" name="UnregisteredClusterException" nillable="true" type="ax225:UnregisteredClusterException"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="getServiceGroupResponse">
+ <xs:element name="unregisterService">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="return" nillable="true" type="ax228:ServiceGroup"></xs:element>
+ <xs:element minOccurs="0" name="clusterId" nillable="true" type="xs:string"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
@@ -653,6 +639,20 @@
</xs:sequence>
</xs:complexType>
</xs:element>
+ <xs:element name="getServiceGroup">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element minOccurs="0" name="name" nillable="true" type="xs:string"></xs:element>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="getServiceGroupResponse">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element minOccurs="0" name="return" nillable="true" type="ax228:ServiceGroup"></xs:element>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
<xs:element name="registerService">
<xs:complexType>
<xs:sequence>
@@ -759,6 +759,9 @@
<xs:element minOccurs="0" name="message" nillable="true" type="xs:string"></xs:element>
</xs:sequence>
</xs:complexType>
+ <xs:complexType name="CartridgeAlreadyExistsException">
+ <xs:sequence></xs:sequence>
+ </xs:complexType>
<xs:complexType name="CartridgeDefinitionNotExistsException">
<xs:sequence>
<xs:element minOccurs="0" name="message" nillable="true" type="xs:string"></xs:element>
@@ -790,20 +793,17 @@
<xs:element minOccurs="0" name="message" nillable="true" type="xs:string"></xs:element>
</xs:sequence>
</xs:complexType>
- <xs:complexType name="CartridgeAlreadyExistsException">
- <xs:sequence></xs:sequence>
- </xs:complexType>
<xs:complexType name="InvalidKubernetesClusterException">
<xs:sequence>
<xs:element minOccurs="0" name="message" nillable="true" type="xs:string"></xs:element>
</xs:sequence>
</xs:complexType>
- <xs:complexType name="UnregisteredClusterException">
+ <xs:complexType name="InvalidMemberException">
<xs:sequence>
<xs:element minOccurs="0" name="message" nillable="true" type="xs:string"></xs:element>
</xs:sequence>
</xs:complexType>
- <xs:complexType name="InvalidMemberException">
+ <xs:complexType name="UnregisteredClusterException">
<xs:sequence>
<xs:element minOccurs="0" name="message" nillable="true" type="xs:string"></xs:element>
</xs:sequence>
@@ -1017,6 +1017,8 @@
<xs:element minOccurs="0" name="properties" nillable="true" type="ax230:Properties"></xs:element>
<xs:element minOccurs="0" name="tenantRange" nillable="true" type="xs:string"></xs:element>
<xs:element minOccurs="0" name="textPayload" nillable="true" type="xs:string"></xs:element>
+ <xs:element minOccurs="0" name="volumeRequired" type="xs:boolean"></xs:element>
+ <xs:element maxOccurs="unbounded" minOccurs="0" name="volumes" nillable="true" type="ax227:Volume"></xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="DeploymentPolicy">
@@ -1402,18 +1404,18 @@
<wsdl:message name="removeCartridgeRequest">
<wsdl:part name="parameters" element="ns:removeCartridge"></wsdl:part>
</wsdl:message>
- <wsdl:message name="addCartridgeRequest">
- <wsdl:part name="parameters" element="ns:addCartridge"></wsdl:part>
- </wsdl:message>
- <wsdl:message name="CloudControllerServiceCartridgeAlreadyExistsException">
- <wsdl:part name="parameters" element="ns:CloudControllerServiceCartridgeAlreadyExistsException"></wsdl:part>
- </wsdl:message>
<wsdl:message name="getNetworkPartitionsRequest">
<wsdl:part name="parameters" element="ns:getNetworkPartitions"></wsdl:part>
</wsdl:message>
<wsdl:message name="getNetworkPartitionsResponse">
<wsdl:part name="parameters" element="ns:getNetworkPartitionsResponse"></wsdl:part>
</wsdl:message>
+ <wsdl:message name="addCartridgeRequest">
+ <wsdl:part name="parameters" element="ns:addCartridge"></wsdl:part>
+ </wsdl:message>
+ <wsdl:message name="CloudControllerServiceCartridgeAlreadyExistsException">
+ <wsdl:part name="parameters" element="ns:CloudControllerServiceCartridgeAlreadyExistsException"></wsdl:part>
+ </wsdl:message>
<wsdl:portType name="CloudControllerServicePortType">
<wsdl:operation name="getDeploymentPolicies">
<wsdl:input message="ns:getDeploymentPoliciesRequest" wsaw:Action="urn:getDeploymentPolicies"></wsdl:input>
@@ -1612,16 +1614,16 @@
<wsdl:input message="ns:removeCartridgeRequest" wsaw:Action="urn:removeCartridge"></wsdl:input>
<wsdl:fault message="ns:CloudControllerServiceInvalidCartridgeTypeException" name="CloudControllerServiceInvalidCartridgeTypeException" wsaw:Action="urn:removeCartridgeCloudControllerServiceInvalidCartridgeTypeException"></wsdl:fault>
</wsdl:operation>
+ <wsdl:operation name="getNetworkPartitions">
+ <wsdl:input message="ns:getNetworkPartitionsRequest" wsaw:Action="urn:getNetworkPartitions"></wsdl:input>
+ <wsdl:output message="ns:getNetworkPartitionsResponse" wsaw:Action="urn:getNetworkPartitionsResponse"></wsdl:output>
+ </wsdl:operation>
<wsdl:operation name="addCartridge">
<wsdl:input message="ns:addCartridgeRequest" wsaw:Action="urn:addCartridge"></wsdl:input>
<wsdl:fault message="ns:CloudControllerServiceInvalidCartridgeDefinitionException" name="CloudControllerServiceInvalidCartridgeDefinitionException" wsaw:Action="urn:addCartridgeCloudControllerServiceInvalidCartridgeDefinitionException"></wsdl:fault>
<wsdl:fault message="ns:CloudControllerServiceInvalidIaasProviderException" name="CloudControllerServiceInvalidIaasProviderException" wsaw:Action="urn:addCartridgeCloudControllerServiceInvalidIaasProviderException"></wsdl:fault>
<wsdl:fault message="ns:CloudControllerServiceCartridgeAlreadyExistsException" name="CloudControllerServiceCartridgeAlreadyExistsException" wsaw:Action="urn:addCartridgeCloudControllerServiceCartridgeAlreadyExistsException"></wsdl:fault>
</wsdl:operation>
- <wsdl:operation name="getNetworkPartitions">
- <wsdl:input message="ns:getNetworkPartitionsRequest" wsaw:Action="urn:getNetworkPartitions"></wsdl:input>
- <wsdl:output message="ns:getNetworkPartitionsResponse" wsaw:Action="urn:getNetworkPartitionsResponse"></wsdl:output>
- </wsdl:operation>
</wsdl:portType>
<wsdl:binding name="CloudControllerServiceSoap11Binding" type="ns:CloudControllerServicePortType">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"></soap:binding>
@@ -2093,15 +2095,6 @@
<soap:fault use="literal" name="CloudControllerServiceInvalidCartridgeTypeException"></soap:fault>
</wsdl:fault>
</wsdl:operation>
- <wsdl:operation name="getNetworkPartitions">
- <soap:operation soapAction="urn:getNetworkPartitions" 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="addCartridge">
<soap:operation soapAction="urn:addCartridge" style="document"></soap:operation>
<wsdl:input>
@@ -2117,6 +2110,15 @@
<soap:fault use="literal" name="CloudControllerServiceCartridgeAlreadyExistsException"></soap:fault>
</wsdl:fault>
</wsdl:operation>
+ <wsdl:operation name="getNetworkPartitions">
+ <soap:operation soapAction="urn:getNetworkPartitions" 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:binding>
<wsdl:binding name="CloudControllerServiceSoap12Binding" type="ns:CloudControllerServicePortType">
<soap12:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"></soap12:binding>
@@ -2588,15 +2590,6 @@
<soap12:fault use="literal" name="CloudControllerServiceInvalidCartridgeTypeException"></soap12:fault>
</wsdl:fault>
</wsdl:operation>
- <wsdl:operation name="getNetworkPartitions">
- <soap12:operation soapAction="urn:getNetworkPartitions" 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="addCartridge">
<soap12:operation soapAction="urn:addCartridge" style="document"></soap12:operation>
<wsdl:input>
@@ -2612,6 +2605,15 @@
<soap12:fault use="literal" name="CloudControllerServiceCartridgeAlreadyExistsException"></soap12:fault>
</wsdl:fault>
</wsdl:operation>
+ <wsdl:operation name="getNetworkPartitions">
+ <soap12:operation soapAction="urn:getNetworkPartitions" 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:binding>
<wsdl:binding name="CloudControllerServiceHttpBinding" type="ns:CloudControllerServicePortType">
<http:binding verb="POST"></http:binding>
@@ -2936,6 +2938,12 @@
<mime:content type="text/xml" part="parameters"></mime:content>
</wsdl:input>
</wsdl:operation>
+ <wsdl:operation name="addCartridge">
+ <http:operation location="addCartridge"></http:operation>
+ <wsdl:input>
+ <mime:content type="text/xml" part="parameters"></mime:content>
+ </wsdl:input>
+ </wsdl:operation>
<wsdl:operation name="getNetworkPartitions">
<http:operation location="getNetworkPartitions"></http:operation>
<wsdl:input>
@@ -2945,12 +2953,6 @@
<mime:content type="text/xml" part="parameters"></mime:content>
</wsdl:output>
</wsdl:operation>
- <wsdl:operation name="addCartridge">
- <http:operation location="addCartridge"></http:operation>
- <wsdl:input>
- <mime:content type="text/xml" part="parameters"></mime:content>
- </wsdl:input>
- </wsdl:operation>
</wsdl:binding>
<wsdl:service name="CloudControllerService">
<wsdl:port name="CloudControllerServiceHttpSoap11Endpoint" binding="ns:CloudControllerServiceSoap11Binding">
[6/6] stratos git commit: fixing an issue in cartridges/groups cache
Posted by ra...@apache.org.
fixing an issue in cartridges/groups cache
Project: http://git-wip-us.apache.org/repos/asf/stratos/repo
Commit: http://git-wip-us.apache.org/repos/asf/stratos/commit/7ef55833
Tree: http://git-wip-us.apache.org/repos/asf/stratos/tree/7ef55833
Diff: http://git-wip-us.apache.org/repos/asf/stratos/diff/7ef55833
Branch: refs/heads/master
Commit: 7ef558333a5dd177c674092d111f9516d7fae7f9
Parents: 85f99e1
Author: R-Rajkumar <rr...@gmail.com>
Authored: Fri Mar 20 16:10:21 2015 +0530
Committer: R-Rajkumar <rr...@gmail.com>
Committed: Fri Mar 20 16:50:52 2015 +0530
----------------------------------------------------------------------
.../rest/endpoint/api/StratosApiV41Utils.java | 1341 +++++-----
.../src/main/resources/AutoscalerService.wsdl | 1167 ++++-----
.../main/resources/CloudControllerService.wsdl | 2432 +++++++++---------
.../main/resources/StratosManagerService.wsdl | 646 ++---
4 files changed, 2820 insertions(+), 2766 deletions(-)
----------------------------------------------------------------------
[2/6] stratos git commit: fixing an issue in cartridges/groups cache
Posted by ra...@apache.org.
http://git-wip-us.apache.org/repos/asf/stratos/blob/7ef55833/service-stubs/org.apache.stratos.manager.service.stub/src/main/resources/StratosManagerService.wsdl
----------------------------------------------------------------------
diff --git a/service-stubs/org.apache.stratos.manager.service.stub/src/main/resources/StratosManagerService.wsdl b/service-stubs/org.apache.stratos.manager.service.stub/src/main/resources/StratosManagerService.wsdl
index c4346c0..31a0c49 100644
--- a/service-stubs/org.apache.stratos.manager.service.stub/src/main/resources/StratosManagerService.wsdl
+++ b/service-stubs/org.apache.stratos.manager.service.stub/src/main/resources/StratosManagerService.wsdl
@@ -1,868 +1,878 @@
-<?xml version="1.0" encoding="UTF-8"?><wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:ns1="http://org.apache.axis2/xsd" xmlns:ns="http://impl.services.manager.stratos.apache.org" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:ax23="http://signup.application.domain.messaging.stratos.apache.org/xsd" xmlns:ax21="http://exception.manager.stratos.apache.org/xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" 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.manager.stratos.apache.org">
+<wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:ns1="http://org.apache.axis2/xsd" xmlns:ns="http://impl.services.manager.stratos.apache.org" xmlns:ax240="http://signup.application.domain.messaging.stratos.apache.org/xsd" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:ax238="http://exception.manager.stratos.apache.org/xsd" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" targetNamespace="http://impl.services.manager.stratos.apache.org">
+ <wsdl:documentation>StratosManagerService</wsdl:documentation>
<wsdl:types>
<xs:schema attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://signup.application.domain.messaging.stratos.apache.org/xsd">
<xs:complexType name="ApplicationSignUp">
<xs:sequence>
- <xs:element minOccurs="0" name="applicationId" nillable="true" type="xs:string"/>
- <xs:element maxOccurs="unbounded" minOccurs="0" name="artifactRepositories" nillable="true" type="ax23:ArtifactRepository"/>
- <xs:element maxOccurs="unbounded" minOccurs="0" name="clusterIds" nillable="true" type="xs:string"/>
- <xs:element maxOccurs="unbounded" minOccurs="0" name="domainMappings" nillable="true" type="ax23:DomainMapping"/>
- <xs:element minOccurs="0" name="tenantId" type="xs:int"/>
+ <xs:element minOccurs="0" name="applicationId" nillable="true" type="xs:string"></xs:element>
+ <xs:element maxOccurs="unbounded" minOccurs="0" name="artifactRepositories" nillable="true" type="ax240:ArtifactRepository"></xs:element>
+ <xs:element maxOccurs="unbounded" minOccurs="0" name="clusterIds" nillable="true" type="xs:string"></xs:element>
+ <xs:element maxOccurs="unbounded" minOccurs="0" name="domainMappings" nillable="true" type="ax240:DomainMapping"></xs:element>
+ <xs:element minOccurs="0" name="tenantId" type="xs:int"></xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="ArtifactRepository">
<xs:sequence>
- <xs:element minOccurs="0" name="alias" nillable="true" type="xs:string"/>
- <xs:element minOccurs="0" name="cartridgeType" nillable="true" type="xs:string"/>
- <xs:element minOccurs="0" name="privateRepo" type="xs:boolean"/>
- <xs:element minOccurs="0" name="repoPassword" nillable="true" type="xs:string"/>
- <xs:element minOccurs="0" name="repoUrl" nillable="true" type="xs:string"/>
- <xs:element minOccurs="0" name="repoUsername" nillable="true" type="xs:string"/>
+ <xs:element minOccurs="0" name="alias" nillable="true" type="xs:string"></xs:element>
+ <xs:element minOccurs="0" name="cartridgeType" nillable="true" type="xs:string"></xs:element>
+ <xs:element minOccurs="0" name="privateRepo" type="xs:boolean"></xs:element>
+ <xs:element minOccurs="0" name="repoPassword" nillable="true" type="xs:string"></xs:element>
+ <xs:element minOccurs="0" name="repoUrl" nillable="true" type="xs:string"></xs:element>
+ <xs:element minOccurs="0" name="repoUsername" nillable="true" type="xs:string"></xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="DomainMapping">
<xs:sequence>
- <xs:element minOccurs="0" name="applicationId" nillable="true" type="xs:string"/>
- <xs:element minOccurs="0" name="clusterId" nillable="true" type="xs:string"/>
- <xs:element minOccurs="0" name="contextPath" nillable="true" type="xs:string"/>
- <xs:element minOccurs="0" name="domainName" nillable="true" type="xs:string"/>
- <xs:element minOccurs="0" name="serviceName" nillable="true" type="xs:string"/>
- <xs:element minOccurs="0" name="tenantId" type="xs:int"/>
+ <xs:element minOccurs="0" name="applicationId" nillable="true" type="xs:string"></xs:element>
+ <xs:element minOccurs="0" name="clusterId" nillable="true" type="xs:string"></xs:element>
+ <xs:element minOccurs="0" name="contextPath" nillable="true" type="xs:string"></xs:element>
+ <xs:element minOccurs="0" name="domainName" nillable="true" type="xs:string"></xs:element>
+ <xs:element minOccurs="0" name="serviceName" nillable="true" type="xs:string"></xs:element>
+ <xs:element minOccurs="0" name="tenantId" type="xs:int"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:schema>
- <xs:schema xmlns:ax24="http://signup.application.domain.messaging.stratos.apache.org/xsd" xmlns:ax22="http://exception.manager.stratos.apache.org/xsd" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://impl.services.manager.stratos.apache.org">
- <xs:import namespace="http://exception.manager.stratos.apache.org/xsd"/>
- <xs:import namespace="http://signup.application.domain.messaging.stratos.apache.org/xsd"/>
- <xs:element name="StratosManagerServiceApplicationSignUpException">
+ <xs:schema xmlns:ax241="http://signup.application.domain.messaging.stratos.apache.org/xsd" xmlns:ax239="http://exception.manager.stratos.apache.org/xsd" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://impl.services.manager.stratos.apache.org">
+ <xs:import namespace="http://exception.manager.stratos.apache.org/xsd"></xs:import>
+ <xs:import namespace="http://signup.application.domain.messaging.stratos.apache.org/xsd"></xs:import>
+ <xs:element name="StratosManagerServiceArtifactDistributionCoordinatorException">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="ApplicationSignUpException" nillable="true" type="ax21:ApplicationSignUpException"/>
+ <xs:element minOccurs="0" name="ArtifactDistributionCoordinatorException" nillable="true" type="ax238:ArtifactDistributionCoordinatorException"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="removeApplicationSignUp">
+ <xs:element name="notifyArtifactUpdatedEventForSignUp">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="applicationId" nillable="true" type="xs:string"/>
- <xs:element minOccurs="0" name="tenantId" type="xs:int"/>
+ <xs:element minOccurs="0" name="applicationId" nillable="true" type="xs:string"></xs:element>
+ <xs:element minOccurs="0" name="tenantId" type="xs:int"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="getApplicationSignUps">
+ <xs:element name="StratosManagerServiceApplicationSignUpException">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="applicationId" nillable="true" type="xs:string"/>
+ <xs:element minOccurs="0" name="ApplicationSignUpException" nillable="true" type="ax238:ApplicationSignUpException"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="getApplicationSignUpsResponse">
+ <xs:element name="addApplicationSignUp">
<xs:complexType>
<xs:sequence>
- <xs:element maxOccurs="unbounded" minOccurs="0" name="return" nillable="true" type="ax23:ApplicationSignUp"/>
+ <xs:element minOccurs="0" name="applicationSignUp" nillable="true" type="ax240:ApplicationSignUp"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="StratosManagerServiceArtifactDistributionCoordinatorException">
+ <xs:element name="getApplicationSignUp">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="ArtifactDistributionCoordinatorException" nillable="true" type="ax21:ArtifactDistributionCoordinatorException"/>
+ <xs:element minOccurs="0" name="applicationId" nillable="true" type="xs:string"></xs:element>
+ <xs:element minOccurs="0" name="tenantId" type="xs:int"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="notifyArtifactUpdatedEventForSignUp">
+ <xs:element name="getApplicationSignUpResponse">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="applicationId" nillable="true" type="xs:string"/>
- <xs:element minOccurs="0" name="tenantId" type="xs:int"/>
+ <xs:element minOccurs="0" name="return" nillable="true" type="ax240:ApplicationSignUp"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="addApplicationSignUp">
+ <xs:element name="removeApplicationSignUp">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="applicationSignUp" nillable="true" type="ax23:ApplicationSignUp"/>
+ <xs:element minOccurs="0" name="applicationId" nillable="true" type="xs:string"></xs:element>
+ <xs:element minOccurs="0" name="tenantId" type="xs:int"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="getApplicationSignUp">
+ <xs:element name="StratosManagerServiceDomainMappingException">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="applicationId" nillable="true" type="xs:string"/>
- <xs:element minOccurs="0" name="tenantId" type="xs:int"/>
+ <xs:element minOccurs="0" name="DomainMappingException" nillable="true" type="ax238:DomainMappingException"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="getApplicationSignUpResponse">
+ <xs:element name="getDomainMappings">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="return" nillable="true" type="ax23:ApplicationSignUp"/>
+ <xs:element minOccurs="0" name="applicationId" nillable="true" type="xs:string"></xs:element>
+ <xs:element minOccurs="0" name="tenantId" type="xs:int"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="StratosManagerServiceDomainMappingException">
+ <xs:element name="getDomainMappingsResponse">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="DomainMappingException" nillable="true" type="ax21:DomainMappingException"/>
+ <xs:element maxOccurs="unbounded" minOccurs="0" name="return" nillable="true" type="ax240:DomainMapping"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="getDomainMappings">
+ <xs:element name="getApplicationSignUps">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="applicationId" nillable="true" type="xs:string"/>
- <xs:element minOccurs="0" name="tenantId" type="xs:int"/>
+ <xs:element minOccurs="0" name="applicationId" nillable="true" type="xs:string"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="getDomainMappingsResponse">
+ <xs:element name="getApplicationSignUpsResponse">
<xs:complexType>
<xs:sequence>
- <xs:element maxOccurs="unbounded" minOccurs="0" name="return" nillable="true" type="ax23:DomainMapping"/>
+ <xs:element maxOccurs="unbounded" minOccurs="0" name="return" nillable="true" type="ax240:ApplicationSignUp"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="removeDomainMapping">
+ <xs:element name="notifyArtifactUpdatedEventForRepository">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="applicationId" nillable="true" type="xs:string"/>
- <xs:element minOccurs="0" name="tenantId" type="xs:int"/>
- <xs:element minOccurs="0" name="domainName" nillable="true" type="xs:string"/>
+ <xs:element minOccurs="0" name="repoUrl" nillable="true" type="xs:string"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="notifyArtifactUpdatedEventForRepository">
+ <xs:element name="addDomainMapping">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="repoUrl" nillable="true" type="xs:string"/>
+ <xs:element minOccurs="0" name="domainMapping" nillable="true" type="ax240:DomainMapping"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="addDomainMapping">
+ <xs:element name="removeDomainMapping">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="domainMapping" nillable="true" type="ax23:DomainMapping"/>
+ <xs:element minOccurs="0" name="applicationId" nillable="true" type="xs:string"></xs:element>
+ <xs:element minOccurs="0" name="tenantId" type="xs:int"></xs:element>
+ <xs:element minOccurs="0" name="domainName" nillable="true" type="xs:string"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="addUsedCartridgesInCartridgeGroups">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="cartridgeGroupName" nillable="true" type="xs:string"/>
- <xs:element maxOccurs="unbounded" minOccurs="0" name="cartridgeNames" nillable="true" type="xs:string"/>
+ <xs:element minOccurs="0" name="cartridgeGroupName" nillable="true" type="xs:string"></xs:element>
+ <xs:element maxOccurs="unbounded" minOccurs="0" name="cartridgeNames" nillable="true" type="xs:string"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="removeUsedCartridgesInCartridgeGroups">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="cartridgeGroupName" nillable="true" type="xs:string"/>
- <xs:element maxOccurs="unbounded" minOccurs="0" name="cartridgeNames" nillable="true" type="xs:string"/>
+ <xs:element minOccurs="0" name="cartridgeGroupName" nillable="true" type="xs:string"></xs:element>
+ <xs:element maxOccurs="unbounded" minOccurs="0" name="cartridgeNames" nillable="true" type="xs:string"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="addUsedCartridgesInApplications">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="applicationName" nillable="true" type="xs:string"/>
- <xs:element maxOccurs="unbounded" minOccurs="0" name="cartridgeNames" nillable="true" type="xs:string"/>
+ <xs:element minOccurs="0" name="applicationName" nillable="true" type="xs:string"></xs:element>
+ <xs:element maxOccurs="unbounded" minOccurs="0" name="cartridgeNames" nillable="true" type="xs:string"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="removeUsedCartridgesInApplications">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="applicationName" nillable="true" type="xs:string"/>
- <xs:element maxOccurs="unbounded" minOccurs="0" name="cartridgeNames" nillable="true" type="xs:string"/>
+ <xs:element minOccurs="0" name="applicationName" nillable="true" type="xs:string"></xs:element>
+ <xs:element maxOccurs="unbounded" minOccurs="0" name="cartridgeNames" nillable="true" type="xs:string"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="addUsedCartridgeGroupsInCartridgeSubGroups">
+ <xs:element name="canCartridgeBeRemoved">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="cartridgeSubGroupName" nillable="true" type="xs:string"/>
- <xs:element maxOccurs="unbounded" minOccurs="0" name="cartridgeGroupNames" nillable="true" type="xs:string"/>
+ <xs:element minOccurs="0" name="cartridgeName" nillable="true" type="xs:string"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="removeUsedCartridgeGroupsInCartridgeSubGroups">
+ <xs:element name="canCartridgeBeRemovedResponse">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="cartridgeSubGroupName" nillable="true" type="xs:string"/>
- <xs:element maxOccurs="unbounded" minOccurs="0" name="cartridgeGroupNames" nillable="true" type="xs:string"/>
+ <xs:element minOccurs="0" name="return" type="xs:boolean"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="addUsedCartridgeGroupsInApplications">
+ <xs:element name="addUsedCartridgeGroupsInCartridgeSubGroups">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="applicationName" nillable="true" type="xs:string"/>
- <xs:element maxOccurs="unbounded" minOccurs="0" name="cartridgeGroupNames" nillable="true" type="xs:string"/>
+ <xs:element minOccurs="0" name="cartridgeSubGroupName" nillable="true" type="xs:string"></xs:element>
+ <xs:element maxOccurs="unbounded" minOccurs="0" name="cartridgeGroupNames" nillable="true" type="xs:string"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="removeUsedCartridgeGroupsInApplications">
+ <xs:element name="removeUsedCartridgeGroupsInCartridgeSubGroups">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="applicationName" nillable="true" type="xs:string"/>
- <xs:element maxOccurs="unbounded" minOccurs="0" name="cartridgeGroupNames" nillable="true" type="xs:string"/>
+ <xs:element minOccurs="0" name="cartridgeSubGroupName" nillable="true" type="xs:string"></xs:element>
+ <xs:element maxOccurs="unbounded" minOccurs="0" name="cartridgeGroupNames" nillable="true" type="xs:string"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="canCartridgeBeRemoved">
+ <xs:element name="addUsedCartridgeGroupsInApplications">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="cartridgeName" nillable="true" type="xs:string"/>
+ <xs:element minOccurs="0" name="applicationName" nillable="true" type="xs:string"></xs:element>
+ <xs:element maxOccurs="unbounded" minOccurs="0" name="cartridgeGroupNames" nillable="true" type="xs:string"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="canCartridgeBeRemovedResponse">
+ <xs:element name="removeUsedCartridgeGroupsInApplications">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="return" type="xs:boolean"/>
+ <xs:element minOccurs="0" name="applicationName" nillable="true" type="xs:string"></xs:element>
+ <xs:element maxOccurs="unbounded" minOccurs="0" name="cartridgeGroupNames" nillable="true" type="xs:string"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="canCartirdgeGroupBeRemoved">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="cartridgeGroupName" nillable="true" type="xs:string"/>
+ <xs:element minOccurs="0" name="cartridgeGroupName" nillable="true" type="xs:string"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="canCartirdgeGroupBeRemovedResponse">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="return" type="xs:boolean"/>
+ <xs:element minOccurs="0" name="return" type="xs:boolean"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>
<xs:schema attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://exception.manager.stratos.apache.org/xsd">
- <xs:complexType name="ApplicationSignUpException">
- <xs:sequence/>
- </xs:complexType>
<xs:complexType name="ArtifactDistributionCoordinatorException">
- <xs:sequence/>
+ <xs:sequence></xs:sequence>
+ </xs:complexType>
+ <xs:complexType name="ApplicationSignUpException">
+ <xs:sequence></xs:sequence>
</xs:complexType>
<xs:complexType name="DomainMappingException">
- <xs:sequence/>
+ <xs:sequence></xs:sequence>
</xs:complexType>
</xs:schema>
</wsdl:types>
+ <wsdl:message name="addUsedCartridgeGroupsInApplicationsRequest">
+ <wsdl:part name="parameters" element="ns:addUsedCartridgeGroupsInApplications"></wsdl:part>
+ </wsdl:message>
<wsdl:message name="canCartridgeBeRemovedRequest">
- <wsdl:part name="parameters" element="ns:canCartridgeBeRemoved"/>
+ <wsdl:part name="parameters" element="ns:canCartridgeBeRemoved"></wsdl:part>
</wsdl:message>
<wsdl:message name="canCartridgeBeRemovedResponse">
- <wsdl:part name="parameters" element="ns:canCartridgeBeRemovedResponse"/>
- </wsdl:message>
- <wsdl:message name="addUsedCartridgeGroupsInApplicationsRequest">
- <wsdl:part name="parameters" element="ns:addUsedCartridgeGroupsInApplications"/>
+ <wsdl:part name="parameters" element="ns:canCartridgeBeRemovedResponse"></wsdl:part>
</wsdl:message>
<wsdl:message name="getApplicationSignUpsRequest">
- <wsdl:part name="parameters" element="ns:getApplicationSignUps"/>
+ <wsdl:part name="parameters" element="ns:getApplicationSignUps"></wsdl:part>
</wsdl:message>
<wsdl:message name="getApplicationSignUpsResponse">
- <wsdl:part name="parameters" element="ns:getApplicationSignUpsResponse"/>
+ <wsdl:part name="parameters" element="ns:getApplicationSignUpsResponse"></wsdl:part>
</wsdl:message>
<wsdl:message name="StratosManagerServiceApplicationSignUpException">
- <wsdl:part name="parameters" element="ns:StratosManagerServiceApplicationSignUpException"/>
+ <wsdl:part name="parameters" element="ns:StratosManagerServiceApplicationSignUpException"></wsdl:part>
</wsdl:message>
<wsdl:message name="getDomainMappingsRequest">
- <wsdl:part name="parameters" element="ns:getDomainMappings"/>
+ <wsdl:part name="parameters" element="ns:getDomainMappings"></wsdl:part>
</wsdl:message>
<wsdl:message name="getDomainMappingsResponse">
- <wsdl:part name="parameters" element="ns:getDomainMappingsResponse"/>
+ <wsdl:part name="parameters" element="ns:getDomainMappingsResponse"></wsdl:part>
</wsdl:message>
<wsdl:message name="StratosManagerServiceDomainMappingException">
- <wsdl:part name="parameters" element="ns:StratosManagerServiceDomainMappingException"/>
+ <wsdl:part name="parameters" element="ns:StratosManagerServiceDomainMappingException"></wsdl:part>
</wsdl:message>
<wsdl:message name="notifyArtifactUpdatedEventForSignUpRequest">
- <wsdl:part name="parameters" element="ns:notifyArtifactUpdatedEventForSignUp"/>
+ <wsdl:part name="parameters" element="ns:notifyArtifactUpdatedEventForSignUp"></wsdl:part>
</wsdl:message>
<wsdl:message name="StratosManagerServiceArtifactDistributionCoordinatorException">
- <wsdl:part name="parameters" element="ns:StratosManagerServiceArtifactDistributionCoordinatorException"/>
+ <wsdl:part name="parameters" element="ns:StratosManagerServiceArtifactDistributionCoordinatorException"></wsdl:part>
</wsdl:message>
<wsdl:message name="removeUsedCartridgesInApplicationsRequest">
- <wsdl:part name="parameters" element="ns:removeUsedCartridgesInApplications"/>
+ <wsdl:part name="parameters" element="ns:removeUsedCartridgesInApplications"></wsdl:part>
</wsdl:message>
<wsdl:message name="removeUsedCartridgeGroupsInCartridgeSubGroupsRequest">
- <wsdl:part name="parameters" element="ns:removeUsedCartridgeGroupsInCartridgeSubGroups"/>
+ <wsdl:part name="parameters" element="ns:removeUsedCartridgeGroupsInCartridgeSubGroups"></wsdl:part>
</wsdl:message>
<wsdl:message name="addUsedCartridgesInCartridgeGroupsRequest">
- <wsdl:part name="parameters" element="ns:addUsedCartridgesInCartridgeGroups"/>
+ <wsdl:part name="parameters" element="ns:addUsedCartridgesInCartridgeGroups"></wsdl:part>
</wsdl:message>
<wsdl:message name="removeUsedCartridgeGroupsInApplicationsRequest">
- <wsdl:part name="parameters" element="ns:removeUsedCartridgeGroupsInApplications"/>
+ <wsdl:part name="parameters" element="ns:removeUsedCartridgeGroupsInApplications"></wsdl:part>
</wsdl:message>
<wsdl:message name="addUsedCartridgeGroupsInCartridgeSubGroupsRequest">
- <wsdl:part name="parameters" element="ns:addUsedCartridgeGroupsInCartridgeSubGroups"/>
+ <wsdl:part name="parameters" element="ns:addUsedCartridgeGroupsInCartridgeSubGroups"></wsdl:part>
</wsdl:message>
<wsdl:message name="removeUsedCartridgesInCartridgeGroupsRequest">
- <wsdl:part name="parameters" element="ns:removeUsedCartridgesInCartridgeGroups"/>
+ <wsdl:part name="parameters" element="ns:removeUsedCartridgesInCartridgeGroups"></wsdl:part>
</wsdl:message>
<wsdl:message name="addDomainMappingRequest">
- <wsdl:part name="parameters" element="ns:addDomainMapping"/>
+ <wsdl:part name="parameters" element="ns:addDomainMapping"></wsdl:part>
</wsdl:message>
<wsdl:message name="addUsedCartridgesInApplicationsRequest">
- <wsdl:part name="parameters" element="ns:addUsedCartridgesInApplications"/>
+ <wsdl:part name="parameters" element="ns:addUsedCartridgesInApplications"></wsdl:part>
</wsdl:message>
<wsdl:message name="removeApplicationSignUpRequest">
- <wsdl:part name="parameters" element="ns:removeApplicationSignUp"/>
+ <wsdl:part name="parameters" element="ns:removeApplicationSignUp"></wsdl:part>
</wsdl:message>
<wsdl:message name="removeDomainMappingRequest">
- <wsdl:part name="parameters" element="ns:removeDomainMapping"/>
+ <wsdl:part name="parameters" element="ns:removeDomainMapping"></wsdl:part>
</wsdl:message>
<wsdl:message name="notifyArtifactUpdatedEventForRepositoryRequest">
- <wsdl:part name="parameters" element="ns:notifyArtifactUpdatedEventForRepository"/>
+ <wsdl:part name="parameters" element="ns:notifyArtifactUpdatedEventForRepository"></wsdl:part>
</wsdl:message>
<wsdl:message name="canCartirdgeGroupBeRemovedRequest">
- <wsdl:part name="parameters" element="ns:canCartirdgeGroupBeRemoved"/>
+ <wsdl:part name="parameters" element="ns:canCartirdgeGroupBeRemoved"></wsdl:part>
</wsdl:message>
<wsdl:message name="canCartirdgeGroupBeRemovedResponse">
- <wsdl:part name="parameters" element="ns:canCartirdgeGroupBeRemovedResponse"/>
+ <wsdl:part name="parameters" element="ns:canCartirdgeGroupBeRemovedResponse"></wsdl:part>
</wsdl:message>
<wsdl:message name="getApplicationSignUpRequest">
- <wsdl:part name="parameters" element="ns:getApplicationSignUp"/>
+ <wsdl:part name="parameters" element="ns:getApplicationSignUp"></wsdl:part>
</wsdl:message>
<wsdl:message name="getApplicationSignUpResponse">
- <wsdl:part name="parameters" element="ns:getApplicationSignUpResponse"/>
+ <wsdl:part name="parameters" element="ns:getApplicationSignUpResponse"></wsdl:part>
</wsdl:message>
<wsdl:message name="addApplicationSignUpRequest">
- <wsdl:part name="parameters" element="ns:addApplicationSignUp"/>
+ <wsdl:part name="parameters" element="ns:addApplicationSignUp"></wsdl:part>
</wsdl:message>
<wsdl:portType name="StratosManagerServicePortType">
- <wsdl:operation name="canCartridgeBeRemoved">
- <wsdl:input message="ns:canCartridgeBeRemovedRequest" wsaw:Action="urn:canCartridgeBeRemoved"/>
- <wsdl:output message="ns:canCartridgeBeRemovedResponse" wsaw:Action="urn:canCartridgeBeRemovedResponse"/>
- </wsdl:operation>
<wsdl:operation name="addUsedCartridgeGroupsInApplications">
- <wsdl:input message="ns:addUsedCartridgeGroupsInApplicationsRequest" wsaw:Action="urn:addUsedCartridgeGroupsInApplications"/>
+ <wsdl:input message="ns:addUsedCartridgeGroupsInApplicationsRequest" wsaw:Action="urn:addUsedCartridgeGroupsInApplications"></wsdl:input>
+ </wsdl:operation>
+ <wsdl:operation name="canCartridgeBeRemoved">
+ <wsdl:input message="ns:canCartridgeBeRemovedRequest" wsaw:Action="urn:canCartridgeBeRemoved"></wsdl:input>
+ <wsdl:output message="ns:canCartridgeBeRemovedResponse" wsaw:Action="urn:canCartridgeBeRemovedResponse"></wsdl:output>
</wsdl:operation>
<wsdl:operation name="getApplicationSignUps">
- <wsdl:input message="ns:getApplicationSignUpsRequest" wsaw:Action="urn:getApplicationSignUps"/>
- <wsdl:output message="ns:getApplicationSignUpsResponse" wsaw:Action="urn:getApplicationSignUpsResponse"/>
- <wsdl:fault message="ns:StratosManagerServiceApplicationSignUpException" name="StratosManagerServiceApplicationSignUpException" wsaw:Action="urn:getApplicationSignUpsStratosManagerServiceApplicationSignUpException"/>
+ <wsdl:input message="ns:getApplicationSignUpsRequest" wsaw:Action="urn:getApplicationSignUps"></wsdl:input>
+ <wsdl:output message="ns:getApplicationSignUpsResponse" wsaw:Action="urn:getApplicationSignUpsResponse"></wsdl:output>
+ <wsdl:fault message="ns:StratosManagerServiceApplicationSignUpException" name="StratosManagerServiceApplicationSignUpException" wsaw:Action="urn:getApplicationSignUpsStratosManagerServiceApplicationSignUpException"></wsdl:fault>
</wsdl:operation>
<wsdl:operation name="getDomainMappings">
- <wsdl:input message="ns:getDomainMappingsRequest" wsaw:Action="urn:getDomainMappings"/>
- <wsdl:output message="ns:getDomainMappingsResponse" wsaw:Action="urn:getDomainMappingsResponse"/>
- <wsdl:fault message="ns:StratosManagerServiceDomainMappingException" name="StratosManagerServiceDomainMappingException" wsaw:Action="urn:getDomainMappingsStratosManagerServiceDomainMappingException"/>
+ <wsdl:input message="ns:getDomainMappingsRequest" wsaw:Action="urn:getDomainMappings"></wsdl:input>
+ <wsdl:output message="ns:getDomainMappingsResponse" wsaw:Action="urn:getDomainMappingsResponse"></wsdl:output>
+ <wsdl:fault message="ns:StratosManagerServiceDomainMappingException" name="StratosManagerServiceDomainMappingException" wsaw:Action="urn:getDomainMappingsStratosManagerServiceDomainMappingException"></wsdl:fault>
</wsdl:operation>
<wsdl:operation name="notifyArtifactUpdatedEventForSignUp">
- <wsdl:input message="ns:notifyArtifactUpdatedEventForSignUpRequest" wsaw:Action="urn:notifyArtifactUpdatedEventForSignUp"/>
- <wsdl:fault message="ns:StratosManagerServiceArtifactDistributionCoordinatorException" name="StratosManagerServiceArtifactDistributionCoordinatorException" wsaw:Action="urn:notifyArtifactUpdatedEventForSignUpStratosManagerServiceArtifactDistributionCoordinatorException"/>
+ <wsdl:input message="ns:notifyArtifactUpdatedEventForSignUpRequest" wsaw:Action="urn:notifyArtifactUpdatedEventForSignUp"></wsdl:input>
+ <wsdl:fault message="ns:StratosManagerServiceArtifactDistributionCoordinatorException" name="StratosManagerServiceArtifactDistributionCoordinatorException" wsaw:Action="urn:notifyArtifactUpdatedEventForSignUpStratosManagerServiceArtifactDistributionCoordinatorException"></wsdl:fault>
</wsdl:operation>
<wsdl:operation name="removeUsedCartridgesInApplications">
- <wsdl:input message="ns:removeUsedCartridgesInApplicationsRequest" wsaw:Action="urn:removeUsedCartridgesInApplications"/>
+ <wsdl:input message="ns:removeUsedCartridgesInApplicationsRequest" wsaw:Action="urn:removeUsedCartridgesInApplications"></wsdl:input>
</wsdl:operation>
<wsdl:operation name="removeUsedCartridgeGroupsInCartridgeSubGroups">
- <wsdl:input message="ns:removeUsedCartridgeGroupsInCartridgeSubGroupsRequest" wsaw:Action="urn:removeUsedCartridgeGroupsInCartridgeSubGroups"/>
+ <wsdl:input message="ns:removeUsedCartridgeGroupsInCartridgeSubGroupsRequest" wsaw:Action="urn:removeUsedCartridgeGroupsInCartridgeSubGroups"></wsdl:input>
</wsdl:operation>
<wsdl:operation name="addUsedCartridgesInCartridgeGroups">
- <wsdl:input message="ns:addUsedCartridgesInCartridgeGroupsRequest" wsaw:Action="urn:addUsedCartridgesInCartridgeGroups"/>
+ <wsdl:input message="ns:addUsedCartridgesInCartridgeGroupsRequest" wsaw:Action="urn:addUsedCartridgesInCartridgeGroups"></wsdl:input>
</wsdl:operation>
<wsdl:operation name="removeUsedCartridgeGroupsInApplications">
- <wsdl:input message="ns:removeUsedCartridgeGroupsInApplicationsRequest" wsaw:Action="urn:removeUsedCartridgeGroupsInApplications"/>
+ <wsdl:input message="ns:removeUsedCartridgeGroupsInApplicationsRequest" wsaw:Action="urn:removeUsedCartridgeGroupsInApplications"></wsdl:input>
</wsdl:operation>
<wsdl:operation name="addUsedCartridgeGroupsInCartridgeSubGroups">
- <wsdl:input message="ns:addUsedCartridgeGroupsInCartridgeSubGroupsRequest" wsaw:Action="urn:addUsedCartridgeGroupsInCartridgeSubGroups"/>
+ <wsdl:input message="ns:addUsedCartridgeGroupsInCartridgeSubGroupsRequest" wsaw:Action="urn:addUsedCartridgeGroupsInCartridgeSubGroups"></wsdl:input>
</wsdl:operation>
<wsdl:operation name="removeUsedCartridgesInCartridgeGroups">
- <wsdl:input message="ns:removeUsedCartridgesInCartridgeGroupsRequest" wsaw:Action="urn:removeUsedCartridgesInCartridgeGroups"/>
+ <wsdl:input message="ns:removeUsedCartridgesInCartridgeGroupsRequest" wsaw:Action="urn:removeUsedCartridgesInCartridgeGroups"></wsdl:input>
</wsdl:operation>
<wsdl:operation name="addDomainMapping">
- <wsdl:input message="ns:addDomainMappingRequest" wsaw:Action="urn:addDomainMapping"/>
- <wsdl:fault message="ns:StratosManagerServiceDomainMappingException" name="StratosManagerServiceDomainMappingException" wsaw:Action="urn:addDomainMappingStratosManagerServiceDomainMappingException"/>
+ <wsdl:input message="ns:addDomainMappingRequest" wsaw:Action="urn:addDomainMapping"></wsdl:input>
+ <wsdl:fault message="ns:StratosManagerServiceDomainMappingException" name="StratosManagerServiceDomainMappingException" wsaw:Action="urn:addDomainMappingStratosManagerServiceDomainMappingException"></wsdl:fault>
</wsdl:operation>
<wsdl:operation name="addUsedCartridgesInApplications">
- <wsdl:input message="ns:addUsedCartridgesInApplicationsRequest" wsaw:Action="urn:addUsedCartridgesInApplications"/>
+ <wsdl:input message="ns:addUsedCartridgesInApplicationsRequest" wsaw:Action="urn:addUsedCartridgesInApplications"></wsdl:input>
</wsdl:operation>
<wsdl:operation name="removeApplicationSignUp">
- <wsdl:input message="ns:removeApplicationSignUpRequest" wsaw:Action="urn:removeApplicationSignUp"/>
- <wsdl:fault message="ns:StratosManagerServiceApplicationSignUpException" name="StratosManagerServiceApplicationSignUpException" wsaw:Action="urn:removeApplicationSignUpStratosManagerServiceApplicationSignUpException"/>
+ <wsdl:input message="ns:removeApplicationSignUpRequest" wsaw:Action="urn:removeApplicationSignUp"></wsdl:input>
+ <wsdl:fault message="ns:StratosManagerServiceApplicationSignUpException" name="StratosManagerServiceApplicationSignUpException" wsaw:Action="urn:removeApplicationSignUpStratosManagerServiceApplicationSignUpException"></wsdl:fault>
</wsdl:operation>
<wsdl:operation name="removeDomainMapping">
- <wsdl:input message="ns:removeDomainMappingRequest" wsaw:Action="urn:removeDomainMapping"/>
- <wsdl:fault message="ns:StratosManagerServiceDomainMappingException" name="StratosManagerServiceDomainMappingException" wsaw:Action="urn:removeDomainMappingStratosManagerServiceDomainMappingException"/>
+ <wsdl:input message="ns:removeDomainMappingRequest" wsaw:Action="urn:removeDomainMapping"></wsdl:input>
+ <wsdl:fault message="ns:StratosManagerServiceDomainMappingException" name="StratosManagerServiceDomainMappingException" wsaw:Action="urn:removeDomainMappingStratosManagerServiceDomainMappingException"></wsdl:fault>
</wsdl:operation>
<wsdl:operation name="notifyArtifactUpdatedEventForRepository">
- <wsdl:input message="ns:notifyArtifactUpdatedEventForRepositoryRequest" wsaw:Action="urn:notifyArtifactUpdatedEventForRepository"/>
- <wsdl:fault message="ns:StratosManagerServiceArtifactDistributionCoordinatorException" name="StratosManagerServiceArtifactDistributionCoordinatorException" wsaw:Action="urn:notifyArtifactUpdatedEventForRepositoryStratosManagerServiceArtifactDistributionCoordinatorException"/>
+ <wsdl:input message="ns:notifyArtifactUpdatedEventForRepositoryRequest" wsaw:Action="urn:notifyArtifactUpdatedEventForRepository"></wsdl:input>
+ <wsdl:fault message="ns:StratosManagerServiceArtifactDistributionCoordinatorException" name="StratosManagerServiceArtifactDistributionCoordinatorException" wsaw:Action="urn:notifyArtifactUpdatedEventForRepositoryStratosManagerServiceArtifactDistributionCoordinatorException"></wsdl:fault>
</wsdl:operation>
<wsdl:operation name="canCartirdgeGroupBeRemoved">
- <wsdl:input message="ns:canCartirdgeGroupBeRemovedRequest" wsaw:Action="urn:canCartirdgeGroupBeRemoved"/>
- <wsdl:output message="ns:canCartirdgeGroupBeRemovedResponse" wsaw:Action="urn:canCartirdgeGroupBeRemovedResponse"/>
+ <wsdl:input message="ns:canCartirdgeGroupBeRemovedRequest" wsaw:Action="urn:canCartirdgeGroupBeRemoved"></wsdl:input>
+ <wsdl:output message="ns:canCartirdgeGroupBeRemovedResponse" wsaw:Action="urn:canCartirdgeGroupBeRemovedResponse"></wsdl:output>
</wsdl:operation>
<wsdl:operation name="getApplicationSignUp">
- <wsdl:input message="ns:getApplicationSignUpRequest" wsaw:Action="urn:getApplicationSignUp"/>
- <wsdl:output message="ns:getApplicationSignUpResponse" wsaw:Action="urn:getApplicationSignUpResponse"/>
- <wsdl:fault message="ns:StratosManagerServiceApplicationSignUpException" name="StratosManagerServiceApplicationSignUpException" wsaw:Action="urn:getApplicationSignUpStratosManagerServiceApplicationSignUpException"/>
+ <wsdl:input message="ns:getApplicationSignUpRequest" wsaw:Action="urn:getApplicationSignUp"></wsdl:input>
+ <wsdl:output message="ns:getApplicationSignUpResponse" wsaw:Action="urn:getApplicationSignUpResponse"></wsdl:output>
+ <wsdl:fault message="ns:StratosManagerServiceApplicationSignUpException" name="StratosManagerServiceApplicationSignUpException" wsaw:Action="urn:getApplicationSignUpStratosManagerServiceApplicationSignUpException"></wsdl:fault>
</wsdl:operation>
<wsdl:operation name="addApplicationSignUp">
- <wsdl:input message="ns:addApplicationSignUpRequest" wsaw:Action="urn:addApplicationSignUp"/>
- <wsdl:fault message="ns:StratosManagerServiceApplicationSignUpException" name="StratosManagerServiceApplicationSignUpException" wsaw:Action="urn:addApplicationSignUpStratosManagerServiceApplicationSignUpException"/>
+ <wsdl:input message="ns:addApplicationSignUpRequest" wsaw:Action="urn:addApplicationSignUp"></wsdl:input>
+ <wsdl:fault message="ns:StratosManagerServiceApplicationSignUpException" name="StratosManagerServiceApplicationSignUpException" wsaw:Action="urn:addApplicationSignUpStratosManagerServiceApplicationSignUpException"></wsdl:fault>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="StratosManagerServiceSoap11Binding" type="ns:StratosManagerServicePortType">
- <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
- <wsdl:operation name="addUsedCartridgeGroupsInApplications">
- <soap:operation soapAction="urn:addUsedCartridgeGroupsInApplications" style="document"/>
- <wsdl:input>
- <soap:body use="literal"/>
- </wsdl:input>
- </wsdl:operation>
+ <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"></soap:binding>
<wsdl:operation name="canCartridgeBeRemoved">
- <soap:operation soapAction="urn:canCartridgeBeRemoved" style="document"/>
+ <soap:operation soapAction="urn:canCartridgeBeRemoved" style="document"></soap:operation>
<wsdl:input>
- <soap:body use="literal"/>
+ <soap:body use="literal"></soap:body>
</wsdl:input>
<wsdl:output>
- <soap:body use="literal"/>
+ <soap:body use="literal"></soap:body>
</wsdl:output>
</wsdl:operation>
+ <wsdl:operation name="addUsedCartridgeGroupsInApplications">
+ <soap:operation soapAction="urn:addUsedCartridgeGroupsInApplications" style="document"></soap:operation>
+ <wsdl:input>
+ <soap:body use="literal"></soap:body>
+ </wsdl:input>
+ </wsdl:operation>
<wsdl:operation name="getApplicationSignUps">
- <soap:operation soapAction="urn:getApplicationSignUps" style="document"/>
+ <soap:operation soapAction="urn:getApplicationSignUps" style="document"></soap:operation>
<wsdl:input>
- <soap:body use="literal"/>
+ <soap:body use="literal"></soap:body>
</wsdl:input>
<wsdl:output>
- <soap:body use="literal"/>
+ <soap:body use="literal"></soap:body>
</wsdl:output>
<wsdl:fault name="StratosManagerServiceApplicationSignUpException">
- <soap:fault use="literal" name="StratosManagerServiceApplicationSignUpException"/>
+ <soap:fault use="literal" name="StratosManagerServiceApplicationSignUpException"></soap:fault>
</wsdl:fault>
</wsdl:operation>
<wsdl:operation name="getDomainMappings">
- <soap:operation soapAction="urn:getDomainMappings" style="document"/>
+ <soap:operation soapAction="urn:getDomainMappings" style="document"></soap:operation>
<wsdl:input>
- <soap:body use="literal"/>
+ <soap:body use="literal"></soap:body>
</wsdl:input>
<wsdl:output>
- <soap:body use="literal"/>
+ <soap:body use="literal"></soap:body>
</wsdl:output>
<wsdl:fault name="StratosManagerServiceDomainMappingException">
- <soap:fault use="literal" name="StratosManagerServiceDomainMappingException"/>
+ <soap:fault use="literal" name="StratosManagerServiceDomainMappingException"></soap:fault>
</wsdl:fault>
</wsdl:operation>
<wsdl:operation name="notifyArtifactUpdatedEventForSignUp">
- <soap:operation soapAction="urn:notifyArtifactUpdatedEventForSignUp" style="document"/>
+ <soap:operation soapAction="urn:notifyArtifactUpdatedEventForSignUp" style="document"></soap:operation>
<wsdl:input>
- <soap:body use="literal"/>
+ <soap:body use="literal"></soap:body>
</wsdl:input>
<wsdl:fault name="StratosManagerServiceArtifactDistributionCoordinatorException">
- <soap:fault use="literal" name="StratosManagerServiceArtifactDistributionCoordinatorException"/>
+ <soap:fault use="literal" name="StratosManagerServiceArtifactDistributionCoordinatorException"></soap:fault>
</wsdl:fault>
</wsdl:operation>
<wsdl:operation name="removeUsedCartridgesInApplications">
- <soap:operation soapAction="urn:removeUsedCartridgesInApplications" style="document"/>
+ <soap:operation soapAction="urn:removeUsedCartridgesInApplications" style="document"></soap:operation>
<wsdl:input>
- <soap:body use="literal"/>
+ <soap:body use="literal"></soap:body>
</wsdl:input>
</wsdl:operation>
<wsdl:operation name="addUsedCartridgesInCartridgeGroups">
- <soap:operation soapAction="urn:addUsedCartridgesInCartridgeGroups" style="document"/>
+ <soap:operation soapAction="urn:addUsedCartridgesInCartridgeGroups" style="document"></soap:operation>
<wsdl:input>
- <soap:body use="literal"/>
+ <soap:body use="literal"></soap:body>
</wsdl:input>
</wsdl:operation>
<wsdl:operation name="removeUsedCartridgeGroupsInCartridgeSubGroups">
- <soap:operation soapAction="urn:removeUsedCartridgeGroupsInCartridgeSubGroups" style="document"/>
+ <soap:operation soapAction="urn:removeUsedCartridgeGroupsInCartridgeSubGroups" style="document"></soap:operation>
<wsdl:input>
- <soap:body use="literal"/>
+ <soap:body use="literal"></soap:body>
</wsdl:input>
</wsdl:operation>
<wsdl:operation name="addUsedCartridgeGroupsInCartridgeSubGroups">
- <soap:operation soapAction="urn:addUsedCartridgeGroupsInCartridgeSubGroups" style="document"/>
+ <soap:operation soapAction="urn:addUsedCartridgeGroupsInCartridgeSubGroups" style="document"></soap:operation>
<wsdl:input>
- <soap:body use="literal"/>
+ <soap:body use="literal"></soap:body>
</wsdl:input>
</wsdl:operation>
<wsdl:operation name="removeUsedCartridgeGroupsInApplications">
- <soap:operation soapAction="urn:removeUsedCartridgeGroupsInApplications" style="document"/>
+ <soap:operation soapAction="urn:removeUsedCartridgeGroupsInApplications" style="document"></soap:operation>
<wsdl:input>
- <soap:body use="literal"/>
+ <soap:body use="literal"></soap:body>
</wsdl:input>
</wsdl:operation>
<wsdl:operation name="removeUsedCartridgesInCartridgeGroups">
- <soap:operation soapAction="urn:removeUsedCartridgesInCartridgeGroups" style="document"/>
+ <soap:operation soapAction="urn:removeUsedCartridgesInCartridgeGroups" style="document"></soap:operation>
<wsdl:input>
- <soap:body use="literal"/>
+ <soap:body use="literal"></soap:body>
</wsdl:input>
</wsdl:operation>
<wsdl:operation name="addDomainMapping">
- <soap:operation soapAction="urn:addDomainMapping" style="document"/>
+ <soap:operation soapAction="urn:addDomainMapping" style="document"></soap:operation>
<wsdl:input>
- <soap:body use="literal"/>
+ <soap:body use="literal"></soap:body>
</wsdl:input>
<wsdl:fault name="StratosManagerServiceDomainMappingException">
- <soap:fault use="literal" name="StratosManagerServiceDomainMappingException"/>
+ <soap:fault use="literal" name="StratosManagerServiceDomainMappingException"></soap:fault>
</wsdl:fault>
</wsdl:operation>
<wsdl:operation name="addUsedCartridgesInApplications">
- <soap:operation soapAction="urn:addUsedCartridgesInApplications" style="document"/>
+ <soap:operation soapAction="urn:addUsedCartridgesInApplications" style="document"></soap:operation>
<wsdl:input>
- <soap:body use="literal"/>
+ <soap:body use="literal"></soap:body>
</wsdl:input>
</wsdl:operation>
<wsdl:operation name="removeApplicationSignUp">
- <soap:operation soapAction="urn:removeApplicationSignUp" style="document"/>
+ <soap:operation soapAction="urn:removeApplicationSignUp" style="document"></soap:operation>
<wsdl:input>
- <soap:body use="literal"/>
+ <soap:body use="literal"></soap:body>
</wsdl:input>
<wsdl:fault name="StratosManagerServiceApplicationSignUpException">
- <soap:fault use="literal" name="StratosManagerServiceApplicationSignUpException"/>
+ <soap:fault use="literal" name="StratosManagerServiceApplicationSignUpException"></soap:fault>
</wsdl:fault>
</wsdl:operation>
<wsdl:operation name="removeDomainMapping">
- <soap:operation soapAction="urn:removeDomainMapping" style="document"/>
+ <soap:operation soapAction="urn:removeDomainMapping" style="document"></soap:operation>
<wsdl:input>
- <soap:body use="literal"/>
+ <soap:body use="literal"></soap:body>
</wsdl:input>
<wsdl:fault name="StratosManagerServiceDomainMappingException">
- <soap:fault use="literal" name="StratosManagerServiceDomainMappingException"/>
+ <soap:fault use="literal" name="StratosManagerServiceDomainMappingException"></soap:fault>
</wsdl:fault>
</wsdl:operation>
<wsdl:operation name="notifyArtifactUpdatedEventForRepository">
- <soap:operation soapAction="urn:notifyArtifactUpdatedEventForRepository" style="document"/>
+ <soap:operation soapAction="urn:notifyArtifactUpdatedEventForRepository" style="document"></soap:operation>
<wsdl:input>
- <soap:body use="literal"/>
+ <soap:body use="literal"></soap:body>
</wsdl:input>
<wsdl:fault name="StratosManagerServiceArtifactDistributionCoordinatorException">
- <soap:fault use="literal" name="StratosManagerServiceArtifactDistributionCoordinatorException"/>
+ <soap:fault use="literal" name="StratosManagerServiceArtifactDistributionCoordinatorException"></soap:fault>
</wsdl:fault>
</wsdl:operation>
<wsdl:operation name="canCartirdgeGroupBeRemoved">
- <soap:operation soapAction="urn:canCartirdgeGroupBeRemoved" style="document"/>
+ <soap:operation soapAction="urn:canCartirdgeGroupBeRemoved" style="document"></soap:operation>
<wsdl:input>
- <soap:body use="literal"/>
+ <soap:body use="literal"></soap:body>
</wsdl:input>
<wsdl:output>
- <soap:body use="literal"/>
+ <soap:body use="literal"></soap:body>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="getApplicationSignUp">
- <soap:operation soapAction="urn:getApplicationSignUp" style="document"/>
+ <soap:operation soapAction="urn:getApplicationSignUp" style="document"></soap:operation>
<wsdl:input>
- <soap:body use="literal"/>
+ <soap:body use="literal"></soap:body>
</wsdl:input>
<wsdl:output>
- <soap:body use="literal"/>
+ <soap:body use="literal"></soap:body>
</wsdl:output>
<wsdl:fault name="StratosManagerServiceApplicationSignUpException">
- <soap:fault use="literal" name="StratosManagerServiceApplicationSignUpException"/>
+ <soap:fault use="literal" name="StratosManagerServiceApplicationSignUpException"></soap:fault>
</wsdl:fault>
</wsdl:operation>
<wsdl:operation name="addApplicationSignUp">
- <soap:operation soapAction="urn:addApplicationSignUp" style="document"/>
+ <soap:operation soapAction="urn:addApplicationSignUp" style="document"></soap:operation>
<wsdl:input>
- <soap:body use="literal"/>
+ <soap:body use="literal"></soap:body>
</wsdl:input>
<wsdl:fault name="StratosManagerServiceApplicationSignUpException">
- <soap:fault use="literal" name="StratosManagerServiceApplicationSignUpException"/>
+ <soap:fault use="literal" name="StratosManagerServiceApplicationSignUpException"></soap:fault>
</wsdl:fault>
</wsdl:operation>
</wsdl:binding>
<wsdl:binding name="StratosManagerServiceSoap12Binding" type="ns:StratosManagerServicePortType">
- <soap12:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
- <wsdl:operation name="addUsedCartridgeGroupsInApplications">
- <soap12:operation soapAction="urn:addUsedCartridgeGroupsInApplications" style="document"/>
- <wsdl:input>
- <soap12:body use="literal"/>
- </wsdl:input>
- </wsdl:operation>
+ <soap12:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"></soap12:binding>
<wsdl:operation name="canCartridgeBeRemoved">
- <soap12:operation soapAction="urn:canCartridgeBeRemoved" style="document"/>
+ <soap12:operation soapAction="urn:canCartridgeBeRemoved" style="document"></soap12:operation>
<wsdl:input>
- <soap12:body use="literal"/>
+ <soap12:body use="literal"></soap12:body>
</wsdl:input>
<wsdl:output>
- <soap12:body use="literal"/>
+ <soap12:body use="literal"></soap12:body>
</wsdl:output>
</wsdl:operation>
+ <wsdl:operation name="addUsedCartridgeGroupsInApplications">
+ <soap12:operation soapAction="urn:addUsedCartridgeGroupsInApplications" style="document"></soap12:operation>
+ <wsdl:input>
+ <soap12:body use="literal"></soap12:body>
+ </wsdl:input>
+ </wsdl:operation>
<wsdl:operation name="getApplicationSignUps">
- <soap12:operation soapAction="urn:getApplicationSignUps" style="document"/>
+ <soap12:operation soapAction="urn:getApplicationSignUps" style="document"></soap12:operation>
<wsdl:input>
- <soap12:body use="literal"/>
+ <soap12:body use="literal"></soap12:body>
</wsdl:input>
<wsdl:output>
- <soap12:body use="literal"/>
+ <soap12:body use="literal"></soap12:body>
</wsdl:output>
<wsdl:fault name="StratosManagerServiceApplicationSignUpException">
- <soap12:fault use="literal" name="StratosManagerServiceApplicationSignUpException"/>
+ <soap12:fault use="literal" name="StratosManagerServiceApplicationSignUpException"></soap12:fault>
</wsdl:fault>
</wsdl:operation>
<wsdl:operation name="getDomainMappings">
- <soap12:operation soapAction="urn:getDomainMappings" style="document"/>
+ <soap12:operation soapAction="urn:getDomainMappings" style="document"></soap12:operation>
<wsdl:input>
- <soap12:body use="literal"/>
+ <soap12:body use="literal"></soap12:body>
</wsdl:input>
<wsdl:output>
- <soap12:body use="literal"/>
+ <soap12:body use="literal"></soap12:body>
</wsdl:output>
<wsdl:fault name="StratosManagerServiceDomainMappingException">
- <soap12:fault use="literal" name="StratosManagerServiceDomainMappingException"/>
+ <soap12:fault use="literal" name="StratosManagerServiceDomainMappingException"></soap12:fault>
</wsdl:fault>
</wsdl:operation>
<wsdl:operation name="notifyArtifactUpdatedEventForSignUp">
- <soap12:operation soapAction="urn:notifyArtifactUpdatedEventForSignUp" style="document"/>
+ <soap12:operation soapAction="urn:notifyArtifactUpdatedEventForSignUp" style="document"></soap12:operation>
<wsdl:input>
- <soap12:body use="literal"/>
+ <soap12:body use="literal"></soap12:body>
</wsdl:input>
<wsdl:fault name="StratosManagerServiceArtifactDistributionCoordinatorException">
- <soap12:fault use="literal" name="StratosManagerServiceArtifactDistributionCoordinatorException"/>
+ <soap12:fault use="literal" name="StratosManagerServiceArtifactDistributionCoordinatorException"></soap12:fault>
</wsdl:fault>
</wsdl:operation>
<wsdl:operation name="removeUsedCartridgesInApplications">
- <soap12:operation soapAction="urn:removeUsedCartridgesInApplications" style="document"/>
+ <soap12:operation soapAction="urn:removeUsedCartridgesInApplications" style="document"></soap12:operation>
<wsdl:input>
- <soap12:body use="literal"/>
+ <soap12:body use="literal"></soap12:body>
</wsdl:input>
</wsdl:operation>
<wsdl:operation name="addUsedCartridgesInCartridgeGroups">
- <soap12:operation soapAction="urn:addUsedCartridgesInCartridgeGroups" style="document"/>
+ <soap12:operation soapAction="urn:addUsedCartridgesInCartridgeGroups" style="document"></soap12:operation>
<wsdl:input>
- <soap12:body use="literal"/>
+ <soap12:body use="literal"></soap12:body>
</wsdl:input>
</wsdl:operation>
<wsdl:operation name="removeUsedCartridgeGroupsInCartridgeSubGroups">
- <soap12:operation soapAction="urn:removeUsedCartridgeGroupsInCartridgeSubGroups" style="document"/>
+ <soap12:operation soapAction="urn:removeUsedCartridgeGroupsInCartridgeSubGroups" style="document"></soap12:operation>
<wsdl:input>
- <soap12:body use="literal"/>
+ <soap12:body use="literal"></soap12:body>
</wsdl:input>
</wsdl:operation>
<wsdl:operation name="addUsedCartridgeGroupsInCartridgeSubGroups">
- <soap12:operation soapAction="urn:addUsedCartridgeGroupsInCartridgeSubGroups" style="document"/>
+ <soap12:operation soapAction="urn:addUsedCartridgeGroupsInCartridgeSubGroups" style="document"></soap12:operation>
<wsdl:input>
- <soap12:body use="literal"/>
+ <soap12:body use="literal"></soap12:body>
</wsdl:input>
</wsdl:operation>
<wsdl:operation name="removeUsedCartridgeGroupsInApplications">
- <soap12:operation soapAction="urn:removeUsedCartridgeGroupsInApplications" style="document"/>
+ <soap12:operation soapAction="urn:removeUsedCartridgeGroupsInApplications" style="document"></soap12:operation>
<wsdl:input>
- <soap12:body use="literal"/>
+ <soap12:body use="literal"></soap12:body>
</wsdl:input>
</wsdl:operation>
<wsdl:operation name="removeUsedCartridgesInCartridgeGroups">
- <soap12:operation soapAction="urn:removeUsedCartridgesInCartridgeGroups" style="document"/>
+ <soap12:operation soapAction="urn:removeUsedCartridgesInCartridgeGroups" style="document"></soap12:operation>
<wsdl:input>
- <soap12:body use="literal"/>
+ <soap12:body use="literal"></soap12:body>
</wsdl:input>
</wsdl:operation>
<wsdl:operation name="addDomainMapping">
- <soap12:operation soapAction="urn:addDomainMapping" style="document"/>
+ <soap12:operation soapAction="urn:addDomainMapping" style="document"></soap12:operation>
<wsdl:input>
- <soap12:body use="literal"/>
+ <soap12:body use="literal"></soap12:body>
</wsdl:input>
<wsdl:fault name="StratosManagerServiceDomainMappingException">
- <soap12:fault use="literal" name="StratosManagerServiceDomainMappingException"/>
+ <soap12:fault use="literal" name="StratosManagerServiceDomainMappingException"></soap12:fault>
</wsdl:fault>
</wsdl:operation>
<wsdl:operation name="addUsedCartridgesInApplications">
- <soap12:operation soapAction="urn:addUsedCartridgesInApplications" style="document"/>
+ <soap12:operation soapAction="urn:addUsedCartridgesInApplications" style="document"></soap12:operation>
<wsdl:input>
- <soap12:body use="literal"/>
+ <soap12:body use="literal"></soap12:body>
</wsdl:input>
</wsdl:operation>
<wsdl:operation name="removeApplicationSignUp">
- <soap12:operation soapAction="urn:removeApplicationSignUp" style="document"/>
+ <soap12:operation soapAction="urn:removeApplicationSignUp" style="document"></soap12:operation>
<wsdl:input>
- <soap12:body use="literal"/>
+ <soap12:body use="literal"></soap12:body>
</wsdl:input>
<wsdl:fault name="StratosManagerServiceApplicationSignUpException">
- <soap12:fault use="literal" name="StratosManagerServiceApplicationSignUpException"/>
+ <soap12:fault use="literal" name="StratosManagerServiceApplicationSignUpException"></soap12:fault>
</wsdl:fault>
</wsdl:operation>
<wsdl:operation name="removeDomainMapping">
- <soap12:operation soapAction="urn:removeDomainMapping" style="document"/>
+ <soap12:operation soapAction="urn:removeDomainMapping" style="document"></soap12:operation>
<wsdl:input>
- <soap12:body use="literal"/>
+ <soap12:body use="literal"></soap12:body>
</wsdl:input>
<wsdl:fault name="StratosManagerServiceDomainMappingException">
- <soap12:fault use="literal" name="StratosManagerServiceDomainMappingException"/>
+ <soap12:fault use="literal" name="StratosManagerServiceDomainMappingException"></soap12:fault>
</wsdl:fault>
</wsdl:operation>
<wsdl:operation name="notifyArtifactUpdatedEventForRepository">
- <soap12:operation soapAction="urn:notifyArtifactUpdatedEventForRepository" style="document"/>
+ <soap12:operation soapAction="urn:notifyArtifactUpdatedEventForRepository" style="document"></soap12:operation>
<wsdl:input>
- <soap12:body use="literal"/>
+ <soap12:body use="literal"></soap12:body>
</wsdl:input>
<wsdl:fault name="StratosManagerServiceArtifactDistributionCoordinatorException">
- <soap12:fault use="literal" name="StratosManagerServiceArtifactDistributionCoordinatorException"/>
+ <soap12:fault use="literal" name="StratosManagerServiceArtifactDistributionCoordinatorException"></soap12:fault>
</wsdl:fault>
</wsdl:operation>
<wsdl:operation name="canCartirdgeGroupBeRemoved">
- <soap12:operation soapAction="urn:canCartirdgeGroupBeRemoved" style="document"/>
+ <soap12:operation soapAction="urn:canCartirdgeGroupBeRemoved" style="document"></soap12:operation>
<wsdl:input>
- <soap12:body use="literal"/>
+ <soap12:body use="literal"></soap12:body>
</wsdl:input>
<wsdl:output>
- <soap12:body use="literal"/>
+ <soap12:body use="literal"></soap12:body>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="getApplicationSignUp">
- <soap12:operation soapAction="urn:getApplicationSignUp" style="document"/>
+ <soap12:operation soapAction="urn:getApplicationSignUp" style="document"></soap12:operation>
<wsdl:input>
- <soap12:body use="literal"/>
+ <soap12:body use="literal"></soap12:body>
</wsdl:input>
<wsdl:output>
- <soap12:body use="literal"/>
+ <soap12:body use="literal"></soap12:body>
</wsdl:output>
<wsdl:fault name="StratosManagerServiceApplicationSignUpException">
- <soap12:fault use="literal" name="StratosManagerServiceApplicationSignUpException"/>
+ <soap12:fault use="literal" name="StratosManagerServiceApplicationSignUpException"></soap12:fault>
</wsdl:fault>
</wsdl:operation>
<wsdl:operation name="addApplicationSignUp">
- <soap12:operation soapAction="urn:addApplicationSignUp" style="document"/>
+ <soap12:operation soapAction="urn:addApplicationSignUp" style="document"></soap12:operation>
<wsdl:input>
- <soap12:body use="literal"/>
+ <soap12:body use="literal"></soap12:body>
</wsdl:input>
<wsdl:fault name="StratosManagerServiceApplicationSignUpException">
- <soap12:fault use="literal" name="StratosManagerServiceApplicationSignUpException"/>
+ <soap12:fault use="literal" name="StratosManagerServiceApplicationSignUpException"></soap12:fault>
</wsdl:fault>
</wsdl:operation>
</wsdl:binding>
<wsdl:binding name="StratosManagerServiceHttpBinding" type="ns:StratosManagerServicePortType">
- <http:binding verb="POST"/>
- <wsdl:operation name="addUsedCartridgeGroupsInApplications">
- <http:operation location="addUsedCartridgeGroupsInApplications"/>
- <wsdl:input>
- <mime:content type="text/xml" part="parameters"/>
- </wsdl:input>
- </wsdl:operation>
+ <http:binding verb="POST"></http:binding>
<wsdl:operation name="canCartridgeBeRemoved">
- <http:operation location="canCartridgeBeRemoved"/>
+ <http:operation location="canCartridgeBeRemoved"></http:operation>
<wsdl:input>
- <mime:content type="text/xml" part="parameters"/>
+ <mime:content type="text/xml" part="parameters"></mime:content>
</wsdl:input>
<wsdl:output>
- <mime:content type="text/xml" part="parameters"/>
+ <mime:content type="text/xml" part="parameters"></mime:content>
</wsdl:output>
</wsdl:operation>
+ <wsdl:operation name="addUsedCartridgeGroupsInApplications">
+ <http:operation location="addUsedCartridgeGroupsInApplications"></http:operation>
+ <wsdl:input>
+ <mime:content type="text/xml" part="parameters"></mime:content>
+ </wsdl:input>
+ </wsdl:operation>
<wsdl:operation name="getApplicationSignUps">
- <http:operation location="getApplicationSignUps"/>
+ <http:operation location="getApplicationSignUps"></http:operation>
<wsdl:input>
- <mime:content type="text/xml" part="parameters"/>
+ <mime:content type="text/xml" part="parameters"></mime:content>
</wsdl:input>
<wsdl:output>
- <mime:content type="text/xml" part="parameters"/>
+ <mime:content type="text/xml" part="parameters"></mime:content>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="getDomainMappings">
- <http:operation location="getDomainMappings"/>
+ <http:operation location="getDomainMappings"></http:operation>
<wsdl:input>
- <mime:content type="text/xml" part="parameters"/>
+ <mime:content type="text/xml" part="parameters"></mime:content>
</wsdl:input>
<wsdl:output>
- <mime:content type="text/xml" part="parameters"/>
+ <mime:content type="text/xml" part="parameters"></mime:content>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="notifyArtifactUpdatedEventForSignUp">
- <http:operation location="notifyArtifactUpdatedEventForSignUp"/>
+ <http:operation location="notifyArtifactUpdatedEventForSignUp"></http:operation>
<wsdl:input>
- <mime:content type="text/xml" part="parameters"/>
+ <mime:content type="text/xml" part="parameters"></mime:content>
</wsdl:input>
</wsdl:operation>
<wsdl:operation name="removeUsedCartridgesInApplications">
- <http:operation location="removeUsedCartridgesInApplications"/>
+ <http:operation location="removeUsedCartridgesInApplications"></http:operation>
<wsdl:input>
- <mime:content type="text/xml" part="parameters"/>
+ <mime:content type="text/xml" part="parameters"></mime:content>
</wsdl:input>
</wsdl:operation>
<wsdl:operation name="addUsedCartridgesInCartridgeGroups">
- <http:operation location="addUsedCartridgesInCartridgeGroups"/>
+ <http:operation location="addUsedCartridgesInCartridgeGroups"></http:operation>
<wsdl:input>
- <mime:content type="text/xml" part="parameters"/>
+ <mime:content type="text/xml" part="parameters"></mime:content>
</wsdl:input>
</wsdl:operation>
<wsdl:operation name="removeUsedCartridgeGroupsInCartridgeSubGroups">
- <http:operation location="removeUsedCartridgeGroupsInCartridgeSubGroups"/>
+ <http:operation location="removeUsedCartridgeGroupsInCartridgeSubGroups"></http:operation>
<wsdl:input>
- <mime:content type="text/xml" part="parameters"/>
+ <mime:content type="text/xml" part="parameters"></mime:content>
</wsdl:input>
</wsdl:operation>
<wsdl:operation name="addUsedCartridgeGroupsInCartridgeSubGroups">
- <http:operation location="addUsedCartridgeGroupsInCartridgeSubGroups"/>
+ <http:operation location="addUsedCartridgeGroupsInCartridgeSubGroups"></http:operation>
<wsdl:input>
- <mime:content type="text/xml" part="parameters"/>
+ <mime:content type="text/xml" part="parameters"></mime:content>
</wsdl:input>
</wsdl:operation>
<wsdl:operation name="removeUsedCartridgeGroupsInApplications">
- <http:operation location="removeUsedCartridgeGroupsInApplications"/>
+ <http:operation location="removeUsedCartridgeGroupsInApplications"></http:operation>
<wsdl:input>
- <mime:content type="text/xml" part="parameters"/>
+ <mime:content type="text/xml" part="parameters"></mime:content>
</wsdl:input>
</wsdl:operation>
<wsdl:operation name="removeUsedCartridgesInCartridgeGroups">
- <http:operation location="removeUsedCartridgesInCartridgeGroups"/>
+ <http:operation location="removeUsedCartridgesInCartridgeGroups"></http:operation>
<wsdl:input>
- <mime:content type="text/xml" part="parameters"/>
+ <mime:content type="text/xml" part="parameters"></mime:content>
</wsdl:input>
</wsdl:operation>
<wsdl:operation name="addDomainMapping">
- <http:operation location="addDomainMapping"/>
+ <http:operation location="addDomainMapping"></http:operation>
<wsdl:input>
- <mime:content type="text/xml" part="parameters"/>
+ <mime:content type="text/xml" part="parameters"></mime:content>
</wsdl:input>
</wsdl:operation>
<wsdl:operation name="addUsedCartridgesInApplications">
- <http:operation location="addUsedCartridgesInApplications"/>
+ <http:operation location="addUsedCartridgesInApplications"></http:operation>
<wsdl:input>
- <mime:content type="text/xml" part="parameters"/>
+ <mime:content type="text/xml" part="parameters"></mime:content>
</wsdl:input>
</wsdl:operation>
<wsdl:operation name="removeApplicationSignUp">
- <http:operation location="removeApplicationSignUp"/>
+ <http:operation location="removeApplicationSignUp"></http:operation>
<wsdl:input>
- <mime:content type="text/xml" part="parameters"/>
+ <mime:content type="text/xml" part="parameters"></mime:content>
</wsdl:input>
</wsdl:operation>
<wsdl:operation name="removeDomainMapping">
- <http:operation location="removeDomainMapping"/>
+ <http:operation location="removeDomainMapping"></http:operation>
<wsdl:input>
- <mime:content type="text/xml" part="parameters"/>
+ <mime:content type="text/xml" part="parameters"></mime:content>
</wsdl:input>
</wsdl:operation>
<wsdl:operation name="notifyArtifactUpdatedEventForRepository">
- <http:operation location="notifyArtifactUpdatedEventForRepository"/>
+ <http:operation location="notifyArtifactUpdatedEventForRepository"></http:operation>
<wsdl:input>
- <mime:content type="text/xml" part="parameters"/>
+ <mime:content type="text/xml" part="parameters"></mime:content>
</wsdl:input>
</wsdl:operation>
<wsdl:operation name="canCartirdgeGroupBeRemoved">
- <http:operation location="canCartirdgeGroupBeRemoved"/>
+ <http:operation location="canCartirdgeGroupBeRemoved"></http:operation>
<wsdl:input>
- <mime:content type="text/xml" part="parameters"/>
+ <mime:content type="text/xml" part="parameters"></mime:content>
</wsdl:input>
<wsdl:output>
- <mime:content type="text/xml" part="parameters"/>
+ <mime:content type="text/xml" part="parameters"></mime:content>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="getApplicationSignUp">
- <http:operation location="getApplicationSignUp"/>
+ <http:operation location="getApplicationSignUp"></http:operation>
<wsdl:input>
- <mime:content type="text/xml" part="parameters"/>
+ <mime:content type="text/xml" part="parameters"></mime:content>
</wsdl:input>
<wsdl:output>
- <mime:content type="text/xml" part="parameters"/>
+ <mime:content type="text/xml" part="parameters"></mime:content>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="addApplicationSignUp">
- <http:operation location="addApplicationSignUp"/>
+ <http:operation location="addApplicationSignUp"></http:operation>
<wsdl:input>
- <mime:content type="text/xml" part="parameters"/>
+ <mime:content type="text/xml" part="parameters"></mime:content>
</wsdl:input>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="StratosManagerService">
+ <wsdl:port name="StratosManagerServiceHttpsSoap11Endpoint" binding="ns:StratosManagerServiceSoap11Binding">
+ <soap:address location="https://172.17.42.1:9443/services/StratosManagerService.StratosManagerServiceHttpsSoap11Endpoint/"></soap:address>
+ </wsdl:port>
<wsdl:port name="StratosManagerServiceHttpSoap11Endpoint" binding="ns:StratosManagerServiceSoap11Binding">
- <soap:address location="http://localhost:8080/axis2/services/StratosManagerService"/>
+ <soap:address location="http://172.17.42.1:9763/services/StratosManagerService.StratosManagerServiceHttpSoap11Endpoint/"></soap:address>
+ </wsdl:port>
+ <wsdl:port name="StratosManagerServiceHttpsSoap12Endpoint" binding="ns:StratosManagerServiceSoap12Binding">
+ <soap12:address location="https://172.17.42.1:9443/services/StratosManagerService.StratosManagerServiceHttpsSoap12Endpoint/"></soap12:address>
</wsdl:port>
<wsdl:port name="StratosManagerServiceHttpSoap12Endpoint" binding="ns:StratosManagerServiceSoap12Binding">
- <soap12:address location="http://localhost:8080/axis2/services/StratosManagerService"/>
+ <soap12:address location="http://172.17.42.1:9763/services/StratosManagerService.StratosManagerServiceHttpSoap12Endpoint/"></soap12:address>
</wsdl:port>
<wsdl:port name="StratosManagerServiceHttpEndpoint" binding="ns:StratosManagerServiceHttpBinding">
- <http:address location="http://localhost:8080/axis2/services/StratosManagerService"/>
+ <http:address location="http://172.17.42.1:9763/services/StratosManagerService.StratosManagerServiceHttpEndpoint/"></http:address>
+ </wsdl:port>
+ <wsdl:port name="StratosManagerServiceHttpsEndpoint" binding="ns:StratosManagerServiceHttpBinding">
+ <http:address location="https://172.17.42.1:9443/services/StratosManagerService.StratosManagerServiceHttpsEndpoint/"></http:address>
</wsdl:port>
</wsdl:service>
-</wsdl:definitions>
+</wsdl:definitions>
\ No newline at end of file
[4/6] stratos git commit: fixing an issue in cartridges/groups cache
Posted by ra...@apache.org.
http://git-wip-us.apache.org/repos/asf/stratos/blob/7ef55833/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 aa3d70b..6648ec1 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
@@ -1,13 +1,14 @@
-<?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://autoscale.policy.pojo.autoscaler.stratos.apache.org/xsd" xmlns:ax25="http://pojo.autoscaler.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://policy.exception.autoscaler.stratos.apache.org/xsd" xmlns:ax214="http://rmi.java/xsd" xmlns:ax215="http://io.java/xsd" xmlns:ax220="http://exception.autoscaler.stratos.apache.org/xsd" xmlns:ns1="http://org.apache.axis2/xsd" xmlns:ax212="http://application.exception.autoscaler.stratos.apache.org/xsd" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:mime="http://schemas.x
mlsoap.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:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:ax29="http://common.stratos.apache.org/xsd" xmlns:ax27="http://exception.autoscaler.stratos.apache.org/xsd" xmlns:ns="http://impl.services.autoscaler.stratos.apache.org" xmlns:ax25="http://policy.exception.autoscaler.stratos.apache.org/xsd" xmlns:ax23="http://autoscale.policy.pojo.autoscaler.stratos.apache.org/xsd" xmlns:ax217="http://io.java/xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:ax216="http://rmi.java/xsd" xmlns:ns1="http://org.apache.axis2/xsd" xmlns:ax220="http://deployment.policy.pojo.autoscaler.stratos.apache.org/xsd" xmlns:ax213="http://pojo.applications.autoscaler.stratos.apache.org/xsd" xmlns:ax223="http://pojo.autoscaler.stratos.apache.org/xsd" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:ax211="http://application.exception.autoscaler.stratos.apache.org/xsd" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:mime="ht
tp://schemas.xmlsoap.org/wsdl/mime/" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" targetNamespace="http://impl.services.autoscaler.stratos.apache.org">
+ <wsdl:documentation>AutoscalerService</wsdl:documentation>
<wsdl:types>
- <xs:schema xmlns:ax216="http://io.java/xsd" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://rmi.java/xsd">
- <xs:import namespace="http://io.java/xsd"/>
+ <xs:schema xmlns:ax218="http://io.java/xsd" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://rmi.java/xsd">
+ <xs:import namespace="http://io.java/xsd"></xs:import>
<xs:complexType name="RemoteException">
<xs:complexContent>
- <xs:extension base="ax216:IOException">
+ <xs:extension base="ax217:IOException">
<xs:sequence>
- <xs:element minOccurs="0" name="cause" nillable="true" type="xs:anyType"/>
- <xs:element minOccurs="0" name="message" nillable="true" type="xs:string"/>
+ <xs:element minOccurs="0" name="cause" nillable="true" type="xs:anyType"></xs:element>
+ <xs:element minOccurs="0" name="message" nillable="true" type="xs:string"></xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
@@ -16,1522 +17,1530 @@
<xs:schema attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://autoscale.policy.pojo.autoscaler.stratos.apache.org/xsd">
<xs:complexType name="AutoscalePolicy">
<xs:sequence>
- <xs:element minOccurs="0" name="description" nillable="true" type="xs:string"/>
- <xs:element minOccurs="0" name="displayName" nillable="true" type="xs:string"/>
- <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="ax27:LoadThresholds"/>
- <xs:element minOccurs="0" name="tenantId" type="xs:int"/>
+ <xs:element minOccurs="0" name="description" nillable="true" type="xs:string"></xs:element>
+ <xs:element minOccurs="0" name="displayName" nillable="true" type="xs:string"></xs:element>
+ <xs:element minOccurs="0" name="id" nillable="true" type="xs:string"></xs:element>
+ <xs:element minOccurs="0" name="instanceRoundingFactor" type="xs:float"></xs:element>
+ <xs:element minOccurs="0" name="isPublic" type="xs:boolean"></xs:element>
+ <xs:element minOccurs="0" name="loadThresholds" nillable="true" type="ax23:LoadThresholds"></xs:element>
+ <xs:element minOccurs="0" name="tenantId" type="xs:int"></xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="LoadThresholds">
<xs:sequence>
- <xs:element minOccurs="0" name="loadAverageThreshold" type="xs:float"/>
- <xs:element minOccurs="0" name="memoryConsumptionThreshold" type="xs:float"/>
- <xs:element minOccurs="0" name="requestsInFlightThreshold" type="xs:float"/>
+ <xs:element minOccurs="0" name="loadAverageThreshold" type="xs:float"></xs:element>
+ <xs:element minOccurs="0" name="memoryConsumptionThreshold" type="xs:float"></xs:element>
+ <xs:element minOccurs="0" name="requestsInFlightThreshold" type="xs:float"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:schema>
- <xs:schema xmlns:ax23="http://common.stratos.apache.org/xsd" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://pojo.applications.autoscaler.stratos.apache.org/xsd">
- <xs:import namespace="http://common.stratos.apache.org/xsd"/>
+ <xs:schema xmlns:ax214="http://common.stratos.apache.org/xsd" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://pojo.applications.autoscaler.stratos.apache.org/xsd">
+ <xs:import namespace="http://common.stratos.apache.org/xsd"></xs:import>
<xs:complexType name="ApplicationContext">
<xs:sequence>
- <xs:element minOccurs="0" name="alias" nillable="true" type="xs:string"/>
- <xs:element minOccurs="0" name="applicationId" nillable="true" type="xs:string"/>
- <xs:element minOccurs="0" name="components" nillable="true" type="ax21:ComponentContext"/>
- <xs:element minOccurs="0" name="description" nillable="true" type="xs:string"/>
- <xs:element minOccurs="0" name="multiTenant" type="xs:boolean"/>
- <xs:element minOccurs="0" name="name" nillable="true" type="xs:string"/>
- <xs:element minOccurs="0" name="properties" nillable="true" type="ax23:Properties"/>
- <xs:element minOccurs="0" name="status" nillable="true" type="xs:string"/>
- <xs:element minOccurs="0" name="tenantAdminUsername" nillable="true" type="xs:string"/>
- <xs:element minOccurs="0" name="tenantDomain" nillable="true" type="xs:string"/>
- <xs:element minOccurs="0" name="tenantId" type="xs:int"/>
+ <xs:element minOccurs="0" name="alias" nillable="true" type="xs:string"></xs:element>
+ <xs:element minOccurs="0" name="applicationId" nillable="true" type="xs:string"></xs:element>
+ <xs:element minOccurs="0" name="components" nillable="true" type="ax213:ComponentContext"></xs:element>
+ <xs:element minOccurs="0" name="description" nillable="true" type="xs:string"></xs:element>
+ <xs:element minOccurs="0" name="multiTenant" type="xs:boolean"></xs:element>
+ <xs:element minOccurs="0" name="name" nillable="true" type="xs:string"></xs:element>
+ <xs:element minOccurs="0" name="properties" nillable="true" type="ax29:Properties"></xs:element>
+ <xs:element minOccurs="0" name="status" nillable="true" type="xs:string"></xs:element>
+ <xs:element minOccurs="0" name="tenantAdminUsername" nillable="true" type="xs:string"></xs:element>
+ <xs:element minOccurs="0" name="tenantDomain" nillable="true" type="xs:string"></xs:element>
+ <xs:element minOccurs="0" name="tenantId" type="xs:int"></xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="ComponentContext">
<xs:sequence>
- <xs:element maxOccurs="unbounded" minOccurs="0" name="applicationClusterContexts" nillable="true" type="ax21:ApplicationClusterContext"/>
- <xs:element maxOccurs="unbounded" minOccurs="0" name="cartridgeContexts" nillable="true" type="ax21:CartridgeContext"/>
- <xs:element minOccurs="0" name="dependencyContext" nillable="true" type="ax21:DependencyContext"/>
- <xs:element maxOccurs="unbounded" minOccurs="0" name="groupContexts" nillable="true" type="ax21:GroupContext"/>
+ <xs:element maxOccurs="unbounded" minOccurs="0" name="applicationClusterContexts" nillable="true" type="ax213:ApplicationClusterContext"></xs:element>
+ <xs:element maxOccurs="unbounded" minOccurs="0" name="cartridgeContexts" nillable="true" type="ax213:CartridgeContext"></xs:element>
+ <xs:element minOccurs="0" name="dependencyContext" nillable="true" type="ax213:DependencyContext"></xs:element>
+ <xs:element maxOccurs="unbounded" minOccurs="0" name="groupContexts" nillable="true" type="ax213:GroupContext"></xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="ApplicationClusterContext">
<xs:sequence>
- <xs:element minOccurs="0" name="autoscalePolicyName" nillable="true" type="xs:string"/>
- <xs:element minOccurs="0" name="cartridgeType" nillable="true" type="xs:string"/>
- <xs:element minOccurs="0" name="clusterId" nillable="true" type="xs:string"/>
- <xs:element maxOccurs="unbounded" minOccurs="0" name="dependencyClusterIds" nillable="true" type="xs:string"/>
- <xs:element minOccurs="0" name="deploymentPolicyName" nillable="true" type="xs:string"/>
- <xs:element minOccurs="0" name="hostName" nillable="true" type="xs:string"/>
- <xs:element minOccurs="0" name="persistenceContext" nillable="true" type="ax21:PersistenceContext"/>
- <xs:element minOccurs="0" name="properties" nillable="true" type="ax23:Properties"/>
- <xs:element minOccurs="0" name="tenantRange" nillable="true" type="xs:string"/>
- <xs:element minOccurs="0" name="textPayload" nillable="true" type="xs:string"/>
+ <xs:element minOccurs="0" name="autoscalePolicyName" nillable="true" type="xs:string"></xs:element>
+ <xs:element minOccurs="0" name="cartridgeType" nillable="true" type="xs:string"></xs:element>
+ <xs:element minOccurs="0" name="clusterId" nillable="true" type="xs:string"></xs:element>
+ <xs:element maxOccurs="unbounded" minOccurs="0" name="dependencyClusterIds" nillable="true" type="xs:string"></xs:element>
+ <xs:element minOccurs="0" name="deploymentPolicyName" nillable="true" type="xs:string"></xs:element>
+ <xs:element minOccurs="0" name="hostName" nillable="true" type="xs:string"></xs:element>
+ <xs:element minOccurs="0" name="properties" nillable="true" type="ax29:Properties"></xs:element>
+ <xs:element minOccurs="0" name="tenantRange" nillable="true" type="xs:string"></xs:element>
+ <xs:element minOccurs="0" name="textPayload" nillable="true" type="xs:string"></xs:element>
</xs:sequence>
</xs:complexType>
- <xs:complexType name="PersistenceContext">
+ <xs:complexType name="CartridgeContext">
<xs:sequence>
- <xs:element minOccurs="0" name="persistenceRequired" type="xs:boolean"/>
- <xs:element maxOccurs="unbounded" minOccurs="0" name="volumes" nillable="true" type="ax21:VolumeContext"/>
+ <xs:element minOccurs="0" name="cartridgeMax" type="xs:int"></xs:element>
+ <xs:element minOccurs="0" name="cartridgeMin" type="xs:int"></xs:element>
+ <xs:element minOccurs="0" name="subscribableInfoContext" nillable="true" type="ax213:SubscribableInfoContext"></xs:element>
+ <xs:element minOccurs="0" name="type" nillable="true" type="xs:string"></xs:element>
</xs:sequence>
</xs:complexType>
- <xs:complexType name="VolumeContext">
+ <xs:complexType name="SubscribableInfoContext">
<xs:sequence>
- <xs:element minOccurs="0" name="device" nillable="true" type="xs:string"/>
- <xs:element minOccurs="0" name="iaasType" nillable="true" type="xs:string"/>
- <xs:element minOccurs="0" name="id" nillable="true" type="xs:string"/>
- <xs:element minOccurs="0" name="mappingPath" nillable="true" type="xs:string"/>
- <xs:element minOccurs="0" name="removeOntermination" type="xs:boolean"/>
- <xs:element minOccurs="0" name="size" type="xs:int"/>
- <xs:element minOccurs="0" name="snapshotId" nillable="true" type="xs:string"/>
- <xs:element minOccurs="0" name="volumeId" nillable="true" type="xs:string"/>
+ <xs:element minOccurs="0" name="alias" nillable="true" type="xs:string"></xs:element>
+ <xs:element minOccurs="0" name="artifactRepositoryContext" nillable="true" type="ax213:ArtifactRepositoryContext"></xs:element>
+ <xs:element minOccurs="0" name="autoscalingPolicy" nillable="true" type="xs:string"></xs:element>
+ <xs:element maxOccurs="unbounded" minOccurs="0" name="dependencyAliases" nillable="true" type="xs:string"></xs:element>
+ <xs:element minOccurs="0" name="deploymentPolicy" nillable="true" type="xs:string"></xs:element>
+ <xs:element minOccurs="0" name="maxMembers" type="xs:int"></xs:element>
+ <xs:element minOccurs="0" name="minMembers" type="xs:int"></xs:element>
+ <xs:element minOccurs="0" name="persistenceContext" nillable="true" type="ax213:PersistenceContext"></xs:element>
+ <xs:element minOccurs="0" name="properties" nillable="true" type="ax29:Properties"></xs:element>
</xs:sequence>
</xs:complexType>
- <xs:complexType name="CartridgeContext">
+ <xs:complexType name="ArtifactRepositoryContext">
<xs:sequence>
- <xs:element minOccurs="0" name="cartridgeMax" type="xs:int"/>
- <xs:element minOccurs="0" name="cartridgeMin" type="xs:int"/>
- <xs:element minOccurs="0" name="subscribableInfoContext" nillable="true" type="ax21:SubscribableInfoContext"/>
- <xs:element minOccurs="0" name="type" nillable="true" type="xs:string"/>
+ <xs:element minOccurs="0" name="alias" nillable="true" type="xs:string"></xs:element>
+ <xs:element minOccurs="0" name="privateRepo" type="xs:boolean"></xs:element>
+ <xs:element minOccurs="0" name="repoPassword" nillable="true" type="xs:string"></xs:element>
+ <xs:element minOccurs="0" name="repoUrl" nillable="true" type="xs:string"></xs:element>
+ <xs:element minOccurs="0" name="repoUsername" nillable="true" type="xs:string"></xs:element>
</xs:sequence>
</xs:complexType>
- <xs:complexType name="SubscribableInfoContext">
+ <xs:complexType name="PersistenceContext">
<xs:sequence>
- <xs:element minOccurs="0" name="alias" nillable="true" type="xs:string"/>
- <xs:element minOccurs="0" name="artifactRepositoryContext" nillable="true" type="ax21:ArtifactRepositoryContext"/>
- <xs:element minOccurs="0" name="autoscalingPolicy" 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="maxMembers" type="xs:int"/>
- <xs:element minOccurs="0" name="minMembers" type="xs:int"/>
- <xs:element minOccurs="0" name="persistenceContext" nillable="true" type="ax21:PersistenceContext"/>
- <xs:element minOccurs="0" name="properties" nillable="true" type="ax23:Properties"/>
+ <xs:element minOccurs="0" name="persistenceRequired" type="xs:boolean"></xs:element>
+ <xs:element maxOccurs="unbounded" minOccurs="0" name="volumes" nillable="true" type="ax213:VolumeContext"></xs:element>
</xs:sequence>
</xs:complexType>
- <xs:complexType name="ArtifactRepositoryContext">
+ <xs:complexType name="VolumeContext">
<xs:sequence>
- <xs:element minOccurs="0" name="alias" nillable="true" type="xs:string"/>
- <xs:element minOccurs="0" name="privateRepo" type="xs:boolean"/>
- <xs:element minOccurs="0" name="repoPassword" nillable="true" type="xs:string"/>
- <xs:element minOccurs="0" name="repoUrl" nillable="true" type="xs:string"/>
- <xs:element minOccurs="0" name="repoUsername" nillable="true" type="xs:string"/>
+ <xs:element minOccurs="0" name="device" nillable="true" type="xs:string"></xs:element>
+ <xs:element minOccurs="0" name="iaasType" nillable="true" type="xs:string"></xs:element>
+ <xs:element minOccurs="0" name="id" nillable="true" type="xs:string"></xs:element>
+ <xs:element minOccurs="0" name="mappingPath" nillable="true" type="xs:string"></xs:element>
+ <xs:element minOccurs="0" name="removeOntermination" type="xs:boolean"></xs:element>
+ <xs:element minOccurs="0" name="size" type="xs:int"></xs:element>
+ <xs:element minOccurs="0" name="snapshotId" nillable="true" type="xs:string"></xs:element>
+ <xs:element minOccurs="0" name="volumeId" nillable="true" type="xs:string"></xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="DependencyContext">
<xs:sequence>
- <xs:element maxOccurs="unbounded" minOccurs="0" name="scalingDependents" nillable="true" type="xs:string"/>
- <xs:element maxOccurs="unbounded" minOccurs="0" name="startupOrdersContexts" nillable="true" type="xs:string"/>
- <xs:element minOccurs="0" name="terminationBehaviour" nillable="true" type="xs:string"/>
+ <xs:element maxOccurs="unbounded" minOccurs="0" name="scalingDependents" nillable="true" type="xs:string"></xs:element>
+ <xs:element maxOccurs="unbounded" minOccurs="0" name="startupOrdersContexts" nillable="true" type="xs:string"></xs:element>
+ <xs:element minOccurs="0" name="terminationBehaviour" nillable="true" type="xs:string"></xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="GroupContext">
<xs:sequence>
- <xs:element minOccurs="0" name="alias" nillable="true" type="xs:string"/>
- <xs:element maxOccurs="unbounded" minOccurs="0" name="cartridgeContexts" nillable="true" type="ax21:CartridgeContext"/>
- <xs:element minOccurs="0" name="deploymentPolicy" nillable="true" type="xs:string"/>
- <xs:element maxOccurs="unbounded" minOccurs="0" name="groupContexts" nillable="true" type="ax21:GroupContext"/>
- <xs:element minOccurs="0" name="groupMaxInstances" type="xs:int"/>
- <xs:element minOccurs="0" name="groupMinInstances" type="xs:int"/>
- <xs:element minOccurs="0" name="groupScalingEnabled" type="xs:boolean"/>
- <xs:element minOccurs="0" name="name" nillable="true" type="xs:string"/>
+ <xs:element minOccurs="0" name="alias" nillable="true" type="xs:string"></xs:element>
+ <xs:element maxOccurs="unbounded" minOccurs="0" name="cartridgeContexts" nillable="true" type="ax213:CartridgeContext"></xs:element>
+ <xs:element minOccurs="0" name="deploymentPolicy" nillable="true" type="xs:string"></xs:element>
+ <xs:element maxOccurs="unbounded" minOccurs="0" name="groupContexts" nillable="true" type="ax213:GroupContext"></xs:element>
+ <xs:element minOccurs="0" name="groupMaxInstances" type="xs:int"></xs:element>
+ <xs:element minOccurs="0" name="groupMinInstances" type="xs:int"></xs:element>
+ <xs:element minOccurs="0" name="groupScalingEnabled" type="xs:boolean"></xs:element>
+ <xs:element minOccurs="0" name="name" nillable="true" type="xs:string"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:schema>
<xs:schema attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://pojo.autoscaler.stratos.apache.org/xsd">
<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="ax25:Dependencies"/>
- <xs:element maxOccurs="unbounded" minOccurs="0" name="groups" nillable="true" type="ax25:ServiceGroup"/>
- <xs:element minOccurs="0" name="groupscalingEnabled" type="xs:boolean"/>
- <xs:element minOccurs="0" name="name" nillable="true" type="xs:string"/>
+ <xs:element maxOccurs="unbounded" minOccurs="0" name="cartridges" nillable="true" type="xs:string"></xs:element>
+ <xs:element minOccurs="0" name="dependencies" nillable="true" type="ax223:Dependencies"></xs:element>
+ <xs:element maxOccurs="unbounded" minOccurs="0" name="groups" nillable="true" type="ax223:ServiceGroup"></xs:element>
+ <xs:element minOccurs="0" name="groupscalingEnabled" type="xs:boolean"></xs:element>
+ <xs:element minOccurs="0" name="name" nillable="true" type="xs:string"></xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="Dependencies">
<xs:sequence>
- <xs:element maxOccurs="unbounded" minOccurs="0" name="scalingDependants" nillable="true" type="xs:string"/>
- <xs:element maxOccurs="unbounded" minOccurs="0" name="startupOrders" nillable="true" type="xs:string"/>
- <xs:element minOccurs="0" name="terminationBehaviour" nillable="true" type="xs:string"/>
+ <xs:element maxOccurs="unbounded" minOccurs="0" name="scalingDependants" nillable="true" type="xs:string"></xs:element>
+ <xs:element maxOccurs="unbounded" minOccurs="0" name="startupOrders" nillable="true" type="xs:string"></xs:element>
+ <xs:element minOccurs="0" name="terminationBehaviour" nillable="true" type="xs:string"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:schema>
- <xs:schema xmlns:ax28="http://autoscale.policy.pojo.autoscaler.stratos.apache.org/xsd" xmlns:ax26="http://pojo.autoscaler.stratos.apache.org/xsd" xmlns:ax24="http://pojo.applications.autoscaler.stratos.apache.org/xsd" xmlns:ax217="http://rmi.java/xsd" xmlns:ax219="http://policy.exception.autoscaler.stratos.apache.org/xsd" xmlns:ax221="http://exception.autoscaler.stratos.apache.org/xsd" xmlns:ax222="http://common.stratos.apache.org/xsd" xmlns:ax213="http://application.exception.autoscaler.stratos.apache.org/xsd" xmlns:ax211="http://deployment.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://pojo.autoscaler.stratos.apache.org/xsd"/>
- <xs:import namespace="http://autoscale.policy.pojo.autoscaler.stratos.apache.org/xsd"/>
- <xs:import namespace="http://deployment.policy.pojo.autoscaler.stratos.apache.org/xsd"/>
- <xs:import namespace="http://application.exception.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://exception.autoscaler.stratos.apache.org/xsd"/>
- <xs:import namespace="http://common.stratos.apache.org/xsd"/>
- <xs:element name="deleteApplication">
+ <xs:schema xmlns:ax221="http://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>
+ <xs:complexType name="ApplicationPolicy">
+ <xs:sequence>
+ <xs:element minOccurs="0" name="algorithm" nillable="true" type="xs:string"></xs:element>
+ <xs:element minOccurs="0" name="id" nillable="true" type="xs:string"></xs:element>
+ <xs:element maxOccurs="unbounded" minOccurs="0" name="networkPartitionGroups" nillable="true" type="xs:string"></xs:element>
+ <xs:element maxOccurs="unbounded" minOccurs="0" name="networkPartitions" nillable="true" type="xs:string"></xs:element>
+ <xs:element minOccurs="0" name="properties" nillable="true" type="ax29:Properties"></xs:element>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:schema>
+ <xs:schema xmlns:ax215="http://pojo.applications.autoscaler.stratos.apache.org/xsd" xmlns:ax212="http://application.exception.autoscaler.stratos.apache.org/xsd" xmlns:ax222="http://deployment.policy.pojo.autoscaler.stratos.apache.org/xsd" xmlns:ax28="http://exception.autoscaler.stratos.apache.org/xsd" xmlns:ax210="http://common.stratos.apache.org/xsd" xmlns:ax224="http://pojo.autoscaler.stratos.apache.org/xsd" xmlns:ax26="http://policy.exception.autoscaler.stratos.apache.org/xsd" xmlns:ax24="http://autoscale.policy.pojo.autoscaler.stratos.apache.org/xsd" xmlns:ax219="http://rmi.java/xsd" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://impl.services.autoscaler.stratos.apache.org">
+ <xs:import namespace="http://autoscale.policy.pojo.autoscaler.stratos.apache.org/xsd"></xs:import>
+ <xs:import namespace="http://policy.exception.autoscaler.stratos.apache.org/xsd"></xs:import>
+ <xs:import namespace="http://exception.autoscaler.stratos.apache.org/xsd"></xs:import>
+ <xs:import namespace="http://common.stratos.apache.org/xsd"></xs:import>
+ <xs:import namespace="http://application.exception.autoscaler.stratos.apache.org/xsd"></xs:import>
+ <xs:import namespace="http://pojo.applications.autoscaler.stratos.apache.org/xsd"></xs:import>
+ <xs:import namespace="http://rmi.java/xsd"></xs:import>
+ <xs:import namespace="http://deployment.policy.pojo.autoscaler.stratos.apache.org/xsd"></xs:import>
+ <xs:import namespace="http://pojo.autoscaler.stratos.apache.org/xsd"></xs:import>
+ <xs:element name="getAutoScalingPolicies">
<xs:complexType>
- <xs:sequence>
- <xs:element minOccurs="0" name="applicationId" nillable="true" type="xs:string"/>
- </xs:sequence>
+ <xs:sequence></xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="getApplication">
+ <xs:element name="getAutoScalingPoliciesResponse">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="applicationId" nillable="true" type="xs:string"/>
+ <xs:element maxOccurs="unbounded" minOccurs="0" name="return" nillable="true" type="ax23:AutoscalePolicy"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="getApplicationResponse">
+ <xs:element name="AutoscalerServiceInvalidPolicyException">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="return" nillable="true" type="ax24:ApplicationContext"/>
+ <xs:element minOccurs="0" name="InvalidPolicyException" nillable="true" type="ax25:InvalidPolicyException"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="getServiceGroup">
+ <xs:element name="addAutoScalingPolicy">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="name" nillable="true" type="xs:string"/>
+ <xs:element minOccurs="0" name="autoscalePolicy" nillable="true" type="ax23:AutoscalePolicy"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="getServiceGroupResponse">
+ <xs:element name="addAutoScalingPolicyResponse">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="return" nillable="true" type="ax25:ServiceGroup"/>
+ <xs:element minOccurs="0" name="return" type="xs:boolean"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="getAutoscalingPolicy">
+ <xs:element name="updateAutoScalingPolicy">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="autoscalingPolicyId" nillable="true" type="xs:string"/>
+ <xs:element minOccurs="0" name="autoscalePolicy" nillable="true" type="ax23:AutoscalePolicy"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="getAutoscalingPolicyResponse">
+ <xs:element name="updateAutoScalingPolicyResponse">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="return" nillable="true" type="ax27:AutoscalePolicy"/>
+ <xs:element minOccurs="0" name="return" type="xs:boolean"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="getApplicationPolicy">
+ <xs:element name="removeAutoScalingPolicy">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="applicationPolicyId" nillable="true" type="xs:string"/>
+ <xs:element minOccurs="0" name="autoscalePolicyId" nillable="true" type="xs:string"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="getApplicationPolicyResponse">
+ <xs:element name="removeAutoScalingPolicyResponse">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="return" nillable="true" type="ax29:ApplicationPolicy"/>
+ <xs:element minOccurs="0" name="return" type="xs:boolean"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="getApplications">
- <xs:complexType>
- <xs:sequence/>
- </xs:complexType>
- </xs:element>
- <xs:element name="getApplicationsResponse">
+ <xs:element name="AutoscalerServiceInvalidArgumentException">
<xs:complexType>
<xs:sequence>
- <xs:element maxOccurs="unbounded" minOccurs="0" name="return" nillable="true" type="ax24:ApplicationContext"/>
+ <xs:element minOccurs="0" name="InvalidArgumentException" nillable="true" type="ax27:InvalidArgumentException"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="AutoscalerServiceApplicationDefinitionException">
+ <xs:element name="updateClusterMonitor">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="ApplicationDefinitionException" nillable="true" type="ax212:ApplicationDefinitionException"/>
+ <xs:element minOccurs="0" name="clusterId" nillable="true" type="xs:string"></xs:element>
+ <xs:element minOccurs="0" name="properties" nillable="true" type="ax29:Properties"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="addApplication">
+ <xs:element name="findClusterId">
<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:element>
+ <xs:element minOccurs="0" name="alias" nillable="true" type="xs:string"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="AutoscalerServiceRemoteException">
+ <xs:element name="findClusterIdResponse">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="RemoteException" nillable="true" type="ax217:RemoteException"/>
+ <xs:element minOccurs="0" name="return" nillable="true" type="xs:string"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="AutoscalerServiceInvalidApplicationPolicyException">
+ <xs:element name="serviceGroupExist">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="InvalidApplicationPolicyException" nillable="true" type="ax212:InvalidApplicationPolicyException"/>
+ <xs:element minOccurs="0" name="serviceName" nillable="true" type="xs:string"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="AutoscalerServiceInvalidPolicyException">
+ <xs:element name="serviceGroupExistResponse">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="InvalidPolicyException" nillable="true" type="ax219:InvalidPolicyException"/>
+ <xs:element minOccurs="0" name="return" type="xs:boolean"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="addApplicationPolicy">
+ <xs:element name="AutoscalerServiceAutoScalerException">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="applicationPolicy" nillable="true" type="ax29:ApplicationPolicy"/>
+ <xs:element minOccurs="0" name="AutoScalerException" nillable="true" type="ax27:AutoScalerException"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="removeApplicationPolicy">
+ <xs:element name="undeployServiceGroup">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="applicationPolicyId" nillable="true" type="xs:string"/>
+ <xs:element minOccurs="0" name="name" nillable="true" type="xs:string"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="AutoscalerServiceApplicatioinPolicyNotExistsException">
+ <xs:element name="AutoscalerServiceApplicationDefinitionException">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="ApplicatioinPolicyNotExistsException" nillable="true" type="ax219:ApplicatioinPolicyNotExistsException"/>
+ <xs:element minOccurs="0" name="ApplicationDefinitionException" nillable="true" type="ax212:ApplicationDefinitionException"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="updateApplicationPolicy">
+ <xs:element name="addApplication">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="applicationPolicy" nillable="true" type="ax29:ApplicationPolicy"/>
+ <xs:element minOccurs="0" name="applicationContext" nillable="true" type="ax215:ApplicationContext"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="getApplicationPolicies">
+ <xs:element name="getApplications">
<xs:complexType>
- <xs:sequence/>
+ <xs:sequence></xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="getApplicationPoliciesResponse">
+ <xs:element name="getApplicationsResponse">
<xs:complexType>
<xs:sequence>
- <xs:element maxOccurs="unbounded" minOccurs="0" name="return" nillable="true" type="ax29:ApplicationPolicy"/>
+ <xs:element maxOccurs="unbounded" minOccurs="0" name="return" nillable="true" type="ax215:ApplicationContext"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="serviceGroupExist">
+ <xs:element name="deployApplication">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="serviceName" nillable="true" type="xs:string"/>
+ <xs:element minOccurs="0" name="applicationId" nillable="true" type="xs:string"></xs:element>
+ <xs:element minOccurs="0" name="applicationPolicyId" nillable="true" type="xs:string"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="serviceGroupExistResponse">
+ <xs:element name="deployApplicationResponse">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="return" type="xs:boolean"/>
+ <xs:element minOccurs="0" name="return" type="xs:boolean"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="AutoscalerServiceAutoScalerException">
+ <xs:element name="AutoscalerServiceRemoteException">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="AutoScalerException" nillable="true" type="ax220:AutoScalerException"/>
+ <xs:element minOccurs="0" name="RemoteException" nillable="true" type="ax216:RemoteException"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="getServiceGroups">
+ <xs:element name="AutoscalerServiceInvalidApplicationPolicyException">
<xs:complexType>
- <xs:sequence/>
+ <xs:sequence>
+ <xs:element minOccurs="0" name="InvalidApplicationPolicyException" nillable="true" type="ax212:InvalidApplicationPolicyException"></xs:element>
+ </xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="getServiceGroupsResponse">
+ <xs:element name="addApplicationPolicy">
<xs:complexType>
<xs:sequence>
- <xs:element maxOccurs="unbounded" minOccurs="0" name="return" nillable="true" type="ax25:ServiceGroup"/>
+ <xs:element minOccurs="0" name="applicationPolicy" nillable="true" type="ax220:ApplicationPolicy"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="removeServiceGroup">
+ <xs:element name="getApplicationPolicy">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="groupName" nillable="true" type="xs:string"/>
+ <xs:element minOccurs="0" name="applicationPolicyId" nillable="true" type="xs:string"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="addAutoScalingPolicy">
+ <xs:element name="getApplicationPolicyResponse">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="autoscalePolicy" nillable="true" type="ax27:AutoscalePolicy"/>
+ <xs:element minOccurs="0" name="return" nillable="true" type="ax220:ApplicationPolicy"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="addAutoScalingPolicyResponse">
+ <xs:element name="getApplicationPolicies">
<xs:complexType>
- <xs:sequence>
- <xs:element minOccurs="0" name="return" type="xs:boolean"/>
- </xs:sequence>
+ <xs:sequence></xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="getAutoScalingPolicies">
+ <xs:element name="getApplicationPoliciesResponse">
<xs:complexType>
- <xs:sequence/>
+ <xs:sequence>
+ <xs:element maxOccurs="unbounded" minOccurs="0" name="return" nillable="true" type="ax220:ApplicationPolicy"></xs:element>
+ </xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="getAutoScalingPoliciesResponse">
+ <xs:element name="removeApplicationPolicy">
<xs:complexType>
<xs:sequence>
- <xs:element maxOccurs="unbounded" minOccurs="0" name="return" nillable="true" type="ax27:AutoscalePolicy"/>
+ <xs:element minOccurs="0" name="applicationPolicyId" nillable="true" type="xs:string"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="updateAutoScalingPolicy">
+ <xs:element name="AutoscalerServiceApplicatioinPolicyNotExistsException">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="autoscalePolicy" nillable="true" type="ax27:AutoscalePolicy"/>
+ <xs:element minOccurs="0" name="ApplicatioinPolicyNotExistsException" nillable="true" type="ax25:ApplicatioinPolicyNotExistsException"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="updateAutoScalingPolicyResponse">
+ <xs:element name="updateApplicationPolicy">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="return" type="xs:boolean"/>
+ <xs:element minOccurs="0" name="applicationPolicy" nillable="true" type="ax220:ApplicationPolicy"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="removeAutoScalingPolicy">
+ <xs:element name="getApplicationNetworkPartitions">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="autoscalePolicyId" nillable="true" type="xs:string"/>
+ <xs:element minOccurs="0" name="applicationId" nillable="true" type="xs:string"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="removeAutoScalingPolicyResponse">
+ <xs:element name="getApplicationNetworkPartitionsResponse">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="return" type="xs:boolean"/>
+ <xs:element maxOccurs="unbounded" minOccurs="0" name="return" nillable="true" type="xs:string"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="deployApplication">
+ <xs:element name="undeployApplication">
<xs:complexType>
<xs:sequence>
- <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="applicationId" nillable="true" type="xs:string"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="deployApplicationResponse">
+ <xs:element name="getAutoscalingPolicy">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="return" type="xs:boolean"/>
+ <xs:element minOccurs="0" name="autoscalingPolicyId" nillable="true" type="xs:string"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="undeployApplication">
+ <xs:element name="getAutoscalingPolicyResponse">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="applicationId" nillable="true" type="xs:string"/>
+ <xs:element minOccurs="0" name="return" nillable="true" type="ax23:AutoscalePolicy"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="AutoscalerServiceInvalidArgumentException">
+ <xs:element name="deleteApplication">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="InvalidArgumentException" nillable="true" type="ax220:InvalidArgumentException"/>
+ <xs:element minOccurs="0" name="applicationId" nillable="true" type="xs:string"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="updateClusterMonitor">
+ <xs:element name="getApplication">
<xs:complexType>
<xs:sequence>
- <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="applicationId" nillable="true" type="xs:string"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="AutoscalerServiceInvalidServiceGroupException">
+ <xs:element name="getApplicationResponse">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="InvalidServiceGroupException" nillable="true" type="ax212:InvalidServiceGroupException"/>
+ <xs:element minOccurs="0" name="return" nillable="true" type="ax215:ApplicationContext"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="addServiceGroup">
+ <xs:element name="getServiceGroup">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="servicegroup" nillable="true" type="ax25:ServiceGroup"/>
+ <xs:element minOccurs="0" name="name" nillable="true" type="xs:string"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="findClusterId">
+ <xs:element name="getServiceGroupResponse">
<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="return" nillable="true" type="ax223:ServiceGroup"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="findClusterIdResponse">
+ <xs:element name="getServiceGroups">
+ <xs:complexType>
+ <xs:sequence></xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="getServiceGroupsResponse">
<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="ax223:ServiceGroup"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="getApplicationNetworkPartitions">
+ <xs:element name="AutoscalerServiceInvalidServiceGroupException">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="applicationId" nillable="true" type="xs:string"/>
+ <xs:element minOccurs="0" name="InvalidServiceGroupException" nillable="true" type="ax212:InvalidServiceGroupException"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="getApplicationNetworkPartitionsResponse">
+ <xs:element name="addServiceGroup">
<xs:complexType>
<xs:sequence>
- <xs:element maxOccurs="unbounded" minOccurs="0" name="return" nillable="true" type="xs:string"/>
+ <xs:element minOccurs="0" name="servicegroup" nillable="true" type="ax223:ServiceGroup"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="undeployServiceGroup">
+ <xs:element name="removeServiceGroup">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="name" nillable="true" type="xs:string"/>
+ <xs:element minOccurs="0" name="groupName" nillable="true" type="xs:string"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>
- <xs:schema 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://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="ax22:Properties"/>
- </xs:sequence>
- </xs:complexType>
- </xs:schema>
<xs:schema attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://application.exception.autoscaler.stratos.apache.org/xsd">
<xs:complexType name="ApplicationDefinitionException">
<xs:sequence>
- <xs:element minOccurs="0" name="message" nillable="true" type="xs:string"/>
+ <xs:element minOccurs="0" name="message" nillable="true" type="xs:string"></xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="InvalidApplicationPolicyException">
<xs:sequence>
- <xs:element minOccurs="0" name="message" nillable="true" type="xs:string"/>
+ <xs:element minOccurs="0" name="message" nillable="true" type="xs:string"></xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="InvalidServiceGroupException">
<xs:sequence>
- <xs:element minOccurs="0" name="message" nillable="true" type="xs:string"/>
+ <xs:element minOccurs="0" name="message" nillable="true" type="xs:string"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:schema>
<xs:schema attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://common.stratos.apache.org/xsd">
<xs:complexType name="Properties">
<xs:sequence>
- <xs:element maxOccurs="unbounded" minOccurs="0" name="properties" nillable="true" type="ax22:Property"/>
+ <xs:element maxOccurs="unbounded" minOccurs="0" name="properties" nillable="true" type="ax29:Property"></xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="Property">
<xs:sequence>
- <xs:element minOccurs="0" name="name" nillable="true" type="xs:string"/>
- <xs:element minOccurs="0" name="value" nillable="true" type="xs:string"/>
+ <xs:element minOccurs="0" name="name" nillable="true" type="xs:string"></xs:element>
+ <xs:element minOccurs="0" name="value" nillable="true" type="xs:string"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:schema>
<xs:schema attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://policy.exception.autoscaler.stratos.apache.org/xsd">
<xs:complexType name="InvalidPolicyException">
<xs:sequence>
- <xs:element minOccurs="0" name="message" nillable="true" type="xs:string"/>
+ <xs:element minOccurs="0" name="message" nillable="true" type="xs:string"></xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="ApplicatioinPolicyNotExistsException">
<xs:sequence>
- <xs:element minOccurs="0" name="message" nillable="true" type="xs:string"/>
+ <xs:element minOccurs="0" name="message" nillable="true" type="xs:string"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:schema>
<xs:schema attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://io.java/xsd">
<xs:complexType name="IOException">
- <xs:sequence/>
+ <xs:sequence></xs:sequence>
</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:element>
+ </xs:sequence>
+ </xs:complexType>
<xs:complexType name="AutoScalerException">
<xs:complexContent>
<xs:extension base="xs:RuntimeException">
- <xs:sequence/>
+ <xs:sequence></xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
- <xs:complexType name="InvalidArgumentException">
- <xs:sequence>
- <xs:element minOccurs="0" name="message" nillable="true" type="xs:string"/>
- </xs:sequence>
- </xs:complexType>
</xs:schema>
</wsdl:types>
<wsdl:message name="removeAutoScalingPolicyRequest">
- <wsdl:part name="parameters" element="ns:removeAutoScalingPolicy"/>
+ <wsdl:part name="parameters" element="ns:removeAutoScalingPolicy"></wsdl:part>
</wsdl:message>
<wsdl:message name="removeAutoScalingPolicyResponse">
- <wsdl:part name="parameters" element="ns:removeAutoScalingPolicyResponse"/>
+ <wsdl:part name="parameters" element="ns:removeAutoScalingPolicyResponse"></wsdl:part>
</wsdl:message>
<wsdl:message name="AutoscalerServiceInvalidPolicyException">
- <wsdl:part name="parameters" element="ns:AutoscalerServiceInvalidPolicyException"/>
+ <wsdl:part name="parameters" element="ns:AutoscalerServiceInvalidPolicyException"></wsdl:part>
</wsdl:message>
<wsdl:message name="getAutoScalingPoliciesRequest">
- <wsdl:part name="parameters" element="ns:getAutoScalingPolicies"/>
+ <wsdl:part name="parameters" element="ns:getAutoScalingPolicies"></wsdl:part>
</wsdl:message>
<wsdl:message name="getAutoScalingPoliciesResponse">
- <wsdl:part name="parameters" element="ns:getAutoScalingPoliciesResponse"/>
+ <wsdl:part name="parameters" element="ns:getAutoScalingPoliciesResponse"></wsdl:part>
</wsdl:message>
<wsdl:message name="getApplicationPoliciesRequest">
- <wsdl:part name="parameters" element="ns:getApplicationPolicies"/>
+ <wsdl:part name="parameters" element="ns:getApplicationPolicies"></wsdl:part>
</wsdl:message>
<wsdl:message name="getApplicationPoliciesResponse">
- <wsdl:part name="parameters" element="ns:getApplicationPoliciesResponse"/>
+ <wsdl:part name="parameters" element="ns:getApplicationPoliciesResponse"></wsdl:part>
</wsdl:message>
<wsdl:message name="addApplicationPolicyRequest">
- <wsdl:part name="parameters" element="ns:addApplicationPolicy"/>
+ <wsdl:part name="parameters" element="ns:addApplicationPolicy"></wsdl:part>
</wsdl:message>
<wsdl:message name="AutoscalerServiceRemoteException">
- <wsdl:part name="parameters" element="ns:AutoscalerServiceRemoteException"/>
+ <wsdl:part name="parameters" element="ns:AutoscalerServiceRemoteException"></wsdl:part>
</wsdl:message>
<wsdl:message name="AutoscalerServiceInvalidApplicationPolicyException">
- <wsdl:part name="parameters" element="ns:AutoscalerServiceInvalidApplicationPolicyException"/>
+ <wsdl:part name="parameters" element="ns:AutoscalerServiceInvalidApplicationPolicyException"></wsdl:part>
</wsdl:message>
<wsdl:message name="getServiceGroupsRequest">
- <wsdl:part name="parameters" element="ns:getServiceGroups"/>
+ <wsdl:part name="parameters" element="ns:getServiceGroups"></wsdl:part>
</wsdl:message>
<wsdl:message name="getServiceGroupsResponse">
- <wsdl:part name="parameters" element="ns:getServiceGroupsResponse"/>
+ <wsdl:part name="parameters" element="ns:getServiceGroupsResponse"></wsdl:part>
</wsdl:message>
<wsdl:message name="AutoscalerServiceAutoScalerException">
- <wsdl:part name="parameters" element="ns:AutoscalerServiceAutoScalerException"/>
+ <wsdl:part name="parameters" element="ns:AutoscalerServiceAutoScalerException"></wsdl:part>
</wsdl:message>
<wsdl:message name="getApplicationRequest">
- <wsdl:part name="parameters" element="ns:getApplication"/>
+ <wsdl:part name="parameters" element="ns:getApplication"></wsdl:part>
</wsdl:message>
<wsdl:message name="getApplicationResponse">
- <wsdl:part name="parameters" element="ns:getApplicationResponse"/>
+ <wsdl:part name="parameters" element="ns:getApplicationResponse"></wsdl:part>
</wsdl:message>
<wsdl:message name="deployApplicationRequest">
- <wsdl:part name="parameters" element="ns:deployApplication"/>
+ <wsdl:part name="parameters" element="ns:deployApplication"></wsdl:part>
</wsdl:message>
<wsdl:message name="deployApplicationResponse">
- <wsdl:part name="parameters" element="ns:deployApplicationResponse"/>
+ <wsdl:part name="parameters" element="ns:deployApplicationResponse"></wsdl:part>
</wsdl:message>
<wsdl:message name="AutoscalerServiceApplicationDefinitionException">
- <wsdl:part name="parameters" element="ns:AutoscalerServiceApplicationDefinitionException"/>
+ <wsdl:part name="parameters" element="ns:AutoscalerServiceApplicationDefinitionException"></wsdl:part>
</wsdl:message>
<wsdl:message name="updateApplicationPolicyRequest">
- <wsdl:part name="parameters" element="ns:updateApplicationPolicy"/>
+ <wsdl:part name="parameters" element="ns:updateApplicationPolicy"></wsdl:part>
</wsdl:message>
<wsdl:message name="AutoscalerServiceApplicatioinPolicyNotExistsException">
- <wsdl:part name="parameters" element="ns:AutoscalerServiceApplicatioinPolicyNotExistsException"/>
+ <wsdl:part name="parameters" element="ns:AutoscalerServiceApplicatioinPolicyNotExistsException"></wsdl:part>
</wsdl:message>
<wsdl:message name="getApplicationNetworkPartitionsRequest">
- <wsdl:part name="parameters" element="ns:getApplicationNetworkPartitions"/>
+ <wsdl:part name="parameters" element="ns:getApplicationNetworkPartitions"></wsdl:part>
</wsdl:message>
<wsdl:message name="getApplicationNetworkPartitionsResponse">
- <wsdl:part name="parameters" element="ns:getApplicationNetworkPartitionsResponse"/>
+ <wsdl:part name="parameters" element="ns:getApplicationNetworkPartitionsResponse"></wsdl:part>
</wsdl:message>
<wsdl:message name="serviceGroupExistRequest">
- <wsdl:part name="parameters" element="ns:serviceGroupExist"/>
+ <wsdl:part name="parameters" element="ns:serviceGroupExist"></wsdl:part>
</wsdl:message>
<wsdl:message name="serviceGroupExistResponse">
- <wsdl:part name="parameters" element="ns:serviceGroupExistResponse"/>
+ <wsdl:part name="parameters" element="ns:serviceGroupExistResponse"></wsdl:part>
</wsdl:message>
<wsdl:message name="addAutoScalingPolicyRequest">
- <wsdl:part name="parameters" element="ns:addAutoScalingPolicy"/>
+ <wsdl:part name="parameters" element="ns:addAutoScalingPolicy"></wsdl:part>
</wsdl:message>
<wsdl:message name="addAutoScalingPolicyResponse">
- <wsdl:part name="parameters" element="ns:addAutoScalingPolicyResponse"/>
+ <wsdl:part name="parameters" element="ns:addAutoScalingPolicyResponse"></wsdl:part>
</wsdl:message>
<wsdl:message name="addServiceGroupRequest">
- <wsdl:part name="parameters" element="ns:addServiceGroup"/>
+ <wsdl:part name="parameters" element="ns:addServiceGroup"></wsdl:part>
</wsdl:message>
<wsdl:message name="AutoscalerServiceInvalidServiceGroupException">
- <wsdl:part name="parameters" element="ns:AutoscalerServiceInvalidServiceGroupException"/>
+ <wsdl:part name="parameters" element="ns:AutoscalerServiceInvalidServiceGroupException"></wsdl:part>
</wsdl:message>
<wsdl:message name="getServiceGroupRequest">
- <wsdl:part name="parameters" element="ns:getServiceGroup"/>
+ <wsdl:part name="parameters" element="ns:getServiceGroup"></wsdl:part>
</wsdl:message>
<wsdl:message name="getServiceGroupResponse">
- <wsdl:part name="parameters" element="ns:getServiceGroupResponse"/>
+ <wsdl:part name="parameters" element="ns:getServiceGroupResponse"></wsdl:part>
</wsdl:message>
<wsdl:message name="deleteApplicationRequest">
- <wsdl:part name="parameters" element="ns:deleteApplication"/>
+ <wsdl:part name="parameters" element="ns:deleteApplication"></wsdl:part>
</wsdl:message>
<wsdl:message name="undeployServiceGroupRequest">
- <wsdl:part name="parameters" element="ns:undeployServiceGroup"/>
+ <wsdl:part name="parameters" element="ns:undeployServiceGroup"></wsdl:part>
</wsdl:message>
<wsdl:message name="getAutoscalingPolicyRequest">
- <wsdl:part name="parameters" element="ns:getAutoscalingPolicy"/>
+ <wsdl:part name="parameters" element="ns:getAutoscalingPolicy"></wsdl:part>
</wsdl:message>
<wsdl:message name="getAutoscalingPolicyResponse">
- <wsdl:part name="parameters" element="ns:getAutoscalingPolicyResponse"/>
+ <wsdl:part name="parameters" element="ns:getAutoscalingPolicyResponse"></wsdl:part>
</wsdl:message>
<wsdl:message name="updateAutoScalingPolicyRequest">
- <wsdl:part name="parameters" element="ns:updateAutoScalingPolicy"/>
+ <wsdl:part name="parameters" element="ns:updateAutoScalingPolicy"></wsdl:part>
</wsdl:message>
<wsdl:message name="updateAutoScalingPolicyResponse">
- <wsdl:part name="parameters" element="ns:updateAutoScalingPolicyResponse"/>
+ <wsdl:part name="parameters" element="ns:updateAutoScalingPolicyResponse"></wsdl:part>
</wsdl:message>
<wsdl:message name="findClusterIdRequest">
- <wsdl:part name="parameters" element="ns:findClusterId"/>
+ <wsdl:part name="parameters" element="ns:findClusterId"></wsdl:part>
</wsdl:message>
<wsdl:message name="findClusterIdResponse">
- <wsdl:part name="parameters" element="ns:findClusterIdResponse"/>
+ <wsdl:part name="parameters" element="ns:findClusterIdResponse"></wsdl:part>
</wsdl:message>
<wsdl:message name="removeApplicationPolicyRequest">
- <wsdl:part name="parameters" element="ns:removeApplicationPolicy"/>
+ <wsdl:part name="parameters" element="ns:removeApplicationPolicy"></wsdl:part>
</wsdl:message>
<wsdl:message name="getApplicationsRequest">
- <wsdl:part name="parameters" element="ns:getApplications"/>
+ <wsdl:part name="parameters" element="ns:getApplications"></wsdl:part>
</wsdl:message>
<wsdl:message name="getApplicationsResponse">
- <wsdl:part name="parameters" element="ns:getApplicationsResponse"/>
+ <wsdl:part name="parameters" element="ns:getApplicationsResponse"></wsdl:part>
</wsdl:message>
<wsdl:message name="addApplicationRequest">
- <wsdl:part name="parameters" element="ns:addApplication"/>
+ <wsdl:part name="parameters" element="ns:addApplication"></wsdl:part>
</wsdl:message>
<wsdl:message name="updateClusterMonitorRequest">
- <wsdl:part name="parameters" element="ns:updateClusterMonitor"/>
+ <wsdl:part name="parameters" element="ns:updateClusterMonitor"></wsdl:part>
</wsdl:message>
<wsdl:message name="AutoscalerServiceInvalidArgumentException">
- <wsdl:part name="parameters" element="ns:AutoscalerServiceInvalidArgumentException"/>
+ <wsdl:part name="parameters" element="ns:AutoscalerServiceInvalidArgumentException"></wsdl:part>
</wsdl:message>
<wsdl:message name="undeployApplicationRequest">
- <wsdl:part name="parameters" element="ns:undeployApplication"/>
+ <wsdl:part name="parameters" element="ns:undeployApplication"></wsdl:part>
</wsdl:message>
<wsdl:message name="removeServiceGroupRequest">
- <wsdl:part name="parameters" element="ns:removeServiceGroup"/>
+ <wsdl:part name="parameters" element="ns:removeServiceGroup"></wsdl:part>
</wsdl:message>
<wsdl:message name="getApplicationPolicyRequest">
- <wsdl:part name="parameters" element="ns:getApplicationPolicy"/>
+ <wsdl:part name="parameters" element="ns:getApplicationPolicy"></wsdl:part>
</wsdl:message>
<wsdl:message name="getApplicationPolicyResponse">
- <wsdl:part name="parameters" element="ns:getApplicationPolicyResponse"/>
+ <wsdl:part name="parameters" element="ns:getApplicationPolicyResponse"></wsdl:part>
</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:AutoscalerServiceInvalidPolicyException" name="AutoscalerServiceInvalidPolicyException" wsaw:Action="urn:removeAutoScalingPolicyAutoscalerServiceInvalidPolicyException"/>
+ <wsdl:input message="ns:removeAutoScalingPolicyRequest" wsaw:Action="urn:removeAutoScalingPolicy"></wsdl:input>
+ <wsdl:output message="ns:removeAutoScalingPolicyResponse" wsaw:Action="urn:removeAutoScalingPolicyResponse"></wsdl:output>
+ <wsdl:fault message="ns:AutoscalerServiceInvalidPolicyException" name="AutoscalerServiceInvalidPolicyException" wsaw:Action="urn:removeAutoScalingPolicyAutoscalerServiceInvalidPolicyException"></wsdl:fault>
</wsdl:operation>
<wsdl:operation name="getAutoScalingPolicies">
- <wsdl:input message="ns:getAutoScalingPoliciesRequest" wsaw:Action="urn:getAutoScalingPolicies"/>
- <wsdl:output message="ns:getAutoScalingPoliciesResponse" wsaw:Action="urn:getAutoScalingPoliciesResponse"/>
+ <wsdl:input message="ns:getAutoScalingPoliciesRequest" wsaw:Action="urn:getAutoScalingPolicies"></wsdl:input>
+ <wsdl:output message="ns:getAutoScalingPoliciesResponse" wsaw:Action="urn:getAutoScalingPoliciesResponse"></wsdl:output>
</wsdl:operation>
<wsdl:operation name="getApplicationPolicies">
- <wsdl:input message="ns:getApplicationPoliciesRequest" wsaw:Action="urn:getApplicationPolicies"/>
- <wsdl:output message="ns:getApplicationPoliciesResponse" wsaw:Action="urn:getApplicationPoliciesResponse"/>
+ <wsdl:input message="ns:getApplicationPoliciesRequest" wsaw:Action="urn:getApplicationPolicies"></wsdl:input>
+ <wsdl:output message="ns:getApplicationPoliciesResponse" wsaw:Action="urn:getApplicationPoliciesResponse"></wsdl:output>
</wsdl:operation>
<wsdl:operation name="addApplicationPolicy">
- <wsdl:input message="ns:addApplicationPolicyRequest" wsaw:Action="urn:addApplicationPolicy"/>
- <wsdl:fault message="ns:AutoscalerServiceRemoteException" name="AutoscalerServiceRemoteException" wsaw:Action="urn:addApplicationPolicyAutoscalerServiceRemoteException"/>
- <wsdl:fault message="ns:AutoscalerServiceInvalidApplicationPolicyException" name="AutoscalerServiceInvalidApplicationPolicyException" wsaw:Action="urn:addApplicationPolicyAutoscalerServiceInvalidApplicationPolicyException"/>
- <wsdl:fault message="ns:AutoscalerServiceInvalidPolicyException" name="AutoscalerServiceInvalidPolicyException" wsaw:Action="urn:addApplicationPolicyAutoscalerServiceInvalidPolicyException"/>
+ <wsdl:input message="ns:addApplicationPolicyRequest" wsaw:Action="urn:addApplicationPolicy"></wsdl:input>
+ <wsdl:fault message="ns:AutoscalerServiceRemoteException" name="AutoscalerServiceRemoteException" wsaw:Action="urn:addApplicationPolicyAutoscalerServiceRemoteException"></wsdl:fault>
+ <wsdl:fault message="ns:AutoscalerServiceInvalidApplicationPolicyException" name="AutoscalerServiceInvalidApplicationPolicyException" wsaw:Action="urn:addApplicationPolicyAutoscalerServiceInvalidApplicationPolicyException"></wsdl:fault>
+ <wsdl:fault message="ns:AutoscalerServiceInvalidPolicyException" name="AutoscalerServiceInvalidPolicyException" wsaw:Action="urn:addApplicationPolicyAutoscalerServiceInvalidPolicyException"></wsdl:fault>
</wsdl:operation>
<wsdl:operation name="getServiceGroups">
- <wsdl:input message="ns:getServiceGroupsRequest" wsaw:Action="urn:getServiceGroups"/>
- <wsdl:output message="ns:getServiceGroupsResponse" wsaw:Action="urn:getServiceGroupsResponse"/>
- <wsdl:fault message="ns:AutoscalerServiceAutoScalerException" name="AutoscalerServiceAutoScalerException" wsaw:Action="urn:getServiceGroupsAutoscalerServiceAutoScalerException"/>
+ <wsdl:input message="ns:getServiceGroupsRequest" wsaw:Action="urn:getServiceGroups"></wsdl:input>
+ <wsdl:output message="ns:getServiceGroupsResponse" wsaw:Action="urn:getServiceGroupsResponse"></wsdl:output>
+ <wsdl:fault message="ns:AutoscalerServiceAutoScalerException" name="AutoscalerServiceAutoScalerException" wsaw:Action="urn:getServiceGroupsAutoscalerServiceAutoScalerException"></wsdl:fault>
</wsdl:operation>
<wsdl:operation name="getApplication">
- <wsdl:input message="ns:getApplicationRequest" wsaw:Action="urn:getApplication"/>
- <wsdl:output message="ns:getApplicationResponse" wsaw:Action="urn:getApplicationResponse"/>
+ <wsdl:input message="ns:getApplicationRequest" wsaw:Action="urn:getApplication"></wsdl:input>
+ <wsdl:output message="ns:getApplicationResponse" wsaw:Action="urn:getApplicationResponse"></wsdl:output>
</wsdl:operation>
<wsdl:operation name="deployApplication">
- <wsdl:input message="ns:deployApplicationRequest" wsaw:Action="urn:deployApplication"/>
- <wsdl:output message="ns:deployApplicationResponse" wsaw:Action="urn:deployApplicationResponse"/>
- <wsdl:fault message="ns:AutoscalerServiceApplicationDefinitionException" name="AutoscalerServiceApplicationDefinitionException" wsaw:Action="urn:deployApplicationAutoscalerServiceApplicationDefinitionException"/>
+ <wsdl:input message="ns:deployApplicationRequest" wsaw:Action="urn:deployApplication"></wsdl:input>
+ <wsdl:output message="ns:deployApplicationResponse" wsaw:Action="urn:deployApplicationResponse"></wsdl:output>
+ <wsdl:fault message="ns:AutoscalerServiceApplicationDefinitionException" name="AutoscalerServiceApplicationDefinitionException" wsaw:Action="urn:deployApplicationAutoscalerServiceApplicationDefinitionException"></wsdl:fault>
</wsdl:operation>
<wsdl:operation name="updateApplicationPolicy">
- <wsdl:input message="ns:updateApplicationPolicyRequest" wsaw:Action="urn:updateApplicationPolicy"/>
- <wsdl:fault message="ns:AutoscalerServiceInvalidApplicationPolicyException" name="AutoscalerServiceInvalidApplicationPolicyException" wsaw:Action="urn:updateApplicationPolicyAutoscalerServiceInvalidApplicationPolicyException"/>
- <wsdl:fault message="ns:AutoscalerServiceRemoteException" name="AutoscalerServiceRemoteException" wsaw:Action="urn:updateApplicationPolicyAutoscalerServiceRemoteException"/>
- <wsdl:fault message="ns:AutoscalerServiceApplicatioinPolicyNotExistsException" name="AutoscalerServiceApplicatioinPolicyNotExistsException" wsaw:Action="urn:updateApplicationPolicyAutoscalerServiceApplicatioinPolicyNotExistsException"/>
+ <wsdl:input message="ns:updateApplicationPolicyRequest" wsaw:Action="urn:updateApplicationPolicy"></wsdl:input>
+ <wsdl:fault message="ns:AutoscalerServiceInvalidApplicationPolicyException" name="AutoscalerServiceInvalidApplicationPolicyException" wsaw:Action="urn:updateApplicationPolicyAutoscalerServiceInvalidApplicationPolicyException"></wsdl:fault>
+ <wsdl:fault message="ns:AutoscalerServiceRemoteException" name="AutoscalerServiceRemoteException" wsaw:Action="urn:updateApplicationPolicyAutoscalerServiceRemoteException"></wsdl:fault>
+ <wsdl:fault message="ns:AutoscalerServiceApplicatioinPolicyNotExistsException" name="AutoscalerServiceApplicatioinPolicyNotExistsException" wsaw:Action="urn:updateApplicationPolicyAutoscalerServiceApplicatioinPolicyNotExistsException"></wsdl:fault>
</wsdl:operation>
<wsdl:operation name="getApplicationNetworkPartitions">
- <wsdl:input message="ns:getApplicationNetworkPartitionsRequest" wsaw:Action="urn:getApplicationNetworkPartitions"/>
- <wsdl:output message="ns:getApplicationNetworkPartitionsResponse" wsaw:Action="urn:getApplicationNetworkPartitionsResponse"/>
- <wsdl:fault message="ns:AutoscalerServiceAutoScalerException" name="AutoscalerServiceAutoScalerException" wsaw:Action="urn:getApplicationNetworkPartitionsAutoscalerServiceAutoScalerException"/>
+ <wsdl:input message="ns:getApplicationNetworkPartitionsRequest" wsaw:Action="urn:getApplicationNetworkPartitions"></wsdl:input>
+ <wsdl:output message="ns:getApplicationNetworkPartitionsResponse" wsaw:Action="urn:getApplicationNetworkPartitionsResponse"></wsdl:output>
+ <wsdl:fault message="ns:AutoscalerServiceAutoScalerException" name="AutoscalerServiceAutoScalerException" wsaw:Action="urn:getApplicationNetworkPartitionsAutoscalerServiceAutoScalerException"></wsdl:fault>
</wsdl:operation>
<wsdl:operation name="serviceGroupExist">
- <wsdl:input message="ns:serviceGroupExistRequest" wsaw:Action="urn:serviceGroupExist"/>
- <wsdl:output message="ns:serviceGroupExistResponse" wsaw:Action="urn:serviceGroupExistResponse"/>
+ <wsdl:input message="ns:serviceGroupExistRequest" wsaw:Action="urn:serviceGroupExist"></wsdl:input>
+ <wsdl:output message="ns:serviceGroupExistResponse" wsaw:Action="urn:serviceGroupExistResponse"></wsdl:output>
</wsdl:operation>
<wsdl:operation name="addAutoScalingPolicy">
- <wsdl:input message="ns:addAutoScalingPolicyRequest" wsaw:Action="urn:addAutoScalingPolicy"/>
- <wsdl:output message="ns:addAutoScalingPolicyResponse" wsaw:Action="urn:addAutoScalingPolicyResponse"/>
- <wsdl:fault message="ns:AutoscalerServiceInvalidPolicyException" name="AutoscalerServiceInvalidPolicyException" wsaw:Action="urn:addAutoScalingPolicyAutoscalerServiceInvalidPolicyException"/>
+ <wsdl:input message="ns:addAutoScalingPolicyRequest" wsaw:Action="urn:addAutoScalingPolicy"></wsdl:input>
+ <wsdl:output message="ns:addAutoScalingPolicyResponse" wsaw:Action="urn:addAutoScalingPolicyResponse"></wsdl:output>
+ <wsdl:fault message="ns:AutoscalerServiceInvalidPolicyException" name="AutoscalerServiceInvalidPolicyException" wsaw:Action="urn:addAutoScalingPolicyAutoscalerServiceInvalidPolicyException"></wsdl:fault>
</wsdl:operation>
<wsdl:operation name="addServiceGroup">
- <wsdl:input message="ns:addServiceGroupRequest" wsaw:Action="urn:addServiceGroup"/>
- <wsdl:fault message="ns:AutoscalerServiceInvalidServiceGroupException" name="AutoscalerServiceInvalidServiceGroupException" wsaw:Action="urn:addServiceGroupAutoscalerServiceInvalidServiceGroupException"/>
+ <wsdl:input message="ns:addServiceGroupRequest" wsaw:Action="urn:addServiceGroup"></wsdl:input>
+ <wsdl:fault message="ns:AutoscalerServiceInvalidServiceGroupException" name="AutoscalerServiceInvalidServiceGroupException" wsaw:Action="urn:addServiceGroupAutoscalerServiceInvalidServiceGroupException"></wsdl:fault>
</wsdl:operation>
<wsdl:operation name="getServiceGroup">
- <wsdl:input message="ns:getServiceGroupRequest" wsaw:Action="urn:getServiceGroup"/>
- <wsdl:output message="ns:getServiceGroupResponse" wsaw:Action="urn:getServiceGroupResponse"/>
+ <wsdl:input message="ns:getServiceGroupRequest" wsaw:Action="urn:getServiceGroup"></wsdl:input>
+ <wsdl:output message="ns:getServiceGroupResponse" wsaw:Action="urn:getServiceGroupResponse"></wsdl:output>
</wsdl:operation>
<wsdl:operation name="deleteApplication">
- <wsdl:input message="ns:deleteApplicationRequest" wsaw:Action="urn:deleteApplication"/>
+ <wsdl:input message="ns:deleteApplicationRequest" wsaw:Action="urn:deleteApplication"></wsdl:input>
</wsdl:operation>
<wsdl:operation name="undeployServiceGroup">
- <wsdl:input message="ns:undeployServiceGroupRequest" wsaw:Action="urn:undeployServiceGroup"/>
- <wsdl:fault message="ns:AutoscalerServiceAutoScalerException" name="AutoscalerServiceAutoScalerException" wsaw:Action="urn:undeployServiceGroupAutoscalerServiceAutoScalerException"/>
+ <wsdl:input message="ns:undeployServiceGroupRequest" wsaw:Action="urn:undeployServiceGroup"></wsdl:input>
+ <wsdl:fault message="ns:AutoscalerServiceAutoScalerException" name="AutoscalerServiceAutoScalerException" wsaw:Action="urn:undeployServiceGroupAutoscalerServiceAutoScalerException"></wsdl:fault>
</wsdl:operation>
<wsdl:operation name="getAutoscalingPolicy">
- <wsdl:input message="ns:getAutoscalingPolicyRequest" wsaw:Action="urn:getAutoscalingPolicy"/>
- <wsdl:output message="ns:getAutoscalingPolicyResponse" wsaw:Action="urn:getAutoscalingPolicyResponse"/>
+ <wsdl:input message="ns:getAutoscalingPolicyRequest" wsaw:Action="urn:getAutoscalingPolicy"></wsdl:input>
+ <wsdl:output message="ns:getAutoscalingPolicyResponse" wsaw:Action="urn:getAutoscalingPolicyResponse"></wsdl:output>
</wsdl:operation>
<wsdl:operation name="updateAutoScalingPolicy">
- <wsdl:input message="ns:updateAutoScalingPolicyRequest" wsaw:Action="urn:updateAutoScalingPolicy"/>
- <wsdl:output message="ns:updateAutoScalingPolicyResponse" wsaw:Action="urn:updateAutoScalingPolicyResponse"/>
- <wsdl:fault message="ns:AutoscalerServiceInvalidPolicyException" name="AutoscalerServiceInvalidPolicyException" wsaw:Action="urn:updateAutoScalingPolicyAutoscalerServiceInvalidPolicyException"/>
+ <wsdl:input message="ns:updateAutoScalingPolicyRequest" wsaw:Action="urn:updateAutoScalingPolicy"></wsdl:input>
+ <wsdl:output message="ns:updateAutoScalingPolicyResponse" wsaw:Action="urn:updateAutoScalingPolicyResponse"></wsdl:output>
+ <wsdl:fault message="ns:AutoscalerServiceInvalidPolicyException" name="AutoscalerServiceInvalidPolicyException" wsaw:Action="urn:updateAutoScalingPolicyAutoscalerServiceInvalidPolicyException"></wsdl:fault>
</wsdl:operation>
<wsdl:operation name="findClusterId">
- <wsdl:input message="ns:findClusterIdRequest" wsaw:Action="urn:findClusterId"/>
- <wsdl:output message="ns:findClusterIdResponse" wsaw:Action="urn:findClusterIdResponse"/>
+ <wsdl:input message="ns:findClusterIdRequest" wsaw:Action="urn:findClusterId"></wsdl:input>
+ <wsdl:output message="ns:findClusterIdResponse" wsaw:Action="urn:findClusterIdResponse"></wsdl:output>
</wsdl:operation>
<wsdl:operation name="removeApplicationPolicy">
- <wsdl:input message="ns:removeApplicationPolicyRequest" wsaw:Action="urn:removeApplicationPolicy"/>
- <wsdl:fault message="ns:AutoscalerServiceInvalidPolicyException" name="AutoscalerServiceInvalidPolicyException" wsaw:Action="urn:removeApplicationPolicyAutoscalerServiceInvalidPolicyException"/>
+ <wsdl:input message="ns:removeApplicationPolicyRequest" wsaw:Action="urn:removeApplicationPolicy"></wsdl:input>
+ <wsdl:fault message="ns:AutoscalerServiceInvalidPolicyException" name="AutoscalerServiceInvalidPolicyException" wsaw:Action="urn:removeApplicationPolicyAutoscalerServiceInvalidPolicyException"></wsdl:fault>
</wsdl:operation>
<wsdl:operation name="getApplications">
- <wsdl:input message="ns:getApplicationsRequest" wsaw:Action="urn:getApplications"/>
- <wsdl:output message="ns:getApplicationsResponse" wsaw:Action="urn:getApplicationsResponse"/>
+ <wsdl:input message="ns:getApplicationsRequest" wsaw:Action="urn:getApplications"></wsdl:input>
+ <wsdl:output message="ns:getApplicationsResponse" wsaw:Action="urn:getApplicationsResponse"></wsdl:output>
</wsdl:operation>
<wsdl:operation name="addApplication">
- <wsdl:input message="ns:addApplicationRequest" wsaw:Action="urn:addApplication"/>
- <wsdl:fault message="ns:AutoscalerServiceApplicationDefinitionException" name="A
<TRUNCATED>
[3/6] stratos git commit: fixing an issue in cartridges/groups cache
Posted by ra...@apache.org.
http://git-wip-us.apache.org/repos/asf/stratos/blob/7ef55833/service-stubs/org.apache.stratos.cloud.controller.service.stub/src/main/resources/CloudControllerService.wsdl
----------------------------------------------------------------------
diff --git a/service-stubs/org.apache.stratos.cloud.controller.service.stub/src/main/resources/CloudControllerService.wsdl b/service-stubs/org.apache.stratos.cloud.controller.service.stub/src/main/resources/CloudControllerService.wsdl
index 584e376..f417084 100644
--- a/service-stubs/org.apache.stratos.cloud.controller.service.stub/src/main/resources/CloudControllerService.wsdl
+++ b/service-stubs/org.apache.stratos.cloud.controller.service.stub/src/main/resources/CloudControllerService.wsdl
@@ -1,668 +1,669 @@
-<?xml version="1.0" encoding="UTF-8"?><wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:ax29="http://topology.domain.messaging.stratos.apache.org/xsd" xmlns:ns="http://impl.services.controller.cloud.stratos.apache.org" xmlns:ax27="http://domain.common.stratos.apache.org/xsd" xmlns:ax23="http://domain.controller.cloud.stratos.apache.org/xsd" xmlns:ax24="http://common.stratos.apache.org/xsd" xmlns:ax21="http://exception.controller.cloud.stratos.apache.org/xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:ns1="http://org.apache.axis2/xsd" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:ax211="http://kubernetes.domain.controller.cloud.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.controller.cloud.stratos.apache.org">
+<wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:ns="http://impl.services.controller.cloud.stratos.apache.org" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:ax229="http://common.stratos.apache.org/xsd" xmlns:ax227="http://domain.controller.cloud.stratos.apache.org/xsd" xmlns:ns1="http://org.apache.axis2/xsd" xmlns:ax233="http://topology.domain.messaging.stratos.apache.org/xsd" xmlns:ax231="http://domain.common.stratos.apache.org/xsd" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:ax225="http://exception.controller.cloud.stratos.apache.org/xsd" xmlns:ax235="http://kubernetes.domain.controller.cloud.stratos.apache.org/xsd" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" targetNamespace="http://impl.services.controller.cloud.stratos.apache.org">
+ <wsdl:documentation>CloudControllerService</wsdl:documentation>
<wsdl:types>
- <xs:schema xmlns:ax213="http://kubernetes.domain.controller.cloud.stratos.apache.org/xsd" xmlns:ax210="http://topology.domain.messaging.stratos.apache.org/xsd" xmlns:ax26="http://domain.controller.cloud.stratos.apache.org/xsd" xmlns:ax22="http://exception.controller.cloud.stratos.apache.org/xsd" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://impl.services.controller.cloud.stratos.apache.org">
- <xs:import namespace="http://exception.controller.cloud.stratos.apache.org/xsd"/>
- <xs:import namespace="http://domain.controller.cloud.stratos.apache.org/xsd"/>
- <xs:import namespace="http://topology.domain.messaging.stratos.apache.org/xsd"/>
- <xs:import namespace="http://kubernetes.domain.controller.cloud.stratos.apache.org/xsd"/>
- <xs:element name="CloudControllerServiceCartridgeNotFoundException">
+ <xs:schema xmlns:ax228="http://domain.controller.cloud.stratos.apache.org/xsd" xmlns:ax237="http://kubernetes.domain.controller.cloud.stratos.apache.org/xsd" xmlns:ax234="http://topology.domain.messaging.stratos.apache.org/xsd" xmlns:ax226="http://exception.controller.cloud.stratos.apache.org/xsd" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://impl.services.controller.cloud.stratos.apache.org">
+ <xs:import namespace="http://exception.controller.cloud.stratos.apache.org/xsd"></xs:import>
+ <xs:import namespace="http://domain.controller.cloud.stratos.apache.org/xsd"></xs:import>
+ <xs:import namespace="http://topology.domain.messaging.stratos.apache.org/xsd"></xs:import>
+ <xs:import namespace="http://kubernetes.domain.controller.cloud.stratos.apache.org/xsd"></xs:import>
+ <xs:element name="CloudControllerServiceInvalidServiceGroupException">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="CartridgeNotFoundException" nillable="true" type="ax21:CartridgeNotFoundException"/>
+ <xs:element minOccurs="0" name="InvalidServiceGroupException" nillable="true" type="ax225:InvalidServiceGroupException"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="CloudControllerServiceInvalidIaasProviderException">
+ <xs:element name="getServiceGroupSubGroups">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="InvalidIaasProviderException" nillable="true" type="ax21:InvalidIaasProviderException"/>
+ <xs:element minOccurs="0" name="name" nillable="true" type="xs:string"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="CloudControllerServiceCloudControllerException">
+ <xs:element name="getServiceGroupSubGroupsResponse">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="CloudControllerException" nillable="true" type="ax21:CloudControllerException"/>
+ <xs:element maxOccurs="unbounded" minOccurs="0" name="return" nillable="true" type="xs:string"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="startInstance">
+ <xs:element name="getServiceGroupCartridges">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="instanceContext" nillable="true" type="ax26:InstanceContext"/>
+ <xs:element minOccurs="0" name="name" nillable="true" type="xs:string"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="startInstanceResponse">
+ <xs:element name="getServiceGroupCartridgesResponse">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="return" nillable="true" type="ax26:MemberContext"/>
+ <xs:element maxOccurs="unbounded" minOccurs="0" name="return" nillable="true" type="xs:string"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="CloudControllerServiceInvalidMemberException">
+ <xs:element name="getServiceGroupDependencies">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="InvalidMemberException" nillable="true" type="ax21:InvalidMemberException"/>
+ <xs:element minOccurs="0" name="name" nillable="true" type="xs:string"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="CloudControllerServiceInvalidCartridgeTypeException">
+ <xs:element name="getServiceGroupDependenciesResponse">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="InvalidCartridgeTypeException" nillable="true" type="ax21:InvalidCartridgeTypeException"/>
+ <xs:element minOccurs="0" name="return" nillable="true" type="ax228:Dependencies"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="terminateInstance">
+ <xs:element name="CloudControllerServiceCartridgeNotFoundException">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="memberId" nillable="true" type="xs:string"/>
+ <xs:element minOccurs="0" name="CartridgeNotFoundException" nillable="true" type="ax225:CartridgeNotFoundException"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="registerService">
+ <xs:element name="CloudControllerServiceInvalidIaasProviderException">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="registrant" nillable="true" type="ax26:Registrant"/>
+ <xs:element minOccurs="0" name="InvalidIaasProviderException" nillable="true" type="ax225:InvalidIaasProviderException"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="registerServiceResponse">
+ <xs:element name="CloudControllerServiceCloudControllerException">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="return" type="xs:boolean"/>
+ <xs:element minOccurs="0" name="CloudControllerException" nillable="true" type="ax225:CloudControllerException"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="CloudControllerServiceInvalidServiceGroupException">
+ <xs:element name="startInstances">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="InvalidServiceGroupException" nillable="true" type="ax21:InvalidServiceGroupException"/>
+ <xs:element maxOccurs="unbounded" minOccurs="0" name="instanceContexts" nillable="true" type="ax228:InstanceContext"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="getServiceGroupSubGroups">
+ <xs:element name="startInstancesResponse">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="name" nillable="true" type="xs:string"/>
+ <xs:element maxOccurs="unbounded" minOccurs="0" name="return" nillable="true" type="ax228:MemberContext"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="getServiceGroupSubGroupsResponse">
+ <xs:element name="CloudControllerServiceInvalidClusterException">
<xs:complexType>
<xs:sequence>
- <xs:element maxOccurs="unbounded" minOccurs="0" name="return" nillable="true" type="xs:string"/>
+ <xs:element minOccurs="0" name="InvalidClusterException" nillable="true" type="ax225:InvalidClusterException"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="CloudControllerServiceInvalidPartitionException">
+ <xs:element name="terminateInstances">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="InvalidPartitionException" nillable="true" type="ax21:InvalidPartitionException"/>
+ <xs:element minOccurs="0" name="clusterId" nillable="true" type="xs:string"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="validatePartition">
+ <xs:element name="getCartridgeInfo">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="partition" nillable="true" type="ax26:Partition"/>
+ <xs:element minOccurs="0" name="cartridgeType" nillable="true" type="xs:string"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="validatePartitionResponse">
+ <xs:element name="getCartridgeInfoResponse">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="return" type="xs:boolean"/>
+ <xs:element minOccurs="0" name="return" nillable="true" type="ax228:CartridgeInfo"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="getServiceGroupCartridges">
+ <xs:element name="CloudControllerServiceInvalidPartitionException">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="name" nillable="true" type="xs:string"/>
+ <xs:element minOccurs="0" name="InvalidPartitionException" nillable="true" type="ax225:InvalidPartitionException"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="getServiceGroupCartridgesResponse">
+ <xs:element name="CloudControllerServiceInvalidCartridgeTypeException">
<xs:complexType>
<xs:sequence>
- <xs:element maxOccurs="unbounded" minOccurs="0" name="return" nillable="true" type="xs:string"/>
+ <xs:element minOccurs="0" name="InvalidCartridgeTypeException" nillable="true" type="ax225:InvalidCartridgeTypeException"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="getServiceGroupDependencies">
+ <xs:element name="validateDeploymentPolicy">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="name" nillable="true" type="xs:string"/>
+ <xs:element minOccurs="0" name="cartridgeType" nillable="true" type="xs:string"></xs:element>
+ <xs:element maxOccurs="unbounded" minOccurs="0" name="partitions" nillable="true" type="ax228:Partition"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="getServiceGroupDependenciesResponse">
+ <xs:element name="validateDeploymentPolicyResponse">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="return" nillable="true" type="ax26:Dependencies"/>
+ <xs:element minOccurs="0" name="return" type="xs:boolean"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="validateDeploymentPolicy">
+ <xs:element name="validatePartition">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="cartridgeType" nillable="true" type="xs:string"/>
- <xs:element maxOccurs="unbounded" minOccurs="0" name="partitions" nillable="true" type="ax26:Partition"/>
+ <xs:element minOccurs="0" name="partition" nillable="true" type="ax228:Partition"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="validateDeploymentPolicyResponse">
+ <xs:element name="validatePartitionResponse">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="return" type="xs:boolean"/>
+ <xs:element minOccurs="0" name="return" type="xs:boolean"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="startInstances">
+ <xs:element name="getClusterContext">
<xs:complexType>
<xs:sequence>
- <xs:element maxOccurs="unbounded" minOccurs="0" name="instanceContexts" nillable="true" type="ax26:InstanceContext"/>
+ <xs:element minOccurs="0" name="clusterId" nillable="true" type="xs:string"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="startInstancesResponse">
+ <xs:element name="getClusterContextResponse">
<xs:complexType>
<xs:sequence>
- <xs:element maxOccurs="unbounded" minOccurs="0" name="return" nillable="true" type="ax26:MemberContext"/>
+ <xs:element minOccurs="0" name="return" nillable="true" type="ax228:ClusterContext"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="CloudControllerServiceInvalidClusterException">
+ <xs:element name="updateClusterStatus">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="InvalidClusterException" nillable="true" type="ax21:InvalidClusterException"/>
+ <xs:element minOccurs="0" name="serviceName" nillable="true" type="xs:string"></xs:element>
+ <xs:element minOccurs="0" name="clusterId" nillable="true" type="xs:string"></xs:element>
+ <xs:element minOccurs="0" name="instanceId" nillable="true" type="xs:string"></xs:element>
+ <xs:element minOccurs="0" name="status" nillable="true" type="ax233:ClusterStatus"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="terminateInstances">
+ <xs:element name="CloudControllerServiceApplicationClusterRegistrationException">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="clusterId" nillable="true" type="xs:string"/>
+ <xs:element minOccurs="0" name="ApplicationClusterRegistrationException" nillable="true" type="ax225:ApplicationClusterRegistrationException"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="updateClusterStatus">
+ <xs:element name="createApplicationClusters">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="serviceName" nillable="true" type="xs:string"/>
- <xs:element minOccurs="0" name="clusterId" nillable="true" type="xs:string"/>
- <xs:element minOccurs="0" name="instanceId" nillable="true" type="xs:string"/>
- <xs:element minOccurs="0" name="status" nillable="true" type="ax29:ClusterStatus"/>
+ <xs:element minOccurs="0" name="appId" nillable="true" type="xs:string"></xs:element>
+ <xs:element maxOccurs="unbounded" minOccurs="0" name="appClustersContexts" nillable="true" type="ax228:ApplicationClusterContext"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="CloudControllerServiceUnregisteredClusterException">
+ <xs:element name="CloudControllerServiceClusterInstanceCreationException">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="UnregisteredClusterException" nillable="true" type="ax21:UnregisteredClusterException"/>
+ <xs:element minOccurs="0" name="ClusterInstanceCreationException" nillable="true" type="ax225:ClusterInstanceCreationException"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="unregisterService">
+ <xs:element name="createClusterInstance">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="clusterId" nillable="true" type="xs:string"/>
+ <xs:element minOccurs="0" name="serviceType" nillable="true" type="xs:string"></xs:element>
+ <xs:element minOccurs="0" name="clusterId" nillable="true" type="xs:string"></xs:element>
+ <xs:element minOccurs="0" name="alias" nillable="true" type="xs:string"></xs:element>
+ <xs:element minOccurs="0" name="instanceId" nillable="true" type="xs:string"></xs:element>
+ <xs:element minOccurs="0" name="partitionId" nillable="true" type="xs:string"></xs:element>
+ <xs:element minOccurs="0" name="networkPartitionId" nillable="true" type="xs:string"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="getCartridgeInfo">
+ <xs:element name="getKubernetesClusters">
<xs:complexType>
- <xs:sequence>
- <xs:element minOccurs="0" name="cartridgeType" nillable="true" type="xs:string"/>
- </xs:sequence>
+ <xs:sequence></xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="getCartridgeInfoResponse">
+ <xs:element name="getKubernetesClustersResponse">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="return" nillable="true" type="ax26:CartridgeInfo"/>
+ <xs:element maxOccurs="unbounded" minOccurs="0" name="return" nillable="true" type="ax237:KubernetesCluster"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="CloudControllerServiceApplicationClusterRegistrationException">
+ <xs:element name="CloudControllerServiceNonExistingKubernetesClusterException">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="ApplicationClusterRegistrationException" nillable="true" type="ax21:ApplicationClusterRegistrationException"/>
+ <xs:element minOccurs="0" name="NonExistingKubernetesClusterException" nillable="true" type="ax225:NonExistingKubernetesClusterException"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="createApplicationClusters">
+ <xs:element name="getMasterForKubernetesCluster">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="appId" nillable="true" type="xs:string"/>
- <xs:element maxOccurs="unbounded" minOccurs="0" name="appClustersContexts" nillable="true" type="ax26:ApplicationClusterContext"/>
+ <xs:element minOccurs="0" name="kubernetesClusterId" nillable="true" type="xs:string"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="CloudControllerServiceClusterInstanceCreationException">
+ <xs:element name="getMasterForKubernetesClusterResponse">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="ClusterInstanceCreationException" nillable="true" type="ax21:ClusterInstanceCreationException"/>
+ <xs:element minOccurs="0" name="return" nillable="true" type="ax237:KubernetesMaster"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="createClusterInstance">
+ <xs:element name="getHostsForKubernetesCluster">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="serviceType" nillable="true" type="xs:string"/>
- <xs:element minOccurs="0" name="clusterId" nillable="true" type="xs:string"/>
- <xs:element minOccurs="0" name="alias" nillable="true" type="xs:string"/>
- <xs:element minOccurs="0" name="instanceId" nillable="true" type="xs:string"/>
- <xs:element minOccurs="0" name="partitionId" nillable="true" type="xs:string"/>
- <xs:element minOccurs="0" name="networkPartitionId" nillable="true" type="xs:string"/>
+ <xs:element minOccurs="0" name="kubernetesClusterId" nillable="true" type="xs:string"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="CloudControllerServiceNonExistingKubernetesClusterException">
+ <xs:element name="getHostsForKubernetesClusterResponse">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="NonExistingKubernetesClusterException" nillable="true" type="ax21:NonExistingKubernetesClusterException"/>
+ <xs:element maxOccurs="unbounded" minOccurs="0" name="return" nillable="true" type="ax237:KubernetesHost"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="getMasterForKubernetesCluster">
+ <xs:element name="CloudControllerServiceDeploymentPolicyAlreadyExistsException">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="kubernetesClusterId" nillable="true" type="xs:string"/>
+ <xs:element minOccurs="0" name="DeploymentPolicyAlreadyExistsException" nillable="true" type="ax225:DeploymentPolicyAlreadyExistsException"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="getMasterForKubernetesClusterResponse">
+ <xs:element name="CloudControllerServiceInvalidDeploymentPolicyException">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="return" nillable="true" type="ax213:KubernetesMaster"/>
+ <xs:element minOccurs="0" name="InvalidDeploymentPolicyException" nillable="true" type="ax225:InvalidDeploymentPolicyException"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="getHostsForKubernetesCluster">
+ <xs:element name="addDeployementPolicy">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="kubernetesClusterId" nillable="true" type="xs:string"/>
+ <xs:element minOccurs="0" name="deploymentPolicy" nillable="true" type="ax228:DeploymentPolicy"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="getHostsForKubernetesClusterResponse">
+ <xs:element name="CloudControllerServiceDeploymentPolicyNotExistsException">
<xs:complexType>
<xs:sequence>
- <xs:element maxOccurs="unbounded" minOccurs="0" name="return" nillable="true" type="ax213:KubernetesHost"/>
+ <xs:element minOccurs="0" name="DeploymentPolicyNotExistsException" nillable="true" type="ax225:DeploymentPolicyNotExistsException"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="CloudControllerServiceInvalidKubernetesHostException">
+ <xs:element name="updateDeployementPolicy">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="InvalidKubernetesHostException" nillable="true" type="ax21:InvalidKubernetesHostException"/>
+ <xs:element minOccurs="0" name="deploymentPolicy" nillable="true" type="ax228:DeploymentPolicy"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="addKubernetesHost">
+ <xs:element name="removeDeployementPolicy">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="kubernetesClusterId" nillable="true" type="xs:string"/>
- <xs:element minOccurs="0" name="kubernetesHost" nillable="true" type="ax213:KubernetesHost"/>
+ <xs:element minOccurs="0" name="deploymentPolicyID" nillable="true" type="xs:string"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="addKubernetesHostResponse">
+ <xs:element name="getDeploymentPolicy">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="return" type="xs:boolean"/>
+ <xs:element minOccurs="0" name="deploymentPolicyID" nillable="true" type="xs:string"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="CloudControllerServiceNonExistingKubernetesHostException">
+ <xs:element name="getDeploymentPolicyResponse">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="NonExistingKubernetesHostException" nillable="true" type="ax21:NonExistingKubernetesHostException"/>
+ <xs:element minOccurs="0" name="return" nillable="true" type="ax228:DeploymentPolicy"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="updateKubernetesHost">
+ <xs:element name="getDeploymentPolicies">
<xs:complexType>
- <xs:sequence>
- <xs:element minOccurs="0" name="kubernetesHost" nillable="true" type="ax213:KubernetesHost"/>
- </xs:sequence>
+ <xs:sequence></xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="updateKubernetesHostResponse">
+ <xs:element name="getDeploymentPoliciesResponse">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="return" type="xs:boolean"/>
+ <xs:element maxOccurs="unbounded" minOccurs="0" name="return" nillable="true" type="ax228:DeploymentPolicy"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="CloudControllerServiceInvalidKubernetesMasterException">
+ <xs:element name="CloudControllerServiceInvalidCartridgeDefinitionException">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="InvalidKubernetesMasterException" nillable="true" type="ax21:InvalidKubernetesMasterException"/>
+ <xs:element minOccurs="0" name="InvalidCartridgeDefinitionException" nillable="true" type="ax225:InvalidCartridgeDefinitionException"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="CloudControllerServiceNonExistingKubernetesMasterException">
+ <xs:element name="CloudControllerServiceCartridgeDefinitionNotExistsException">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="NonExistingKubernetesMasterException" nillable="true" type="ax21:NonExistingKubernetesMasterException"/>
+ <xs:element minOccurs="0" name="CartridgeDefinitionNotExistsException" nillable="true" type="ax225:CartridgeDefinitionNotExistsException"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="updateKubernetesMaster">
+ <xs:element name="updateCartridge">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="kubernetesMaster" nillable="true" type="ax213:KubernetesMaster"/>
+ <xs:element minOccurs="0" name="cartridgeConfig" nillable="true" type="ax228:CartridgeConfig"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="updateKubernetesMasterResponse">
+ <xs:element name="getCartridges">
<xs:complexType>
- <xs:sequence>
- <xs:element minOccurs="0" name="return" type="xs:boolean"/>
- </xs:sequence>
+ <xs:sequence></xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="CloudControllerServiceDeploymentPolicyAlreadyExistsException">
+ <xs:element name="getCartridgesResponse">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="DeploymentPolicyAlreadyExistsException" nillable="true" type="ax21:DeploymentPolicyAlreadyExistsException"/>
+ <xs:element maxOccurs="unbounded" minOccurs="0" name="return" nillable="true" type="xs:string"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="CloudControllerServiceInvalidDeploymentPolicyException">
+ <xs:element name="removeCartridge">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="InvalidDeploymentPolicyException" nillable="true" type="ax21:InvalidDeploymentPolicyException"/>
+ <xs:element minOccurs="0" name="cartridgeType" nillable="true" type="xs:string"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="addDeployementPolicy">
+ <xs:element name="CloudControllerServiceNetworkPartitionAlreadyExistsException">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="deploymentPolicy" nillable="true" type="ax26:DeploymentPolicy"/>
+ <xs:element minOccurs="0" name="NetworkPartitionAlreadyExistsException" nillable="true" type="ax225:NetworkPartitionAlreadyExistsException"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="CloudControllerServiceDeploymentPolicyNotExistsException">
+ <xs:element name="addNetworkPartition">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="DeploymentPolicyNotExistsException" nillable="true" type="ax21:DeploymentPolicyNotExistsException"/>
+ <xs:element minOccurs="0" name="networkPartition" nillable="true" type="ax228:NetworkPartition"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="updateDeployementPolicy">
+ <xs:element name="getNetworkPartitions">
<xs:complexType>
- <xs:sequence>
- <xs:element minOccurs="0" name="deploymentPolicy" nillable="true" type="ax26:DeploymentPolicy"/>
- </xs:sequence>
+ <xs:sequence></xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="removeDeployementPolicy">
+ <xs:element name="getNetworkPartitionsResponse">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="deploymentPolicyID" nillable="true" type="xs:string"/>
+ <xs:element maxOccurs="unbounded" minOccurs="0" name="return" nillable="true" type="ax228:NetworkPartition"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="CloudControllerServiceNetworkPartitionNotExistsException">
+ <xs:element name="getNetworkPartition">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="NetworkPartitionNotExistsException" nillable="true" type="ax21:NetworkPartitionNotExistsException"/>
+ <xs:element minOccurs="0" name="networkPartitionId" nillable="true" type="xs:string"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="updateNetworkPartition">
+ <xs:element name="getNetworkPartitionResponse">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="networkPartition" nillable="true" type="ax26:NetworkPartition"/>
+ <xs:element minOccurs="0" name="return" nillable="true" type="ax228:NetworkPartition"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="getCartridges">
+ <xs:element name="CloudControllerServiceNetworkPartitionNotExistsException">
<xs:complexType>
- <xs:sequence/>
+ <xs:sequence>
+ <xs:element minOccurs="0" name="NetworkPartitionNotExistsException" nillable="true" type="ax225:NetworkPartitionNotExistsException"></xs:element>
+ </xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="getCartridgesResponse">
+ <xs:element name="removeNetworkPartition">
<xs:complexType>
<xs:sequence>
- <xs:element maxOccurs="unbounded" minOccurs="0" name="return" nillable="true" type="xs:string"/>
+ <xs:element minOccurs="0" name="networkPartitionId" nillable="true" type="xs:string"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="CloudControllerServiceInvalidCartridgeDefinitionException">
+ <xs:element name="updateNetworkPartition">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="InvalidCartridgeDefinitionException" nillable="true" type="ax21:InvalidCartridgeDefinitionException"/>
+ <xs:element minOccurs="0" name="networkPartition" nillable="true" type="ax228:NetworkPartition"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="CloudControllerServiceCartridgeAlreadyExistsException">
+ <xs:element name="CloudControllerServiceInvalidKubernetesHostException">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="CartridgeAlreadyExistsException" nillable="true" type="ax21:CartridgeAlreadyExistsException"/>
+ <xs:element minOccurs="0" name="InvalidKubernetesHostException" nillable="true" type="ax225:InvalidKubernetesHostException"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="addCartridge">
+ <xs:element name="addKubernetesHost">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="cartridgeConfig" nillable="true" type="ax26:CartridgeConfig"/>
+ <xs:element minOccurs="0" name="kubernetesClusterId" nillable="true" type="xs:string"></xs:element>
+ <xs:element minOccurs="0" name="kubernetesHost" nillable="true" type="ax237:KubernetesHost"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="getDeploymentPolicy">
+ <xs:element name="addKubernetesHostResponse">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="deploymentPolicyID" nillable="true" type="xs:string"/>
+ <xs:element minOccurs="0" name="return" type="xs:boolean"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="getDeploymentPolicyResponse">
+ <xs:element name="CloudControllerServiceInvalidKubernetesMasterException">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="return" nillable="true" type="ax26:DeploymentPolicy"/>
+ <xs:element minOccurs="0" name="InvalidKubernetesMasterException" nillable="true" type="ax225:InvalidKubernetesMasterException"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="getDeploymentPolicies">
+ <xs:element name="CloudControllerServiceNonExistingKubernetesMasterException">
<xs:complexType>
- <xs:sequence/>
+ <xs:sequence>
+ <xs:element minOccurs="0" name="NonExistingKubernetesMasterException" nillable="true" type="ax225:NonExistingKubernetesMasterException"></xs:element>
+ </xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="getDeploymentPoliciesResponse">
+ <xs:element name="updateKubernetesMaster">
<xs:complexType>
<xs:sequence>
- <xs:element maxOccurs="unbounded" minOccurs="0" name="return" nillable="true" type="ax26:DeploymentPolicy"/>
+ <xs:element minOccurs="0" name="kubernetesMaster" nillable="true" type="ax237:KubernetesMaster"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="CloudControllerServiceNetworkPartitionAlreadyExistsException">
+ <xs:element name="updateKubernetesMasterResponse">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="NetworkPartitionAlreadyExistsException" nillable="true" type="ax21:NetworkPartitionAlreadyExistsException"/>
+ <xs:element minOccurs="0" name="return" type="xs:boolean"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="addNetworkPartition">
+ <xs:element name="CloudControllerServiceNonExistingKubernetesHostException">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="networkPartition" nillable="true" type="ax26:NetworkPartition"/>
+ <xs:element minOccurs="0" name="NonExistingKubernetesHostException" nillable="true" type="ax225:NonExistingKubernetesHostException"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="getNetworkPartition">
+ <xs:element name="updateKubernetesHost">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="networkPartitionId" nillable="true" type="xs:string"/>
+ <xs:element minOccurs="0" name="kubernetesHost" nillable="true" type="ax237:KubernetesHost"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="getNetworkPartitionResponse">
+ <xs:element name="updateKubernetesHostResponse">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="return" nillable="true" type="ax26:NetworkPartition"/>
+ <xs:element minOccurs="0" name="return" type="xs:boolean"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="getNetworkPartitions">
+ <xs:element name="CloudControllerServiceCartridgeAlreadyExistsException">
<xs:complexType>
- <xs:sequence/>
+ <xs:sequence>
+ <xs:element minOccurs="0" name="CartridgeAlreadyExistsException" nillable="true" type="ax225:CartridgeAlreadyExistsException"></xs:element>
+ </xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="getNetworkPartitionsResponse">
+ <xs:element name="addCartridge">
<xs:complexType>
<xs:sequence>
- <xs:element maxOccurs="unbounded" minOccurs="0" name="return" nillable="true" type="ax26:NetworkPartition"/>
+ <xs:element minOccurs="0" name="cartridgeConfig" nillable="true" type="ax228:CartridgeConfig"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="removeNetworkPartition">
+ <xs:element name="CloudControllerServiceInvalidKubernetesClusterException">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="networkPartitionId" nillable="true" type="xs:string"/>
+ <xs:element minOccurs="0" name="InvalidKubernetesClusterException" nillable="true" type="ax225:InvalidKubernetesClusterException"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="removeCartridge">
+ <xs:element name="addKubernetesCluster">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="cartridgeType" nillable="true" type="xs:string"/>
+ <xs:element minOccurs="0" name="kubernetesCluster" nillable="true" type="ax237:KubernetesCluster"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="CloudControllerServiceCartridgeDefinitionNotExistsException">
+ <xs:element name="addKubernetesClusterResponse">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="CartridgeDefinitionNotExistsException" nillable="true" type="ax21:CartridgeDefinitionNotExistsException"/>
+ <xs:element minOccurs="0" name="return" type="xs:boolean"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="updateCartridge">
+ <xs:element name="getKubernetesCluster">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="cartridgeConfig" nillable="true" type="ax26:CartridgeConfig"/>
+ <xs:element minOccurs="0" name="kubernetesClusterId" nillable="true" type="xs:string"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="getServiceGroup">
+ <xs:element name="getKubernetesClusterResponse">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="name" nillable="true" type="xs:string"/>
+ <xs:element minOccurs="0" name="return" nillable="true" type="ax237:KubernetesCluster"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="getServiceGroupResponse">
+ <xs:element name="removeKubernetesCluster">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="return" nillable="true" type="ax26:ServiceGroup"/>
+ <xs:element minOccurs="0" name="kubernetesClusterId" nillable="true" type="xs:string"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="addServiceGroup">
+ <xs:element name="removeKubernetesClusterResponse">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="servicegroup" nillable="true" type="ax26:ServiceGroup"/>
+ <xs:element minOccurs="0" name="return" type="xs:boolean"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="removeServiceGroup">
+ <xs:element name="removeKubernetesHost">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="name" nillable="true" type="xs:string"/>
+ <xs:element minOccurs="0" name="kubernetesHostId" nillable="true" type="xs:string"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="getClusterContext">
+ <xs:element name="removeKubernetesHostResponse">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="clusterId" nillable="true" type="xs:string"/>
+ <xs:element minOccurs="0" name="return" type="xs:boolean"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="getClusterContextResponse">
+ <xs:element name="CloudControllerServiceUnregisteredClusterException">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="return" nillable="true" type="ax26:ClusterContext"/>
+ <xs:element minOccurs="0" name="UnregisteredClusterException" nillable="true" type="ax225:UnregisteredClusterException"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="removeKubernetesCluster">
+ <xs:element name="unregisterService">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="kubernetesClusterId" nillable="true" type="xs:string"/>
+ <xs:element minOccurs="0" name="clusterId" nillable="true" type="xs:string"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="removeKubernetesClusterResponse">
+ <xs:element name="CloudControllerServiceInvalidMemberException">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="return" type="xs:boolean"/>
+ <xs:element minOccurs="0" name="InvalidMemberException" nillable="true" type="ax225:InvalidMemberException"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="removeKubernetesHost">
+ <xs:element name="terminateInstance">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="kubernetesHostId" nillable="true" type="xs:string"/>
+ <xs:element minOccurs="0" name="memberId" nillable="true" type="xs:string"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="removeKubernetesHostResponse">
+ <xs:element name="startInstance">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="return" type="xs:boolean"/>
+ <xs:element minOccurs="0" name="instanceContext" nillable="true" type="ax228:InstanceContext"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="CloudControllerServiceInvalidKubernetesClusterException">
+ <xs:element name="startInstanceResponse">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="InvalidKubernetesClusterException" nillable="true" type="ax21:InvalidKubernetesClusterException"/>
+ <xs:element minOccurs="0" name="return" nillable="true" type="ax228:MemberContext"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="addKubernetesCluster">
+ <xs:element name="getServiceGroup">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="kubernetesCluster" nillable="true" type="ax213:KubernetesCluster"/>
+ <xs:element minOccurs="0" name="name" nillable="true" type="xs:string"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="addKubernetesClusterResponse">
+ <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="ax228:ServiceGroup"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="getKubernetesCluster">
+ <xs:element name="addServiceGroup">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="kubernetesClusterId" nillable="true" type="xs:string"/>
+ <xs:element minOccurs="0" name="servicegroup" nillable="true" type="ax228:ServiceGroup"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="getKubernetesClusterResponse">
+ <xs:element name="removeServiceGroup">
<xs:complexType>
<xs:sequence>
- <xs:element minOccurs="0" name="return" nillable="true" type="ax213:KubernetesCluster"/>
+ <xs:element minOccurs="0" name="name" nillable="true" type="xs:string"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="getKubernetesClusters">
+ <xs:element name="registerService">
<xs:complexType>
- <xs:sequence/>
+ <xs:sequence>
+ <xs:element minOccurs="0" name="registrant" nillable="true" type="ax228:Registrant"></xs:element>
+ </xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="getKubernetesClustersResponse">
+ <xs:element name="registerServiceResponse">
<xs:complexType>
<xs:sequence>
- <xs:element maxOccurs="unbounded" minOccurs="0" name="return" nillable="true" type="ax213:KubernetesCluster"/>
+ <xs:element minOccurs="0" name="return" type="xs:boolean"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
@@ -672,7 +673,7 @@
<xs:complexContent>
<xs:extension base="xs:Enum">
<xs:sequence>
- <xs:element minOccurs="0" name="code" type="xs:int"/>
+ <xs:element minOccurs="0" name="code" type="xs:int"></xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
@@ -681,2287 +682,2294 @@
<xs:schema attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://common.stratos.apache.org/xsd">
<xs:complexType name="Properties">
<xs:sequence>
- <xs:element maxOccurs="unbounded" minOccurs="0" name="properties" nillable="true" type="ax24:Property"/>
+ <xs:element maxOccurs="unbounded" minOccurs="0" name="properties" nillable="true" type="ax229:Property"></xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="Property">
<xs:sequence>
- <xs:element minOccurs="0" name="name" nillable="true" type="xs:string"/>
- <xs:element minOccurs="0" name="value" nillable="true" type="xs:string"/>
+ <xs:element minOccurs="0" name="name" nillable="true" type="xs:string"></xs:element>
+ <xs:element minOccurs="0" name="value" nillable="true" type="xs:string"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:schema>
<xs:schema attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://exception.controller.cloud.stratos.apache.org/xsd">
+ <xs:complexType name="InvalidServiceGroupException">
+ <xs:sequence>
+ <xs:element minOccurs="0" name="message" nillable="true" type="xs:string"></xs:element>
+ </xs:sequence>
+ </xs:complexType>
<xs:complexType name="CartridgeNotFoundException">
<xs:sequence>
- <xs:element minOccurs="0" name="message" nillable="true" type="xs:string"/>
+ <xs:element minOccurs="0" name="message" nillable="true" type="xs:string"></xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="InvalidIaasProviderException">
<xs:sequence>
- <xs:element minOccurs="0" name="message" nillable="true" type="xs:string"/>
+ <xs:element minOccurs="0" name="message" nillable="true" type="xs:string"></xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="CloudControllerException">
<xs:complexContent>
<xs:extension base="xs:RuntimeException">
- <xs:sequence/>
+ <xs:sequence></xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
- <xs:complexType name="InvalidMemberException">
+ <xs:complexType name="InvalidClusterException">
<xs:sequence>
- <xs:element minOccurs="0" name="message" nillable="true" type="xs:string"/>
+ <xs:element minOccurs="0" name="message" nillable="true" type="xs:string"></xs:element>
</xs:sequence>
</xs:complexType>
- <xs:complexType name="InvalidCartridgeTypeException">
+ <xs:complexType name="InvalidPartitionException">
<xs:sequence>
- <xs:element minOccurs="0" name="message" nillable="true" type="xs:string"/>
+ <xs:element minOccurs="0" name="message" nillable="true" type="xs:string"></xs:element>
</xs:sequence>
</xs:complexType>
- <xs:complexType name="InvalidServiceGroupException">
+ <xs:complexType name="InvalidCartridgeTypeException">
<xs:sequence>
- <xs:element minOccurs="0" name="message" nillable="true" type="xs:string"/>
+ <xs:element minOccurs="0" name="message" nillable="true" type="xs:string"></xs:element>
</xs:sequence>
</xs:complexType>
- <xs:complexType name="InvalidPartitionException">
+ <xs:complexType name="ApplicationClusterRegistrationException">
<xs:sequence>
- <xs:element minOccurs="0" name="message" nillable="true" type="xs:string"/>
+ <xs:element minOccurs="0" name="message" nillable="true" type="xs:string"></xs:element>
</xs:sequence>
</xs:complexType>
- <xs:complexType name="InvalidClusterException">
+ <xs:complexType name="ClusterInstanceCreationException">
<xs:sequence>
- <xs:element minOccurs="0" name="message" nillable="true" type="xs:string"/>
+ <xs:element minOccurs="0" name="message" nillable="true" type="xs:string"></xs:element>
</xs:sequence>
</xs:complexType>
- <xs:complexType name="UnregisteredClusterException">
+ <xs:complexType name="NonExistingKubernetesClusterException">
<xs:sequence>
- <xs:element minOccurs="0" name="message" nillable="true" type="xs:string"/>
+ <xs:element minOccurs="0" name="message" nillable="true" type="xs:string"></xs:element>
</xs:sequence>
</xs:complexType>
- <xs:complexType name="ApplicationClusterRegistrationException">
- <xs:sequence>
- <xs:element minOccurs="0" name="message" nillable="true" type="xs:string"/>
- </xs:sequence>
+ <xs:complexType name="DeploymentPolicyAlreadyExistsException">
+ <xs:sequence></xs:sequence>
</xs:complexType>
- <xs:complexType name="ClusterInstanceCreationException">
- <xs:sequence>
- <xs:element minOccurs="0" name="message" nillable="true" type="xs:string"/>
- </xs:sequence>
+ <xs:complexType name="InvalidDeploymentPolicyException">
+ <xs:sequence></xs:sequence>
</xs:complexType>
- <xs:complexType name="NonExistingKubernetesClusterException">
+ <xs:complexType name="DeploymentPolicyNotExistsException">
+ <xs:sequence></xs:sequence>
+ </xs:complexType>
+ <xs:complexType name="InvalidCartridgeDefinitionException">
<xs:sequence>
- <xs:element minOccurs="0" name="message" nillable="true" type="xs:string"/>
+ <xs:element minOccurs="0" name="message" nillable="true" type="xs:string"></xs:element>
</xs:sequence>
</xs:complexType>
- <xs:complexType name="InvalidKubernetesHostException">
+ <xs:complexType name="CartridgeDefinitionNotExistsException">
<xs:sequence>
- <xs:element minOccurs="0" name="message" nillable="true" type="xs:string"/>
+ <xs:element minOccurs="0" name="message" nillable="true" type="xs:string"></xs:element>
</xs:sequence>
</xs:complexType>
- <xs:complexType name="NonExistingKubernetesHostException">
+ <xs:complexType name="NetworkPartitionAlreadyExistsException">
+ <xs:sequence></xs:sequence>
+ </xs:complexType>
+ <xs:complexType name="NetworkPartitionNotExistsException">
+ <xs:sequence></xs:sequence>
+ </xs:complexType>
+ <xs:complexType name="InvalidKubernetesHostException">
<xs:sequence>
- <xs:element minOccurs="0" name="message" nillable="true" type="xs:string"/>
+ <xs:element minOccurs="0" name="message" nillable="true" type="xs:string"></xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="InvalidKubernetesMasterException">
<xs:sequence>
- <xs:element minOccurs="0" name="message" nillable="true" type="xs:string"/>
+ <xs:element minOccurs="0" name="message" nillable="true" type="xs:string"></xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="NonExistingKubernetesMasterException">
<xs:sequence>
- <xs:element minOccurs="0" name="message" nillable="true" type="xs:string"/>
+ <xs:element minOccurs="0" name="message" nillable="true" type="xs:string"></xs:element>
</xs:sequence>
</xs:complexType>
- <xs:complexType name="DeploymentPolicyAlreadyExistsException">
- <xs:sequence/>
- </xs:complexType>
- <xs:complexType name="InvalidDeploymentPolicyException">
- <xs:sequence/>
- </xs:complexType>
- <xs:complexType name="DeploymentPolicyNotExistsException">
- <xs:sequence/>
- </xs:complexType>
- <xs:complexType name="NetworkPartitionNotExistsException">
- <xs:sequence/>
- </xs:complexType>
- <xs:complexType name="InvalidCartridgeDefinitionException">
+ <xs:complexType name="NonExistingKubernetesHostException">
<xs:sequence>
- <xs:element minOccurs="0" name="message" nillable="true" type="xs:string"/>
+ <xs:element minOccurs="0" name="message" nillable="true" type="xs:string"></xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="CartridgeAlreadyExistsException">
- <xs:sequence/>
+ <xs:sequence></xs:sequence>
</xs:complexType>
- <xs:complexType name="NetworkPartitionAlreadyExistsException">
- <xs:sequence/>
+ <xs:complexType name="InvalidKubernetesClusterException">
+ <xs:sequence>
+ <xs:element minOccurs="0" name="message" nillable="true" type="xs:string"></xs:element>
+ </xs:sequence>
</xs:complexType>
- <xs:complexType name="CartridgeDefinitionNotExistsException">
+ <xs:complexType name="UnregisteredClusterException">
<xs:sequence>
- <xs:element minOccurs="0" name="message" nillable="true" type="xs:string"/>
+ <xs:element minOccurs="0" name="message" nillable="true" type="xs:string"></xs:element>
</xs:sequence>
</xs:complexType>
- <xs:complexType name="InvalidKubernetesClusterException">
+ <xs:complexType name="InvalidMemberException">
<xs:sequence>
- <xs:element minOccurs="0" name="message" nillable="true" type="xs:string"/>
+ <xs:element minOccurs="0" name="message" nillable="true" type="xs:string"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:schema>
- <xs:schema xmlns:ax212="http://common.stratos.apache.org/xsd" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://kubernetes.domain.controller.cloud.stratos.apache.org/xsd">
- <xs:import namespace="http://common.stratos.apache.org/xsd"/>
+ <xs:schema xmlns:ax236="http://common.stratos.apache.org/xsd" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://kubernetes.domain.controller.cloud.stratos.apache.org/xsd">
+ <xs:import namespace="http://common.stratos.apache.org/xsd"></xs:import>
+ <xs:complexType name="KubernetesCluster">
+ <xs:sequence>
+ <xs:element minOccurs="0" name="clusterId" nillable="true" type="xs:string"></xs:element>
+ <xs:element minOccurs="0" name="description" nillable="true" type="xs:string"></xs:element>
+ <xs:element maxOccurs="unbounded" minOccurs="0" name="kubernetesHosts" nillable="true" type="ax235:KubernetesHost"></xs:element>
+ <xs:element minOccurs="0" name="kubernetesMaster" nillable="true" type="ax235:KubernetesMaster"></xs:element>
+ <xs:element minOccurs="0" name="portRange" nillable="true" type="ax235:PortRange"></xs:element>
+ <xs:element minOccurs="0" name="properties" nillable="true" type="ax236:Properties"></xs:element>
+ </xs:sequence>
+ </xs:complexType>
<xs:complexType name="KubernetesHost">
<xs:sequence>
- <xs:element minOccurs="0" name="hostId" nillable="true" type="xs:string"/>
- <xs:element minOccurs="0" name="hostname" nillable="true" type="xs:string"/>
- <xs:element minOccurs="0" name="privateIPAddress" nillable="true" type="xs:string"/>
- <xs:element minOccurs="0" name="properties" nillable="true" type="ax212:Properties"/>
- <xs:element minOccurs="0" name="publicIPAddress" nillable="true" type="xs:string"/>
+ <xs:element minOccurs="0" name="hostId" nillable="true" type="xs:string"></xs:element>
+ <xs:element minOccurs="0" name="hostname" nillable="true" type="xs:string"></xs:element>
+ <xs:element minOccurs="0" name="privateIPAddress" nillable="true" type="xs:string"></xs:element>
+ <xs:element minOccurs="0" name="properties" nillable="true" type="ax236:Properties"></xs:element>
+ <xs:element minOccurs="0" name="publicIPAddress" nillable="true" type="xs:string"></xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="KubernetesMaster">
<xs:complexContent>
- <xs:extension base="ax211:KubernetesHost">
+ <xs:extension base="ax235:KubernetesHost">
<xs:sequence>
- <xs:element minOccurs="0" name="endpoint" nillable="true" type="xs:string"/>
+ <xs:element minOccurs="0" name="endpoint" nillable="true" type="xs:string"></xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
- <xs:complexType name="KubernetesCluster">
- <xs:sequence>
- <xs:element minOccurs="0" name="clusterId" nillable="true" type="xs:string"/>
- <xs:element minOccurs="0" name="description" nillable="true" type="xs:string"/>
- <xs:element maxOccurs="unbounded" minOccurs="0" name="kubernetesHosts" nillable="true" type="ax211:KubernetesHost"/>
- <xs:element minOccurs="0" name="kubernetesMaster" nillable="true" type="ax211:KubernetesMaster"/>
- <xs:element minOccurs="0" name="portRange" nillable="true" type="ax211:PortRange"/>
- <xs:element minOccurs="0" name="properties" nillable="true" type="ax212:Properties"/>
- </xs:sequence>
- </xs:complexType>
<xs:complexType name="PortRange">
<xs:sequence>
- <xs:element minOccurs="0" name="lower" type="xs:int"/>
- <xs:element minOccurs="0" name="upper" type="xs:int"/>
+ <xs:element minOccurs="0" name="lower" type="xs:int"></xs:element>
+ <xs:element minOccurs="0" name="upper" type="xs:int"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:schema>
<xs:schema attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://domain.common.stratos.apache.org/xsd">
<xs:complexType name="NameValuePair">
<xs:sequence>
- <xs:element minOccurs="0" name="name" nillable="true" type="xs:string"/>
- <xs:element minOccurs="0" name="value" nillable="true" type="xs:string"/>
+ <xs:element minOccurs="0" name="name" nillable="true" type="xs:string"></xs:element>
+ <xs:element minOccurs="0" name="value" nillable="true" type="xs:string"></xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="LoadBalancingIPType">
<xs:complexContent>
<xs:extension base="xs:Enum">
- <xs:sequence/>
+ <xs:sequence></xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:schema>
- <xs:schema xmlns:ax28="http://domain.common.stratos.apache.org/xsd" xmlns:ax25="http://common.stratos.apache.org/xsd" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://domain.controller.cloud.stratos.apache.org/xsd">
- <xs:import namespace="http://common.stratos.apache.org/xsd"/>
- <xs:import namespace="http://domain.common.stratos.apache.org/xsd"/>
+ <xs:schema xmlns:ax232="http://domain.common.stratos.apache.org/xsd" xmlns:ax230="http://common.stratos.apache.org/xsd" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://domain.controller.cloud.stratos.apache.org/xsd">
+ <xs:import namespace="http://common.stratos.apache.org/xsd"></xs:import>
+ <xs:import namespace="http://domain.common.stratos.apache.org/xsd"></xs:import>
+ <xs:complexType name="Dependencies">
+ <xs:sequence>
+ <xs:element minOccurs="0" name="killBehaviour" nillable="true" type="xs:string"></xs:element>
+ <xs:element maxOccurs="unbounded" minOccurs="0" name="startupOrders" nillable="true" type="xs:string"></xs:element>
+ </xs:sequence>
+ </xs:complexType>
<xs:complexType name="InstanceContext">
<xs:sequence>
- <xs:element minOccurs="0" name="cartridgeType" nillable="true" type="xs:string"/>
- <xs:element minOccurs="0" name="clusterId" nillable="true" type="xs:string"/>
- <xs:element minOccurs="0" name="clusterInstanceId" nillable="true" type="xs:string"/>
- <xs:element minOccurs="0" name="initTime" type="xs:long"/>
- <xs:element minOccurs="0" name="networkPartitionId" nillable="true" type="xs:string"/>
- <xs:element minOccurs="0" name="obsoleteExpiryTime" type="xs:long"/>
- <xs:element minOccurs="0" name="partition" nillable="true" type="ax23:Partition"/>
- <xs:element minOccurs="0" name="properties" nillable="true" type="ax25:Properties"/>
- <xs:element minOccurs="0" name="volumeRequired" type="xs:boolean"/>
- <xs:element maxOccurs="unbounded" minOccurs="0" name="volumes" nillable="true" type="ax23:Volume"/>
+ <xs:element minOccurs="0" name="cartridgeType" nillable="true" type="xs:string"></xs:element>
+ <xs:element minOccurs="0" name="clusterId" nillable="true" type="xs:string"></xs:element>
+ <xs:element minOccurs="0" name="clusterInstanceId" nillable="true" type="xs:string"></xs:element>
+ <xs:element minOccurs="0" name="initTime" type="xs:long"></xs:element>
+ <xs:element minOccurs="0" name="networkPartitionId" nillable="true" type="xs:string"></xs:element>
+ <xs:element minOccurs="0" name="obsoleteExpiryTime" type="xs:long"></xs:element>
+ <xs:element minOccurs="0" name="partition" nillable="true" type="ax227:Partition"></xs:element>
+ <xs:element minOccurs="0" name="properties" nillable="true" type="ax230:Properties"></xs:element>
+ <xs:element minOccurs="0" name="volumeRequired" type="xs:boolean"></xs:element>
+ <xs:element maxOccurs="unbounded" minOccurs="0" name="volumes" nillable="true" type="ax227:Volume"></xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="Partition">
<xs:sequence>
- <xs:element minOccurs="0" name="description" nillable="true" type="xs:string"/>
- <xs:element minOccurs="0" name="id" nillable="true" type="xs:string"/>
- <xs:element minOccurs="0" name="isPublic" type="xs:boolean"/>
- <xs:element minOccurs="0" name="kubernetesClusterId" nillable="true" type="xs:string"/>
- <xs:element minOccurs="0" name="properties" nillable="true" type="ax25:Properties"/>
- <xs:element minOccurs="0" name="provider" nillable="true" type="xs:string"/>
+ <xs:element minOccurs="0" name="description" nillable="true" type="xs:string"></xs:element>
+ <xs:element minOccurs="0" name="id" nillable="true" type="xs:string"></xs:element>
+ <xs:element minOccurs="0" name="isPublic" type="xs:boolean"></xs:element>
+ <xs:element minOccurs="0" name="kubernetesClusterId" nillable="true" type="xs:string"></xs:element>
+ <xs:element minOccurs="0" name="properties" nillable="true" type="ax230:Properties"></xs:element>
+ <xs:element minOccurs="0" name="provider" nillable="true" type="xs:string"></xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="Volume">
<xs:sequence>
- <xs:element minOccurs="0" name="device" nillable="true" type="xs:string"/>
- <xs:element minOccurs="0" name="iaasType" nillable="true" type="xs:string"/>
- <xs:element minOccurs="0" name="id" nillable="true" type="xs:string"/>
- <xs:element minOccurs="0" name="mappingPath" nillable="true" type="xs:string"/>
- <xs:element minOccurs="0" name="removeOntermination" type="xs:boolean"/>
- <xs:element minOccurs="0" name="size" type="xs:int"/>
- <xs:element minOccurs="0" name="snapshotId" nillable="true" type="xs:string"/>
- <xs:element minOccurs="0" name="volumeId" nillable="true" type="xs:string"/>
+ <xs:element minOccurs="0" name="device" nillable="true" type="xs:string"></xs:element>
+ <xs:element minOccurs="0" name="iaasType" nillable="true" type="xs:string"></xs:element>
+ <xs:element minOccurs="0" name="id" nillable="true" type="xs:string"></xs:element>
+ <xs:element minOccurs="0" name="mappingPath" nillable="true" type="xs:string"></xs:element>
+ <xs:element minOccurs="0" name="removeOntermination" type="xs:boolean"></xs:element>
+ <xs:element minOccurs="0" name="size" type="xs:int"></xs:element>
+ <xs:element minOccurs="0" name="snapshotId" nillable="true" type="xs:string"></xs:element>
+ <xs:element minOccurs="0" name="volumeId" nillable="true" type="xs:string"></xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="MemberContext">
<xs:sequence>
- <xs:element maxOccurs="unbounded" minOccurs="0" name="allocatedIPs" nillable="true" type="xs:string"/>
- <xs:element minOccurs="0" name="applicationId" nillable="true" type="xs:string"/>
- <xs:element minOccurs="0" name="cartridgeType" nillable="true" type="xs:string"/>
- <xs:element minOccurs="0" name="clusterId" nillable="true" type="xs:string"/>
- <xs:element minOccurs="0" name="clusterInstanceId" nillable="true" type="xs:string"/>
- <xs:element minOccurs="0" name="defaultPrivateIP" nillable="true" type="xs:string"/>
- <xs:element minOccurs="0" name="defaultPublicIP" nillable="true" type="xs:string"/>
- <xs:element maxOccurs="unbounded" minOccurs="0" name="dynamicPayload" nillable="true" type="ax27:NameValuePair"/>
- <xs:element minOccurs="0" name="initTime" type="xs:long"/>
- <xs:element minOccurs="0" name="instanceId" nillable="true" type="xs:string"/>
- <xs:element minOccurs="0" name="instanceMetadata" nillable="true" type="ax23:InstanceMetadata"/>
- <xs:element minOccurs="0" name="kubernetesPodId" nillable="true" type="xs:string"/>
- <xs:element minOccurs="0" name="kubernetesPodLabel" nillable="true" type="xs:string"/>
- <xs:element minOccurs="0" name="lbClusterId" nillable="true" type="xs:string"/>
- <xs:element minOccurs="0" name="loadBalancingIPType" nillable="true" type="ax27:LoadBalancingIPType"/>
- <xs:element minOccurs="0" name="memberId" nillable="true" type="xs:string"/>
- <xs:element minOccurs="0" name="networkPartitionId" nillable="true" type="xs:string"/>
- <xs:element minOccurs="0" name="obsoleteExpiryTime" type="xs:long"/>
- <xs:element minOccurs="0" name="obsoleteInitTime" type="xs:long"/>
- <xs:element minOccurs="0" name="partition" nillable="true" type="ax23:Partition"/>
- <xs:element maxOccurs="unbounded" minOccurs="0" name="privateIPs" nillable="true" type="xs:string"/>
- <xs:element minOccurs="0" name="properties" nillable="true" type="ax25:Properties"/>
- <xs:element maxOccurs="unbounded" minOccurs="0" name="publicIPs" nillable="true" type="xs:string"/>
+ <xs:element maxOccurs="unbounded" minOccurs="0" name="allocatedIPs" nillable="true" type="xs:string"></xs:element>
+ <xs:element minOccurs="0" name="applicationId" nillable="true" type="xs:string"></xs:element>
+ <xs:element minOccurs="0" name="cartridgeType" nillable="true" type="xs:string"></xs:element>
+ <xs:element minOccurs="0" name="clusterId" nillable="true" type="xs:string"></xs:element>
+ <xs:element minOccurs="0" name="clusterInstanceId" nillable="true" type="xs:string"></xs:element>
+ <xs:element minOccurs="0" name="defaultPrivateIP" nillable="true" type="xs:string"></xs:element>
+ <xs:element minOccurs="0" name="defaultPublicIP" nillable="true" type="xs:string"></xs:element>
+ <xs:element maxOccurs="unbounded" minOccurs="0" name="dynamicPayload" nillable="true" type="ax232:NameValuePair"></xs:element>
+ <xs:element minOccurs="0" name="initTime" type="xs:long"></xs:element>
+ <xs:element minOccurs="0" name="instanceId" nillable="true" type="xs:string"></xs:element>
+ <xs:element minOccurs="0" name="instanceMetadata" nillable="true" type="ax227:InstanceMetadata"></xs:element>
+ <xs:element minOccurs="0" name="kubernetesPodId" nillable="true" type="xs:string"></xs:element>
+ <xs:element minOccurs="0" name="kubernetesPodLabel" nillable="true" type="xs:string"></xs:element>
+ <xs:element minOccurs="0" name="lbClusterId" nillable="true" type="xs:string"></xs:element>
+ <xs:element minOccurs="0" name="loadBalancingIPType" nillable="true" type="ax232:LoadBalancingIPType"></xs:element>
+ <xs:element minOccurs="0" name="memberId" nillable="true" type="xs:string"></xs:element>
+ <xs:element minOccurs="0" name="networkPartitionId" nillable="true" type="xs:string"></xs:element>
+ <xs:element minOccurs="0" name="obsoleteExpiryTime" type="xs:long"></xs:element>
+ <xs:element minOccurs="0" name="obsoleteInitTime" type="xs:long"></xs:element>
+ <xs:element minOccurs="0" name="partition" nillable="true" type="ax227:Partition"></xs:element>
+ <xs:element maxOccurs="unbounded" minOccurs="0" name="privateIPs" nillable="true" type="xs:string"></xs:element>
+ <xs:element minOccurs="0" name="properties" nillable="true" type="ax230:Properties"></xs:element>
+ <xs:element maxOccurs="unbounded" minOccurs="0" name="publicIPs" nillable="true" type="xs:string"></xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="InstanceMetadata">
<xs:sequence>
- <xs:element minOccurs="0" name="hostname" nillable="true" type="xs:string"/>
- <xs:element minOccurs="0" name="hypervisor" nillable="true" type="xs:string"/>
- <xs:element minOccurs="0" name="imageId" nillable="true" type="xs:string"/>
- <xs:element minOccurs="0" name="loginPort" type="xs:int"/>
- <xs:element minOccurs="0" name="operatingSystem64bit" type="xs:boolean"/>
- <xs:element minOccurs="0" name="operatingSystemArchitecture" nillable="true" type="xs:string"/>
- <xs:element minOccurs="0" name="operatingSystemName" nillable="true" type="xs:string"/>
- <xs:element minOccurs="0" name="operatingSystemVersion" nillable="true" type="xs:string"/>
- <xs:element minOccurs="0" name="ram" type="xs:int"/>
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="Registrant">
- <xs:sequence>
- <xs:element minOccurs="0" name="autoScalerPolicyName" nillable="true" type="xs:string"/>
- <xs:element minOccurs="0" name="cartridgeType" nillable="true" type="xs:string"/>
- <xs:element minOccurs="0" name="clusterId" nillable="true" type="xs:string"/>
- <xs:element minOccurs="0" name="deploymentPolicyName" nillable="true" type="xs:string"/>
- <xs:element minOccurs="0" name="hostName" nillable="true" type="xs:string"/>
- <xs:element minOccurs="0" name="payload" nillable="true" type="xs:string"/>
- <xs:element minOccurs="0" name="persistence" nillable="true" type="ax23:Persistence"/>
- <xs:element minOccurs="0" name="properties" nillable="true" type="ax25:Properties"/>
-
<TRUNCATED>
[5/6] stratos git commit: fixing an issue in cartridges/groups cache
Posted by ra...@apache.org.
http://git-wip-us.apache.org/repos/asf/stratos/blob/7ef55833/components/org.apache.stratos.rest.endpoint/src/main/java/org/apache/stratos/rest/endpoint/api/StratosApiV41Utils.java
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.rest.endpoint/src/main/java/org/apache/stratos/rest/endpoint/api/StratosApiV41Utils.java b/components/org.apache.stratos.rest.endpoint/src/main/java/org/apache/stratos/rest/endpoint/api/StratosApiV41Utils.java
index 62f9fdd..6d2493a 100644
--- a/components/org.apache.stratos.rest.endpoint/src/main/java/org/apache/stratos/rest/endpoint/api/StratosApiV41Utils.java
+++ b/components/org.apache.stratos.rest.endpoint/src/main/java/org/apache/stratos/rest/endpoint/api/StratosApiV41Utils.java
@@ -36,6 +36,7 @@ import org.apache.stratos.cloud.controller.stub.domain.*;
import org.apache.stratos.common.beans.PropertyBean;
import org.apache.stratos.common.beans.application.ApplicationBean;
import org.apache.stratos.common.beans.application.ApplicationNetworkPartitionIdListBean;
+import org.apache.stratos.common.beans.application.ComponentBean;
import org.apache.stratos.common.beans.application.GroupBean;
import org.apache.stratos.common.beans.application.GroupReferenceBean;
import org.apache.stratos.common.beans.application.domain.mapping.ApplicationDomainMappingsBean;
@@ -95,15 +96,15 @@ public class StratosApiV41Utils {
public static void addCartridge(CartridgeBean cartridgeDefinition) throws RestAPIException {
try {
- if (log.isDebugEnabled()) {
+ if(log.isDebugEnabled()) {
log.debug(String.format("Adding cartridge: [cartridge-type] %s ", cartridgeDefinition.getType()));
}
- CartridgeConfig cartridgeConfig = createCartridgeConfig(cartridgeDefinition);
+ CartridgeConfig cartridgeConfig = createCartridgeConfig(cartridgeDefinition);
CloudControllerServiceClient cloudControllerServiceClient = CloudControllerServiceClient.getInstance();
cloudControllerServiceClient.addCartridge(cartridgeConfig);
- if (log.isDebugEnabled()) {
+ if(log.isDebugEnabled()) {
log.debug(String.format("Successfully added cartridge: [cartridge-type] %s ", cartridgeDefinition.getType()));
}
} catch (Exception e) {
@@ -113,69 +114,69 @@ public class StratosApiV41Utils {
}
}
- public static void updateCartridge(CartridgeBean cartridgeDefinition) throws RestAPIException {
-
- try {
- if (log.isDebugEnabled()) {
- log.debug(String.format("Adding cartridge: [cartridge-type] %s ", cartridgeDefinition.getType()));
- }
-
- CartridgeConfig cartridgeConfig = createCartridgeConfig(cartridgeDefinition);
- CloudControllerServiceClient cloudControllerServiceClient = CloudControllerServiceClient.getInstance();
- cloudControllerServiceClient.updateCartridge(cartridgeConfig);
-
- if (log.isDebugEnabled()) {
- log.debug(String.format("Successfully update cartridge: [cartridge-type] %s ",
- cartridgeDefinition.getType()));
- }
- } catch (CloudControllerServiceCartridgeDefinitionNotExistsExceptionException e) {
- String msg = "No cartridge definition exists with this definition.Please use the POST method to add the cartridge";
- log.error(msg, e);
- throw new RestAPIException(msg);
- } catch (Exception e) {
- String msg = "Could not update cartridge";
- log.error(msg, e);
- throw new RestAPIException(msg);
- }
- }
-
- private static CartridgeConfig createCartridgeConfig(CartridgeBean cartridgeDefinition)
- throws RestAPIException {
- CartridgeConfig cartridgeConfig =
- ObjectConverter.convertCartridgeBeanToStubCartridgeConfig(cartridgeDefinition);
- if (cartridgeConfig == null) {
- throw new RestAPIException("Could not read cartridge definition, cartridge deployment failed");
- }
- if (StringUtils.isEmpty(cartridgeConfig.getCategory())) {
- throw new RestAPIException(String.format("Category is not specified in cartridge: [cartridge-type] %s",
- cartridgeConfig.getType()));
- }
- return cartridgeConfig;
- }
-
- public static void removeCartridge(String cartridgeType) throws RestAPIException {
+ public static void updateCartridge(CartridgeBean cartridgeDefinition) throws RestAPIException {
+
+ try {
+ if (log.isDebugEnabled()) {
+ log.debug(String.format("Adding cartridge: [cartridge-type] %s ", cartridgeDefinition.getType()));
+ }
+
+ CartridgeConfig cartridgeConfig = createCartridgeConfig(cartridgeDefinition);
+ CloudControllerServiceClient cloudControllerServiceClient = CloudControllerServiceClient.getInstance();
+ cloudControllerServiceClient.updateCartridge(cartridgeConfig);
+
+ if (log.isDebugEnabled()) {
+ log.debug(String.format("Successfully update cartridge: [cartridge-type] %s ",
+ cartridgeDefinition.getType()));
+ }
+ } catch (CloudControllerServiceCartridgeDefinitionNotExistsExceptionException e) {
+ String msg = "No cartridge definition exists with this definition.Please use the POST method to add the cartridge";
+ log.error(msg, e);
+ throw new RestAPIException(msg);
+ } catch (Exception e) {
+ String msg = "Could not update cartridge";
+ log.error(msg, e);
+ throw new RestAPIException(msg);
+ }
+ }
+
+ private static CartridgeConfig createCartridgeConfig(CartridgeBean cartridgeDefinition)
+ throws RestAPIException {
+ CartridgeConfig cartridgeConfig =
+ ObjectConverter.convertCartridgeBeanToStubCartridgeConfig(cartridgeDefinition);
+ if (cartridgeConfig == null) {
+ throw new RestAPIException("Could not read cartridge definition, cartridge deployment failed");
+ }
+ if (StringUtils.isEmpty(cartridgeConfig.getCategory())) {
+ throw new RestAPIException(String.format("Category is not specified in cartridge: [cartridge-type] %s",
+ cartridgeConfig.getType()));
+ }
+ return cartridgeConfig;
+ }
+
+ public static void removeCartridge(String cartridgeType) throws RestAPIException {
try {
- if (log.isDebugEnabled()) {
+ if(log.isDebugEnabled()) {
log.debug(String.format("Removing cartridge: [cartridge-type] %s ", cartridgeType));
}
CloudControllerServiceClient cloudControllerServiceClient = getCloudControllerServiceClient();
- if (cloudControllerServiceClient.getCartridgeInfo(cartridgeType) == null) {
+ if(cloudControllerServiceClient.getCartridgeInfo(cartridgeType) == null) {
throw new RuntimeException("Cartridge not found: [cartridge-type] " + cartridgeType);
}
-
+
StratosManagerServiceClient smServiceClient = getStratosManagerServiceClient();
-
+
// Validate whether cartridge can be removed
- if (!smServiceClient.canCartridgeBeRemoved(cartridgeType)) {
- String message = "Cannot remove cartridge : [cartridge-type] " + cartridgeType + " since it is used in another cartridge group or an application";
+ if(!smServiceClient.canCartridgeBeRemoved(cartridgeType)) {
+ String message = "Cannot remove cartridge : [cartridge-type] " + cartridgeType + " since it is used in another cartridge group or an application";
log.error(message);
throw new RestAPIException(message);
}
cloudControllerServiceClient.removeCartridge(cartridgeType);
- if (log.isInfoEnabled()) {
+ if(log.isInfoEnabled()) {
log.info(String.format("Successfully removed cartridge: [cartridge-type] %s ", cartridgeType));
}
} catch (Exception e) {
@@ -186,38 +187,38 @@ public class StratosApiV41Utils {
}
public static List<CartridgeBean> getCartridgesByFilter(String filter, String criteria, ConfigurationContext configurationContext)
- throws RestAPIException {
- List<CartridgeBean> cartridges = null;
-
- if (filter.equals("singleTenant")) {
- cartridges = getAvailableCartridges(null, false, configurationContext);
- } else if (filter.equals("multiTenant")) {
- cartridges = getAvailableCartridges(null, true, configurationContext);
- } else if (filter.equals("loadBalancer")) {
- cartridges = getAvailableLbCartridges(false, configurationContext);
- } else if (filter.equals("provider")) {
- cartridges = getAvailableCartridgesByProvider(criteria, configurationContext);
- }
-
- return cartridges;
- }
-
- public static CartridgeBean getCartridgeByFilter(String filter, String cartridgeType, ConfigurationContext configurationContext)
- throws RestAPIException {
- List<CartridgeBean> cartridges = getCartridgesByFilter(filter, null, configurationContext);
-
- for (CartridgeBean cartridge : cartridges) {
- if (cartridge.getType().equals(cartridgeType)) {
- return cartridge;
- }
- }
- String msg = "Unavailable cartridge type: " + cartridgeType;
- log.error(msg);
- throw new RestAPIException(msg);
- }
+ throws RestAPIException {
+ List<CartridgeBean> cartridges = null;
+
+ if (filter.equals("singleTenant")) {
+ cartridges = getAvailableCartridges(null, false, configurationContext);
+ } else if (filter.equals("multiTenant")) {
+ cartridges = getAvailableCartridges(null, true, configurationContext);
+ } else if (filter.equals("loadBalancer")) {
+ cartridges = getAvailableLbCartridges(false, configurationContext);
+ } else if (filter.equals("provider")) {
+ cartridges = getAvailableCartridgesByProvider(criteria, configurationContext);
+ }
+
+ return cartridges;
+ }
+
+ public static CartridgeBean getCartridgeByFilter(String filter, String cartridgeType, ConfigurationContext configurationContext)
+ throws RestAPIException {
+ List<CartridgeBean> cartridges = getCartridgesByFilter(filter, null, configurationContext);
+
+ for (CartridgeBean cartridge : cartridges) {
+ if (cartridge.getType().equals(cartridgeType)) {
+ return cartridge;
+ }
+ }
+ String msg = "Unavailable cartridge type: " + cartridgeType;
+ log.error(msg);
+ throw new RestAPIException(msg);
+ }
private static List<CartridgeBean> getAvailableLbCartridges(Boolean multiTenant,
- ConfigurationContext configurationContext) throws RestAPIException {
+ ConfigurationContext configurationContext) throws RestAPIException {
List<CartridgeBean> cartridges = getAvailableCartridges(null, multiTenant,
configurationContext);
List<CartridgeBean> lbCartridges = new ArrayList<CartridgeBean>();
@@ -229,85 +230,81 @@ public class StratosApiV41Utils {
return lbCartridges;
}
- /**
- * Get the available cartridges by provider
- *
- * @param provider provide name
- * @param configurationContext configuration context
- * @return List of the cartridge definitions
- * @throws RestAPIException
- */
- private static List<CartridgeBean> getAvailableCartridgesByProvider(String provider, ConfigurationContext configurationContext) throws RestAPIException {
- List<CartridgeBean> cartridges = new ArrayList<CartridgeBean>();
-
- if (log.isDebugEnabled()) {
- log.debug("Reading cartridges: [provider-name] " + provider);
- }
-
- try {
- String[] availableCartridges = CloudControllerServiceClient.getInstance().getRegisteredCartridges();
-
- if (availableCartridges != null) {
- for (String cartridgeType : availableCartridges) {
- CartridgeInfo cartridgeInfo = null;
- try {
- cartridgeInfo = CloudControllerServiceClient.getInstance().getCartridgeInfo(cartridgeType);
- } catch (Exception e) {
- if (log.isWarnEnabled()) {
- log.warn("Error when calling getCartridgeInfo for " + cartridgeType + ", Error: "
- + e.getMessage());
- }
- }
- if (cartridgeInfo == null) {
- // This cannot happen. But continue
- if (log.isDebugEnabled()) {
- log.debug("Cartridge Info not found: " + cartridgeType);
- }
- continue;
- }
-
-
- if (!cartridgeInfo.getProvider().equals(provider)) {
- continue;
- }
+ /**
+ * Get the available cartridges by provider
+ * @param provider provide name
+ * @param configurationContext configuration context
+ * @return List of the cartridge definitions
+ * @throws RestAPIException
+ */
+ private static List<CartridgeBean> getAvailableCartridgesByProvider(String provider, ConfigurationContext configurationContext) throws RestAPIException {
+ List<CartridgeBean> cartridges = new ArrayList<CartridgeBean>();
+
+ if (log.isDebugEnabled()) {
+ log.debug("Reading cartridges: [provider-name] " + provider );
+ }
+
+ try {
+ String[] availableCartridges = CloudControllerServiceClient.getInstance().getRegisteredCartridges();
+
+ if (availableCartridges != null) {
+ for (String cartridgeType : availableCartridges) {
+ CartridgeInfo cartridgeInfo = null;
+ try {
+ cartridgeInfo = CloudControllerServiceClient.getInstance().getCartridgeInfo(cartridgeType);
+ } catch (Exception e) {
+ if (log.isWarnEnabled()) {
+ log.warn("Error when calling getCartridgeInfo for " + cartridgeType + ", Error: "
+ + e.getMessage());
+ }
+ }
+ if (cartridgeInfo == null) {
+ // This cannot happen. But continue
+ if (log.isDebugEnabled()) {
+ log.debug("Cartridge Info not found: " + cartridgeType);
+ }
+ continue;
+ }
+
+
+ if (!cartridgeInfo.getProvider().equals(provider)) {
+ continue;
+ }
CartridgeBean cartridge = convertCartridgeToCartridgeDefinitionBean(cartridgeInfo);
- cartridges.add(cartridge);
- }
- } else {
- if (log.isDebugEnabled()) {
- log.debug("There are no available cartridges");
- }
- }
- } catch (AxisFault axisFault) {
- String errorMsg = String.format(
- "Error while getting CloudControllerServiceClient instance to connect to the Cloud Controller. " +
- "Cause: %s ", axisFault.getMessage());
- log.error(errorMsg, axisFault);
- throw new RestAPIException(errorMsg, axisFault);
- } catch (RemoteException e) {
- String errorMsg =
- String.format("Error while getting cartridge information for provider %s Cause: %s ", provider,
- e.getMessage());
- log.error(errorMsg, e);
- throw new RestAPIException(errorMsg, e);
- }
-
- if (log.isDebugEnabled()) {
- log.debug("Returning available cartridges " + cartridges.size());
- }
-
- return cartridges;
- }
-
- public static List<CartridgeBean> getAvailableCartridges(String cartridgeSearchString, Boolean multiTenant,
- ConfigurationContext configurationContext)
- throws RestAPIException {
+ cartridges.add(cartridge);
+ }
+ } else {
+ if (log.isDebugEnabled()) {
+ log.debug("There are no available cartridges");
+ }
+ }
+ } catch (AxisFault axisFault) {
+ String errorMsg = String.format(
+ "Error while getting CloudControllerServiceClient instance to connect to the Cloud Controller. " +
+ "Cause: %s ", axisFault.getMessage());
+ log.error(errorMsg, axisFault);
+ throw new RestAPIException(errorMsg, axisFault);
+ } catch (RemoteException e) {
+ String errorMsg =
+ String.format("Error while getting cartridge information for provider %s Cause: %s ", provider,
+ e.getMessage());
+ log.error(errorMsg, e);
+ throw new RestAPIException(errorMsg, e);
+ }
+
+ if (log.isDebugEnabled()) {
+ log.debug("Returning available cartridges " + cartridges.size());
+ }
+
+ return cartridges;
+ }
+
+ public static List<CartridgeBean> getAvailableCartridges(String cartridgeSearchString, Boolean multiTenant, ConfigurationContext configurationContext) throws RestAPIException {
List<CartridgeBean> cartridges = new ArrayList<CartridgeBean>();
if (log.isDebugEnabled()) {
- log.debug("Getting available cartridges. Search String: " + cartridgeSearchString + ", Multi-Tenant: "
- + multiTenant);
+ log.debug("Getting available cartridges. Search String: " + cartridgeSearchString + ", Multi-Tenant: " + multiTenant);
}
boolean allowMultipleSubscription = new Boolean(
@@ -389,7 +386,7 @@ public class StratosApiV41Utils {
public static CartridgeBean getCartridge(String cartridgeType) throws RestAPIException {
try {
CartridgeInfo cartridgeInfo = CloudControllerServiceClient.getInstance().getCartridgeInfo(cartridgeType);
- if (cartridgeInfo == null) {
+ if(cartridgeInfo == null) {
return null;
}
return convertCartridgeToCartridgeDefinitionBean(cartridgeInfo);
@@ -404,22 +401,24 @@ public class StratosApiV41Utils {
}
}
- public static CartridgeBean getCartridgeForValidate(String cartridgeType) throws RestAPIException {
- try {
- CartridgeInfo cartridgeInfo = CloudControllerServiceClient.getInstance().getCartridgeInfo(cartridgeType);
- if (cartridgeInfo == null) {
- return null;
- }
- return convertCartridgeToCartridgeDefinitionBean(cartridgeInfo);
- } catch (CloudControllerServiceCartridgeNotFoundExceptionException e) {
- return null;
- } catch (RemoteException e) {
- String message = e.getMessage();
- log.error(message, e);
- throw new RestAPIException(message, e);
- }
+ public static CartridgeBean getCartridgeForValidate(String cartridgeType) throws RestAPIException {
+ try {
+ CartridgeInfo cartridgeInfo = CloudControllerServiceClient.getInstance().getCartridgeInfo(cartridgeType);
+ if (cartridgeInfo == null) {
+ return null;
+ }
+ return convertCartridgeToCartridgeDefinitionBean(cartridgeInfo);
+ }
+ catch(CloudControllerServiceCartridgeNotFoundExceptionException e){
+ return null;
+ }
+ catch (RemoteException e) {
+ String message = e.getMessage();
+ log.error(message, e);
+ throw new RestAPIException(message, e);
+ }
- }
+ }
private static CartridgeBean convertCartridgeToCartridgeDefinitionBean(CartridgeInfo cartridgeInfo) {
CartridgeBean cartridge = new CartridgeBean();
@@ -431,11 +430,36 @@ public class StratosApiV41Utils {
cartridge.setDescription(cartridgeInfo.getDescription());
cartridge.setVersion(cartridgeInfo.getVersion());
cartridge.setMultiTenant(cartridgeInfo.getMultiTenant());
+ cartridge.setPersistence(convertPersistenceToPersistenceBean(cartridgeInfo.getPersistence()));
cartridge.setLoadBalancingIPType(cartridgeInfo.getLoadBalancingIPType());
cartridge.setMetadataKeys(cartridgeInfo.getMetadataKeys());
return cartridge;
}
+ private static PersistenceBean convertPersistenceToPersistenceBean(Persistence persistence) {
+ if(persistence == null) {
+ return null;
+ }
+
+ PersistenceBean persistenceBean = new PersistenceBean();
+ persistenceBean.setRequired(persistence.isPersistenceRequiredSpecified());
+ persistenceBean.setVolume(convertVolumesToVolumeBeans(persistence.getVolumes()));
+ return persistenceBean;
+ }
+
+ private static List<VolumeBean> convertVolumesToVolumeBeans(Volume[] volumes) {
+ List<VolumeBean> list = new ArrayList<VolumeBean>();
+ for(Volume volume : volumes) {
+ VolumeBean volumeBean = new VolumeBean();
+ volumeBean.setId(volume.getId());
+ volumeBean.setDevice(volume.getDevice());
+ volumeBean.setSize(String.valueOf(volume.getSize()));
+ volumeBean.setSnapshotId(volume.getSnapshotId());
+ list.add(volumeBean);
+ }
+ return list;
+ }
+
private static boolean isAlreadySubscribed(String cartridgeType, int tenantId) {
return false;
}
@@ -497,7 +521,7 @@ public class StratosApiV41Utils {
throw new RestAPIException(errorMsg, axisFault);
}
}
-
+
private static StratosManagerServiceClient getStratosManagerServiceClient() throws RestAPIException {
try {
return StratosManagerServiceClient.getInstance();
@@ -535,104 +559,104 @@ public class StratosApiV41Utils {
}
}
}
-
+
public static void addApplicationPolicy(ApplicationPolicyBean applicationPolicyBean) throws RestAPIException {
-
- if (applicationPolicyBean == null) {
- String msg = "Application policy bean is null";
- log.error(msg);
- throw new RestAPIException(msg);
- }
-
- AutoscalerServiceClient serviceClient = getAutoscalerServiceClient();
- try {
- ApplicationPolicy applicationPolicy = ObjectConverter.convertApplicationPolicyBeanToStubAppPolicy(applicationPolicyBean);
- if (applicationPolicy == null) {
- String msg = "Application policy is null";
- log.error(msg);
- throw new RestAPIException(msg);
- }
- serviceClient.addApplicationPolicy(applicationPolicy);
- } catch (RemoteException e) {
- String msg = "Could not add application policy" + e.getLocalizedMessage();
- log.error(msg, e);
- throw new RestAPIException(msg);
- } catch (AutoscalerServiceInvalidPolicyExceptionException e) {
- String msg = "Could not add application policy. Invalid policy. " + e.getLocalizedMessage();
- log.error(msg, e);
- throw new RestAPIException(msg);
- } catch (AutoscalerServiceRemoteExceptionException e) {
- String msg = "Could not add application policy" + e.getLocalizedMessage();
- log.error(msg, e);
- throw new RestAPIException(msg);
- } catch (AutoscalerServiceInvalidApplicationPolicyExceptionException e) {
- String msg = "Could not add application policy. Invalid application policy. " + e.getLocalizedMessage();
- log.error(msg, e);
- throw new RestAPIException(msg);
- }
- }
-
+
+ if (applicationPolicyBean == null) {
+ String msg = "Application policy bean is null";
+ log.error(msg);
+ throw new RestAPIException(msg);
+ }
+
+ AutoscalerServiceClient serviceClient = getAutoscalerServiceClient();
+ try {
+ ApplicationPolicy applicationPolicy = ObjectConverter.convertApplicationPolicyBeanToStubAppPolicy(applicationPolicyBean);
+ if (applicationPolicy == null) {
+ String msg = "Application policy is null";
+ log.error(msg);
+ throw new RestAPIException(msg);
+ }
+ serviceClient.addApplicationPolicy(applicationPolicy);
+ } catch (RemoteException e) {
+ String msg = "Could not add application policy" + e.getLocalizedMessage();
+ log.error(msg, e);
+ throw new RestAPIException(msg);
+ } catch (AutoscalerServiceInvalidPolicyExceptionException e) {
+ String msg = "Could not add application policy. Invalid policy. " + e.getLocalizedMessage();
+ log.error(msg, e);
+ throw new RestAPIException(msg);
+ } catch (AutoscalerServiceRemoteExceptionException e) {
+ String msg = "Could not add application policy" + e.getLocalizedMessage();
+ log.error(msg, e);
+ throw new RestAPIException(msg);
+ } catch (AutoscalerServiceInvalidApplicationPolicyExceptionException e) {
+ String msg = "Could not add application policy. Invalid application policy. " + e.getLocalizedMessage();
+ log.error(msg, e);
+ throw new RestAPIException(msg);
+ }
+ }
+
public static void updateApplicationPolicy(ApplicationPolicyBean applicationPolicyBean) throws RestAPIException {
log.info(String.format("Updating application policy: [id] %s", applicationPolicyBean.getId()));
AutoscalerServiceClient autoscalerServiceClient = getAutoscalerServiceClient();
if (autoscalerServiceClient != null) {
-
- ApplicationPolicy applicationPolicy = ObjectConverter.convertApplicationPolicyBeanToStubAppPolicy(applicationPolicyBean);
+
+ ApplicationPolicy applicationPolicy = ObjectConverter.convertApplicationPolicyBeanToStubAppPolicy(applicationPolicyBean);
try {
- autoscalerServiceClient.updateApplicationPolicy(applicationPolicy);
- } catch (RemoteException e) {
- String msg = "Could not update application policy" + e.getLocalizedMessage();
- log.error(msg, e);
- throw new RestAPIException(msg);
- } catch (AutoscalerServiceApplicatioinPolicyNotExistsExceptionException e) {
- String msg = "Could not update application policy. Application policy not exists" + e.getLocalizedMessage();
- log.error(msg, e);
- throw new RestAPIException(msg);
- } catch (AutoscalerServiceRemoteExceptionException e) {
- String msg = "Could not update application policy" + e.getLocalizedMessage();
- log.error(msg, e);
- throw new RestAPIException(msg);
- } catch (AutoscalerServiceInvalidApplicationPolicyExceptionException e) {
- String msg = "Could not update application policy. Invalid application policy" + e.getLocalizedMessage();
- log.error(msg, e);
- throw new RestAPIException(msg);
- }
- }
- }
-
+ autoscalerServiceClient.updateApplicationPolicy(applicationPolicy);
+ } catch (RemoteException e) {
+ String msg = "Could not update application policy" + e.getLocalizedMessage();
+ log.error(msg, e);
+ throw new RestAPIException(msg);
+ } catch (AutoscalerServiceApplicatioinPolicyNotExistsExceptionException e) {
+ String msg = "Could not update application policy. Application policy not exists" + e.getLocalizedMessage();
+ log.error(msg, e);
+ throw new RestAPIException(msg);
+ } catch (AutoscalerServiceRemoteExceptionException e) {
+ String msg = "Could not update application policy" + e.getLocalizedMessage();
+ log.error(msg, e);
+ throw new RestAPIException(msg);
+ } catch (AutoscalerServiceInvalidApplicationPolicyExceptionException e) {
+ String msg = "Could not update application policy. Invalid application policy" + e.getLocalizedMessage();
+ log.error(msg, e);
+ throw new RestAPIException(msg);
+ }
+ }
+ }
+
public static ApplicationPolicyBean[] getApplicationPolicies() throws RestAPIException {
- ApplicationPolicy[] applicationPolicies = null;
+ ApplicationPolicy[] applicationPolicies = null;
AutoscalerServiceClient autoscalerServiceClient = getAutoscalerServiceClient();
if (autoscalerServiceClient != null) {
try {
- applicationPolicies = autoscalerServiceClient.getApplicationPolicies();
- } catch (RemoteException e) {
- String msg = "Could not get application policies" + e.getLocalizedMessage();
- log.error(msg, e);
- throw new RestAPIException(msg);
- }
+ applicationPolicies = autoscalerServiceClient.getApplicationPolicies();
+ } catch (RemoteException e) {
+ String msg = "Could not get application policies" + e.getLocalizedMessage();
+ log.error(msg, e);
+ throw new RestAPIException(msg);
+ }
}
return ObjectConverter.convertASStubApplicationPoliciesToApplicationPolicies(applicationPolicies);
}
-
+
public static ApplicationPolicyBean getApplicationPolicy(String applicationPolicyId) throws RestAPIException {
-
- if (applicationPolicyId == null) {
- String msg = "Application policy bean id null";
- log.error(msg);
- throw new RestAPIException(msg);
- }
-
- if (StringUtils.isBlank(applicationPolicyId)) {
- String msg = "Application policy id is empty";
- log.error(msg);
- throw new RestAPIException(msg);
- }
-
+
+ if (applicationPolicyId == null) {
+ String msg = "Application policy bean id null";
+ log.error(msg);
+ throw new RestAPIException(msg);
+ }
+
+ if (StringUtils.isBlank(applicationPolicyId)) {
+ String msg = "Application policy id is empty";
+ log.error(msg);
+ throw new RestAPIException(msg);
+ }
+
try {
AutoscalerServiceClient serviceClient = AutoscalerServiceClient.getInstance();
ApplicationPolicy applicationPolicy = serviceClient.getApplicationPolicy(applicationPolicyId);
@@ -643,33 +667,33 @@ public class StratosApiV41Utils {
throw new RuntimeException(message, e);
}
}
-
+
public static void removeApplicationPolicy(String applicationPolicyId) throws RestAPIException {
-
- if (applicationPolicyId == null) {
- String msg = "Application policy bean id null";
- log.error(msg);
- throw new RestAPIException(msg);
- }
-
- if (StringUtils.isBlank(applicationPolicyId)) {
- String msg = "Application policy id is empty";
- log.error(msg);
- throw new RestAPIException(msg);
- }
-
- AutoscalerServiceClient serviceClient = getAutoscalerServiceClient();
- try {
- serviceClient.removeApplicationPolicy(applicationPolicyId);
- } catch (RemoteException e) {
- String msg = "Could not remove application policy. " + e.getLocalizedMessage();
- log.error(msg, e);
- throw new RestAPIException(msg);
- } catch (AutoscalerServiceInvalidPolicyExceptionException e) {
- String msg = "Could not update application policy. " + e.getLocalizedMessage();
- log.error(msg, e);
- throw new RestAPIException(msg);
- }
+
+ if (applicationPolicyId == null) {
+ String msg = "Application policy bean id null";
+ log.error(msg);
+ throw new RestAPIException(msg);
+ }
+
+ if (StringUtils.isBlank(applicationPolicyId)) {
+ String msg = "Application policy id is empty";
+ log.error(msg);
+ throw new RestAPIException(msg);
+ }
+
+ AutoscalerServiceClient serviceClient = getAutoscalerServiceClient();
+ try {
+ serviceClient.removeApplicationPolicy(applicationPolicyId);
+ } catch (RemoteException e) {
+ String msg = "Could not remove application policy. " + e.getLocalizedMessage();
+ log.error(msg, e);
+ throw new RestAPIException(msg);
+ } catch (AutoscalerServiceInvalidPolicyExceptionException e) {
+ String msg = "Could not update application policy. " + e.getLocalizedMessage();
+ log.error(msg, e);
+ throw new RestAPIException(msg);
+ }
}
public static void updateAutoscalingPolicy(AutoscalePolicyBean autoscalePolicyBean) throws RestAPIException {
@@ -695,25 +719,25 @@ public class StratosApiV41Utils {
}
}
- public static void removeAutoscalingPolicy(String autoscalePolicyId) throws RestAPIException {
+ public static void removeAutoscalingPolicy(String autoscalePolicyId) throws RestAPIException {
- log.info(String.format("Removing autoscaling policy: [id] %s", autoscalePolicyId));
+ log.info(String.format("Removing autoscaling policy: [id] %s", autoscalePolicyId));
- AutoscalerServiceClient autoscalerServiceClient = getAutoscalerServiceClient();
- if (autoscalerServiceClient != null) {
+ AutoscalerServiceClient autoscalerServiceClient = getAutoscalerServiceClient();
+ if (autoscalerServiceClient != null) {
- try {
- autoscalerServiceClient.removeAutoscalingPolicy(autoscalePolicyId);
- } catch (RemoteException e) {
- log.error(e.getMessage(), e);
- throw new RestAPIException(e.getMessage(), e);
- } catch (AutoscalerServiceInvalidPolicyExceptionException e) {
- String message = e.getFaultMessage().getInvalidPolicyException().getMessage();
- log.error(message, e);
- throw new RestAPIException(message, e);
- }
- }
- }
+ try {
+ autoscalerServiceClient.removeAutoscalingPolicy(autoscalePolicyId);
+ } catch (RemoteException e) {
+ log.error(e.getMessage(), e);
+ throw new RestAPIException(e.getMessage(), e);
+ } catch (AutoscalerServiceInvalidPolicyExceptionException e) {
+ String message = e.getFaultMessage().getInvalidPolicyException().getMessage();
+ log.error(message, e);
+ throw new RestAPIException(message, e);
+ }
+ }
+ }
public static AutoscalePolicyBean[] getAutoScalePolicies() throws RestAPIException {
@@ -771,20 +795,20 @@ public class StratosApiV41Utils {
if (serviceGroupDefinition == null) {
throw new RuntimeException("Service Group definition is null");
}
-
- List<String> cartridgeTypes = null;
+
+ List<String> cartridgeTypes = new ArrayList<String>();
String[] cartridgeNames = null;
List<String> groupNames = null;
String[] cartridgeGroupNames = null;
// if any cartridges are specified in the group, they should be already deployed
if (serviceGroupDefinition.getCartridges() != null) {
-
+
if (log.isDebugEnabled()) {
log.debug("checking cartridges in cartridge group " + serviceGroupDefinition.getName());
}
- cartridgeTypes = serviceGroupDefinition.getCartridges();
+ findCartridgesInGroupBean(serviceGroupDefinition, cartridgeTypes);
Set<String> duplicates = findDuplicates(cartridgeTypes);
if (duplicates.size() > 0) {
@@ -799,9 +823,9 @@ public class StratosApiV41Utils {
}
CloudControllerServiceClient ccServiceClient = getCloudControllerServiceClient();
-
+
cartridgeNames = new String[cartridgeTypes.size()];
- int i = 0;
+ int i=0;
for (String cartridgeType : cartridgeTypes) {
try {
if (ccServiceClient.getCartridgeInfo(cartridgeType) == null) {
@@ -809,8 +833,8 @@ public class StratosApiV41Utils {
log.error("invalid cartridge found in cartridge group " + cartridgeType);
throw new RestAPIException("No Cartridge Definition found with type " + cartridgeType);
} else {
- cartridgeNames[i] = cartridgeType;
- i++;
+ cartridgeNames[i] = cartridgeType;
+ i++;
}
} catch (RemoteException e) {
throw new RestAPIException(e);
@@ -829,7 +853,7 @@ public class StratosApiV41Utils {
List<GroupBean> groupDefinitions = serviceGroupDefinition.getGroups();
groupNames = new ArrayList<String>();
cartridgeGroupNames = new String[groupDefinitions.size()];
- int i = 0;
+ int i=0;
for (GroupBean groupList : groupDefinitions) {
groupNames.add(groupList.getName());
cartridgeGroupNames[i] = groupList.getName();
@@ -847,25 +871,22 @@ public class StratosApiV41Utils {
log.debug("duplicate subGroups defined: " + buf.toString());
}
throw new RestAPIException("Invalid Service Group definition, duplicate subGroups defined:" + buf.toString());
- }
+ }
}
ServiceGroup serviceGroup = ObjectConverter.convertServiceGroupDefinitionToASStubServiceGroup(serviceGroupDefinition);
AutoscalerServiceClient asServiceClient = getAutoscalerServiceClient();
asServiceClient.addServiceGroup(serviceGroup);
-
+
// Add cartridge group elements to SM cache - done after service group has been added
StratosManagerServiceClient smServiceClient = getStratosManagerServiceClient();
- if (cartridgeTypes != null) {
- smServiceClient.addUsedCartridgesInCartridgeGroups(serviceGroupDefinition.getName(), cartridgeNames);
+ if(cartridgeTypes != null) {
+ smServiceClient.addUsedCartridgesInCartridgeGroups(serviceGroupDefinition.getName(), cartridgeNames);
}
- if (groupNames != null) {
- smServiceClient.addUsedCartridgeGroupsInCartridgeSubGroups(serviceGroupDefinition.getName(), cartridgeGroupNames);
- }
-
+
} catch (Exception e) {
- String message = "Could not add cartridge group:" + e.getMessage();
+ String message = "Could not add cartridge group";
log.error(message, e);
throw new RestAPIException(message, e);
}
@@ -943,63 +964,85 @@ public class StratosApiV41Utils {
if (log.isDebugEnabled()) {
log.debug("Removing cartridge group: [name] " + name);
}
-
+
AutoscalerServiceClient asServiceClient = getAutoscalerServiceClient();
StratosManagerServiceClient smServiceClient = getStratosManagerServiceClient();
-
+
// Check whether cartridge group exists
- if (asServiceClient.getServiceGroup(name) == null) {
- String message = "Cartridge group: [group-name] " + name + " cannot be removed since it does not exist";
+ if(asServiceClient.getServiceGroup(name) == null) {
+ String message = "Cartridge group: [group-name] " + name + " cannot be removed since it does not exist";
log.error(message);
throw new RestAPIException(message);
}
-
+
// Validate whether cartridge group can be removed
- if (!smServiceClient.canCartirdgeGroupBeRemoved(name)) {
- String message = "Cannot remove cartridge group: [group-name] " + name + " since it is used in another " +
- "cartridge group or an application";
+ if(!smServiceClient.canCartirdgeGroupBeRemoved(name)) {
+ String message = "Cannot remove cartridge group: [group-name] " + name + " since it is used in another cartridge group or an application";
log.error(message);
throw new RestAPIException(message);
}
-
+
ServiceGroup serviceGroup = asServiceClient.getServiceGroup(name);
-
+
asServiceClient.undeployServiceGroupDefinition(name);
-
- // Remove the dependent cartridges and cartridge groups from Stratos Manager cache - done after service group
- // has been removed
+
+ // Remove the dependent cartridges and cartridge groups from Stratos Manager cache - done after service group has been removed
if (serviceGroup.getCartridges() != null) {
- String[] cartridgeNames = serviceGroup.getCartridges();
- smServiceClient.removeUsedCartridgesInCartridgeGroups(name, cartridgeNames);
- }
-
- if (serviceGroup.getGroups() != null) {
- ServiceGroup[] cartridgeGroups = serviceGroup.getGroups();
- String[] cartridgeGroupNames = new String[cartridgeGroups.length];
- int i = 0;
- for (ServiceGroup cartridgeGroup : cartridgeGroups) {
- if (cartridgeGroup != null) {
- cartridgeGroupNames[i] = cartridgeGroup.getName();
- i++;
- } else {
- break;
- }
- }
- smServiceClient.removeUsedCartridgeGroupsInCartridgeSubGroups(name, cartridgeGroupNames);
+ List<String> cartridgeList = new ArrayList<String>();
+ findCartridgesInServiceGroup(serviceGroup, cartridgeList);
+ String[] cartridgeNames = cartridgeList.toArray(new String[cartridgeList.size()]);
+ smServiceClient.removeUsedCartridgesInCartridgeGroups(name, cartridgeNames);
}
-
+
} catch (Exception e) {
throw new RestAPIException(e);
}
log.info("Successfully removed the cartridge group: [group-name] " + name);
}
+
+ private static void findCartridgesInServiceGroup(ServiceGroup serviceGroup, List<String> cartridges) {
+
+ if (serviceGroup == null || cartridges == null) {
+ return;
+ }
+
+ for (String cartridge : serviceGroup.getCartridges()) {
+ if (!cartridges.contains(cartridge)) {
+ cartridges.add(cartridge);
+ }
+ }
+
+ if (serviceGroup.getGroups() != null) {
+ for (ServiceGroup seGroup : serviceGroup.getGroups()) {
+ findCartridgesInServiceGroup(seGroup, cartridges);
+ }
+ }
+ }
+
+ private static void findCartridgesInGroupBean(GroupBean groupBean, List<String> cartridges) {
+
+ if (groupBean == null || cartridges == null) {
+ return;
+ }
+
+ for (String cartridge : groupBean.getCartridges()) {
+ if (!cartridges.contains(cartridge)) {
+ cartridges.add(cartridge);
+ }
+ }
+
+ if (groupBean.getGroups() != null) {
+ for (GroupBean seGroup : groupBean.getGroups()) {
+ findCartridgesInGroupBean(seGroup, cartridges);
+ }
+ }
+ }
// Util methods for Applications
/**
* Verify the existence of the application and add it.
- *
* @param appDefinition
* @param ctxt
* @param userName
@@ -1007,14 +1050,14 @@ public class StratosApiV41Utils {
* @throws RestAPIException
*/
public static void addApplication(ApplicationBean appDefinition, ConfigurationContext ctxt,
- String userName, String tenantDomain)
+ String userName, String tenantDomain)
throws RestAPIException {
- if (StringUtils.isBlank(appDefinition.getApplicationId())) {
- String message = "Please specify the application name";
- log.error(message);
- throw new RestAPIException(message);
- }
+ if (StringUtils.isBlank(appDefinition.getApplicationId())) {
+ String message = "Please specify the application name";
+ log.error(message);
+ throw new RestAPIException(message);
+ }
// check if an application with same id already exists
try {
if (AutoscalerServiceClient.getInstance().getApplication(appDefinition.getApplicationId()) != null) {
@@ -1025,10 +1068,9 @@ public class StratosApiV41Utils {
throw new RestAPIException("Could not read application", e);
}
- validateApplication(appDefinition);
+ validateApplication(appDefinition);
- ApplicationContext applicationContext = ObjectConverter.convertApplicationDefinitionToStubApplicationContext(
- appDefinition);
+ ApplicationContext applicationContext = ObjectConverter.convertApplicationDefinitionToStubApplicationContext(appDefinition);
applicationContext.setTenantId(ApplicationManagementUtil.getTenantId(ctxt));
applicationContext.setTenantDomain(tenantDomain);
applicationContext.setTenantAdminUsername(userName);
@@ -1046,60 +1088,89 @@ public class StratosApiV41Utils {
try {
AutoscalerServiceClient.getInstance().addApplication(applicationContext);
-
- // Add application elements to SM cache - done after application has been added
- String[] cartridgeNames;
- String[] cartridgeGroupNames;
-
+
+ List<String> usedCartridges = new ArrayList<String>();
+ List<String> usedCartridgeGroups = new ArrayList<String>();
+ findCartridgesAndGroupsInApplication(appDefinition, usedCartridges, usedCartridgeGroups);
StratosManagerServiceClient smServiceClient = getStratosManagerServiceClient();
-
- List<CartridgeReferenceBean> cartridges = appDefinition.getComponents().getCartridges();
- if (cartridges != null) {
- cartridgeNames = new String[cartridges.size()];
- int i = 0;
- for (CartridgeReferenceBean cartridge : cartridges) {
- cartridgeNames[i] = cartridge.getType();
- i++;
- }
-
- smServiceClient.addUsedCartridgesInApplications(appDefinition.getApplicationId(), cartridgeNames);
- }
-
- List<GroupReferenceBean> cartridgeGroups = appDefinition.getComponents().getGroups();
- if (cartridgeGroups != null) {
- cartridgeGroupNames = new String[cartridgeGroups.size()];
- int i = 0;
- for (GroupReferenceBean cartridgeGroup : cartridgeGroups) {
- cartridgeGroupNames[i] = cartridgeGroup.getName();
- i++;
- }
-
- smServiceClient.addUsedCartridgeGroupsInApplications(appDefinition.getApplicationId(), cartridgeGroupNames);
- }
-
+ smServiceClient.addUsedCartridgesInApplications(appDefinition.getApplicationId(), usedCartridges.toArray(new String[usedCartridges.size()]));
+ smServiceClient.addUsedCartridgeGroupsInApplications(appDefinition.getApplicationId(), usedCartridgeGroups.toArray(new String[usedCartridgeGroups.size()]));
+
} catch (AutoscalerServiceApplicationDefinitionExceptionException e) {
throw new RestAPIException(e);
} catch (RemoteException e) {
throw new RestAPIException(e);
}
}
-
- private static void validateApplication(ApplicationBean appDefinition) throws RestAPIException {
-
- if (StringUtils.isBlank(appDefinition.getAlias())) {
- String message = "Please specify the application alias";
- log.error(message);
- throw new RestAPIException(message);
- }
- }
-
- /**
- * Deploy application with an application policy.
- *
- * @param applicationId
- * @param applicationPolicyId
- * @throws RestAPIException
- */
+
+ private static void findCartridgesAndGroupsInApplication(ApplicationBean applicationBean, List<String> cartridges, List<String> cartridgeGroups) {
+
+ if (applicationBean == null || applicationBean.getComponents() == null) {
+ return;
+ }
+
+ ComponentBean componentBean = applicationBean.getComponents();
+
+ List<GroupReferenceBean> groupReferenceBeans = componentBean.getGroups();
+ if (groupReferenceBeans != null) {
+ for (GroupReferenceBean groupReferenceBean : groupReferenceBeans) {
+ findCartridgesAndGroupsInCartridgeGroup(groupReferenceBean, cartridges, cartridgeGroups);
+ }
+ }
+
+ List<CartridgeReferenceBean> cartridgeReferenceBeans = componentBean.getCartridges();
+ findCartridgeNamesInCartridges(cartridgeReferenceBeans, cartridges);
+ }
+
+ private static void findCartridgesAndGroupsInCartridgeGroup(GroupReferenceBean groupReferenceBean, List<String> cartridges, List<String> cartridgeGroups) {
+
+ if (groupReferenceBean == null || cartridgeGroups == null) {
+ return;
+ }
+
+ if (!cartridgeGroups.contains(groupReferenceBean.getName())) {
+ cartridgeGroups.add(groupReferenceBean.getName());
+ }
+
+ if (groupReferenceBean.getGroups() != null) {
+ for (GroupReferenceBean grReferenceBean : groupReferenceBean.getGroups()) {
+ findCartridgesAndGroupsInCartridgeGroup(grReferenceBean, cartridges, cartridgeGroups);
+ findCartridgeNamesInCartridges(groupReferenceBean.getCartridges(), cartridges);
+ }
+ }
+
+ findCartridgeNamesInCartridges(groupReferenceBean.getCartridges(), cartridges);
+ }
+
+ private static void findCartridgeNamesInCartridges(List<CartridgeReferenceBean> cartridgeReferenceBeans, List<String> cartridges) {
+
+ if (cartridgeReferenceBeans == null || cartridges == null) {
+ return;
+ }
+
+ for (CartridgeReferenceBean cartridgeReferenceBean : cartridgeReferenceBeans) {
+ if (cartridgeReferenceBean != null && !cartridges.contains(cartridgeReferenceBean.getType())) {
+ cartridges.add(cartridgeReferenceBean.getType());
+ }
+ }
+ }
+
+ private static void validateApplication(ApplicationBean appDefinition) throws RestAPIException {
+
+ if(StringUtils.isBlank(appDefinition.getAlias())){
+ String message ="Please specify the application alias";
+ log.error(message);
+ throw new RestAPIException(message);
+ }
+ }
+
+ /**
+ * Deploy application with an application policy.
+ *
+ * @param applicationId
+ * @param applicationPolicyId
+ * @throws RestAPIException
+ */
public static void deployApplication(String applicationId, String applicationPolicyId)
throws RestAPIException {
@@ -1111,12 +1182,12 @@ public class StratosApiV41Utils {
AutoscalerServiceClient autoscalerServiceClient = getAutoscalerServiceClient();
ApplicationContext application = autoscalerServiceClient.getApplication(applicationId);
- if (StringUtils.isBlank(applicationId)) {
- String message = "Please specify the application id of the application";
- log.error(message);
- throw new RestAPIException(message);
- }
- if (application == null) {
+ if (StringUtils.isBlank(applicationId)) {
+ String message ="Please specify the application id of the application";
+ log.error(message);
+ throw new RestAPIException(message);
+ }
+ if(application == null) {
String message = String.format("Application is not found: [application-id] %s", applicationId);
log.error(message);
throw new RestAPIException(message);
@@ -1126,31 +1197,26 @@ public class StratosApiV41Utils {
log.error(message);
throw new RestAPIException(message);
}
- if (applicationPolicyId == null) {
+ if(applicationPolicyId == null) {
String message = String.format("Application policy id is not found: [application-policy-id] %s", applicationPolicyId);
log.error(message);
throw new RestAPIException(message);
}
if (StringUtils.isBlank(applicationPolicyId)) {
String message = String.format("Application policy id cannot be null : [application-policy-id] %s. "
- + "Are you passing application policy?", applicationPolicyId);
+ + "Are you passing application policy?", applicationPolicyId);
log.error(message);
throw new RestAPIException(message);
- }
+ }
ApplicationBean applicationBean = getApplication(applicationId);
int tenantId = CarbonContext.getThreadLocalCarbonContext().getTenantId();
if (applicationBean.isMultiTenant() && (tenantId != -1234)) {
- String message = String.format("Multi-tenant applications can only be deployed by super tenant: " +
- "[application-id] %s", applicationId);
+ String message = String.format("Multi-tenant applications can only be deployed by super tenant: [application-id] %s", applicationId);
log.error(message);
throw new RestAPIException(message);
}
-// ApplicationPolicy ccStubApplicationPolicy = ObjectConverter.convertApplicationPolicyBeanToStubAppPolicy(applicationPolicy);
- // setting the application id since application-policy.json doesn't have this attribute explicitly
- // reason is deployApplication() api path is containing the application id
-// ccStubApplicationPolicy.setApplicationId(applicationId);
autoscalerServiceClient.deployApplication(applicationId, applicationPolicyId);
if (log.isInfoEnabled()) {
log.info(String.format("Application deployed successfully: [application-id] %s", applicationId));
@@ -1168,7 +1234,7 @@ public class StratosApiV41Utils {
throw new RestAPIException(message, e);
}
}
-
+
public static ApplicationNetworkPartitionIdListBean getApplicationNetworkPartitions(String applicationId) {
try {
AutoscalerServiceClient serviceClient = AutoscalerServiceClient.getInstance();
@@ -1183,63 +1249,39 @@ public class StratosApiV41Utils {
}
}
- /**
- * Validate deployment policy
- *
- * @param deploymentPolicy
- */
- private static void validateDeploymentPolicy(DeploymentPolicyBean deploymentPolicy) throws RestAPIException {
- if (StringUtils.isBlank(deploymentPolicy.getId())) {
- String message = "No deployment policy id specify with the policy";
- log.error(message);
- throw new RestAPIException(message);
- }
- if (deploymentPolicy.getNetworkPartitions().size() == 0) {
- String message = "No network partitions specify with the policy";
- log.error(message);
- throw new RestAPIException(message);
- }
+ /**
+ * Validate deployment policy
+ * @param deploymentPolicy
+ */
+ private static void validateDeploymentPolicy(DeploymentPolicyBean deploymentPolicy) throws RestAPIException {
+ if(StringUtils.isBlank(deploymentPolicy.getId())){
+ String message = "No deployment policy id specify with the policy";
+ log.error(message);
+ throw new RestAPIException(message);
+ }
+ if(deploymentPolicy.getNetworkPartitions().size()==0){
+ String message="No network partitions specify with the policy";
+ log.error(message);
+ throw new RestAPIException(message);
+ }
- }
+ }
- public static void removeApplication(String applicationId) throws RestAPIException {
+ public static void removeApplication(String applicationId) throws RestAPIException {
try {
- AutoscalerServiceClient asServiceClient = getAutoscalerServiceClient();
-
- ApplicationBean application = ObjectConverter.convertStubApplicationContextToApplicationDefinition(
- asServiceClient.getApplication(applicationId));
- asServiceClient.deleteApplication(applicationId);
-
- // Remove application elements in SM cache - done after deleting
- String[] cartridgeNames;
- String[] cartridgeGroupNames;
+ AutoscalerServiceClient asServiceClient = getAutoscalerServiceClient();
+
+ ApplicationBean application = ObjectConverter.convertStubApplicationContextToApplicationDefinition(asServiceClient.getApplication(applicationId));
+ asServiceClient.deleteApplication(applicationId);
+
+ List<String> usedCartridges = new ArrayList<String>();
+ List<String> usedCartridgeGroups = new ArrayList<String>();
+ findCartridgesAndGroupsInApplication(application, usedCartridges, usedCartridgeGroups);
StratosManagerServiceClient smServiceClient = getStratosManagerServiceClient();
-
- List<CartridgeReferenceBean> cartridges = application.getComponents().getCartridges();
- if (cartridges != null) {
- cartridgeNames = new String[cartridges.size()];
- int i = 0;
- for (CartridgeReferenceBean cartridge : cartridges) {
- cartridgeNames[i] = cartridge.getType();
- i++;
- }
-
- smServiceClient.removeUsedCartridgesInApplications(application.getApplicationId(), cartridgeNames);
- }
-
- List<GroupReferenceBean> cartridgeGroups = application.getComponents().getGroups();
- if (cartridgeGroups != null) {
- cartridgeGroupNames = new String[cartridgeGroups.size()];
- int i = 0;
- for (GroupReferenceBean cartridgeGroup : cartridgeGroups) {
- cartridgeGroupNames[i] = cartridgeGroup.getName();
- i++;
- }
-
- smServiceClient.removeUsedCartridgeGroupsInApplications(application.getApplicationId(), cartridgeGroupNames);
- }
-
+ smServiceClient.removeUsedCartridgesInApplications(application.getApplicationId(), usedCartridges.toArray(new String[usedCartridges.size()]));
+ smServiceClient.removeUsedCartridgeGroupsInApplications(application.getApplicationId(), usedCartridgeGroups.toArray(new String[usedCartridgeGroups.size()]));
+
} catch (RemoteException e) {
String message = "Could not delete application: [application-id] " + applicationId;
log.error(message, e);
@@ -1262,9 +1304,9 @@ public class StratosApiV41Utils {
try {
List<ApplicationBean> applicationDefinitions = new ArrayList<ApplicationBean>();
ApplicationContext[] applicationContexts = AutoscalerServiceClient.getInstance().getApplications();
- if (applicationContexts != null) {
+ if(applicationContexts != null) {
for (ApplicationContext applicationContext : applicationContexts) {
- if (applicationContext != null) {
+ if(applicationContext != null) {
ApplicationBean applicationDefinition =
ObjectConverter.convertStubApplicationContextToApplicationDefinition(applicationContext);
applicationDefinitions.add(applicationDefinition);
@@ -1284,7 +1326,7 @@ public class StratosApiV41Utils {
if (autoscalerServiceClient != null) {
try {
ApplicationContext application = autoscalerServiceClient.getApplication(applicationId);
- if (application == null) {
+ if(application == null) {
String message = String.format("Application is not found: [application-id] %s", applicationId);
log.error(message);
throw new RestAPIException(message);
@@ -1307,7 +1349,7 @@ public class StratosApiV41Utils {
}
}
}
-
+
public static ApplicationInfoBean[] getApplicationRuntimes() {
List<ApplicationInfoBean> applicationBeanList = new ArrayList<ApplicationInfoBean>();
try {
@@ -1315,7 +1357,7 @@ public class StratosApiV41Utils {
ApplicationInfoBean applicationInfoBean;
for (Application application : ApplicationManager.getApplications().getApplications().values()) {
applicationInfoBean = ObjectConverter.convertApplicationToApplicationBean(application);
- for (ApplicationInstanceBean instanceBean : applicationInfoBean.getApplicationInstances()) {
+ for(ApplicationInstanceBean instanceBean : applicationInfoBean.getApplicationInstances()) {
addClustersInstancesToApplicationInstanceBean(instanceBean, application);
addGroupsInstancesToApplicationInstanceBean(instanceBean, application);
}
@@ -1337,7 +1379,7 @@ public class StratosApiV41Utils {
return null;
}
applicationBean = ObjectConverter.convertApplicationToApplicationInstanceBean(application);
- for (ApplicationInstanceBean instanceBean : applicationBean.getApplicationInstances()) {
+ for(ApplicationInstanceBean instanceBean : applicationBean.getApplicationInstances()) {
addClustersInstancesToApplicationInstanceBean(instanceBean, application);
addGroupsInstancesToApplicationInstanceBean(instanceBean, application);
}
@@ -1347,15 +1389,14 @@ public class StratosApiV41Utils {
}
return applicationBean;
}
-
private static void addGroupsInstancesToApplicationInstanceBean(ApplicationInstanceBean applicationInstanceBean,
Application application) {
Collection<Group> groups = application.getGroups();
- if (groups != null && !groups.isEmpty()) {
+ if(groups != null && !groups.isEmpty()) {
for (Group group : groups) {
List<GroupInstanceBean> groupInstanceBeans = ObjectConverter.convertGroupToGroupInstancesBean(
applicationInstanceBean.getInstanceId(), group);
- for (GroupInstanceBean groupInstanceBean : groupInstanceBeans) {
+ for(GroupInstanceBean groupInstanceBean : groupInstanceBeans) {
setSubGroupInstances(group, groupInstanceBean);
applicationInstanceBean.getGroupInstances().add(groupInstanceBean);
}
@@ -1369,7 +1410,7 @@ public class StratosApiV41Utils {
Application application) {
Map<String, ClusterDataHolder> topLevelClusterDataMap = application.getClusterDataMap();
- if (topLevelClusterDataMap != null) {
+ if(topLevelClusterDataMap != null) {
for (Map.Entry<String, ClusterDataHolder> entry : topLevelClusterDataMap.entrySet()) {
ClusterDataHolder clusterDataHolder = entry.getValue();
String clusterId = clusterDataHolder.getClusterId();
@@ -1380,9 +1421,9 @@ public class StratosApiV41Utils {
applicationInstanceBean.getClusterInstances().add(ObjectConverter.
convertClusterToClusterInstanceBean(applicationInstanceBean.getInstanceId(),
cluster, entry.getKey()));
- } finally {
- TopologyManager.releaseReadLockForCluster(serviceType, clusterId);
- }
+ } finally {
+ TopologyManager.releaseReadLockForCluster(serviceType, clusterId);
+ }
}
}
}
@@ -1391,7 +1432,7 @@ public class StratosApiV41Utils {
GroupInstanceBean groupInstanceBean,
Group group) {
Map<String, ClusterDataHolder> topLevelClusterDataMap = group.getClusterDataMap();
- if (topLevelClusterDataMap != null && !topLevelClusterDataMap.isEmpty()) {
+ if(topLevelClusterDataMap != null && !topLevelClusterDataMap.isEmpty()) {
for (Map.Entry<String, ClusterDataHolder> entry : topLevelClusterDataMap.entrySet()) {
ClusterDataHolder clusterDataHolder = entry.getValue();
String clusterId = clusterDataHolder.getClusterId();
@@ -1413,12 +1454,12 @@ public class StratosApiV41Utils {
private static void setSubGroupInstances(Group group, GroupInstanceBean groupInstanceBean) {
Collection<Group> subgroups = group.getGroups();
addClustersInstancesToGroupInstanceBean(groupInstanceBean, group);
- if (subgroups != null && !subgroups.isEmpty()) {
+ if(subgroups != null && !subgroups.isEmpty()) {
for (Group subGroup : subgroups) {
List<GroupInstanceBean> groupInstanceBeans = ObjectConverter.
convertGroupToGroupInstancesBean(groupInstanceBean.getInstanceId(),
subGroup);
- for (GroupInstanceBean groupInstanceBean1 : groupInstanceBeans) {
+ for(GroupInstanceBean groupInstanceBean1 : groupInstanceBeans) {
setSubGroupInstances(subGroup, groupInstanceBean1);
groupInstanceBean.getGroupInstances().add(groupInstanceBean1);
}
@@ -1429,7 +1470,7 @@ public class StratosApiV41Utils {
}
// Util methods for Kubernetes clusters
-
+
public static boolean addKubernetesCluster(KubernetesClusterBean kubernetesClusterBean) throws RestAPIException {
CloudControllerServiceClient cloudControllerServiceClient = getCloudControllerServiceClient();
@@ -1645,40 +1686,38 @@ public class StratosApiV41Utils {
return false;
}
- public static void addApplicationSignUp(String applicationId, ApplicationSignUpBean applicationSignUpBean)
- throws RestAPIException {
- if (StringUtils.isBlank(applicationId)) {
+ public static void addApplicationSignUp(String applicationId, ApplicationSignUpBean applicationSignUpBean) throws RestAPIException {
+ if(StringUtils.isBlank(applicationId)) {
throw new RestAPIException("Application id is null");
}
ApplicationBean applicationBean = getApplication(applicationId);
Application application = ApplicationManager.getApplications().getApplication(applicationId);
- if ((applicationBean == null) || (application == null)) {
+ if((applicationBean == null) || (application == null)) {
throw new RestAPIException("Application not found: [application-id] " + applicationId);
}
- if (!APPLICATION_STATUS_DEPLOYED.equals(applicationBean.getStatus())) {
+ if(!APPLICATION_STATUS_DEPLOYED.equals(applicationBean.getStatus())) {
throw new RestAPIException("Application has not been deployed: [application-id] " + applicationId);
}
- if (!applicationBean.isMultiTenant()) {
+ if(!applicationBean.isMultiTenant()) {
throw new RestAPIException("Application signups cannot be added to single-tenant applications");
}
- if (applicationSignUpBean == null) {
+ if(applicationSignUpBean == null) {
throw new RestAPIException("Application signup is null");
}
try {
- if (log.isInfoEnabled()) {
+ if(log.isInfoEnabled()) {
log.info(String.format("Adding applicationBean signup: [application-id] %s", applicationId));
}
int tenantId = CarbonContext.getThreadLocalCarbonContext().getTenantId();
- ApplicationSignUp applicationSignUp = ObjectConverter.convertApplicationSignUpBeanToStubApplicationSignUp(
- applicationSignUpBean);
+ ApplicationSignUp applicationSignUp = ObjectConverter.convertApplicationSignUpBeanToStubApplicationSignUp(applicationSignUpBean);
applicationSignUp.setApplicationId(applicationId);
applicationSignUp.setTenantId(tenantId);
List<String> clusterIds = findApplicationClusterIds(application);
@@ -1691,13 +1730,13 @@ public class StratosApiV41Utils {
StratosManagerServiceClient serviceClient = StratosManagerServiceClient.getInstance();
serviceClient.addApplicationSignUp(applicationSignUp);
- if (log.isInfoEnabled()) {
+ if(log.isInfoEnabled()) {
log.info(String.format("Application signup added successfully: [application-id] %s [tenant-id] %d",
applicationId, tenantId));
}
serviceClient.notifyArtifactUpdatedEventForSignUp(applicationId, tenantId);
- if (log.isInfoEnabled()) {
+ if(log.isInfoEnabled()) {
log.info(String.format("Artifact updated event sent: [application-id] %s [tenant-id] %d",
applicationId, tenantId));
}
@@ -1710,13 +1749,12 @@ public class StratosApiV41Utils {
/**
* Find application cluster ids.
- *
* @param application
* @return
*/
private static List<String> findApplicationClusterIds(Application application) {
List<String> clusterIds = new ArrayList<String>();
- for (ClusterDataHolder clusterDataHolder : application.getClusterDataRecursively()) {
+ for(ClusterDataHolder clusterDataHolder : application.getClusterDataRecursively()) {
clusterIds.add(clusterDataHolder.getClusterId());
}
return clusterIds;
@@ -1724,7 +1762,6 @@ public class StratosApiV41Utils {
/**
* Encrypt artifact repository passwords.
- *
* @param applicationSignUp
* @param applicationKey
*/
@@ -1748,16 +1785,16 @@ public class StratosApiV41Utils {
}
public static ApplicationSignUpBean getApplicationSignUp(String applicationId) throws RestAPIException {
- if (StringUtils.isBlank(applicationId)) {
+ if(StringUtils.isBlank(applicationId)) {
throw new RestAPIException("Application id is null");
}
ApplicationBean application = getApplication(applicationId);
- if (application == null) {
+ if(application == null) {
throw new RestAPIException("Application does not exist: [application-id] " + applicationId);
}
- if (!application.isMultiTenant()) {
+ if(!application.isMultiTenant()) {
throw new RestAPIException("Application singups not available for single-tenant applications");
}
@@ -1766,7 +1803,7 @@ public class StratosApiV41Utils {
try {
StratosManagerServiceClient serviceClient = StratosManagerServiceClient.getInstance();
ApplicationSignUp applicationSignUp = serviceClient.getApplicationSignUp(applicationId, tenantId);
- if (applicationSignUp != null) {
+ if(applicationSignUp != null) {
return ObjectConverter.convertStubApplicationSignUpToApplicationSignUpBean(applicationSignUp);
}
return null;
@@ -1779,16 +1816,16 @@ public class StratosApiV41Utils {
}
public static void removeApplicationSignUp(String applicationId) throws RestAPIException {
- if (StringUtils.isBlank(applicationId)) {
+ if(StringUtils.isBlank(applicationId)) {
throw new RestAPIException("Application id is null");
}
ApplicationBean application = getApplication(applicationId);
- if (application == null) {
+ if(application == null) {
throw new RestAPIException("Application does not exist: [application-id] " + applicationId);
}
- if (!application.isMultiTenant()) {
+ if(!application.isMultiTenant()) {
throw new RestAPIException("Application singups not available for single-tenant applications");
}
@@ -1798,7 +1835,7 @@ public class StratosApiV41Utils {
StratosManagerServiceClient serviceClient = StratosManagerServiceClient.getInstance();
serviceClient.removeApplicationSignUp(applicationId, tenantId);
- if (log.isInfoEnabled()) {
+ if(log.isInfoEnabled()) {
log.info(String.format("Application signup removed successfully: [application-id] %s" +
"[tenant-id] %d", applicationId, tenantId));
}
@@ -1811,16 +1848,16 @@ public class StratosApiV41Utils {
}
public static List<ApplicationSignUpBean> getApplicationSignUps(String applicationId) throws RestAPIException {
- if (StringUtils.isBlank(applicationId)) {
+ if(StringUtils.isBlank(applicationId)) {
throw new RestAPIException("Application id is null");
}
ApplicationBean application = getApplication(applicationId);
- if (application == null) {
+ if(application == null) {
throw new RestAPIException("Application does not exist: [application-id] " + applicationId);
}
- if (!application.isMultiTenant()) {
+ if(!application.isMultiTenant()) {
throw new RestAPIException("Application singups not available for single-tenant applications");
}
@@ -1828,9 +1865,9 @@ public class StratosApiV41Utils {
List<ApplicationSignUpBean> applicationSignUpBeans = new ArrayList<ApplicationSignUpBean>();
StratosManagerServiceClient serviceClient = StratosManagerServiceClient.getInstance();
ApplicationSignUp[] applicationSignUps = serviceClient.getApplicationSignUps(applicationId);
- if (applicationSignUps != null) {
- for (ApplicationSignUp applicationSignUp : applicationSignUps) {
- if (applicationSignUp != null) {
+ if(applicationSignUps != null) {
+ for(ApplicationSignUp applicationSignUp : applicationSignUps) {
+ if(applicationSignUp != null) {
ApplicationSignUpBean applicationSignUpBean =
ObjectConverter.convertStubApplicationSignUpToApplicationSignUpBean(applicationSignUp);
applicationSignUpBeans.add(applicationSignUpBean);
@@ -1846,29 +1883,26 @@ public class StratosApiV41Utils {
}
public static void addApplicationDomainMappings(String applicationId,
- ApplicationDomainMappingsBean domainMapppingsBean)
- throws RestAPIException {
+ ApplicationDomainMappingsBean domainMapppingsBean) throws RestAPIException {
try {
int tenantId = CarbonContext.getThreadLocalCarbonContext().getTenantId();
- if (domainMapppingsBean.getDomainMappings() != null) {
+ if(domainMapppingsBean.getDomainMappings() != null) {
StratosManagerServiceClient serviceClient = StratosManagerServiceClient.getInstance();
- for (DomainMappingBean domainMappingBean : domainMapppingsBean.getDomainMappings()) {
- ClusterDataHolder clusterDataHolder = findClusterDataHolder(applicationId,
- domainMappingBean.getCartridgeAlias());
+ for(DomainMappingBean domainMappingBean : domainMapppingsBean.getDomainMappings()) {
+ ClusterDataHolder clusterDataHolder = findClusterDataHolder(applicationId, domainMappingBean.getCartridgeAlias());
- DomainMapping domainMapping = ObjectConverter.convertDomainMappingBeanToStubDomainMapping(
- domainMappingBean);
+ DomainMapping domainMapping = ObjectConverter.convertDomainMappingBeanToStubDomainMapping(domainMappingBean);
domainMapping.setApplicationId(applicationId);
domainMapping.setTenantId(tenantId);
domainMapping.setServiceName(clusterDataHolder.getServiceType());
domainMapping.setClusterId(clusterDataHolder.getClusterId());
serviceClient.addDomainMapping(domainMapping);
- if (log.isInfoEnabled()) {
+ if(log.isInfoEnabled()) {
log.info(String.format("Domain mapping added: [application-id] %s [tenant-id] %d " +
- "[domain-name] %s [context-path] %s", applicationId, tenantId,
+ "[domain-name] %s [context-path] %s", applicationId, tenantId,
domainMapping.getDomainName(), domainMapping.getContextPath()));
}
}
@@ -1882,12 +1916,12 @@ public class StratosApiV41Utils {
private static ClusterDataHolder findClusterDataHolder(String applicationId, String cartridgeAlias) {
Application application = ApplicationManager.getApplications().getApplication(applicationId);
- if (application == null) {
+ if(application == null) {
throw new RuntimeException(String.format("Application not found: [application-id] %s", applicationId));
}
ClusterDataHolder clusterDataHolder = application.getClusterData(cartridgeAlias);
- if (clusterDataHolder == null) {
+ if(clusterDataHolder == null) {
throw new RuntimeException(String.format("Cluster data not found for cartridge alias: [application-id] %s " +
"[cartridge-alias] %s", applicationId, cartridgeAlias));
}
@@ -1901,12 +1935,12 @@ public class StratosApiV41Utils {
try {
int tenantId = CarbonContext.getThreadLocalCarbonContext().getTenantId();
StratosManagerServiceClient serviceClient = StratosManagerServiceClient.getInstance();
- if (domainMapppingsBean.getDomainMappings() != null) {
+ if(domainMapppingsBean.getDomainMappings() != null) {
- for (DomainMappingBean domainMappingBean : domainMapppingsBean.getDomainMappings()) {
+ for(DomainMappingBean domainMappingBean : domainMapppingsBean.getDomainMappings()) {
serviceClient.removeDomainMapping(applicationId, tenantId, domainMappingBean.getDomainName());
- if (log.isInfoEnabled()) {
+ if(log.isInfoEnabled()) {
log.info(String.format("Domain mapping removed: [application-id] %s [tenant-id] %d " +
"[domain-name] %s", applicationId, tenantId,
domainMappingBean.getDomainName()));
@@ -1926,9 +1960,9 @@ public class StratosApiV41Utils {
List<DomainMappingBean> domainMappingsBeans = new ArrayList<DomainMappingBean>();
StratosManagerServiceClient serviceClient = StratosManagerServiceClient.getInstance();
DomainMapping[] domainMappings = serviceClient.getDomainMappings(applicationId, tenantId);
- if (domainMappings != null) {
- for (DomainMapping domainMapping : domainMappings) {
- if (domainMapping != null) {
+ if(domainMappings != null) {
+ for(DomainMapping domainMapping : domainMappings) {
+ if(domainMapping != null) {
DomainMappingBean domainMappingBean = ObjectConverter.convertStubDomainMappingToDomainMappingBean(domainMapping);
domainMappingsBeans.add(domainMappingBean);
}
@@ -1945,8 +1979,7 @@ public class StratosApiV41Utils {
public static void addNetworkPartition(NetworkPartitionBean networkPartitionBean) {
try {
CloudControllerServiceClient serviceClient = CloudControllerServiceClient.getInstance();
- serviceClient.addNetworkPartition(ObjectConverter.convertNetworkPartitionToCCStubNetworkPartition(
- networkPartitionBean));
+ serviceClient.addNetworkPartition(ObjectConverter.convertNetworkPartitionToCCStubNetworkPartition(networkPartitionBean));
} catch (Exception e) {
String message = "Could not add network partition";
log.error(message);
@@ -1957,8 +1990,7 @@ public class StratosApiV41Utils {
public static NetworkPartitionBean[] getNetworkPartitions() {
try {
CloudControllerServiceClient serviceClient = CloudControllerServiceClient.getInstance();
- org.apache.stratos.cloud.controller.stub.domain.NetworkPartition[] networkPartitions
- = serviceClient.getNetworkPartitions();
+ org.apache.stratos.cloud.controller.stub.domain.NetworkPartition[] networkPartitions = serviceClient.getNetworkPartitions();
return ObjectConverter.convertCCStubNetworkPartitionsToNetworkPartitions(networkPartitions);
} catch (Exception e) {
String message = "Could not get network partitions";
@@ -1972,8 +2004,7 @@ public class StratosApiV41Utils {
CloudControllerServiceClient serviceClient = CloudControllerServiceClient.getInstance();
serviceClient.removeNetworkPartition(networkPartitionId);
} catch (Exception e) {
- String message = String.format("Could not remove network partition: [network-partition-id] %s",
- networkPartitionId);
+ String message = String.format("Could not remove network partition: [network-partition-id] %s", networkPartitionId);
log.error(message);
throw new RuntimeException(message, e);
}
@@ -1982,8 +2013,7 @@ public class StratosApiV41Utils {
public static NetworkPartitionBean getNetworkPartition(String networkPartitionId) {
try {
CloudControllerServiceClient serviceClient = CloudControllerServiceClient.getInstance();
- org.apache.stratos.cloud.controller.stub.domain.NetworkPartition networkPartition
- = serviceClient.getNetworkPartition(networkPartitionId);
+ org.apache.stratos.cloud.controller.stub.domain.NetworkPartition networkPartition = serviceClient.getNetworkPartition(networkPartitionId);
return ObjectConverter.convertCCStubNetworkPartitionToNetworkPartition(networkPartition);
} catch (Exception e) {
String message = String.format("Could not get network partition: [network-partition-id] %s", networkPartitionId);
@@ -1997,7 +2027,7 @@ public class StratosApiV41Utils {
CloudControllerServiceClient serviceClient = CloudControllerServiceClient.getInstance();
serviceClient.updateNetworkPartition(ObjectConverter.
convertNetworkPartitionToCCStubNetworkPartition(networkPartition));
- } catch (Exception e) {
+ }catch (Exception e) {
String message = String.format("Could not update network partition: [network-partition-id] %s,",
networkPartition.getId());
log.error(message);
@@ -2005,70 +2035,68 @@ public class StratosApiV41Utils {
}
}
- /**
- * Add deployment policy
- *
- * @param deployementPolicyDefinitionBean DeploymentPolicyBean
- */
- public static void addDeploymentPolicy(DeploymentPolicyBean deployementPolicyDefinitionBean)
- throws RestAPIException {
- try {
- if (log.isDebugEnabled()) {
- log.debug(String.format("Adding deployment policy: [deployment-policy-id] %s ",
- deployementPolicyDefinitionBean.getId()));
- }
-
- DeploymentPolicy deploymentPolicy =
-
- ObjectConverter.convetToCCDeploymentPolicy(deployementPolicyDefinitionBean);
- CloudControllerServiceClient cloudControllerServiceClient = CloudControllerServiceClient.getInstance();
- cloudControllerServiceClient.addDeploymentPolicy(deploymentPolicy);
-
- if (log.isDebugEnabled()) {
- log.debug(String.format("Successfully added deploymentPolicy: [deployment-policy-id] %s ",
- deployementPolicyDefinitionBean.getId()));
- }
- } catch (CloudControllerServiceDeploymentPolicyAlreadyExistsExceptionException e) {
- String msg =
- "Deployment policy already exist [Deployment-policy-id]" + deployementPolicyDefinitionBean.getId();
- log.error(msg, e);
- throw new RestAPIException(msg);
- } catch (Exception e) {
- String msg = "Could not add deployment policy";
- log.error(msg, e);
- throw new RestAPIException(msg);
- }
- }
-
- /**
- * Get deployment policy by deployment policy id
- *
- * @param deploymentPolicyID deployment policy id
- * @return {@link DeploymentPolicyBean}
- */
- public static DeploymentPolicyBean getDeployementPolicy(String deploymentPolicyID) throws RestAPIException {
-
- DeploymentPolicyBean deploymentPolicy = null;
- try {
- CloudControllerServiceClient cloudControllerServiceClient = CloudControllerServiceClient.getInstance();
- deploymentPolicy = ObjectConverter
- .convetCCStubDeploymentPolicytoDeploymentPolicy(cloudControllerServiceClient.getDeploymentPolicy
- (deploymentPolicyID));
- } catch (Exception e) {
- String msg = "Could not find deployment policy deployment-policy-id " + deploymentPolicyID;
- log.error(msg, e);
- throw new RestAPIException(msg);
- }
-
- return deploymentPolicy;
- }
-
- /**
- * Get deployment policies
- *
- * @return array of {@link DeploymentPolicyBean}
- */
- public static DeploymentPolicyBean[] getDeployementPolicies() {
+ /**
+ * Add deployment policy
+ *
+ * @param deployementPolicyDefinitionBean DeploymentPolicyBean
+ */
+ public static void addDeploymentPolicy(DeploymentPolicyBean deployementPolicyDefinitionBean)
+ throws RestAPIException {
+ try {
+ if (log.isDebugEnabled()) {
+ log.debug(String.format("Adding deployment policy: [deployment-policy-id] %s ",
+ deployementPolicyDefinitionBean.getId()));
+ }
+
+ DeploymentPolicy deploymentPolicy =
+
+ ObjectConverter.convetToCCDeploymentPolicy(deployementPolicyDefinitionBean);
+ CloudControllerServiceClient cloudControllerServiceClient = CloudControllerServiceClient.getInstance();
+ cloudControllerServiceClient.addDeploymentPolicy(deploymentPolicy);
+
+ if (log.isDebugEnabled()) {
+ log.debug(String.format("Successfully added deploymentPolicy: [deployment-policy-id] %s ",
+ deployementPolicyDefinitionBean.getId()));
+ }
+ } catch (CloudControllerServiceDeploymentPolicyAlreadyExistsExceptionException e) {
+ String msg =
+ "Deployment policy already exist [Deployment-policy-id]" + deployementPolicyDefinitionBean.getId();
+ log.error(msg, e);
+ throw new RestAPIException(msg);
+ } catch (Exception e) {
+ String msg = "Could not add deployment policy";
+ log.error(msg, e);
+ throw new RestAPIException(msg);
+ }
+ }
+
+ /**
+ * Get deployment policy by deployment policy id
+ * @param deploymentPolicyID deployment policy id
+ * @return {@link DeploymentPolicyBean}
+ */
+ public static DeploymentPolicyBean getDeployementPolicy(String deploymentPolicyID) throws RestAPIException {
+
+ DeploymentPolicyBean deploymentPolicy = null;
+ try {
+ CloudControllerServiceClient cloudControllerServiceClient = CloudControllerServiceClient.getInstance();
+ deploymentPolicy = ObjectConverter
+ .convetCCStubDeploymentPolicytoDeploymentPolicy(cloudControllerServiceClient.getDeploymentPolicy
+ (deploymentPolicyID));
+ } catch (Exception e) {
+ String msg = "Could not find deployment policy deployment-policy-id " + deploymentPolicyID;
+ log.error(msg, e);
+ throw new RestAPIException(msg);
+ }
+
+ return deploymentPolicy;
+ }
+
+ /**
+ * Get deployment policies
+ * @return array of {@link DeploymentPolicyBean}
+ */
+ public static DeploymentPolicyBean[] getDeployementPolicies() {
try {
CloudControllerServiceClient serviceClient = CloudControllerServiceClient.getInstance();
DeploymentPolicy[] deploymentPolicies = serviceClient.getDeploymentPolicies();
@@ -2080,56 +2108,55 @@ public class StratosApiV41Utils {
}
}
- /**
- * Update deployement policy
- *
- * @param deploymentPolicyDefinitionBean DeploymentPolicyBean
- * @throws RestAPIException
- */
- public static void updateDeploymentPolicy(DeploymentPolicyBean deploymentPolicyDefinitionBean)
- throws RestAPIException {
- try {
- if (log.isDebugEnabled()) {
- log.debug(String.format("Adding deployment policy: [deployment-policy-id] %s ",
- deploymentPolicyDefinitionBean.getId()));
- }
-
- DeploymentPolicy deploymentPolicy =
- ObjectConverter.convetToCCDeploymentPolicy(deploy
<TRUNCATED>