[
https://issues.apache.org/jira/browse/SENTRY-2208?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Anthony Young-Garner updated SENTRY-2208:
-----------------------------------------
Attachment: SENTRY-2208-006.patch
> Refactor out Sentry service into own module from sentry-provider-db
> -------------------------------------------------------------------
>
> Key: SENTRY-2208
> URL: https://issues.apache.org/jira/browse/SENTRY-2208
> Project: Sentry
> Issue Type: Sub-task
> Components: Sentry
> Affects Versions: 2.1.0
> Reporter: Steve Moist
> Assignee: Anthony Young-Garner
> Priority: Major
> Fix For: 2.1.0
>
> Attachments: SENTRY-2208-002.patch, SENTRY-2208-003.patch,
> SENTRY-2208-004.patch, SENTRY-2208-005.patch, SENTRY-2208-006.patch,
> SENTRY-2208.patch
>
>
> 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
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)