File tree 5 files changed +22
-33
lines changed
server-base/src/main/java/org/apache/kylin/rest/util
5 files changed +22
-33
lines changed Original file line number Diff line number Diff line change 118
118
<commons-pool .version>2.5.0</commons-pool .version>
119
119
120
120
<!-- Calcite deps, keep compatible with calcite.version -->
121
- <jackson .version>2.6.7 </jackson .version>
121
+ <jackson .version>2.10.0 </jackson .version>
122
122
123
123
<!-- Test Dependency versions -->
124
124
<antlr .version>3.4</antlr .version>
164
164
<dropwizard .version>3.1.2</dropwizard .version>
165
165
<!-- REST Service, ref https://github.com/spring-projects/spring-boot/blob/v1.3.8.RELEASE/spring-boot-dependencies/pom.xml -->
166
166
<spring .boot.version>1.3.8.RELEASE</spring .boot.version>
167
- <spring .framework.version>4.3.26 .RELEASE</spring .framework.version>
168
- <spring .framework.security.version>4.2.3.RELEASE </spring .framework.security.version>
167
+ <spring .framework.version>5.2.22 .RELEASE</spring .framework.version>
168
+ <spring .framework.security.version>5.5.7 </spring .framework.security.version>
169
169
<spring .framework.security.extensions.version>1.0.2.RELEASE</spring .framework.security.extensions.version>
170
170
<opensaml .version>2.6.6</opensaml .version>
171
171
<aspectj .version>1.8.9</aspectj .version>
Original file line number Diff line number Diff line change 18
18
19
19
package org .apache .kylin .rest .util ;
20
20
21
- import javax .servlet .ServletContextEvent ;
22
-
23
- import org .apache .kylin .common .KylinConfig ;
24
-
25
- public class Log4jConfigListener extends org .springframework .web .util .Log4jConfigListener {
26
-
27
- private boolean isDebugTomcat ;
28
-
29
- public Log4jConfigListener () {
30
- this .isDebugTomcat = KylinConfig .getInstanceFromEnv ().isDevEnv ();
31
- }
32
-
33
- @ Override
34
- public void contextInitialized (ServletContextEvent event ) {
35
- if (!isDebugTomcat ) {
36
- super .contextInitialized (event );
37
- }
38
- System .setProperty ("needCheckCC" , "true" );
39
-
40
- }
41
-
42
- @ Override
43
- public void contextDestroyed (ServletContextEvent event ) {
44
- if (!isDebugTomcat ) {
45
- super .contextDestroyed (event );
46
- }
47
- }
48
-
21
+ public class Log4jConfigListener {
49
22
}
Original file line number Diff line number Diff line change 74
74
</exclusions >
75
75
</dependency >
76
76
77
+ <dependency >
78
+ <groupId >com.fasterxml.jackson.core</groupId >
79
+ <artifactId >jackson-core</artifactId >
80
+ <scope >compile</scope >
81
+ </dependency >
82
+ <dependency >
83
+ <groupId >com.fasterxml.jackson.core</groupId >
84
+ <artifactId >jackson-databind</artifactId >
85
+ <scope >compile</scope >
86
+ </dependency >
87
+ <dependency >
88
+ <groupId >com.fasterxml.jackson.core</groupId >
89
+ <artifactId >jackson-annotations</artifactId >
90
+ <scope >compile</scope >
91
+ </dependency >
92
+
77
93
<dependency >
78
94
<groupId >org.opensaml</groupId >
79
95
<artifactId >opensaml</artifactId >
Original file line number Diff line number Diff line change 19
19
xmlns : util =" http://www.springframework.org/schema/util" xsi : schemaLocation =" http://www.springframework.org/schema/beans
20
20
http://www.springframework.org/schema/beans/spring-beans-4.3.xsd
21
21
http://www.springframework.org/schema/security
22
- http ://www.springframework.org/schema/security/spring-security-4.2 .xsd
22
+ https ://www.springframework.org/schema/security/spring-security-5.5 .xsd
23
23
http://www.springframework.org/schema/util
24
24
http://www.springframework.org/schema/util/spring-util-4.3.xsd
25
25
http://www.springframework.org/schema/context
Original file line number Diff line number Diff line change 32
32
</parent >
33
33
34
34
<properties >
35
- <spring .framework.version>4.3.10 .RELEASE</spring .framework.version>
35
+ <spring .framework.version>5.2.22 .RELEASE</spring .framework.version>
36
36
</properties >
37
37
38
38
<dependencies >
You can’t perform that action at this time.
0 commit comments