Hey Roberto, nice one and congrats with the M2 release. I guessed you were
busy with that.

With the configuration settings I mentioned in my previous post (they are in
the system.properties file), I do still see endpoints registered for an app
as here:

INFO [main] org.apache.openejb.server.cxf.rs.CxfRsHttpListener.logEndpoints
REST Application: http://localhost:8080/webapp1/                           
-> org.apache.openejb.server.rest.InternalApplication@22cf6dad
INFO [main] org.apache.openejb.server.cxf.rs.CxfRsHttpListener.logEndpoints     
Service URI: http://localhost:8080/webapp1/health                      ->
Pojo
org.apache.geronimo.microprofile.impl.health.cdi.CdiHealthChecksEndpoint
INFO [main] org.apache.openejb.server.cxf.rs.CxfRsHttpListener.logEndpoints     
         
GET http://localhost:8080/webapp1/health                      ->     
Response getChecks()
INFO [main] org.apache.openejb.server.cxf.rs.CxfRsHttpListener.logEndpoints     
Service URI: http://localhost:8080/webapp1/metrics                     ->
Pojo org.apache.geronimo.microprofile.metrics.jaxrs.CdiMetricsEndpoints
INFO [main] org.apache.openejb.server.cxf.rs.CxfRsHttpListener.logEndpoints     
         
GET http://localhost:8080/webapp1/metrics                     ->      Object
getJson(SecurityContext, UriInfo)
INFO [main] org.apache.openejb.server.cxf.rs.CxfRsHttpListener.logEndpoints     
         
GET http://localhost:8080/webapp1/metrics                     ->      String
getText(SecurityContext, UriInfo)
INFO [main] org.apache.openejb.server.cxf.rs.CxfRsHttpListener.logEndpoints     
         
GET http://localhost:8080/webapp1/metrics/{registry}          ->      Object
getJson(String, SecurityContext, UriInfo)
INFO [main] org.apache.openejb.server.cxf.rs.CxfRsHttpListener.logEndpoints     
         
GET http://localhost:8080/webapp1/metrics/{registry}          ->      String
getText(String, SecurityContext, UriInfo)
INFO [main] org.apache.openejb.server.cxf.rs.CxfRsHttpListener.logEndpoints     
         
GET http://localhost:8080/webapp1/metrics/{registry}/{metric} ->      Object
getJson(String, String, SecurityContext, UriInfo)
INFO [main] org.apache.openejb.server.cxf.rs.CxfRsHttpListener.logEndpoints     
         
GET http://localhost:8080/webapp1/metrics/{registry}/{metric} ->      String
getText(String, String, SecurityContext, UriInfo)
INFO [main] org.apache.openejb.server.cxf.rs.CxfRsHttpListener.logEndpoints     
     
OPTIONS http://localhost:8080/webapp1/metrics/{registry}          ->     
Object getMetadata(String, SecurityContext, UriInfo)
INFO [main] org.apache.openejb.server.cxf.rs.CxfRsHttpListener.logEndpoints     
     
OPTIONS http://localhost:8080/webapp1/metrics/{registry}/{metric} ->     
Object getMetadata(String, String, SecurityContext, UriInfo)
INFO [main] org.apache.openejb.server.cxf.rs.CxfRsHttpListener.logEndpoints     
Service URI: http://localhost:8080/webapp1/openapi                     ->
Pojo org.apache.geronimo.microprofile.openapi.jaxrs.OpenAPIEndpoint
INFO [main] org.apache.openejb.server.cxf.rs.CxfRsHttpListener.logEndpoints     
         
GET http://localhost:8080/webapp1/openapi                     ->     
OpenAPI get()


There is a custom servlet with url patterns of a custom file type extension
e.g *.cah and *.wcb specific to the software.  Everything else is going to
the default tomee servlet.

The software has filters that are all with a url pattern of "/*".  One of
those filters is for the handling of tenantid from the URL
/webapp1/<tenantid>/... validating it against the database and forwarded to
/webapp1name/app/webapp2 with an attribute set for the tenantid added from
the filter.  The URL remains the same in the browser i.e. the
/webapp1/<tenantid>/... format.

Everything gets 404 from JAXRSFilter which is in the chain after the
software's own filters.




--
Sent from: http://tomee-openejb.979440.n4.nabble.com/TomEE-Dev-f982480.html

Reply via email to