X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=opendaylight%2Fnorthbound%2Fsubnets%2Fsrc%2Fmain%2Fresources%2FWEB-INF%2Fweb.xml;h=2300b8da400d6f15f46812f868c3e262b30b32df;hb=37fa8d2f9fa05c29005df8cb39e71ead95de13a9;hp=f7eccef6666f7d2ec8f0dc2d8b36215e0c9801a1;hpb=ff1b4a79cca00743a00c3b0b1100bd0ab2b2fb31;p=controller.git
diff --git a/opendaylight/northbound/subnets/src/main/resources/WEB-INF/web.xml b/opendaylight/northbound/subnets/src/main/resources/WEB-INF/web.xml
index f7eccef666..2300b8da40 100644
--- a/opendaylight/northbound/subnets/src/main/resources/WEB-INF/web.xml
+++ b/opendaylight/northbound/subnets/src/main/resources/WEB-INF/web.xml
@@ -7,7 +7,7 @@
com.sun.jersey.spi.container.servlet.ServletContainer
javax.ws.rs.Application
- org.opendaylight.controller.subnets.northbound.SubnetsNorthboundRSApplication
+ org.opendaylight.controller.northbound.commons.NorthboundApplication
1
@@ -16,17 +16,56 @@
JAXRSSubnets
/*
+
+ 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
+