You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sentry.apache.org by sh...@apache.org on 2014/02/10 22:10:44 UTC

[13/13] git commit: SENTRY-105: Remove db specific name from sentry service package (Brock via Shreepadma)

SENTRY-105: Remove db specific name from sentry service package (Brock via Shreepadma)


Project: http://git-wip-us.apache.org/repos/asf/incubator-sentry/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-sentry/commit/1e121ccc
Tree: http://git-wip-us.apache.org/repos/asf/incubator-sentry/tree/1e121ccc
Diff: http://git-wip-us.apache.org/repos/asf/incubator-sentry/diff/1e121ccc

Branch: refs/heads/db_policy_store
Commit: 1e121ccca409d82e46386ddc2f0f43d15d083e9e
Parents: dfc9a85
Author: Shreepadma Venugopalan <sh...@apache.org>
Authored: Mon Feb 10 13:09:48 2014 -0800
Committer: Shreepadma Venugopalan <sh...@apache.org>
Committed: Mon Feb 10 13:09:48 2014 -0800

----------------------------------------------------------------------
 sentry-provider/sentry-provider-db/pom.xml      |    4 +-
 .../db/service/thrift/SentryPolicyService.java  | 4130 ++++++++++++++++++
 .../TAlterSentryRoleAddGroupsRequest.java       |  742 ++++
 .../TAlterSentryRoleAddGroupsResponse.java      |  390 ++
 .../TAlterSentryRoleDeleteGroupsRequest.java    |  486 +++
 .../TAlterSentryRoleDeleteGroupsResponse.java   |  390 ++
 .../thrift/TCreateSentryPrivilegeRequest.java   |  592 +++
 .../thrift/TCreateSentryPrivilegeResponse.java  |  390 ++
 .../thrift/TCreateSentryRoleRequest.java        |  592 +++
 .../thrift/TCreateSentryRoleResponse.java       |  390 ++
 .../service/thrift/TListSentryRolesRequest.java |  702 +++
 .../thrift/TListSentryRolesResponse.java        |  545 +++
 .../db/service/thrift/TSentryGroup.java         |  385 ++
 .../db/service/thrift/TSentryPrivilege.java     | 1210 +++++
 .../provider/db/service/thrift/TSentryRole.java |  740 ++++
 .../sentry/service/api/SentryThriftService.java | 4130 ------------------
 .../api/TAlterSentryRoleAddGroupsRequest.java   |  742 ----
 .../api/TAlterSentryRoleAddGroupsResponse.java  |  390 --
 .../TAlterSentryRoleDeleteGroupsRequest.java    |  486 ---
 .../TAlterSentryRoleDeleteGroupsResponse.java   |  390 --
 .../api/TCreateSentryPrivilegeRequest.java      |  592 ---
 .../api/TCreateSentryPrivilegeResponse.java     |  390 --
 .../service/api/TCreateSentryRoleRequest.java   |  592 ---
 .../service/api/TCreateSentryRoleResponse.java  |  390 --
 .../service/api/TListSentryRolesRequest.java    |  702 ---
 .../service/api/TListSentryRolesResponse.java   |  545 ---
 .../apache/sentry/service/api/TSentryGroup.java |  385 --
 .../sentry/service/api/TSentryPrivilege.java    | 1210 -----
 .../service/api/TSentryResponseStatus.java      |  608 ---
 .../apache/sentry/service/api/TSentryRole.java  |  740 ----
 .../sentry/service/api/TSentryStatus.java       |   51 -
 .../service/api/sentry_storeConstants.java      |   38 -
 .../service/thrift/TSentryResponseStatus.java   |  594 +++
 .../thrift/sentry_common_serviceConstants.java  |   46 +
 .../db/service/persistent/SentryStore.java      |    7 +-
 .../thrift/ConnectionDeniedException.java       |   39 -
 .../provider/db/service/thrift/Constants.java   |   69 -
 .../provider/db/service/thrift/GSSCallback.java |  102 -
 .../service/thrift/KerberosConfiguration.java   |   77 -
 .../thrift/SentryPolicyServiceClient.java       |   89 +
 .../thrift/SentryPolicyStoreProcessor.java      |   68 +
 .../SentryPolicyStoreProcessorFactory.java      |   38 +
 .../db/service/thrift/SentryService.java        |  233 -
 .../db/service/thrift/SentryServiceClient.java  |   89 -
 .../thrift/SentryServiceClientFactory.java      |   29 -
 .../db/service/thrift/SentryServiceFactory.java |   29 -
 .../db/service/thrift/SentryServiceHandler.java |   74 -
 .../provider/db/service/thrift/Status.java      |   57 -
 .../db/service/thrift/sentry_store.thrift       |  139 -
 .../thrift/ConnectionDeniedException.java       |   36 +
 .../apache/sentry/service/thrift/Constants.java |   78 +
 .../sentry/service/thrift/GSSCallback.java      |  102 +
 .../service/thrift/KerberosConfiguration.java   |   77 +
 .../sentry/service/thrift/ProcessorFactory.java |   30 +
 .../sentry/service/thrift/SentryService.java    |  251 ++
 .../thrift/SentryServiceClientFactory.java      |   30 +
 .../service/thrift/SentryServiceFactory.java    |   29 +
 .../apache/sentry/service/thrift/Status.java    |   77 +
 .../main/resources/sentry_common_service.thrift |   40 +
 .../main/resources/sentry_policy_service.thrift |  123 +
 .../thrift/SentryServiceIntegrationBase.java    |  157 -
 .../thrift/TestSentryServiceFailureCase.java    |    9 +-
 .../thrift/TestSentryServiceIntegration.java    |   18 +-
 .../thrift/SentryServiceIntegrationBase.java    |  168 +
 64 files changed, 13575 insertions(+), 13498 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-sentry/blob/1e121ccc/sentry-provider/sentry-provider-db/pom.xml
----------------------------------------------------------------------
diff --git a/sentry-provider/sentry-provider-db/pom.xml b/sentry-provider/sentry-provider-db/pom.xml
index d488ae7..6a301d8 100644
--- a/sentry-provider/sentry-provider-db/pom.xml
+++ b/sentry-provider/sentry-provider-db/pom.xml
@@ -155,12 +155,12 @@ limitations under the License.
                     <mkdir dir="${thrift.gen.dir}"/>
                     <for param="thrift.file">
                       <path>
-                        <fileset dir="." includes="**/*.thrift" />
+                        <fileset dir="${basedir}/src/main/resources/" includes="**/*.thrift" />
                       </path>
                       <sequential>
                         <echo message="Generating Thrift code for @{thrift.file}"/>
                         <exec executable="${thrift.home}/bin/thrift"  failonerror="true" dir=".">
-                          <arg line="${thrift.args} -I ${basedir}/include -I ${basedir}/.. -o ${thrift.gen.dir} @{thrift.file} " />
+                          <arg line="${thrift.args} -I ${basedir}/src/main/resources/ -o ${thrift.gen.dir} @{thrift.file} " />
                         </exec>
                       </sequential>
                     </for>