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=0bf186b50e0c6616504c896219252d0f6ef4d52c;hp=4a040c1a1f861e3f38e0bf762cb5170832710b19;hb=8cbcc63bbb004b50c66ce3c65d0b8d7943c8ffac;hpb=aa50ec153cd932a46bb117398a5e4b49df712958
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..0bf186b50e 100644
--- a/opendaylight/northbound/staticrouting/src/main/resources/WEB-INF/web.xml
+++ b/opendaylight/northbound/staticrouting/src/main/resources/WEB-INF/web.xml
@@ -13,21 +13,60 @@
- 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
+