You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stratos.apache.org by ni...@apache.org on 2013/12/10 15:54:04 UTC

[05/16] git commit: new API operation to checkLBExistence given a cluster id of an existing LB and conflict resolution

new API operation to checkLBExistence given a cluster id of an existing LB and conflict resolution


Project: http://git-wip-us.apache.org/repos/asf/incubator-stratos/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-stratos/commit/032ba9bb
Tree: http://git-wip-us.apache.org/repos/asf/incubator-stratos/tree/032ba9bb
Diff: http://git-wip-us.apache.org/repos/asf/incubator-stratos/diff/032ba9bb

Branch: refs/heads/master
Commit: 032ba9bb9fb4048e00a61f3bb6ac687cd62f8a52
Parents: 4a7783d
Author: Nirmal Fernando <ni...@apache.org>
Authored: Sun Dec 8 11:02:56 2013 +0530
Committer: Nirmal Fernando <ni...@apache.org>
Committed: Tue Dec 10 19:16:13 2013 +0530

----------------------------------------------------------------------
 .../stratos/autoscaler/interfaces/AutoScalerServiceInterface.java  | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/032ba9bb/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/interfaces/AutoScalerServiceInterface.java
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/interfaces/AutoScalerServiceInterface.java b/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/interfaces/AutoScalerServiceInterface.java
index 0bf7a86..8a760b0 100644
--- a/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/interfaces/AutoScalerServiceInterface.java
+++ b/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/interfaces/AutoScalerServiceInterface.java
@@ -1,6 +1,7 @@
 package org.apache.stratos.autoscaler.interfaces;
 
 import org.apache.stratos.autoscaler.deployment.policy.DeploymentPolicy;
+import org.apache.stratos.autoscaler.exception.NonExistingLBException;
 import org.apache.stratos.autoscaler.exception.PartitionValidationException;
 import org.apache.stratos.autoscaler.partition.PartitionGroup;
 import org.apache.stratos.autoscaler.policy.model.AutoscalePolicy;
@@ -25,4 +26,5 @@ public interface AutoScalerServiceInterface {
 	public PartitionGroup[] getPartitionGroups (String deploymentPolicyId);	
 	public Partition[] getPartitionsOfDeploymentPolicy(String depPolicy, String partitonGroupId);
 	
+	public void checkLBExistence(String clusterId) throws NonExistingLBException;
 }