X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=blobdiff_plain;f=opendaylight%2Fnorthbound%2Fstaticrouting%2Fsrc%2Fmain%2Fresources%2FWEB-INF%2Fweb.xml;h=9f7c21a8b0cc9ef0a03e4645396df30089931cda;hp=4a040c1a1f861e3f38e0bf762cb5170832710b19;hb=feeeee8105b8f8262154d6c7d994fdbdb7eda1e2;hpb=bfe1f4b13e07f7b4f4f19e8f0b5f8ab5e619de0b diff --git a/opendaylight/northbound/staticrouting/src/main/resources/WEB-INF/web.xml b/opendaylight/northbound/staticrouting/src/main/resources/WEB-INF/web.xml index 4a040c1a1f..9f7c21a8b0 100644 --- a/opendaylight/northbound/staticrouting/src/main/resources/WEB-INF/web.xml +++ b/opendaylight/northbound/staticrouting/src/main/resources/WEB-INF/web.xml @@ -7,27 +7,66 @@ com.sun.jersey.spi.container.servlet.ServletContainer javax.ws.rs.Application - org.opendaylight.controller.forwarding.staticrouting.northbound.StaticRoutingNorthboundRSApplication + org.opendaylight.controller.northbound.commons.NorthboundApplication 1 - JAXRSStaticRouting - /* + JAXRSStaticRouting + /* + + CorsFilter + org.apache.catalina.filters.CorsFilter + + cors.allowed.origins + * + + + cors.allowed.methods + GET,POST,HEAD,OPTIONS,PUT + + + cors.allowed.headers + Content-Type,X-Requested-With,accept,authorization, origin,Origin,Access-Control-Request-Method,Access-Control-Request-Headers + + + cors.exposed.headers + Access-Control-Allow-Origin,Access-Control-Allow-Credentials + + + cors.support.credentials + true + + + cors.preflight.maxage + 10 + + + + CorsFilter + /* + + - - NB api - /* - - - System-Admin - Network-Admin - Network-Operator - Container-User - + + NB api + /* + POST + GET + PUT + PATCH + DELETE + HEAD + + + System-Admin + Network-Admin + Network-Operator + Container-User +