sentry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shreepadma Venugopalan (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SENTRY-81) Thrift API status should be an object with status code
Date Thu, 02 Jan 2014 19:25:51 GMT

    [ https://issues.apache.org/jira/browse/SENTRY-81?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13860638#comment-13860638
] 

Shreepadma Venugopalan commented on SENTRY-81:
----------------------------------------------

Can you please post an RB without the generated files? Thanks!

> Thrift API status should be an object with status code
> ------------------------------------------------------
>
>                 Key: SENTRY-81
>                 URL: https://issues.apache.org/jira/browse/SENTRY-81
>             Project: Sentry
>          Issue Type: Sub-task
>    Affects Versions: db_policy_store
>            Reporter: Brock Noland
>            Assignee: Brock Noland
>         Attachments: SENTRY-81.patch
>
>
> Since exceptions are crappy in thrift in general and can be problematic from an API perspective
as opposed to the thrift API throwing an exception we should return a Status object which
has an enum or values and an option message which can be used for errors.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message