X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=opendaylight%2Fnorthbound%2Fstaticrouting%2Fsrc%2Fmain%2Fresources%2FWEB-INF%2Fweb.xml;h=ef58aab0b581f095a9ec1d9232b968e0e8a3b478;hb=refs%2Fchanges%2F56%2F3356%2F1;hp=37901a68a8445536e06b87aafc502f12e275a3b8;hpb=345ad1b3e2a12c33a2ebb8605e9266718bd9dd8c;p=controller.git 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 37901a68a8..ef58aab0b5 100644 --- a/opendaylight/northbound/staticrouting/src/main/resources/WEB-INF/web.xml +++ b/opendaylight/northbound/staticrouting/src/main/resources/WEB-INF/web.xml @@ -1,50 +1,89 @@ + xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd" + version="3.0"> JAXRSStaticRouting 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 + /* + - - - NB api - /* - - - System-Admin - Network-Admin - Network-Operator - Container-User - - + + CorsFilter + org.apache.catalina.filters.CorsFilter + + cors.allowed.origins + * + + + cors.allowed.methods + GET,POST,HEAD,OPTIONS,PUT,DELETE + + + 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 + /* + - - System-Admin - - - Network-Admin - - - Network-Operator - - - Container-User - + + + NB api + /* + POST + GET + PUT + PATCH + DELETE + HEAD + + + System-Admin + Network-Admin + Network-Operator + Container-User + + - - BASIC - opendaylight - + + System-Admin + + + Network-Admin + + + Network-Operator + + + Container-User + + + + BASIC + opendaylight + \ No newline at end of file