You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stratos.apache.org by me...@apache.org on 2014/12/17 00:56:49 UTC
stratos git commit: adding applicationId referenced in deployment
policy to error msg
Repository: stratos
Updated Branches:
refs/heads/4.1.0-test 66bc3acf3 -> 5b133881d
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/5b133881
Tree: http://git-wip-us.apache.org/repos/asf/stratos/tree/5b133881
Diff: http://git-wip-us.apache.org/repos/asf/stratos/diff/5b133881
Branch: refs/heads/4.1.0-test
Commit: 5b133881de68f5bbf4451c069f3c1e46eeca06aa
Parents: 66bc3ac
Author: Martin Eppel <me...@cisco..com>
Authored: Tue Dec 16 15:56:10 2014 -0800
Committer: Martin Eppel <me...@cisco..com>
Committed: Tue Dec 16 15:56:10 2014 -0800
----------------------------------------------------------------------
.../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/5b133881/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);
}