a94cbe66ddc880682ed5a6838a6c967c6ea94206
[dmaap/messagerouter/messageservice.git] / src / main / config / runner-web.xml
1 <?xml version="1.0" encoding="ISO-8859-1"?>
2 <!--
3      ============LICENSE_START=======================================================
4      org.onap.dmaap
5      ================================================================================
6      Copyright © 2017 AT&T Intellectual Property. All rights reserved.
7      ================================================================================
8      Licensed under the Apache License, Version 2.0 (the "License");
9      you may not use this file except in compliance with the License.
10      You may obtain a copy of the License at
11            http://www.apache.org/licenses/LICENSE-2.0
12      
13      Unless required by applicable law or agreed to in writing, software
14      distributed under the License is distributed on an "AS IS" BASIS,
15      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16      See the License for the specific language governing permissions and
17      limitations under the License.
18      ============LICENSE_END=========================================================
19    
20      ECOMP is a trademark and service mark of AT&T Intellectual Property.
21      
22  -->
23
24 <web-app xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
25         xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"
26         metadata-complete="false" version="3.0">
27
28         <context-param>
29                 <param-name>contextConfigLocation</param-name>
30                 <param-value>/WEB-INF/spring-servlet.xml,
31                                         classpath:applicationContext.xml
32                 </param-value>
33         </context-param>
34         
35         <context-param>
36         <param-name>spring.profiles.default</param-name>
37         <param-value>nooauth</param-value>
38     </context-param>
39     
40         <listener>
41                 <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
42         </listener>
43         
44         <servlet>
45                 <servlet-name>ManagementServlet</servlet-name>
46                 <servlet-class>ajsc.ManagementServlet</servlet-class>
47         </servlet>
48
49         <filter>
50         <filter-name>WriteableRequestFilter</filter-name>
51         <filter-class>com.att.ajsc.csi.writeablerequestfilter.WriteableRequestFilter</filter-class>
52     </filter>
53     
54         <filter> 
55                 <filter-name>InterceptorFilter</filter-name>
56                 <filter-class>ajsc.filters.InterceptorFilter</filter-class>
57                 <init-param>
58                 <param-name>preProcessor_interceptor_config_file</param-name>
59                 <param-value>/etc/PreProcessorInterceptors.properties</param-value>
60         </init-param>
61         <init-param>
62                 <param-name>postProcessor_interceptor_config_file</param-name>
63                 <param-value>/etc/PostProcessorInterceptors.properties</param-value>
64         </init-param>
65         
66         </filter>
67         
68 <!-- Content length filter for Msgrtr -->
69          <filter>
70                 <display-name>DMaaPAuthFilter</display-name>
71                 <filter-name>DMaaPAuthFilter</filter-name>
72                 <filter-class>com.att.nsa.dmaap.util.DMaaPAuthFilter</filter-class>
73     <init-param>
74         <param-name>cadi_prop_files</param-name>
75 <!-- param-name was changed from prop_files to cadi_prop_files in 1.1.1, so please use "cadi_prop_files" for param-name moving forward -->
76 <!-- old value   <param-name>prop_files</param-name>  -->
77         <!--  Please, note: configuration files were located under the conf/ directory for 4.4.0 and lower versions
78             of the ajsc. Beginning with the 4.5.1 Release version of the ajsc, these configuration files have ALL
79             been moved to the etc/ directory to better utilize some SWM packaging functionality.  -->
80         <!--  <param-value>conf/cadi.properties</param-value>  -->
81        <!-- <param-value>etc/cadi.properties</param-value> -->
82  <!--  <param-value>etc/cadi.properties </param-value>-->
83         <param-value>/appl/dmaapMR1/etc/cadi.properties </param-value>
84     </init-param>               
85         </filter>  
86         
87         <!-- End Content length filter for Msgrtr -->
88          <servlet>
89                 <servlet-name>RestletServlet</servlet-name>
90                 <servlet-class>ajsc.restlet.RestletSpringServlet</servlet-class>
91                 <init-param>
92                                 <param-name>org.restlet.component</param-name>
93                                 <param-value>restletComponent</param-value>
94                 </init-param>
95         </servlet>
96         
97         <servlet>
98                 <servlet-name>CamelServlet</servlet-name>
99                 <servlet-class>ajsc.servlet.AjscCamelServlet</servlet-class>
100         </servlet>
101
102
103         <filter>
104                 <filter-name>springSecurityFilterChain</filter-name>
105                 <filter-class>org.springframework.web.filter.DelegatingFilterProxy</filter-class>
106         </filter>
107
108         <servlet>
109                 <servlet-name>spring</servlet-name>
110                 <servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>
111                 <load-on-startup>1</load-on-startup>
112         </servlet>      
113         
114         <servlet-mapping>
115                 <servlet-name>spring</servlet-name>
116                 <url-pattern>/</url-pattern>
117         </servlet-mapping>
118
119 </web-app>