[JBoss JIRA] (ISPN-10476) SinglePort routing is broken for REST
by Gustavo Fernandes (Jira)
[ https://issues.jboss.org/browse/ISPN-10476?page=com.atlassian.jira.plugin... ]
Gustavo Fernandes edited comment on ISPN-10476 at 9/6/19 4:03 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"
* Without any context, it always interprets are index.html, e.g. {{http://localhost:11222/random-text}} will bring the same result as {{http://localhost:11222/}}
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 and returns "ISPN012010: Cache with name 'server' not found amongst the configured caches"
> 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)
4 years, 8 months
[JBoss JIRA] (ISPN-10476) SinglePort routing is broken for REST
by Gustavo Fernandes (Jira)
[ 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)
4 years, 8 months
[JBoss JIRA] (ISPN-10476) SinglePort routing is broken for REST
by Gustavo Fernandes (Jira)
[ https://issues.jboss.org/browse/ISPN-10476?page=com.atlassian.jira.plugin... ]
Gustavo Fernandes commented on ISPN-10476:
------------------------------------------
* 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)
4 years, 8 months
[JBoss JIRA] (ISPN-10567) Allow container exposed ports when CONTAINER is the server driver
by Diego Lovison (Jira)
[ https://issues.jboss.org/browse/ISPN-10567?page=com.atlassian.jira.plugin... ]
Diego Lovison updated ISPN-10567:
---------------------------------
Description:
I cannot ping my containers
Docker Desktop for Mac can’t route traffic to containers.
The PR keep all ISPN source code without any significant change.
The PR overwrite updateTopologyInfo but it calls super. In this case, it reduces the risk of miss some code changes in updateTopologyInfo
> Allow container exposed ports when CONTAINER is the server driver
> -----------------------------------------------------------------
>
> Key: ISPN-10567
> URL: https://issues.jboss.org/browse/ISPN-10567
> Project: Infinispan
> Issue Type: Enhancement
> Affects Versions: 10.0.0.Beta5
> Reporter: Diego Lovison
> Priority: Major
>
> I cannot ping my containers
> Docker Desktop for Mac can’t route traffic to containers.
> The PR keep all ISPN source code without any significant change.
> The PR overwrite updateTopologyInfo but it calls super. In this case, it reduces the risk of miss some code changes in updateTopologyInfo
--
This message was sent by Atlassian Jira
(v7.13.5#713005)
4 years, 8 months