aboutsummaryrefslogtreecommitdiffstats
path: root/utils/webseal-simulator/src/main/webapp/WEB-INF
diff options
context:
space:
mode:
authorMichael Lando <ml636r@att.com>2017-06-09 03:19:04 +0300
committerMichael Lando <ml636r@att.com>2017-06-09 03:19:04 +0300
commited64b5edff15e702493df21aa3230b81593e6133 (patch)
treea4cb01fdaccc34930a8db403a3097c0d1e40914b /utils/webseal-simulator/src/main/webapp/WEB-INF
parent280f8015d06af1f41a3ef12e8300801c7a5e0d54 (diff)
[SDC-29] catalog 1707 rebase commit.
Change-Id: I43c3dc5cf44abf5da817649bc738938a3e8388c1 Signed-off-by: Michael Lando <ml636r@att.com>
Diffstat (limited to 'utils/webseal-simulator/src/main/webapp/WEB-INF')
-rw-r--r--utils/webseal-simulator/src/main/webapp/WEB-INF/jetty-web.xml6
-rw-r--r--utils/webseal-simulator/src/main/webapp/WEB-INF/web.xml40
2 files changed, 46 insertions, 0 deletions
diff --git a/utils/webseal-simulator/src/main/webapp/WEB-INF/jetty-web.xml b/utils/webseal-simulator/src/main/webapp/WEB-INF/jetty-web.xml
new file mode 100644
index 0000000000..dc85045b36
--- /dev/null
+++ b/utils/webseal-simulator/src/main/webapp/WEB-INF/jetty-web.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE Configure PUBLIC "-//Jetty//Configure//EN" "http://www.eclipse.org/jetty/configure.dtd">
+
+<Configure class="org.eclipse.jetty.webapp.WebAppContext">
+ <Set name="contextPath">/</Set>
+</Configure> \ No newline at end of file
diff --git a/utils/webseal-simulator/src/main/webapp/WEB-INF/web.xml b/utils/webseal-simulator/src/main/webapp/WEB-INF/web.xml
new file mode 100644
index 0000000000..7535e1bdf8
--- /dev/null
+++ b/utils/webseal-simulator/src/main/webapp/WEB-INF/web.xml
@@ -0,0 +1,40 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<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>Archetype Created Web Application</display-name>
+
+ <servlet>
+ <servlet-name>Proxy</servlet-name>
+ <servlet-class>org.openecomp.sdc.webseal.simulator.SdcProxy</servlet-class>
+ </servlet>
+ <servlet-mapping>
+ <servlet-name>Proxy</servlet-name>
+ <url-pattern>/*</url-pattern>
+ </servlet-mapping>
+
+ <servlet>
+ <servlet-name>Login</servlet-name>
+ <servlet-class>org.openecomp.sdc.webseal.simulator.Login</servlet-class>
+ </servlet>
+ <servlet-mapping>
+ <servlet-name>Login</servlet-name>
+ <url-pattern>/login</url-pattern>
+ </servlet-mapping>
+
+ <servlet>
+ <servlet-name>CreateUser</servlet-name>
+ <servlet-class>org.openecomp.sdc.webseal.simulator.RequestsClient</servlet-class>
+ </servlet>
+ <servlet-mapping>
+ <servlet-name>CreateUser</servlet-name>
+ <url-pattern>/create</url-pattern>
+ </servlet-mapping>
+
+ <welcome-file-list>
+ <welcome-file>login</welcome-file>
+ </welcome-file-list>
+
+</web-app>
+