summaryrefslogtreecommitdiffstats
path: root/vid-ext-services-simulator/src/main/webapp/WEB-INF
diff options
context:
space:
mode:
Diffstat (limited to 'vid-ext-services-simulator/src/main/webapp/WEB-INF')
-rw-r--r--vid-ext-services-simulator/src/main/webapp/WEB-INF/rest-servlet.xml13
-rw-r--r--vid-ext-services-simulator/src/main/webapp/WEB-INF/web.xml14
2 files changed, 27 insertions, 0 deletions
diff --git a/vid-ext-services-simulator/src/main/webapp/WEB-INF/rest-servlet.xml b/vid-ext-services-simulator/src/main/webapp/WEB-INF/rest-servlet.xml
new file mode 100644
index 000000000..6d06fea1e
--- /dev/null
+++ b/vid-ext-services-simulator/src/main/webapp/WEB-INF/rest-servlet.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context"
+ xmlns:aop="http://www.springframework.org/schema/aop" xmlns:util="http://www.springframework.org/schema/util"
+ xsi:schemaLocation="
+ http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.0.xsd
+ http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-4.0.xsd
+ http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-4.0.xsd
+ http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-4.0.xsd">
+
+
+ <context:component-scan
+ base-package="org.openecomp.simulator" />
+</beans> \ No newline at end of file
diff --git a/vid-ext-services-simulator/src/main/webapp/WEB-INF/web.xml b/vid-ext-services-simulator/src/main/webapp/WEB-INF/web.xml
new file mode 100644
index 000000000..780a17dec
--- /dev/null
+++ b/vid-ext-services-simulator/src/main/webapp/WEB-INF/web.xml
@@ -0,0 +1,14 @@
+<?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">
+ <servlet>
+ <servlet-name>rest</servlet-name>
+ <servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>
+ <load-on-startup>1</load-on-startup>
+ </servlet>
+ <servlet-mapping>
+ <servlet-name>rest</servlet-name>
+ <url-pattern>/*</url-pattern>
+ </servlet-mapping>
+</web-app> \ No newline at end of file