You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stratos.apache.org by ud...@apache.org on 2014/12/18 07:38:16 UTC
[14/50] [abbrv] stratos git commit: adding applicationId referenced
in deployment policy to error msg
adding applicationId referenced in deployment policy to error msg
Project: http://git-wip-us.apache.org/repos/asf/stratos/repo
Commit: http://git-wip-us.apache.org/repos/asf/stratos/commit/6c7cc33c
Tree: http://git-wip-us.apache.org/repos/asf/stratos/tree/6c7cc33c
Diff: http://git-wip-us.apache.org/repos/asf/stratos/diff/6c7cc33c
Branch: refs/heads/master
Commit: 6c7cc33c0ca6624226f67be57139d77641685b6f
Parents: ed9ae03
Author: Martin Eppel <me...@cisco..com>
Authored: Tue Dec 16 15:56:10 2014 -0800
Committer: Udara Liyanage <ud...@wso2.com>
Committed: Thu Dec 18 12:06:57 2014 +0530
----------------------------------------------------------------------
.../org/apache/stratos/rest/endpoint/api/StratosApiV41Utils.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/stratos/blob/6c7cc33c/components/org.apache.stratos.rest.endpoint/src/main/java/org/apache/stratos/rest/endpoint/api/StratosApiV41Utils.java
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.rest.endpoint/src/main/java/org/apache/stratos/rest/endpoint/api/StratosApiV41Utils.java b/components/org.apache.stratos.rest.endpoint/src/main/java/org/apache/stratos/rest/endpoint/api/StratosApiV41Utils.java
index d24aec0..db099b8 100644
--- a/components/org.apache.stratos.rest.endpoint/src/main/java/org/apache/stratos/rest/endpoint/api/StratosApiV41Utils.java
+++ b/components/org.apache.stratos.rest.endpoint/src/main/java/org/apache/stratos/rest/endpoint/api/StratosApiV41Utils.java
@@ -998,8 +998,8 @@ public class StratosApiV41Utils {
}
if (!applicationId.equals(deploymentPolicy.getApplicationId())) {
- String message = String.format("Application id %s does not match with the deployment policy",
- applicationId);
+ String message = String.format("Application id %s does not match with the deployment policy %s",
+ applicationId, deploymentPolicy.getApplicationId());
log.error(message);
throw new RestAPIException(message);
}