Repository: incubator-ranger
Updated Branches:
  refs/heads/master b28a924dc -> ee9d78bbb


RANGER-455: resource match should be case-sensitive for 
HDFS/HBase/Knox/Storm/YARN


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

Branch: refs/heads/master
Commit: ee9d78bbb96c7d1eecf05ec5494d7c728ac220f6
Parents: b28a924
Author: Madhan Neethiraj <[email protected]>
Authored: Mon May 4 16:49:45 2015 -0700
Committer: Madhan Neethiraj <[email protected]>
Committed: Mon May 4 16:49:45 2015 -0700

----------------------------------------------------------------------
 .../resources/service-defs/ranger-servicedef-hbase.json   |  6 +++---
 .../resources/service-defs/ranger-servicedef-hdfs.json    |  2 +-
 .../resources/service-defs/ranger-servicedef-kms.json     | 10 +++++++++-
 .../resources/service-defs/ranger-servicedef-knox.json    |  4 ++--
 .../resources/service-defs/ranger-servicedef-storm.json   |  2 +-
 .../resources/service-defs/ranger-servicedef-yarn.json    |  2 +-
 6 files changed, 17 insertions(+), 9 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ranger/blob/ee9d78bb/agents-common/src/main/resources/service-defs/ranger-servicedef-hbase.json
----------------------------------------------------------------------
diff --git 
a/agents-common/src/main/resources/service-defs/ranger-servicedef-hbase.json 
b/agents-common/src/main/resources/service-defs/ranger-servicedef-hbase.json
index 99fbd1d..2887e5f 100644
--- a/agents-common/src/main/resources/service-defs/ranger-servicedef-hbase.json
+++ b/agents-common/src/main/resources/service-defs/ranger-servicedef-hbase.json
@@ -17,7 +17,7 @@
                        "recursiveSupported": false,
                        "excludesSupported": true,
                        "matcher": 
"org.apache.ranger.plugin.resourcematcher.RangerDefaultResourceMatcher",
-                       "matcherOptions": { "wildCard":true, "ignoreCase":true 
},
+                       "matcherOptions": { "wildCard":true, "ignoreCase":false 
},
                        "validationRegEx":"",
                        "validationMessage": "",
                        "uiHint":"",
@@ -36,7 +36,7 @@
                        "recursiveSupported": false,
                        "excludesSupported": true,
                        "matcher": 
"org.apache.ranger.plugin.resourcematcher.RangerDefaultResourceMatcher",
-                       "matcherOptions": { "wildCard":true, "ignoreCase":true 
},
+                       "matcherOptions": { "wildCard":true, "ignoreCase":false 
},
                        "validationRegEx":"",
                        "validationMessage": "",
                        "uiHint":"",
@@ -55,7 +55,7 @@
                        "recursiveSupported": false,
                        "excludesSupported": true,
                        "matcher": 
"org.apache.ranger.plugin.resourcematcher.RangerDefaultResourceMatcher",
-                       "matcherOptions": { "wildCard":true, "ignoreCase":true 
},
+                       "matcherOptions": { "wildCard":true, "ignoreCase":false 
},
                        "validationRegEx":"",
                        "validationMessage": "",
                        "uiHint":"",

http://git-wip-us.apache.org/repos/asf/incubator-ranger/blob/ee9d78bb/agents-common/src/main/resources/service-defs/ranger-servicedef-hdfs.json
----------------------------------------------------------------------
diff --git 
a/agents-common/src/main/resources/service-defs/ranger-servicedef-hdfs.json 
b/agents-common/src/main/resources/service-defs/ranger-servicedef-hdfs.json
index 0ba0afc..75deeb4 100755
--- a/agents-common/src/main/resources/service-defs/ranger-servicedef-hdfs.json
+++ b/agents-common/src/main/resources/service-defs/ranger-servicedef-hdfs.json
@@ -17,7 +17,7 @@
                        "recursiveSupported": true,
                        "excludesSupported": false,
                        "matcher": 
"org.apache.ranger.plugin.resourcematcher.RangerPathResourceMatcher",
-                       "matcherOptions": { "wildCard":true, "ignoreCase":true 
},
+                       "matcherOptions": { "wildCard":true, "ignoreCase":false 
},
                        "validationRegEx":"",
                        "validationMessage": "",
                        "uiHint":"",

