Uploaded image for project: 'Sentry (Retired)'
  1. Sentry (Retired)
  2. SENTRY-2140 Metadata Driven Column Masking
  3. SENTRY-2208

Refactor out Sentry service into own module from sentry-provider-db

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.1.0
    • 2.1.0
    • Sentry
    • None

    Description

      The module sentry-provider-db included all the code for sentry server and sentry client. To pull the client and server dependencies outside of sentry-provider-db, a new module, sentry-service was created with submodules sentry-service-server, sentry-service-api (see SENTRY-2206) and sentry-service-client.

      The majority of this patch moves classes from sentry-provider-db to sentry-service-server (Thrift APIs, web server, model classes and SQL) and sentry-service-client (SentryServiceClientFactory) and updates dependencies (Sentry HDFS service depends on sentry-service-server and Sentry Provider DB depends on sentry-service-client) across the codebase accordingly.

      Also, several test classes needed to be updated to declare their use of SentryServiceIntegrationBase:

      TestAuditLogForSentryGenericService.java
      TestSentryGenericServiceClient
      TestAuthorizingDDLAuditLogWithKerberos
      TestSentryPolicyServiceClient
      TestSentryServiceClientPool
      TestSentryServiceWithInvalidMsgSize
      TestSentryWebServerWithKerberos

       

      Attachments

        1. SENTRY-2208.patch
          511 kB
          Anthony Young-Garner
        2. SENTRY-2208-002.patch
          527 kB
          Anthony Young-Garner
        3. SENTRY-2208-003.patch
          512 kB
          Anthony Young-Garner
        4. SENTRY-2208-004.patch
          510 kB
          Anthony Young-Garner
        5. SENTRY-2208-005.patch
          185 kB
          Anthony Young-Garner
        6. SENTRY-2208-006.patch
          1.71 MB
          Anthony Young-Garner
        7. SENTRY-2208-007.patch
          133 kB
          Anthony Young-Garner
        8. SENTRY-2208-008.patch
          133 kB
          Anthony Young-Garner

        Issue Links

          Activity

            People

              anthony.young-garner@cloudera.com Anthony Young-Garner
              moist Steve Moist
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: