Merge "[DMAAP] DMaaP ServiceMesh compatibility"
[oom.git] / kubernetes / dmaap / components / message-router / resources / config / etc / runner-web.xml
1 <?xml version="1.0" encoding="ISO-8859-1"?>
2 <!--{{/*
3     ============LICENSE_START=======================================================
4     org.onap.dmaap
5     ================================================================================
6     Copyright c 2017 AT&T Intellectual Property. All rights reserved.
7     Copyright c 2021 Orange Intellectual Property. All rights reserved.
8     ================================================================================
9     Licensed under the Apache License, Version 2.0 (the "License");
10     you may not use this file except in compliance with the License.
11     You may obtain a copy of the License at
12           http://www.apache.org/licenses/LICENSE-2.0
13
14     Unless required by applicable law or agreed to in writing, software
15     distributed under the License is distributed on an "AS IS" BASIS,
16     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17     See the License for the specific language governing permissions and
18     limitations under the License.
19     ============LICENSE_END=========================================================
20
21     ECOMP is a trademark and service mark of AT&T Intellectual Property.*/}}
22 -->
23 <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" metadata-complete="false" version="3.0">
24
25   <context-param>
26     <param-name>contextConfigLocation</param-name>
27     <param-value>/WEB-INF/spring-servlet.xml,
28           classpath:applicationContext.xml
29 </param-value>
30   </context-param>
31
32   <context-param>
33     <param-name>spring.profiles.default</param-name>
34     <param-value>nooauth</param-value>
35   </context-param>
36
37   <listener>
38     <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
39   </listener>
40
41   <servlet>
42     <servlet-name>ManagementServlet</servlet-name>
43     <servlet-class>ajsc.ManagementServlet</servlet-class>
44   </servlet>
45
46   <filter>
47     <filter-name>WriteableRequestFilter</filter-name>
48     <filter-class>com.att.ajsc.csi.writeablerequestfilter.WriteableRequestFilter</filter-class>
49   </filter>
50
51   <filter>
52     <filter-name>InterceptorFilter</filter-name>
53     <filter-class>ajsc.filters.InterceptorFilter</filter-class>
54     <init-param>
55       <param-name>preProcessor_interceptor_config_file</param-name>
56       <param-value>/etc/PreProcessorInterceptors.properties</param-value>
57     </init-param>
58     <init-param>
59       <param-name>postProcessor_interceptor_config_file</param-name>
60       <param-value>/etc/PostProcessorInterceptors.properties</param-value>
61     </init-param>
62
63   </filter>
64
65   <!-- Content length filter for Msgrtr -->
66   <filter>
67     <display-name>DMaaPAuthFilter</display-name>
68     <filter-name>DMaaPAuthFilter</filter-name>
69     <filter-class>org.onap.dmaap.util.DMaaPAuthFilter</filter-class>
70     <init-param>
71       <param-name>cadi_prop_files</param-name>
72       <param-value>{{.Values.certInitializer.appMountPath}}/local/cadi.properties</param-value>
73     </init-param>
74   </filter>
75
76   <!-- End Content length filter for Msgrtr -->
77   <servlet>
78     <servlet-name>RestletServlet</servlet-name>
79     <servlet-class>ajsc.restlet.RestletSpringServlet</servlet-class>
80     <init-param>
81       <param-name>org.restlet.component</param-name>
82       <param-value>restletComponent</param-value>
83     </init-param>
84   </servlet>
85
86   <servlet>
87     <servlet-name>CamelServlet</servlet-name>
88     <servlet-class>ajsc.servlet.AjscCamelServlet</servlet-class>
89   </servlet>
90
91
92   <filter>
93     <filter-name>springSecurityFilterChain</filter-name>
94     <filter-class>org.springframework.web.filter.DelegatingFilterProxy</filter-class>
95   </filter>
96
97   <servlet>
98     <servlet-name>spring</servlet-name>
99     <servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>
100     <load-on-startup>1</load-on-startup>
101   </servlet>
102
103   <servlet-mapping>
104     <servlet-name>spring</servlet-name>
105     <url-pattern>/</url-pattern>
106   </servlet-mapping>
107
108 </web-app>