Repository: ambari
Updated Branches:
  refs/heads/trunk dd6cc606b -> 13bc58216


Revert "AMBARI-21938. Validate kerberos.json files to ensure they meet the 
expected schema (rlevas)"

This reverts commit dd6cc606b3918f339037a66b54f6debb8ea10586.


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

Branch: refs/heads/trunk
Commit: 660581985a01be7650a843a3f7a1fd4bf889c5a8
Parents: dd6cc60
Author: Robert Levas <rle...@hortonworks.com>
Authored: Mon Sep 18 13:50:19 2017 -0400
Committer: Robert Levas <rle...@hortonworks.com>
Committed: Mon Sep 18 13:50:19 2017 -0400

----------------------------------------------------------------------
 .../resources/kerberos_descriptor_schema.json   | 193 -------------------
 1 file changed, 193 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/66058198/ambari-server/src/main/resources/kerberos_descriptor_schema.json
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/kerberos_descriptor_schema.json 
b/ambari-server/src/main/resources/kerberos_descriptor_schema.json
deleted file mode 100644
index 34cdd49..0000000
--- a/ambari-server/src/main/resources/kerberos_descriptor_schema.json
+++ /dev/null
@@ -1,193 +0,0 @@
-{
-  "definitions": {
-    "identity": {
-      "type": "object",
-      "properties": {
-        "name": {
-          "type": "string",
-          "pattern": "^(\\.\\/)?[/a-zA-Z0-9_\\-]+$"
-        },
-        "reference": {
-          "type": "string"
-        },
-        "principal": {
-          "type": "object",
-          "properties": {
-            "value": {
-              "type": "string"
-            },
-            "type": {
-              "type": "string",
-              "pattern": "^user|service|USER|SERVICE$"
-            },
-            "configuration": {
-              "type": "string"
-            },
-            "local_username": {
-              "type": "string"
-            }
-          }
-        },
-        "keytab": {
-          "type": "object",
-          "properties": {
-            "file": {
-              "type": "string"
-            },
-            "owner": {
-              "type": "object",
-              "properties": {
-                "name": {
-                  "type": "string"
-                },
-                "access": {
-                  "type": "string",
-                  "pattern": "^r?|rw$"
-                }
-              }
-            },
-            "group": {
-              "type": "object",
-              "properties": {
-                "name": {
-                  "type": "string"
-                },
-                "access": {
-                  "type": "string",
-                  "pattern": "^r?|rw$"
-                }
-              }
-            },
-            "configuration": {
-              "type": "string"
-            }
-          }
-        },
-        "when": {
-          "type": "object",
-          "properties": {
-            "contains": {
-              "type": "array",
-              "items": {
-                "type": "string"
-              }
-            }
-          }
-        }
-      },
-      "required": [
-        "name"
-      ],
-      "additionalProperties": false
-    },
-    "identities": {
-      "type": "array",
-      "items": {
-        "$ref": "#/definitions/identity"
-      }
-    },
-    "configurations": {
-      "type": "array",
-      "items": {
-        "$ref": "#/definitions/configuration"
-      }
-    },
-    "configuration": {
-      "type": "object",
-      "properties": {
-        "type": "object",
-        "patternProperties": {
-          "^.+$": {
-            "type": "integer"
-          }
-        },
-        "additionalProperties": false
-      }
-    },
-    "service": {
-      "type": "object",
-      "properties": {
-        "name": {
-          "type": "string"
-        },
-        "identities": {
-          "$ref": "#/definitions/identities"
-        },
-        "configurations": {
-          "$ref": "#/definitions/configurations"
-        },
-        "preconfigure": {
-          "type": "boolean"
-        },
-        "components": {
-          "$ref": "#/definitions/components"
-        },
-        "auth_to_local_properties": {
-          "type": "array",
-          "items": {
-            "type": "string"
-          }
-        }
-      },
-      "required": [
-        "name"
-      ],
-      "additionalProperties": false
-    },
-    "services": {
-      "type": "array",
-      "items": {
-        "$ref": "#/definitions/service"
-      }
-    },
-    "component": {
-      "type": "object",
-      "properties": {
-        "name": {
-          "type": "string"
-        },
-        "identities": {
-          "$ref": "#/definitions/identities"
-        },
-        "configurations": {
-          "$ref": "#/definitions/configurations"
-        },
-        "auth_to_local_properties": {
-          "type": "array",
-          "items": {
-            "type": "string"
-          }
-        }
-      },
-      "required": [
-        "name"
-      ],
-      "additionalProperties": false
-    },
-    "components": {
-      "type": "array",
-      "items": {
-        "$ref": "#/definitions/component"
-      }
-    }
-  },
-  "type": "object",
-  "properties": {
-    "properties": {
-      "type": "object",
-      "patternProperties": {
-        "^.+$": {
-          "type": "string"
-        }
-      },
-      "additionalProperties": false
-    },
-    "identities": {
-      "$ref": "#/definitions/identities"
-    },
-    "services": {
-      "$ref": "#/definitions/services"
-    }
-  },
-  "additionalProperties": false
-}
\ No newline at end of file

Reply via email to