summaryrefslogtreecommitdiffstats
path: root/services/activity-spec/activity-spec-web/activity-spec-war/src/main/webapp
diff options
context:
space:
mode:
Diffstat (limited to 'services/activity-spec/activity-spec-web/activity-spec-war/src/main/webapp')
-rw-r--r--services/activity-spec/activity-spec-web/activity-spec-war/src/main/webapp/WEB-INF/beans-services.xml49
-rw-r--r--services/activity-spec/activity-spec-web/activity-spec-war/src/main/webapp/WEB-INF/jetty-web.xml8
-rw-r--r--services/activity-spec/activity-spec-web/activity-spec-war/src/main/webapp/WEB-INF/spring-mapper-servlet.xml13
-rw-r--r--services/activity-spec/activity-spec-web/activity-spec-war/src/main/webapp/WEB-INF/web.xml67
4 files changed, 0 insertions, 137 deletions
diff --git a/services/activity-spec/activity-spec-web/activity-spec-war/src/main/webapp/WEB-INF/beans-services.xml b/services/activity-spec/activity-spec-web/activity-spec-war/src/main/webapp/WEB-INF/beans-services.xml
deleted file mode 100644
index 245f3b8fdd..0000000000
--- a/services/activity-spec/activity-spec-web/activity-spec-war/src/main/webapp/WEB-INF/beans-services.xml
+++ /dev/null
@@ -1,49 +0,0 @@
-<?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:jaxrs="http://cxf.apache.org/jaxrs"
- xsi:schemaLocation="http://www.springframework.org/schema/beans
- http://www.springframework.org/schema/beans/spring-beans.xsd
- http://cxf.apache.org/jaxrs http://cxf.apache.org/schemas/jaxrs.xsd">
-
-
- <import resource="classpath:META-INF/cxf/cxf.xml"/>
- <import resource="classpath:META-INF/cxf/cxf-servlet.xml"/>
-
- <!-- Needed for JSR-303 validations. May be removed when moving to JAX-RS 2.0 -->
- <bean class="org.springframework.validation.beanvalidation.MethodValidationPostProcessor"/>
-
- <bean id="jacksonObjectMapper" class="org.codehaus.jackson.map.ObjectMapper">
- <property name="serializationInclusion" value="NON_NULL"/>
- </bean>
-
- <bean id="jsonProvider" class="org.codehaus.jackson.jaxrs.JacksonJsonProvider">
- <property name="mapper" ref="jacksonObjectMapper"/>
- </bean>
-
- <!-- ASDC -->
-
- <!-- aspect beans -->
- <bean id = "activitySpecs"
- class="org.onap.sdc.activityspec.api.rest.services.ActivitySpecsImpl"/>
-
- <!-- RESTful Services -->
- <jaxrs:server id="restContainer" address="/">
-
- <jaxrs:serviceBeans>
- <ref bean="activitySpecs"/>
- </jaxrs:serviceBeans>
-
- <jaxrs:providers>
- <ref bean="jsonProvider"/>
- <bean class="org.onap.sdc.activityspec.errors.DefaultExceptionMapper"/>
- <bean class="org.openecomp.sdc.logging.servlet.jaxrs.LoggingRequestFilter">
- <property name="requestIdHeaders" value="X-ECOMP-RequestID,X-ONAP-RequestID"/>
- <property name="partnerNameHeaders" value="USER_ID"/>
- </bean>
- <bean class="org.openecomp.sdc.logging.servlet.jaxrs.LoggingResponseFilter"/>
- </jaxrs:providers>
-
- </jaxrs:server>
-
-</beans> \ No newline at end of file
diff --git a/services/activity-spec/activity-spec-web/activity-spec-war/src/main/webapp/WEB-INF/jetty-web.xml b/services/activity-spec/activity-spec-web/activity-spec-war/src/main/webapp/WEB-INF/jetty-web.xml
deleted file mode 100644
index aa9afe9f7e..0000000000
--- a/services/activity-spec/activity-spec-web/activity-spec-war/src/main/webapp/WEB-INF/jetty-web.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-<?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">/activity-spec-api</Set>
-</Configure>
diff --git a/services/activity-spec/activity-spec-web/activity-spec-war/src/main/webapp/WEB-INF/spring-mapper-servlet.xml b/services/activity-spec/activity-spec-web/activity-spec-war/src/main/webapp/WEB-INF/spring-mapper-servlet.xml
deleted file mode 100644
index 5a32dd432a..0000000000
--- a/services/activity-spec/activity-spec-web/activity-spec-war/src/main/webapp/WEB-INF/spring-mapper-servlet.xml
+++ /dev/null
@@ -1,13 +0,0 @@
-<beans xmlns="http://www.springframework.org/schema/beans"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://www.springframework.org/schema/beans
- http://www.springframework.org/schema/beans/spring-beans.xsd">
-
-
- <bean class="org.springframework.web.servlet.handler.SimpleUrlHandlerMapping">
- <property name="mappings">
- <props/>
- </property>
- </bean>
-
-</beans> \ No newline at end of file
diff --git a/services/activity-spec/activity-spec-web/activity-spec-war/src/main/webapp/WEB-INF/web.xml b/services/activity-spec/activity-spec-web/activity-spec-war/src/main/webapp/WEB-INF/web.xml
deleted file mode 100644
index 229ef9fd4a..0000000000
--- a/services/activity-spec/activity-spec-web/activity-spec-war/src/main/webapp/WEB-INF/web.xml
+++ /dev/null
@@ -1,67 +0,0 @@
-<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">
-
-
- <!-- Spring -->
- <context-param>
- <param-name>contextConfigLocation</param-name>
- <param-value>WEB-INF/beans-services.xml</param-value>
- </context-param>
-
- <listener>
- <listener-class>org.onap.sdc.activityspec.api.server.listeners.ActivitySpecAppStartupListener</listener-class>
- </listener>
-
- <filter>
- <filter-name>SessionContextFilter</filter-name>
- <filter-class>org.onap.sdc.activityspec.api.server.filters.ActivitySpecSessionContextFilter</filter-class>
- </filter>
- <filter-mapping>
- <filter-name>SessionContextFilter</filter-name>
- <url-pattern>/*</url-pattern>
- </filter-mapping>
- <!-- Spring WS Mapping -->
- <servlet>
- <servlet-name>spring-mapper</servlet-name>
- <servlet-class>
- org.springframework.web.servlet.DispatcherServlet
- </servlet-class>
- <load-on-startup>1</load-on-startup>
- </servlet>
- <!-- CXF -->
- <servlet>
- <servlet-name>CXFServlet</servlet-name>
- <display-name>CXF Servlet</display-name>
- <servlet-class>
- org.apache.cxf.transport.servlet.CXFServlet
- </servlet-class>
- <init-param>
- <param-name>redirects-list</param-name>
- <param-value>
- /docs/(\S)+\.json
- </param-value>
- </init-param>
- <init-param>
- <param-name>redirect-attributes</param-name>
- <param-value>
- javax.servlet.include.request_uri
- </param-value>
- </init-param>
- <init-param>
- <param-name>redirect-servlet-name</param-name>
- <param-value>default</param-value>
- </init-param>
- <load-on-startup>1</load-on-startup>
- </servlet>
- <servlet-mapping>
- <servlet-name>spring-mapper</servlet-name>
- <url-pattern>/ws/*</url-pattern>
- </servlet-mapping>
- <servlet-mapping>
- <servlet-name>CXFServlet</servlet-name>
- <url-pattern>/*</url-pattern>
- </servlet-mapping>
-</web-app>