From bb972b5738831e70b98f9165dd2091d7cf5b3c11 Mon Sep 17 00:00:00 2001 From: Maros Marsalek Date: Thu, 8 Sep 2016 11:57:18 +0200 Subject: HONEYCOMB-197 Minimal distribution positive test Change-Id: I2191472f10b39a026ccde2494a7921655c57c314 Signed-off-by: Maros Marsalek --- .../src/test/resources/WEB-INF/web.xml | 89 ++++++++++++++++++++++ 1 file changed, 89 insertions(+) create mode 100644 infra/minimal-distribution/src/test/resources/WEB-INF/web.xml (limited to 'infra/minimal-distribution/src/test/resources/WEB-INF') diff --git a/infra/minimal-distribution/src/test/resources/WEB-INF/web.xml b/infra/minimal-distribution/src/test/resources/WEB-INF/web.xml new file mode 100644 index 000000000..45fcce741 --- /dev/null +++ b/infra/minimal-distribution/src/test/resources/WEB-INF/web.xml @@ -0,0 +1,89 @@ + + + + + + + JAXRSRestconf + com.sun.jersey.spi.container.servlet.ServletContainer + + javax.ws.rs.Application + org.opendaylight.netconf.sal.rest.impl.RestconfApplication + + 1 + + + + JAXRSRestconf + /* + + + + GzipFilter + org.eclipse.jetty.servlets.GzipFilter + + mimeTypes + application/xml,application/yang.data+xml,xml,application/json,application/yang.data+json + + + + + GzipFilter + /* + + + + cross-origin-restconf + org.eclipse.jetty.servlets.CrossOriginFilter + + allowedOrigins + * + + + allowedMethods + GET,POST,OPTIONS,DELETE,PUT,HEAD + + + allowedHeaders + origin, content-type, accept, authorization + + + exposedHeaders + location + + + + cross-origin-restconf + /* + + + + + NB api + /* + POST + GET + PUT + PATCH + DELETE + HEAD + + + + -- cgit 1.2.3-korg