You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ranger.apache.org by pr...@apache.org on 2018/03/15 07:31:38 UTC
[4/4] ranger git commit: RANGER-2020 - Mandatory values are not
filled then also able to create atlas policy
RANGER-2020 - Mandatory values are not filled then also able to create atlas policy
Signed-off-by: pradeep <pr...@apache.org>
Project: http://git-wip-us.apache.org/repos/asf/ranger/repo
Commit: http://git-wip-us.apache.org/repos/asf/ranger/commit/5aa5657d
Tree: http://git-wip-us.apache.org/repos/asf/ranger/tree/5aa5657d
Diff: http://git-wip-us.apache.org/repos/asf/ranger/diff/5aa5657d
Branch: refs/heads/master
Commit: 5aa5657d49990b1a620d880e2c64c5125b2f1b4e
Parents: df0e650
Author: nixonrodrigues <ni...@apache.org>
Authored: Wed Mar 14 15:23:05 2018 +0530
Committer: pradeep <pr...@apache.org>
Committed: Thu Mar 15 12:58:56 2018 +0530
----------------------------------------------------------------------
.../main/resources/service-defs/ranger-servicedef-atlas.json | 6 ++++++
1 file changed, 6 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ranger/blob/5aa5657d/agents-common/src/main/resources/service-defs/ranger-servicedef-atlas.json
----------------------------------------------------------------------
diff --git a/agents-common/src/main/resources/service-defs/ranger-servicedef-atlas.json b/agents-common/src/main/resources/service-defs/ranger-servicedef-atlas.json
index 5237125..2891129 100644
--- a/agents-common/src/main/resources/service-defs/ranger-servicedef-atlas.json
+++ b/agents-common/src/main/resources/service-defs/ranger-servicedef-atlas.json
@@ -11,6 +11,7 @@
"name": "type-category",
"type": "string",
"level": 10,
+ "mandatory" : true,
"lookupSupported": true,
"recursiveSupported": false,
"excludesSupported": true,
@@ -27,6 +28,7 @@
"name": "type",
"type": "string",
"level": 20,
+ "mandatory" : true,
"parent": "type-category",
"lookupSupported": true,
"recursiveSupported": false,
@@ -45,6 +47,7 @@
"name": "entity-type",
"type": "string",
"level": 10,
+ "mandatory" : true,
"lookupSupported": true,
"recursiveSupported": false,
"excludesSupported": true,
@@ -61,6 +64,7 @@
"name": "entity-classification",
"type": "string",
"level": 20,
+ "mandatory" : true,
"parent": "entity-type",
"lookupSupported": true,
"recursiveSupported": false,
@@ -78,6 +82,7 @@
"name": "entity",
"type": "string",
"level": 30,
+ "mandatory" : true,
"parent": "entity-classification",
"lookupSupported": true,
"recursiveSupported": false,
@@ -96,6 +101,7 @@
"name": "atlas-service",
"type": "string",
"level": 10,
+ "mandatory" : true,
"lookupSupported": true,
"recursiveSupported": false,
"excludesSupported": true,