stratos-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lahi...@apache.org
Subject [2/2] stratos git commit: Removing VMServiceClusterContext
Date Tue, 02 Dec 2014 02:09:04 GMT
Removing VMServiceClusterContext


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

Branch: refs/heads/master
Commit: 248e4d6b1b22fb8b2992333579aec5adf2d8ab25
Parents: 466fe31
Author: Lahiru Sandaruwan <lahirus@apache.org>
Authored: Tue Dec 2 07:40:30 2014 +0530
Committer: Lahiru Sandaruwan <lahirus@apache.org>
Committed: Tue Dec 2 07:40:30 2014 +0530

----------------------------------------------------------------------
 .../cluster/VMServiceClusterContext.java        | 56 --------------------
 1 file changed, 56 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/stratos/blob/248e4d6b/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/context/cluster/VMServiceClusterContext.java
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/context/cluster/VMServiceClusterContext.java
b/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/context/cluster/VMServiceClusterContext.java
deleted file mode 100644
index b865e85..0000000
--- a/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/context/cluster/VMServiceClusterContext.java
+++ /dev/null
@@ -1,56 +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.context.cluster;
-
-import org.apache.commons.logging.Log;
-import org.apache.commons.logging.LogFactory;
-import org.apache.stratos.autoscaler.context.partition.network.ClusterLevelNetworkPartitionContext;
-import org.apache.stratos.autoscaler.pojo.policy.autoscale.AutoscalePolicy;
-import org.apache.stratos.autoscaler.pojo.policy.deployment.ChildPolicy;
-import org.apache.stratos.autoscaler.pojo.policy.deployment.DeploymentPolicy;
-
-import java.util.Map;
-
-/*
- * It holds the runtime data of a VM service cluster
- */
-public class VMServiceClusterContext extends VMClusterContext {
-
-    private static final Log log = LogFactory.getLog(VMServiceClusterContext.class);
-
-    protected AutoscalePolicy autoscalePolicy;
-
-    public VMServiceClusterContext(String clusterId, String serviceId, AutoscalePolicy autoscalePolicy,
-                                   DeploymentPolicy deploymentPolicy) {
-
-        super(clusterId, serviceId, autoscalePolicy, deploymentPolicy);
-        this.autoscalePolicy = autoscalePolicy;
-
-    }
-
-    public AutoscalePolicy getAutoscalePolicy() {
-        return autoscalePolicy;
-    }
-
-    public void setAutoscalePolicy(AutoscalePolicy autoscalePolicy) {
-        this.autoscalePolicy = autoscalePolicy;
-    }
-
-
-}


Mime
View raw message