Repository: stratos
Updated Branches:
  refs/heads/master 75d3efbf2 -> b3a424198


Cleaning up the CC interface - removing commented out code


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

Branch: refs/heads/master
Commit: b3a4241988d7000cfe7d263dc15edea617c862fc
Parents: 75d3efb
Author: Nirmal Fernando <[email protected]>
Authored: Wed Aug 13 09:13:44 2014 +0530
Committer: Nirmal Fernando <[email protected]>
Committed: Wed Aug 13 09:13:44 2014 +0530

----------------------------------------------------------------------
 .../interfaces/CloudControllerService.java      | 65 --------------------
 1 file changed, 65 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/stratos/blob/b3a42419/components/org.apache.stratos.cloud.controller/src/main/java/org/apache/stratos/cloud/controller/interfaces/CloudControllerService.java
----------------------------------------------------------------------
diff --git 
a/components/org.apache.stratos.cloud.controller/src/main/java/org/apache/stratos/cloud/controller/interfaces/CloudControllerService.java
 
b/components/org.apache.stratos.cloud.controller/src/main/java/org/apache/stratos/cloud/controller/interfaces/CloudControllerService.java
index 216393c..bcbd327 100644
--- 
a/components/org.apache.stratos.cloud.controller/src/main/java/org/apache/stratos/cloud/controller/interfaces/CloudControllerService.java
+++ 
b/components/org.apache.stratos.cloud.controller/src/main/java/org/apache/stratos/cloud/controller/interfaces/CloudControllerService.java
@@ -104,21 +104,6 @@ public interface CloudControllerService {
      * @throws InvalidIaasProviderException if the iaas requested is not valid.
      */
     public MemberContext startInstance(MemberContext member) throws 
UnregisteredCartridgeException, InvalidIaasProviderException;
-
-    /**
-     * Calling this method will spawn more than one instances in the
-      * specified partition for the particular cluster
-     *
-     * @param clusterId
-     *            cluster ID of the instance to be started up.
-     * @param noOfInstancesToBeSpawned
-     *            no of instances to be started up.
-     * @param partition
-     *            It contains the region, zone, network and host of a IaaS 
where
-     *            an instance need to be started.
-     * @return public IP which is associated with the newly started instance.
-     */
-//    public String startInstances(String clusterId, Partition partition, int 
noOfInstancesToBeSpawned);
     
     /**
      * Calling this method will result in termination of the instance with 
given member id in the given Partition.
@@ -131,44 +116,6 @@ public interface CloudControllerService {
      * @return whether an instance terminated successfully or not.
      */
     public void terminateInstance(String memberId) throws 
InvalidMemberException, InvalidCartridgeTypeException;
-    
-    /**
-     * Calling this method will result in termination of an instance which is 
belong
-     * to the provided cluster Id and the location scope..
-     * 
-     * @param clusterId
-     *            cluster ID of the instance to be terminated.
-     * @param partition
-     *            It contains the region, zone, network and host of a IaaS 
where
-     *            an instance need to be terminated..
-     * @return whether an instance terminated successfully or not.
-     */
-//    public boolean terminateInstance(String clusterId, Partition partition);
-
-    /**
-     * Calling this method will result in termination of an instance which is 
belong
-     * to the provided cluster Id and the location scope..
-     *
-     * @param noOfInstances
-     *            no of instances to be started up
-     * @param clusterId
-     *            cluster ID of the instance to be terminated.
-     * @param partition
-     *            It contains the region, zone, network and host of a IaaS 
where
-     *            an instance need to be terminated..
-     * @return whether an instance terminated successfully or not.
-     */
-//    public boolean terminateInstances(String[] memberIds);
-
-//     /**
-//     * Calling this method will result in termination of an instance which 
is belong
-//     * to the provided instance Id.
-//     *
-//     * @param instancesToBeTerminated
-//     *            list of instance Ids to be terminated.
-//     * @return whether an instance terminated successfully or not.
-//     */
-//    public boolean terminateUnhealthyInstances(List<String> 
instancesToBeTerminated);
 
     /**
      * Calling this method will result in termination of all instances belong
@@ -181,7 +128,6 @@ public interface CloudControllerService {
     public void terminateAllInstances(String clusterId) throws 
InvalidClusterException;
 
     /**
-    /**
      * Unregister the service cluster which represents by this domain and sub 
domain.
      * @param clusterId service cluster domain
      * @return whether the unregistration was successful or not.
@@ -200,17 +146,6 @@ public interface CloudControllerService {
      */
     public CartridgeInfo getCartridgeInfo(String cartridgeType) throws 
UnregisteredCartridgeException;
 
-//    /**
-//     * Calling this method will result in returning the pending instances
-//     * count of a particular domain.
-//     * 
-//     * @param clusterId
-//     *            service cluster domain
-//     * @return number of pending instances for this domain. If no instances 
of this
-//     *         domain is present, this will return zero.
-//     */
-//    public int getPendingInstanceCount(String clusterId);
-
     /**
      * Calling this method will result in returning the types of {@link 
org.apache.stratos.cloud.controller.pojo.Cartridge}s
      * registered in Cloud Controller.

Reply via email to