summaryrefslogtreecommitdiffstats
path: root/src/main/config/runner-web.xml
blob: a94cbe66ddc880682ed5a6838a6c967c6ea94206 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
     ============LICENSE_START=======================================================
     org.onap.dmaap
     ================================================================================
     Copyright � 2017 AT&T Intellectual Property. All rights reserved.
     ================================================================================
     Licensed under the Apache License, Version 2.0 (the "License");
     you may not use this file except in compliance with the License.
     You may obtain a copy of the License at
           http://www.apache.org/licenses/LICENSE-2.0
     
     Unless required by applicable law or agreed to in writing, software
     distributed under the License is distributed on an "AS IS" BASIS,
     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     See the License for the specific language governing permissions and
     limitations under the License.
     ============LICENSE_END=========================================================
   
     ECOMP is a trademark and service mark of AT&T Intellectual Property.
     
 -->

<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">

	<context-param>
		<param-name>contextConfigLocation</param-name>
		<param-value>/WEB-INF/spring-servlet.xml,
					classpath:applicationContext.xml
		</param-value>
  	</context-param>
  	
  	<context-param>
        <param-name>spring.profiles.default</param-name>
        <param-value>nooauth</param-value>
    </context-param>
    
	<listener>
		<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
	</listener>
	
	<servlet>
		<servlet-name>ManagementServlet</servlet-name>
		<servlet-class>ajsc.ManagementServlet</servlet-class>
	</servlet>

	<filter>
        <filter-name>WriteableRequestFilter</filter-name>
        <filter-class>com.att.ajsc.csi.writeablerequestfilter.WriteableRequestFilter</filter-class>
    </filter>
    
  	<filter> 
		<filter-name>InterceptorFilter</filter-name>
		<filter-class>ajsc.filters.InterceptorFilter</filter-class>
		<init-param>
                <param-name>preProcessor_interceptor_config_file</param-name>
                <param-value>/etc/PreProcessorInterceptors.properties</param-value>
        </init-param>
        <init-param>
                <param-name>postProcessor_interceptor_config_file</param-name>
                <param-value>/etc/PostProcessorInterceptors.properties</param-value>
        </init-param>
        
	</filter>
	
<!-- Content length filter for Msgrtr -->
	 <filter>
		<display-name>DMaaPAuthFilter</display-name>
		<filter-name>DMaaPAuthFilter</filter-name>
		<filter-class>com.att.nsa.dmaap.util.DMaaPAuthFilter</filter-class>
    <init-param>
        <param-name>cadi_prop_files</param-name>
<!-- 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 -->
<!-- old value   <param-name>prop_files</param-name>  -->
        <!--  Please, note: configuration files were located under the conf/ directory for 4.4.0 and lower versions
            of the ajsc. Beginning with the 4.5.1 Release version of the ajsc, these configuration files have ALL
            been moved to the etc/ directory to better utilize some SWM packaging functionality.  -->
        <!--  <param-value>conf/cadi.properties</param-value>  -->
       <!-- <param-value>etc/cadi.properties</param-value> -->
 <!--  <param-value>etc/cadi.properties </param-value>-->
	<param-value>/appl/dmaapMR1/etc/cadi.properties </param-value>
    </init-param>		
	</filter>  
	
	<!-- End Content length filter for Msgrtr -->
	 <servlet>
		<servlet-name>RestletServlet</servlet-name>
		<servlet-class>ajsc.restlet.RestletSpringServlet</servlet-class>
		<init-param>
				<param-name>org.restlet.component</param-name>
				<param-value>restletComponent</param-value>
		</init-param>
	</servlet>
	
	<servlet>
		<servlet-name>CamelServlet</servlet-name>
		<servlet-class>ajsc.servlet.AjscCamelServlet</servlet-class>
	</servlet>


	<filter>
		<filter-name>springSecurityFilterChain</filter-name>
		<filter-class>org.springframework.web.filter.DelegatingFilterProxy</filter-class>
	</filter>

	<servlet>
		<servlet-name>spring</servlet-name>
		<servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>
		<load-on-startup>1</load-on-startup>
	</servlet>	
	
	<servlet-mapping>
		<servlet-name>spring</servlet-name>
		<url-pattern>/</url-pattern>
	</servlet-mapping>

</web-app>