[
https://issues.apache.org/jira/browse/HBASE-3161?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12925914#action_12925914
]
Andrew Purtell commented on HBASE-3161:
---------------------------------------
Yes this looks good. Add a helper function to RestServlet that checks the
configuration, i.e. RestServlet#isReadOnly and use it to do a check at the top
of methods tagged with @PUT or @POST, or the common functions they call out to,
and if read only do throw new
WebApplicationException(Response.Status.FORBIDDEN).
> Provide option for Stargate to only serve GET requests
> ------------------------------------------------------
>
> Key: HBASE-3161
> URL: https://issues.apache.org/jira/browse/HBASE-3161
> Project: HBase
> Issue Type: Improvement
> Components: rest
> Affects Versions: 0.20.6
> Reporter: Ted Yu
>
> Provide option for Stargate to only serve GET requests. Hbase health check
> can utilize this option.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.