[ 
https://issues.apache.org/jira/browse/GEODE-4849?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ASF GitHub Bot updated GEODE-4849:
----------------------------------
    Labels: pull-request-available  (was: )

> Internal REST endpoints in geode-core can be obfuscated by those in 
> geode-web-api
> ---------------------------------------------------------------------------------
>
>                 Key: GEODE-4849
>                 URL: https://issues.apache.org/jira/browse/GEODE-4849
>             Project: Geode
>          Issue Type: Bug
>          Components: rest (dev)
>            Reporter: Patrick Rhomberg
>            Priority: Major
>              Labels: pull-request-available
>
> For instance, a GET to {{http://localhost:8080/geode/v1/version}} is 
> returning 
> {noformat}
> {
> "cause": "The Region identified by name (version) could not be found!"
> }
> {noformat}
> because it is matching the endpoint in {{PdxBasedCrudController}}:
> {noformat}
>   @RequestMapping(method = RequestMethod.GET, value = "/{region}",
>       produces = MediaType.APPLICATION_JSON_UTF8_VALUE)
> {noformat}
> rather than the intended endpoint in {{ShellCommandsController}}:
> {noformat}
>   @RequestMapping(method = RequestMethod.GET, value = "/version")
> {noformat}
> Similar errors exist for {{/mbean}}, {{/regions}}, {{/indexes}}, and 
> {{/management}}.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to