summaryrefslogtreecommitdiffstats
path: root/ecomp-sdk-app/src/main/webapp/WEB-INF/web.xml
diff options
context:
space:
mode:
Diffstat (limited to 'ecomp-sdk-app/src/main/webapp/WEB-INF/web.xml')
-rw-r--r--ecomp-sdk-app/src/main/webapp/WEB-INF/web.xml24
1 files changed, 24 insertions, 0 deletions
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
index 000000000..32cfa88ec
--- /dev/null
+++ b/ecomp-sdk-app/src/main/webapp/WEB-INF/web.xml
@@ -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>