X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=opendaylight%2Fnorthbound%2Fstaticrouting%2Fsrc%2Fmain%2Fresources%2FWEB-INF%2Fweb.xml;h=0bf186b50e0c6616504c896219252d0f6ef4d52c;hb=8cbcc63bbb004b50c66ce3c65d0b8d7943c8ffac;hp=37901a68a8445536e06b87aafc502f12e275a3b8;hpb=4e888e9099a29b43859702f0291499260ebd4720;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..0bf186b50e 100644 --- a/opendaylight/northbound/staticrouting/src/main/resources/WEB-INF/web.xml +++ b/opendaylight/northbound/staticrouting/src/main/resources/WEB-INF/web.xml @@ -1,7 +1,7 @@ + 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 @@ -12,39 +12,78 @@ 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 + + + 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