X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=blobdiff_plain;f=opendaylight%2Fnorthbound%2Ftopology%2Fsrc%2Fmain%2Fresources%2FWEB-INF%2Fweb.xml;h=29f2049c2715f95b2fdc99ea287617f1d061ea7f;hp=a46e433054831408b9907b33f7d95443e1cf104e;hb=feeeee8105b8f8262154d6c7d994fdbdb7eda1e2;hpb=bfe1f4b13e07f7b4f4f19e8f0b5f8ab5e619de0b diff --git a/opendaylight/northbound/topology/src/main/resources/WEB-INF/web.xml b/opendaylight/northbound/topology/src/main/resources/WEB-INF/web.xml index a46e433054..29f2049c27 100644 --- a/opendaylight/northbound/topology/src/main/resources/WEB-INF/web.xml +++ b/opendaylight/northbound/topology/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.topology.northbound.TopologyNorthboundRSApplication + org.opendaylight.controller.northbound.commons.NorthboundApplication 1 @@ -17,17 +17,56 @@ /* + + 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 +