Madhan Neethiraj created RANGER-5447:
----------------------------------------
Summary: local policy source implementations to support loading
from <serviceName>.json
Key: RANGER-5447
URL: https://issues.apache.org/jira/browse/RANGER-5447
Project: Ranger
Issue Type: Improvement
Components: plugins
Affects Versions: 3.0.0, 2.8.0
Reporter: Madhan Neethiraj
Assignee: Madhan Neethiraj
Policy source implementations, {{LocalFolderPolicySource}} and
{{{}EmbeddedResourcePolicySource{}}}, introduced in RANGER-5309 support
providing policy engines with policies/tags/roles/userStore/gdsInfo loaded from
local-files or embedded-resources. In addition to making it easier to write
unit tests, these policy source implementations can be used in environments
that manage policies/tags/roles/userStore/gdsInfo in local files (perhaps by
git-ops).
Currently these policy source implementations load from paths consisting of
serviceName and appId of the plugin - like {{{}hiveServer2_prod_hive.json{}}},
{{{}hiveServer2_prod_hive_tag.json{}}}. In addition to these paths, the
implementations should support loading from paths consisting of only
serviceName - like {{{}prod_hive.json{}}}, {{{}prod_hive_tag.json{}}}. This
will help a single path to serve plugins of multiple appId.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)