X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=opendaylight%2Fnorthbound%2Fhosttracker%2Fsrc%2Fmain%2Fresources%2FWEB-INF%2Fweb.xml;h=d4ace8d89d8fb4fb0372e12ae5023702c0ed2835;hb=33446bc3f844db6d0f4763d7c3080499c6d6543f;hp=7eb940875a6b8af8366e4b4793418bcf3160149f;hpb=4e888e9099a29b43859702f0291499260ebd4720;p=controller.git diff --git a/opendaylight/northbound/hosttracker/src/main/resources/WEB-INF/web.xml b/opendaylight/northbound/hosttracker/src/main/resources/WEB-INF/web.xml index 7eb940875a..d4ace8d89d 100644 --- a/opendaylight/northbound/hosttracker/src/main/resources/WEB-INF/web.xml +++ b/opendaylight/northbound/hosttracker/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"> JAXRSHostTracker com.sun.jersey.spi.container.servlet.ServletContainer javax.ws.rs.Application - org.opendaylight.controller.hosttracker.northbound.HostTrackerNorthboundRSApplication + org.opendaylight.controller.northbound.commons.NorthboundApplication 1 @@ -17,34 +17,73 @@ /* - - - 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