You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stratos.apache.org by la...@apache.org on 2015/05/07 20:55:21 UTC
[4/5] stratos git commit: Update client side with changed methode
return
Update client side with changed methode return
Project: http://git-wip-us.apache.org/repos/asf/stratos/repo
Commit: http://git-wip-us.apache.org/repos/asf/stratos/commit/acc25e98
Tree: http://git-wip-us.apache.org/repos/asf/stratos/tree/acc25e98
Diff: http://git-wip-us.apache.org/repos/asf/stratos/diff/acc25e98
Branch: refs/heads/master
Commit: acc25e98191b8e15f186c5f6ca7aa2ca472b4fea
Parents: d607a32
Author: Lahiru Sandaruwan <la...@apache.org>
Authored: Fri May 8 00:12:11 2015 +0530
Committer: Lahiru Sandaruwan <la...@apache.org>
Committed: Fri May 8 00:15:50 2015 +0530
----------------------------------------------------------------------
.../client/CloudControllerServiceClient.java | 4 +-
.../rest/endpoint/api/StratosApiV41Utils.java | 2 +-
.../main/resources/CloudControllerService.wsdl | 1034 +++++++++---------
3 files changed, 510 insertions(+), 530 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/stratos/blob/acc25e98/components/org.apache.stratos.common/src/main/java/org/apache/stratos/common/client/CloudControllerServiceClient.java
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.common/src/main/java/org/apache/stratos/common/client/CloudControllerServiceClient.java b/components/org.apache.stratos.common/src/main/java/org/apache/stratos/common/client/CloudControllerServiceClient.java
index 72dbafa..91a2c53 100644
--- a/components/org.apache.stratos.common/src/main/java/org/apache/stratos/common/client/CloudControllerServiceClient.java
+++ b/components/org.apache.stratos.common/src/main/java/org/apache/stratos/common/client/CloudControllerServiceClient.java
@@ -187,9 +187,9 @@ public class CloudControllerServiceClient {
return stub.getKubernetesCluster(kubernetesClusterId);
}
- public boolean undeployKubernetesCluster(String kubernetesClusterId) throws RemoteException,
+ public void undeployKubernetesCluster(String kubernetesClusterId) throws RemoteException,
CloudControllerServiceNonExistingKubernetesClusterExceptionException {
- return stub.removeKubernetesCluster(kubernetesClusterId);
+ stub.removeKubernetesCluster(kubernetesClusterId);
}
public boolean undeployKubernetesHost(String kubernetesHostId) throws RemoteException,
http://git-wip-us.apache.org/repos/asf/stratos/blob/acc25e98/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 31ac501..e7e3f38 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
@@ -2032,7 +2032,7 @@ public class StratosApiV41Utils {
CloudControllerServiceClient cloudControllerServiceClient = getCloudControllerServiceClient();
if (cloudControllerServiceClient != null) {
try {
- return cloudControllerServiceClient.undeployKubernetesCluster(kubernetesClusterId);
+ cloudControllerServiceClient.undeployKubernetesCluster(kubernetesClusterId);
} catch (RemoteException e) {
log.error(e.getMessage(), e);