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=1c201d3b33eb590ce57d70ac180c0abee48b6fba;hpb=345ad1b3e2a12c33a2ebb8605e9266718bd9dd8c;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 1c201d3b33..2300b8da40 100644 --- a/opendaylight/northbound/subnets/src/main/resources/WEB-INF/web.xml +++ b/opendaylight/northbound/subnets/src/main/resources/WEB-INF/web.xml @@ -1,13 +1,13 @@ + xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd" + version="3.0"> JAXRSSubnets 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,34 +16,73 @@ JAXRSSubnets /* - - - 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 +