You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stratos.apache.org by im...@apache.org on 2014/10/24 16:25:57 UTC
git commit: Updating information logs in ServiceUtils
Repository: stratos
Updated Branches:
refs/heads/master 7b437d15b -> aa2dedefb
Updating information logs in ServiceUtils
Project: http://git-wip-us.apache.org/repos/asf/stratos/repo
Commit: http://git-wip-us.apache.org/repos/asf/stratos/commit/aa2dedef
Tree: http://git-wip-us.apache.org/repos/asf/stratos/tree/aa2dedef
Diff: http://git-wip-us.apache.org/repos/asf/stratos/diff/aa2dedef
Branch: refs/heads/master
Commit: aa2dedefb1206111b0dcd67d4b1251087018ef73
Parents: 7b437d1
Author: Imesh Gunaratne <im...@apache.org>
Authored: Fri Oct 24 19:55:50 2014 +0530
Committer: Imesh Gunaratne <im...@apache.org>
Committed: Fri Oct 24 19:55:50 2014 +0530
----------------------------------------------------------------------
.../apache/stratos/rest/endpoint/services/ServiceUtils.java | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/stratos/blob/aa2dedef/components/org.apache.stratos.rest.endpoint/src/main/java/org/apache/stratos/rest/endpoint/services/ServiceUtils.java
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.rest.endpoint/src/main/java/org/apache/stratos/rest/endpoint/services/ServiceUtils.java b/components/org.apache.stratos.rest.endpoint/src/main/java/org/apache/stratos/rest/endpoint/services/ServiceUtils.java
index da0adcc..80fc464 100644
--- a/components/org.apache.stratos.rest.endpoint/src/main/java/org/apache/stratos/rest/endpoint/services/ServiceUtils.java
+++ b/components/org.apache.stratos.rest.endpoint/src/main/java/org/apache/stratos/rest/endpoint/services/ServiceUtils.java
@@ -169,7 +169,7 @@ public class ServiceUtils {
public static void deployAutoscalingPolicy(AutoscalePolicy autoscalePolicyBean) throws RestAPIException {
- log.info(String.format("Deploying autoscaling policy: %s", autoscalePolicyBean.getDescription()));
+ log.info(String.format("Deploying autoscaling policy: [id] %s", autoscalePolicyBean.getId()));
AutoscalerServiceClient autoscalerServiceClient = getAutoscalerServiceClient();
if (autoscalerServiceClient != null) {
@@ -194,7 +194,7 @@ public class ServiceUtils {
public static void updateAutoscalingPolicy(AutoscalePolicy autoscalePolicyBean) throws RestAPIException {
- log.info(String.format("Updating autoscaling policy: %s", autoscalePolicyBean.getDescription()));
+ log.info(String.format("Updating autoscaling policy: [id] %s", autoscalePolicyBean.getId()));
AutoscalerServiceClient autoscalerServiceClient = getAutoscalerServiceClient();
if (autoscalerServiceClient != null) {
@@ -219,7 +219,7 @@ public class ServiceUtils {
org.apache.stratos.rest.endpoint.bean.autoscaler.policy.deployment.DeploymentPolicy deploymentPolicyBean)
throws RestAPIException {
- log.info(String.format("Deploying deployment policy: %s", deploymentPolicyBean.getDescription()));
+ log.info(String.format("Deploying deployment policy: [id] %s", deploymentPolicyBean.getId()));
AutoscalerServiceClient autoscalerServiceClient = getAutoscalerServiceClient();
if (autoscalerServiceClient != null) {
@@ -245,7 +245,7 @@ public class ServiceUtils {
org.apache.stratos.rest.endpoint.bean.autoscaler.policy.deployment.DeploymentPolicy deploymentPolicyBean)
throws RestAPIException {
- log.info(String.format("Updating deployment policy: %s", deploymentPolicyBean.getDescription()));
+ log.info(String.format("Updating deployment policy: [id] %s", deploymentPolicyBean.getId()));
AutoscalerServiceClient autoscalerServiceClient = getAutoscalerServiceClient();
if (autoscalerServiceClient != null) {