File tree Expand file tree Collapse file tree 5 files changed +22
-33
lines changed
server-base/src/main/java/org/apache/kylin/rest/util Expand file tree Collapse file tree 5 files changed +22
-33
lines changed Original file line number Diff line number Diff line change 118118 <commons-pool .version>2.5.0</commons-pool .version>
119119
120120 <!-- Calcite deps, keep compatible with calcite.version -->
121- <jackson .version>2.6.7 </jackson .version>
121+ <jackson .version>2.10.0 </jackson .version>
122122
123123 <!-- Test Dependency versions -->
124124 <antlr .version>3.4</antlr .version>
164164 <dropwizard .version>3.1.2</dropwizard .version>
165165 <!-- REST Service, ref https://github.com/spring-projects/spring-boot/blob/v1.3.8.RELEASE/spring-boot-dependencies/pom.xml -->
166166 <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>
169169 <spring .framework.security.extensions.version>1.0.2.RELEASE</spring .framework.security.extensions.version>
170170 <opensaml .version>2.6.6</opensaml .version>
171171 <aspectj .version>1.8.9</aspectj .version>
Original file line number Diff line number Diff line change 1818
1919package org .apache .kylin .rest .util ;
2020
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 {
4922}
Original file line number Diff line number Diff line change 7474 </exclusions >
7575 </dependency >
7676
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+
7793 <dependency >
7894 <groupId >org.opensaml</groupId >
7995 <artifactId >opensaml</artifactId >
Original file line number Diff line number Diff line change 1919 xmlns : util =" http://www.springframework.org/schema/util" xsi : schemaLocation =" http://www.springframework.org/schema/beans
2020 http://www.springframework.org/schema/beans/spring-beans-4.3.xsd
2121 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
2323 http://www.springframework.org/schema/util
2424 http://www.springframework.org/schema/util/spring-util-4.3.xsd
2525 http://www.springframework.org/schema/context
Original file line number Diff line number Diff line change 3232 </parent >
3333
3434 <properties >
35- <spring .framework.version>4.3.10 .RELEASE</spring .framework.version>
35+ <spring .framework.version>5.2.22 .RELEASE</spring .framework.version>
3636 </properties >
3737
3838 <dependencies >
You can’t perform that action at this time.
0 commit comments