From 83efb0ff929801a5a2ab89f6b66c07ed940a309d Mon Sep 17 00:00:00 2001 From: Maros Marsalek Date: Thu, 11 Aug 2016 13:04:56 +0200 Subject: HONEYCOMB-19 Minimal distro ans wiring for hc infra Change-Id: I8f0e577ac91106e6025f7f2f27811f850e1c5253 Signed-off-by: Maros Marsalek --- .../honeycomb-minimal-resources/WEB-INF/web.xml | 94 ++++++++++++++++++++++ 1 file changed, 94 insertions(+) create mode 100644 infra/minimal-distribution/src/main/resources/honeycomb-minimal-resources/WEB-INF/web.xml (limited to 'infra/minimal-distribution/src/main/resources/honeycomb-minimal-resources/WEB-INF/web.xml') diff --git a/infra/minimal-distribution/src/main/resources/honeycomb-minimal-resources/WEB-INF/web.xml b/infra/minimal-distribution/src/main/resources/honeycomb-minimal-resources/WEB-INF/web.xml new file mode 100644 index 000000000..b75bdeaec --- /dev/null +++ b/infra/minimal-distribution/src/main/resources/honeycomb-minimal-resources/WEB-INF/web.xml @@ -0,0 +1,94 @@ + + + + + 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