cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bhais...@apache.org
Subject [1/2] git commit: updated refs/heads/4.4 to c4c7837
Date Mon, 09 Mar 2015 11:00:46 GMT
Repository: cloudstack
Updated Branches:
  refs/heads/4.4 9ea3bd23e -> c4c783727


CLOUDSTACK-7639: make cidrlist update when updateNetworkAclItem is called

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
(cherry picked from commit b2b9de7fa39825e8ff111353619df4e5aece12e6)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>


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

Branch: refs/heads/4.4
Commit: bba292f24d16c0fbd0b9bfc8278dc5ee40b7de44
Parents: 9ea3bd2
Author: Rohit Yadav <rohit.yadav@shapeblue.com>
Authored: Mon Mar 9 15:39:50 2015 +0530
Committer: Rohit Yadav <rohit.yadav@shapeblue.com>
Committed: Mon Mar 9 16:30:26 2015 +0530

----------------------------------------------------------------------
 .../src/com/cloud/network/vpc/dao/NetworkACLItemDaoImpl.java  | 7 +++++++
 1 file changed, 7 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/bba292f2/engine/schema/src/com/cloud/network/vpc/dao/NetworkACLItemDaoImpl.java
----------------------------------------------------------------------
diff --git a/engine/schema/src/com/cloud/network/vpc/dao/NetworkACLItemDaoImpl.java b/engine/schema/src/com/cloud/network/vpc/dao/NetworkACLItemDaoImpl.java
index abd8bae..88e00a1 100644
--- a/engine/schema/src/com/cloud/network/vpc/dao/NetworkACLItemDaoImpl.java
+++ b/engine/schema/src/com/cloud/network/vpc/dao/NetworkACLItemDaoImpl.java
@@ -91,6 +91,13 @@ public class NetworkACLItemDaoImpl extends GenericDaoBase<NetworkACLItemVO,
Long
     }
 
     @Override
+    public boolean update(Long id, NetworkACLItemVO item) {
+        boolean result = super.update(id, item);
+        saveCidrs(item, item.getSourceCidrList());
+        return result;
+    }
+
+    @Override
     public boolean setStateToAdd(NetworkACLItemVO rule) {
         SearchCriteria<NetworkACLItemVO> sc = AllFieldsSearch.create();
         sc.setParameters("id", rule.getId());


Mime
View raw message