[
https://issues.jboss.org/browse/ISPN-10476?page=com.atlassian.jira.plugin...
]
Gustavo Fernandes edited comment on ISPN-10476 at 9/6/19 3:52 AM:
------------------------------------------------------------------
* it does not enforce the {{configuration.contextPath()}} from the REST connector, and
thus accepts any context, e.g. both {{http://localhost:11222/rest/v2/server}} and
{{http://localhost:11222/random-text/v2/server}} return the response
* When omitting the context, e.g. {{http://localhost:11222/v2/server}} instead of
returning 404 it tries to interpret the call as a REST v1 API and returns
"ISPN012010: Cache with name 'server' not found amongst the configured
caches"
was (Author: gustavonalle):
* it does not enforce the {{configuration.contextPath()}} from the REST connector, and
thus accepts any context, e.g. both {{http://localhost:11222/rest/v2/server}} and
{{http://localhost:11222/random-text/v2/server}} return the response
* When omitting the context, e.g. {{http://localhost:11222/v2/server}} instead of
returning 404 it tries to interpret the call as a REST v1 API
SinglePort routing is broken for REST
-------------------------------------
Key: ISPN-10476
URL:
https://issues.jboss.org/browse/ISPN-10476
Project: Infinispan
Issue Type: Bug
Components: Server
Reporter: Gustavo Fernandes
Assignee: Gustavo Fernandes
Priority: Major
--
This message was sent by Atlassian Jira
(v7.13.5#713005)