Initial OpenECOMP policy/engine commit
[policy/engine.git] / ecomp-sdk-app / src / main / webapp / WEB-INF / web.xml
diff --git a/ecomp-sdk-app/src/main/webapp/WEB-INF/web.xml b/ecomp-sdk-app/src/main/webapp/WEB-INF/web.xml
new file mode 100644 (file)
index 0000000..32cfa88
--- /dev/null
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+         xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee" 
+         xmlns:web="http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd"
+         version="3.1" xmlns="http://xmlns.jcp.org/xml/ns/javaee">
+
+       <display-name>ecomp-sdk-app</display-name>
+
+       <!-- The app can function on a HA cluster -->
+       <distributable />
+       <servlet>
+               <servlet-name>FileManagerServlet</servlet-name>
+               <servlet-class>org.openecomp.policy.admin.PolicyManagerServlet</servlet-class>
+       </servlet>
+       <servlet-mapping>
+               <servlet-name>FileManagerServlet</servlet-name>
+               <url-pattern>/fm/*</url-pattern>
+       </servlet-mapping>      
+       <session-config>
+               <session-timeout>7</session-timeout>
+               <tracking-mode>COOKIE</tracking-mode>
+       </session-config>
+
+</web-app>