You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@sentry.apache.org by "Alexander Kolbasov (JIRA)" <ji...@apache.org> on 2017/02/25 00:24:44 UTC
[jira] [Reopened] (SENTRY-1625) PrivilegeOperatePersistence can use
QueryParamBuilder
[ https://issues.apache.org/jira/browse/SENTRY-1625?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alexander Kolbasov reopened SENTRY-1625:
----------------------------------------
> PrivilegeOperatePersistence can use QueryParamBuilder
> -----------------------------------------------------
>
> Key: SENTRY-1625
> URL: https://issues.apache.org/jira/browse/SENTRY-1625
> Project: Sentry
> Issue Type: Improvement
> Components: Sentry
> Affects Versions: 1.8.0, sentry-ha-redesign
> Reporter: Alexander Kolbasov
> Assignee: Alexander Kolbasov
> Fix For: 1.8.0
>
>
> PrivilegeOperatePersistence has a few places where it builds queries using {{StringBuilder}}. It can benefit from the new {{QueryParamBuilder}} introduced in {{SentryStore}}.
> So I moved QueryParamBuilder to a separate class, moved a few methods from {{MSentryGMPrivilege}} to {{PrivilegeOperatePersistence}} (they were only used there) and converted all string-based query builders to QueryParamBuilder.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)