Uploaded image for project: 'Apache Knox'
  1. Apache Knox
  2. KNOX-1852

Simplify ZookeeperRemoteAliasService and make it generic

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • 2.1.0
    • Server
    • None

    Description

      ZookeeperRemoteAliasService class can be made more generic to support future implementations of AliasService that depend on RemoteConfigurationRegistryClient class. Currently, we only have Zookeeper implementation. The purpose of this Jira is to document the following two enhancements to ZookeeperRemoteAliasService class to make it more generic:

      1. Change the name to something more generic
      2. Move the Zookeeper specific implementation to the class that implements RemoteConfigurationRegistryClient, CuratorClientService in case of Zookeeper service. As an example.
        1. ZookeeperRemoteAliasService.ensureEntry() logic
        2. AUTHENTICATED_USERS_ALL
        3. TYPE

      This will be helpful when we decide to implement support for services like consul.

      This is a result of offline discussion with pzampino@apache.org about KNOX-1851.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              smore Sandeep More
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: