You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stratos.apache.org by re...@apache.org on 2014/12/01 18:22:14 UTC

stratos git commit: adding appId to Deployment policy

Repository: stratos
Updated Branches:
  refs/heads/master b53465944 -> d0214f479


adding appId to Deployment policy


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

Branch: refs/heads/master
Commit: d0214f479d7cf9c5a19a055d244e78a59904c5e7
Parents: b534659
Author: reka <rt...@gmail.com>
Authored: Mon Dec 1 22:46:53 2014 +0530
Committer: reka <rt...@gmail.com>
Committed: Mon Dec 1 22:52:03 2014 +0530

----------------------------------------------------------------------
 .../stratos/rest/endpoint/bean/util/converter/PojoConverter.java    | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/stratos/blob/d0214f47/components/org.apache.stratos.rest.endpoint/src/main/java/org/apache/stratos/rest/endpoint/bean/util/converter/PojoConverter.java
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.rest.endpoint/src/main/java/org/apache/stratos/rest/endpoint/bean/util/converter/PojoConverter.java b/components/org.apache.stratos.rest.endpoint/src/main/java/org/apache/stratos/rest/endpoint/bean/util/converter/PojoConverter.java
index a6504f4..1dbff3a 100644
--- a/components/org.apache.stratos.rest.endpoint/src/main/java/org/apache/stratos/rest/endpoint/bean/util/converter/PojoConverter.java
+++ b/components/org.apache.stratos.rest.endpoint/src/main/java/org/apache/stratos/rest/endpoint/bean/util/converter/PojoConverter.java
@@ -390,6 +390,7 @@ public class PojoConverter {
                 !deploymentPolicyBean.applicationPolicy.networkPartition.isEmpty()) {
             deploymentPolicy.setApplicationLevelNetworkPartitions(
                     convertToCCPartitionGroup(deploymentPolicyBean.applicationPolicy.networkPartition));
+            deploymentPolicy.setApplicationId(deploymentPolicyBean.applicationPolicy.applicationId);
         }
 
         if (deploymentPolicyBean.childPolicies != null && !deploymentPolicyBean.childPolicies.isEmpty()) {