From 312427e47a7bd555a1000adce1df32c8d2bd7886 Mon Sep 17 00:00:00 2001 From: Jan Srnicek Date: Mon, 3 Jul 2017 11:05:37 +0200 Subject: HONEYCOMB-373 - Move configuration to minimal-distribution-core Change-Id: Iee0644e01ad21f20adbc36fb8ace556e5ce4a8c4 Signed-off-by: Jan Srnicek --- .../config/WEB-INF/web.xml | 74 ++++++++++++++++++++++ 1 file changed, 74 insertions(+) create mode 100644 infra/minimal-distribution-core/src/main/resources/honeycomb-minimal-resources/config/WEB-INF/web.xml (limited to 'infra/minimal-distribution-core/src/main/resources/honeycomb-minimal-resources/config/WEB-INF/web.xml') diff --git a/infra/minimal-distribution-core/src/main/resources/honeycomb-minimal-resources/config/WEB-INF/web.xml b/infra/minimal-distribution-core/src/main/resources/honeycomb-minimal-resources/config/WEB-INF/web.xml new file mode 100644 index 000000000..6cf487170 --- /dev/null +++ b/infra/minimal-distribution-core/src/main/resources/honeycomb-minimal-resources/config/WEB-INF/web.xml @@ -0,0 +1,74 @@ + + + + + + + JAXRSRestconf + com.sun.jersey.spi.container.servlet.ServletContainer + + javax.ws.rs.Application + org.opendaylight.netconf.sal.rest.impl.RestconfApplication + + 1 + + + + JAXRSRestconf + /* + + + 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