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/05/29 09:26:03 UTC

ranger git commit: RANGER-2115: Atlas service-def creation failing during Ranger installation

Repository: ranger
Updated Branches:
  refs/heads/master 95a8dce28 -> 5dced6f66


RANGER-2115: Atlas service-def creation failing during Ranger installation


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

Branch: refs/heads/master
Commit: 5dced6f6695f51e52f66015252059f59ad643108
Parents: 95a8dce
Author: pradeep <pr...@apache.org>
Authored: Tue May 29 10:52:01 2018 +0530
Committer: pradeep <pr...@apache.org>
Committed: Tue May 29 14:55:09 2018 +0530

----------------------------------------------------------------------
 .../service-defs/ranger-servicedef-atlas.json   | 434 +++++++++----------
 1 file changed, 217 insertions(+), 217 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ranger/blob/5dced6f6/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 7c5170e..6523b40 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
@@ -1,218 +1,218 @@
-{
-  "id": 15,
-  "name": "atlas",
-  "implClass": "org.apache.ranger.services.atlas.RangerServiceAtlas",
-  "label": "Atlas Metadata Server",
-  "description": "Atlas Metadata Server",
-  "guid": "311a79b7-16f5-46f4-9829-a0224b9999c5",
-  "resources": [
-    {
-      "itemId": 1,
-      "name": "type-category",
-      "type": "string",
-      "level": 10,
-      "mandatory" : true,
-      "lookupSupported": true,
-      "recursiveSupported": false,
-      "excludesSupported": true,
-      "matcher": "org.apache.ranger.plugin.resourcematcher.RangerDefaultResourceMatcher",
-      "matcherOptions": {
-        "wildCard": "true",
-        "ignoreCase": "true"
-      },
-      "label": "Type Catagory",
-      "description": "Type Catagory"
-    },
-    {
-      "itemId": 2,
-      "name": "type",
-      "type": "string",
-      "level": 20,
-      "mandatory" : true,
-      "parent": "type-category",
-      "lookupSupported": true,
-      "recursiveSupported": false,
-      "excludesSupported": true,
-      "matcher": "org.apache.ranger.plugin.resourcematcher.RangerDefaultResourceMatcher",
-      "matcherOptions": {
-        "wildCard": "true",
-        "ignoreCase": "true"
-      },
-      "label": "Type Name",
-      "description": "Type Name",
-      "accessTypeRestrictions": [ "type-create", "type-update", "type-delete" ]
-    },
-    {
-      "itemId": 3,
-      "name": "entity-type",
-      "type": "string",
-      "level": 10,
-      "mandatory" : true,
-      "lookupSupported": true,
-      "recursiveSupported": false,
-      "excludesSupported": true,
-      "matcher": "org.apache.ranger.plugin.resourcematcher.RangerDefaultResourceMatcher",
-      "matcherOptions": {
-        "wildCard": "true",
-        "ignoreCase": "true"
-      },
-      "label": "Entity Type",
-      "description": "Entity Type"
-    },
-    {
-      "itemId": 4,
-      "name": "entity-classification",
-      "type": "string",
-      "level": 20,
-      "mandatory" : true,
-      "parent": "entity-type",
-      "lookupSupported": true,
-      "recursiveSupported": false,
-      "excludesSupported": true,
-      "matcher": "org.apache.ranger.plugin.resourcematcher.RangerDefaultResourceMatcher",
-      "matcherOptions": {
-        "wildCard": "true",
-        "ignoreCase": "true"
-      },
-      "label": "Entity Classification",
-      "description": "Entity Classification"
-    },
-    {
-      "itemId": 5,
-      "name": "entity",
-      "type": "string",
-      "level": 30,
-      "mandatory" : true,
-      "parent": "entity-classification",
-      "lookupSupported": true,
-      "recursiveSupported": false,
-      "excludesSupported": true,
-      "matcher": "org.apache.ranger.plugin.resourcematcher.RangerDefaultResourceMatcher",
-      "matcherOptions": {
-        "wildCard": "true",
-        "ignoreCase": "true"
-      },
-      "label": "Entity ID",
-      "description": "Entity ID",
-      "accessTypeRestrictions": [ "entity-read", "entity-create", "entity-update", "entity-delete", "entity-read-classification", "entity-add-classification", "entity-update-classification", "entity-remove-classification" ]
-    },
-    {
-      "itemId": 6,
-      "name": "atlas-service",
-      "type": "string",
-      "level": 10,
-      "mandatory" : true,
-      "lookupSupported": true,
-      "recursiveSupported": false,
-      "excludesSupported": true,
-      "matcher": "org.apache.ranger.plugin.resourcematcher.RangerDefaultResourceMatcher",
-      "matcherOptions": {
-        "wildCard": "true",
-        "ignoreCase": "true"
-      },
-      "label": "Atlas Service",
-      "description": "Atlas Service",
-      "accessTypeRestrictions": [ "admin-import", "admin-export" ]
-    }
-  ],
-  "accessTypes": [
-    {
-      "itemId": 1,
-      "name": "type-create",
-      "label": "Create Type"
-    },
-    {
-      "itemId": 2,
-      "name": "type-update",
-      "label": "UpdateType"
-    },
-    {
-      "itemId": 3,
-      "name": "type-delete",
-      "label": "Delete Type"
-    },
-    {
-      "itemId": 4,
-      "name": "entity-read",
-      "label": "Read Entity"
-    },
-    {
-      "itemId": 5,
-      "name": "entity-create",
-      "label": "Create Entity"
-    },
-    {
-      "itemId": 6,
-      "name": "entity-update",
-      "label": "Update Entity"
-    },
-    {
-      "itemId": 7,
-      "name": "entity-delete",
-      "label": "Delete Entity"
-    },
-    {
-      "itemId": 8,
-      "name": "entity-read-classification",
-      "label": "Read Classification"
-    },
-    {
-      "itemId": 9,
-      "name": "entity-add-classification",
-      "label": "Add Classification"
-    },
-    {
-      "itemId": 10,
-      "name": "entity-update-classification",
-      "label": "Update Classification"
-    },
-    {
-      "itemId": 11,
-      "name": "entity-remove-classification",
-      "label": "Remove Classification"
-    },
-    {
-      "itemId": 12,
-      "name": "admin-export",
-      "label": "Admin Export"
-    },
-    {
-      "itemId": 13,
-      "name": "admin-import",
-      "label": "Admin Import"
-    }
-  ],
-  "configs": [
-    {
-      "itemId": 1,
-      "name": "username",
-      "type": "string",
-      "mandatory": true,
-      "label": "Username"
-    },
-    {
-      "itemId": 2,
-      "name": "password",
-      "type": "password",
-      "mandatory": true,
-      "label": "Password"
-    },
-    {
-      "itemId": 3,
-      "name": "atlas.rest.address",
-      "type": "string",
-      "mandatory": true,
-      "defaultValue": "http://localhost:21000"
-    },
-    {
-      "itemId": 4,
-      "name": "commonNameForCertificate",
-      "type": "string",
-      "mandatory": false,
-      "label": "Common Name for Certificate"
-    }
-  ],
-  "options": {
-    "enableDenyAndExceptionsInPolicies": "true"
-  }
+{
+	"id":15,
+	"name": "atlas",
+	"implClass": "org.apache.ranger.services.atlas.RangerServiceAtlas",
+	"label": "Atlas Metadata Server",
+	"description": "Atlas Metadata Server",
+	"guid": "311a79b7-16f5-46f4-9829-a0224b9999c5",
+	"resources": [
+		{
+			"itemId": 1,
+			"name": "type-category",
+			"type": "string",
+			"level": 10,
+			"mandatory" : true,
+			"lookupSupported": true,
+			"recursiveSupported": false,
+			"excludesSupported": true,
+			"matcher": "org.apache.ranger.plugin.resourcematcher.RangerDefaultResourceMatcher",
+			"matcherOptions": {
+				"wildCard": "true",
+				"ignoreCase": "true"
+			},
+			"label": "Type Catagory",
+			"description": "Type Catagory"
+		},
+		{
+			"itemId": 2,
+			"name": "type",
+			"type": "string",
+			"level": 20,
+			"mandatory" : true,
+			"parent": "type-category",
+			"lookupSupported": true,
+			"recursiveSupported": false,
+			"excludesSupported": true,
+			"matcher": "org.apache.ranger.plugin.resourcematcher.RangerDefaultResourceMatcher",
+			"matcherOptions": {
+				"wildCard": "true",
+				"ignoreCase": "true"
+			},
+			"label": "Type Name",
+			"description": "Type Name",
+			"accessTypeRestrictions": [ "type-create", "type-update", "type-delete" ]
+		},
+		{
+			"itemId": 3,
+			"name": "entity-type",
+			"type": "string",
+			"level": 10,
+			"mandatory" : true,
+			"lookupSupported": true,
+			"recursiveSupported": false,
+			"excludesSupported": true,
+			"matcher": "org.apache.ranger.plugin.resourcematcher.RangerDefaultResourceMatcher",
+			"matcherOptions": {
+				"wildCard": "true",
+				"ignoreCase": "true"
+			},
+			"label": "Entity Type",
+			"description": "Entity Type"
+		},
+		{
+			"itemId": 4,
+			"name": "entity-classification",
+			"type": "string",
+			"level": 20,
+			"mandatory" : true,
+			"parent": "entity-type",
+			"lookupSupported": true,
+			"recursiveSupported": false,
+			"excludesSupported": true,
+			"matcher": "org.apache.ranger.plugin.resourcematcher.RangerDefaultResourceMatcher",
+			"matcherOptions": {
+				"wildCard": "true",
+				"ignoreCase": "true"
+			},
+			"label": "Entity Classification",
+			"description": "Entity Classification"
+		},
+		{
+			"itemId": 5,
+			"name": "entity",
+			"type": "string",
+			"level": 30,
+			"mandatory" : true,
+			"parent": "entity-classification",
+			"lookupSupported": true,
+			"recursiveSupported": false,
+			"excludesSupported": true,
+			"matcher": "org.apache.ranger.plugin.resourcematcher.RangerDefaultResourceMatcher",
+			"matcherOptions": {
+				"wildCard": "true",
+				"ignoreCase": "true"
+			},
+			"label": "Entity ID",
+			"description": "Entity ID",
+			"accessTypeRestrictions": [ "entity-read", "entity-create", "entity-update", "entity-delete", "entity-read-classification", "entity-add-classification", "entity-update-classification", "entity-remove-classification" ]
+		},
+		{
+			"itemId": 6,
+			"name": "atlas-service",
+			"type": "string",
+			"level": 10,
+			"mandatory" : true,
+			"lookupSupported": true,
+			"recursiveSupported": false,
+			"excludesSupported": true,
+			"matcher": "org.apache.ranger.plugin.resourcematcher.RangerDefaultResourceMatcher",
+			"matcherOptions": {
+				"wildCard": "true",
+				"ignoreCase": "true"
+			},
+			"label": "Atlas Service",
+			"description": "Atlas Service",
+			"accessTypeRestrictions": [ "admin-import", "admin-export" ]
+		}
+	],
+	"accessTypes": [
+		{
+			"itemId": 1,
+			"name": "type-create",
+			"label": "Create Type"
+		},
+		{
+			"itemId": 2,
+			"name": "type-update",
+			"label": "UpdateType"
+		},
+		{
+			"itemId": 3,
+			"name": "type-delete",
+			"label": "Delete Type"
+		},
+		{
+			"itemId": 4,
+			"name": "entity-read",
+			"label": "Read Entity"
+		},
+		{
+			"itemId": 5,
+			"name": "entity-create",
+			"label": "Create Entity"
+		},
+		{
+			"itemId": 6,
+			"name": "entity-update",
+			"label": "Update Entity"
+		},
+		{
+			"itemId": 7,
+			"name": "entity-delete",
+			"label": "Delete Entity"
+		},
+		{
+			"itemId": 8,
+			"name": "entity-read-classification",
+			"label": "Read Classification"
+		},
+		{
+			"itemId": 9,
+			"name": "entity-add-classification",
+			"label": "Add Classification"
+		},
+		{
+			"itemId": 10,
+			"name": "entity-update-classification",
+			"label": "Update Classification"
+		},
+		{
+			"itemId": 11,
+			"name": "entity-remove-classification",
+			"label": "Remove Classification"
+		},
+		{
+			"itemId": 12,
+			"name": "admin-export",
+			"label": "Admin Export"
+		},
+		{
+			"itemId": 13,
+			"name": "admin-import",
+			"label": "Admin Import"
+		}
+	],
+	"configs": [
+		{
+			"itemId": 1,
+			"name": "username",
+			"type": "string",
+			"mandatory": true,
+			"label": "Username"
+		},
+		{
+			"itemId": 2,
+			"name": "password",
+			"type": "password",
+			"mandatory": true,
+			"label": "Password"
+		},
+		{
+			"itemId": 3,
+			"name": "atlas.rest.address",
+			"type": "string",
+			"mandatory": true,
+			"defaultValue": "http://localhost:21000"
+		},
+		{
+			"itemId": 4,
+			"name": "commonNameForCertificate",
+			"type": "string",
+			"mandatory": false,
+			"label": "Common Name for Certificate"
+		}
+	],
+	"options": {
+		"enableDenyAndExceptionsInPolicies": "true"
+	}
 }