summaryrefslogtreecommitdiffstats
path: root/openecomp-ui/webapp-onboarding/WEB-INF
diff options
context:
space:
mode:
Diffstat (limited to 'openecomp-ui/webapp-onboarding/WEB-INF')
-rw-r--r--openecomp-ui/webapp-onboarding/WEB-INF/jetty-web.xml8
-rw-r--r--openecomp-ui/webapp-onboarding/WEB-INF/rewrite.config2
-rw-r--r--openecomp-ui/webapp-onboarding/WEB-INF/web.xml51
3 files changed, 61 insertions, 0 deletions
diff --git a/openecomp-ui/webapp-onboarding/WEB-INF/jetty-web.xml b/openecomp-ui/webapp-onboarding/WEB-INF/jetty-web.xml
new file mode 100644
index 0000000000..0a9d33a940
--- /dev/null
+++ b/openecomp-ui/webapp-onboarding/WEB-INF/jetty-web.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE Configure PUBLIC
+ "-//Mort Bay Consulting//DTD Configure//EN"
+ "http://www.eclipse.org/jetty/configure_9_0.dtd">
+
+<Configure class="org.eclipse.jetty.webapp.WebAppContext">
+ <Set name="contextPath">/onboarding</Set>
+</Configure>
diff --git a/openecomp-ui/webapp-onboarding/WEB-INF/rewrite.config b/openecomp-ui/webapp-onboarding/WEB-INF/rewrite.config
new file mode 100644
index 0000000000..90893bb545
--- /dev/null
+++ b/openecomp-ui/webapp-onboarding/WEB-INF/rewrite.config
@@ -0,0 +1,2 @@
+RewriteRule ^.*\..*$ - [L]
+RewriteRule ^.*$ /index.html [L]
diff --git a/openecomp-ui/webapp-onboarding/WEB-INF/web.xml b/openecomp-ui/webapp-onboarding/WEB-INF/web.xml
new file mode 100644
index 0000000000..6dd619fbbc
--- /dev/null
+++ b/openecomp-ui/webapp-onboarding/WEB-INF/web.xml
@@ -0,0 +1,51 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<web-app xmlns="http://java.sun.com/xml/ns/javaee"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"
+ version="3.0">
+
+ <display-name>ASDC</display-name>
+
+ <welcome-file-list>
+ <welcome-file>index.html</welcome-file>
+ </welcome-file-list>
+
+ <servlet>
+ <servlet-name>js</servlet-name>
+ <servlet-class>org.eclipse.jetty.servlet.DefaultServlet</servlet-class>
+
+ <init-param>
+ <param-name>cacheControl</param-name>
+ <param-value>public, no-cache</param-value>
+ </init-param>
+ <init-param>
+ <param-name>etags</param-name>
+ <param-value>true</param-value>
+ </init-param>
+ </servlet>
+
+ <servlet-mapping>
+ <servlet-name>js</servlet-name>
+ <url-pattern>*.js</url-pattern>
+ </servlet-mapping>
+
+ <servlet>
+ <servlet-name>resources</servlet-name>
+ <servlet-class>org.eclipse.jetty.servlet.DefaultServlet</servlet-class>
+
+ <init-param>
+ <param-name>cacheControl</param-name>
+ <param-value>public, max-age=31536000</param-value>
+ </init-param>
+ <init-param>
+ <param-name>etags</param-name>
+ <param-value>true</param-value>
+ </init-param>
+ </servlet>
+
+ <servlet-mapping>
+ <servlet-name>resources</servlet-name>
+ <url-pattern>/</url-pattern>
+ </servlet-mapping>
+
+</web-app>