[
https://issues.apache.org/jira/browse/METRON-503?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15819422#comment-15819422
]
ASF GitHub Bot commented on METRON-503:
---------------------------------------
Github user merrimanr commented on the issue:
https://github.com/apache/incubator-metron/pull/316
Just pushed out a commit to address Response Behavior. I defined an error
response type using the structure you proposed and added a RestExceptionHandler
as described in the link to the Spring Boot docs above. I think it's a good
solution. One question though, do we need the "responseCode" field? Won't it
always match the Http status code?
Also added the metron-rest-client module.
> Metron REST API
> ---------------
>
> Key: METRON-503
> URL: https://issues.apache.org/jira/browse/METRON-503
> Project: Metron
> Issue Type: New Feature
> Reporter: Ryan Merriman
> Assignee: Ryan Merriman
> Attachments: Metron REST API.docx
>
>
> As discussed on the dev list ([DISCUSS] Metron REST API Requirements), this
> Jira includes adding a REST API to Metron.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)