summaryrefslogtreecommitdiffstats
path: root/openecomp-ui/webapp-heat-validation/WEB-INF
diff options
context:
space:
mode:
Diffstat (limited to 'openecomp-ui/webapp-heat-validation/WEB-INF')
-rw-r--r--openecomp-ui/webapp-heat-validation/WEB-INF/jetty-web.xml8
-rw-r--r--openecomp-ui/webapp-heat-validation/WEB-INF/rewrite.config2
-rw-r--r--openecomp-ui/webapp-heat-validation/WEB-INF/web.xml51
3 files changed, 61 insertions, 0 deletions
diff --git a/openecomp-ui/webapp-heat-validation/WEB-INF/jetty-web.xml b/openecomp-ui/webapp-heat-validation/WEB-INF/jetty-web.xml
new file mode 100644
index 0000000000..bc3bfa62f0
--- /dev/null
+++ b/openecomp-ui/webapp-heat-validation/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">/heat-validation</Set>
+</Configure>
diff --git a/openecomp-ui/webapp-heat-validation/WEB-INF/rewrite.config b/openecomp-ui/webapp-heat-validation/WEB-INF/rewrite.config
new file mode 100644
index 0000000000..b5e1a31493
--- /dev/null
+++ b/openecomp-ui/webapp-heat-validation/WEB-INF/rewrite.config
@@ -0,0 +1,2 @@
+RewriteRule ^.*\..*$ - [L]
+RewriteRule ^.*$ /heat.html [L]
diff --git a/openecomp-ui/webapp-heat-validation/WEB-INF/web.xml b/openecomp-ui/webapp-heat-validation/WEB-INF/web.xml
new file mode 100644
index 0000000000..f84519eee3
--- /dev/null
+++ b/openecomp-ui/webapp-heat-validation/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>Heat-Validation</display-name>
+
+ <welcome-file-list>
+ <welcome-file>heat.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>