http://git-wip-us.apache.org/repos/asf/incubator-ranger/blob/ee9d78bb/agents-common/src/main/resources/service-defs/ranger-servicedef-kms.json
----------------------------------------------------------------------
diff --git 
a/agents-common/src/main/resources/service-defs/ranger-servicedef-kms.json 
b/agents-common/src/main/resources/service-defs/ranger-servicedef-kms.json
index e0a723b..b1f6d45 100755
--- a/agents-common/src/main/resources/service-defs/ranger-servicedef-kms.json
+++ b/agents-common/src/main/resources/service-defs/ranger-servicedef-kms.json
@@ -6,12 +6,20 @@
        "resources": 
        [
                {
+                       "id": 1,
                        "name": "keyname",
                        "type": "string",
-                       "level": 1,
+                       "level": 10,
+                       "parent": "",
                        "mandatory": true,
                        "lookupSupported": true,
                        "recursiveSupported": false,
+                       "excludesSupported": false,
+                       "matcher": 
"org.apache.ranger.plugin.resourcematcher.RangerDefaultResourceMatcher",
+                       "matcherOptions": { "wildCard":true, "ignoreCase":false 
},
+                       "validationRegEx":"",
+                       "validationMessage": "",
+                       "uiHint":"",
                        "label": "Key Name",
                        "description": "Key Name"
                }

http://git-wip-us.apache.org/repos/asf/incubator-ranger/blob/ee9d78bb/agents-common/src/main/resources/service-defs/ranger-servicedef-knox.json
----------------------------------------------------------------------
diff --git 
a/agents-common/src/main/resources/service-defs/ranger-servicedef-knox.json 
b/agents-common/src/main/resources/service-defs/ranger-servicedef-knox.json
index f2c65f4..e437e6b 100644
--- a/agents-common/src/main/resources/service-defs/ranger-servicedef-knox.json
+++ b/agents-common/src/main/resources/service-defs/ranger-servicedef-knox.json
@@ -17,7 +17,7 @@
                        "recursiveSupported": false,
                        "excludesSupported": true,
                        "matcher": 
"org.apache.ranger.plugin.resourcematcher.RangerDefaultResourceMatcher",
-                       "matcherOptions": { "wildCard":true, "ignoreCase":true 
},
+                       "matcherOptions": { "wildCard":true, "ignoreCase":false 
},
                        "validationRegEx":"",
                        "validationMessage": "",
                        "uiHint":"",
@@ -36,7 +36,7 @@
                        "recursiveSupported": false,
                        "excludesSupported": true,
                        "matcher": 
"org.apache.ranger.plugin.resourcematcher.RangerDefaultResourceMatcher",
-                       "matcherOptions": { "wildCard":true, "ignoreCase":true 
},
+                       "matcherOptions": { "wildCard":true, "ignoreCase":false 
},
                        "validationRegEx":"",
                        "validationMessage": "",
                        "uiHint":"",

http://git-wip-us.apache.org/repos/asf/incubator-ranger/blob/ee9d78bb/agents-common/src/main/resources/service-defs/ranger-servicedef-storm.json
----------------------------------------------------------------------
diff --git 
a/agents-common/src/main/resources/service-defs/ranger-servicedef-storm.json 
b/agents-common/src/main/resources/service-defs/ranger-servicedef-storm.json
index 76cadf1..99d9dd1 100644
--- a/agents-common/src/main/resources/service-defs/ranger-servicedef-storm.json
+++ b/agents-common/src/main/resources/service-defs/ranger-servicedef-storm.json
@@ -16,7 +16,7 @@
                        "recursiveSupported": false,
                        "excludesSupported": true,
                        "matcher": 
"org.apache.ranger.plugin.resourcematcher.RangerDefaultResourceMatcher",
-                       "matcherOptions": { "wildCard":true, "ignoreCase":true 
},
+                       "matcherOptions": { "wildCard":true, "ignoreCase":false 
},
                        "validationRegEx":"",
                        "validationMessage": "",
                        "uiHint":"",

http://git-wip-us.apache.org/repos/asf/incubator-ranger/blob/ee9d78bb/agents-common/src/main/resources/service-defs/ranger-servicedef-yarn.json
----------------------------------------------------------------------
diff --git 
a/agents-common/src/main/resources/service-defs/ranger-servicedef-yarn.json 
b/agents-common/src/main/resources/service-defs/ranger-servicedef-yarn.json
index 3fd79e2..c178e7e 100644
--- a/agents-common/src/main/resources/service-defs/ranger-servicedef-yarn.json
+++ b/agents-common/src/main/resources/service-defs/ranger-servicedef-yarn.json
@@ -15,7 +15,7 @@
                        "lookupSupported": true,
                        "recursiveSupported": true,
                        "matcher": 
"org.apache.ranger.plugin.resourcematcher.RangerPathResourceMatcher",
-                       "matcherOptions": { "wildCard":true, "ignoreCase":true, 
"pathSeparatorChar":"." },
+                       "matcherOptions": { "wildCard":true, 
"ignoreCase":false, "pathSeparatorChar":"." },
                        "validationRegEx":"",
                        "validationMessage": "",
                        "uiHint":"",

Reply via email to