[
https://issues.apache.org/jira/browse/GEODE-4849?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16427621#comment-16427621
]
ASF subversion and git services commented on GEODE-4849:
--------------------------------------------------------
Commit 2de6ee0ca31c96c2828fc773d78cbd85a73c3c14 in geode's branch
refs/heads/feature/GEODE-4942 from [~PivotalSarge]
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=2de6ee0 ]
GEODE-4849: Add integration test for existing REST API. (#1721)
* GEODE-4849: Add integration tests for existing REST API.
* GEODE-4849: Move test to geode-assembly.
> 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
> Assignee: Michael Dodge
> Priority: Major
> Labels: pull-request-available
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> 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)