Delete AutoscalerService.java

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

Branch: refs/heads/master
Commit: 178bafa86db4f29c277724f2e7d576dd31e12e9a
Parents: e1c3e6b
Author: Imesh Guaratne <[email protected]>
Authored: Sat Jan 24 12:07:34 2015 +0530
Committer: Imesh Guaratne <[email protected]>
Committed: Sat Jan 24 12:07:34 2015 +0530

----------------------------------------------------------------------
 .../autoscaler/services/AutoscalerService.java  | 172 -------------------
 1 file changed, 172 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/stratos/blob/178bafa8/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/services/AutoscalerService.java
----------------------------------------------------------------------
diff --git 
a/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/services/AutoscalerService.java
 
b/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/services/AutoscalerService.java
deleted file mode 100644
index 952747c..0000000
--- 
a/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/services/AutoscalerService.java
+++ /dev/null
@@ -1,172 +0,0 @@
-/*
- *
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *   http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- *
-*/
-
-package org.apache.stratos.autoscaler.services;
-
-import org.apache.stratos.autoscaler.applications.pojo.ApplicationContext;
-import 
org.apache.stratos.autoscaler.exception.kubernetes.InvalidServiceGroupException;
-import org.apache.stratos.autoscaler.pojo.policy.deployment.DeploymentPolicy;
-import org.apache.stratos.autoscaler.exception.*;
-import 
org.apache.stratos.autoscaler.exception.application.ApplicationDefinitionException;
-import org.apache.stratos.autoscaler.exception.policy.InvalidPolicyException;
-import org.apache.stratos.autoscaler.pojo.ServiceGroup;
-import org.apache.stratos.autoscaler.pojo.policy.autoscale.AutoscalePolicy;
-import 
org.apache.stratos.autoscaler.pojo.policy.deployment.partition.network.ChildLevelNetworkPartition;
-import 
org.apache.stratos.autoscaler.pojo.policy.deployment.partition.network.NetworkPartition;
-import org.apache.stratos.common.Properties;
-
-public interface AutoscalerService {
-    /**
-     * Add autoscaling policy
-     * @param autoscalePolicy
-     * @return
-     * @throws InvalidPolicyException
-     */
-    public boolean addAutoScalingPolicy(AutoscalePolicy autoscalePolicy) 
throws InvalidPolicyException;
-
-    /**
-     * Get an autoscaling policy
-     * @param autoscalingPolicyId
-     * @return
-     */
-    public AutoscalePolicy getAutoscalingPolicy(String autoscalingPolicyId);
-
-    /**
-     * Get autoscaling policies
-     * @return
-     */
-    public AutoscalePolicy[] getAutoScalingPolicies();
-
-    /**
-     * Update an autoscaling policy
-     * @param autoscalePolicy
-     * @return
-     * @throws InvalidPolicyException
-     */
-    public boolean updateAutoScalingPolicy(AutoscalePolicy autoscalePolicy) 
throws InvalidPolicyException;
-
-       /**
-        * Remove autoscaling policy
-        * @param autoscalingPolicyId
-        * @return
-        * @throws InvalidPolicyException
-        */
-       public boolean removeAutoScalingPolicy(String autoscalingPolicyId) 
throws InvalidPolicyException;
-
-    /**
-     * Add an application
-     *
-     * @param applicationContext {@link 
org.apache.stratos.autoscaler.applications.pojo.ApplicationContext}
-     * @throws ApplicationDefinitionException if an error occurs
-     */
-    public void addApplication(ApplicationContext applicationContext) throws 
ApplicationDefinitionException;
-
-    /**
-     * Get an application
-     * @param applicationId
-     */
-    public ApplicationContext getApplication(String applicationId);
-
-    /**
-     * Get all applications
-     */
-    public ApplicationContext[] getApplications();
-
-    /**
-     * Deploy an application in created state
-     * @param applicationId
-     * @param deploymentPolicy
-     * @return
-     */
-    public boolean deployApplication(String applicationId, DeploymentPolicy 
deploymentPolicy) throws ApplicationDefinitionException;
-
-    /**
-     * Undeploy an application in deployed state
-     * @param applicationId
-     * @return
-     */
-    public void undeployApplication(String applicationId);
-
-    /**
-     * Delete an application
-     * @param applicationId
-     */
-    public void deleteApplication(String applicationId);
-
-    /**
-     * Returns a deployment policy of an application
-     * @param applicationId
-     * @return
-     */
-    public DeploymentPolicy getDeploymentPolicy(String applicationId);
-
-    /**
-     * Dynamically update the properties of an Autoscaling Cluster Monitor
-     * @param clusterId id of the cluster.
-     * @param properties updated properties.
-     */
-    void updateClusterMonitor(String clusterId, Properties properties) throws 
InvalidArgumentException;
-
-    /**
-     * Add a cartridge group
-     * @param servicegroup
-     * @throws InvalidServiceGroupException
-     */
-    public void addServiceGroup(ServiceGroup servicegroup) throws 
InvalidServiceGroupException;
-
-    /**
-     * Remove a cartridge group
-     * @param groupName
-     */
-    public void removeServiceGroup(String groupName);
-
-    /**
-     * Get cartridge group
-     * @param name
-     * @return
-     */
-    public ServiceGroup getServiceGroup(String name);
-
-    /**
-     * Add network partition
-     * @param networkPartition
-     */
-    public void addNetworkPartition(NetworkPartition networkPartition);
-
-    /**
-     * Remove network partition
-     * @param networkPartitionId
-     */
-    public void removeNetworkPartition(String networkPartitionId);
-
-    /**
-     * Get network partitions
-     * @return
-     */
-    public NetworkPartition[] getNetworkPartitions();
-
-    /**
-     * Get network partition by network partition id
-     * @param networkPartitionId
-     * @return
-     */
-    public NetworkPartition getNetworkPartition(String networkPartitionId);
-}

Reply via email to