ranger-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sneet...@apache.org
Subject git commit: ARGUS-38:Fixed EnumUtil Error in log when Knox policy creation
Date Fri, 12 Sep 2014 16:50:00 GMT
Repository: incubator-argus
Updated Branches:
  refs/heads/master 02a35cc61 -> cc358afe2


ARGUS-38:Fixed EnumUtil Error in log when Knox policy creation

Signed-off-by: sneethiraj <sneethir@apache.org>


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

Branch: refs/heads/master
Commit: cc358afe29285796a7a63b09816c05e938f62c73
Parents: 02a35cc
Author: vperiasamy <vperiasamy@hortonworks.com>
Authored: Mon Sep 8 10:24:47 2014 -0400
Committer: sneethiraj <sneethir@apache.org>
Committed: Fri Sep 12 12:48:32 2014 -0400

----------------------------------------------------------------------
 .../main/java/com/xasecure/util/XAEnumUtil.java   | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-argus/blob/cc358afe/security-admin/src/main/java/com/xasecure/util/XAEnumUtil.java
----------------------------------------------------------------------
diff --git a/security-admin/src/main/java/com/xasecure/util/XAEnumUtil.java b/security-admin/src/main/java/com/xasecure/util/XAEnumUtil.java
index bcd528d..7d0715d 100644
--- a/security-admin/src/main/java/com/xasecure/util/XAEnumUtil.java
+++ b/security-admin/src/main/java/com/xasecure/util/XAEnumUtil.java
@@ -1212,6 +1212,24 @@ public class XAEnumUtil {
 	vElement.setElementLabel("View Column");
 	vElement.setRbKey("xa.enum.ResourceType.RESOURCE_VIEW_COL");
 	vElement.setEnumName(vEnum.getEnumName());
+	
+	vEnum.getElementList().add(vElement);
+	
+	vElement = new VEnumElement();
+	vElement.setElementName("RESOURCE_TOPOLOGY");
+	vElement.setElementValue(9);
+	vElement.setElementLabel("Topology");
+	vElement.setRbKey("xa.enum.ResourceType.RESOURCE_TOPOLOGY");
+	vElement.setEnumName(vEnum.getEnumName());
+	
+	vEnum.getElementList().add(vElement);
+	
+	vElement = new VEnumElement();
+	vElement.setElementName("RESOURCE_SERVICE");
+	vElement.setElementValue(10);
+	vElement.setElementLabel("Service");
+	vElement.setRbKey("xa.enum.ResourceType.RESOURCE_SERVICE");
+	vElement.setEnumName(vEnum.getEnumName());
 
 	vEnum.getElementList().add(vElement);
 


Mime
View raw message