dashboard: Update Spring Boot starter to 2.2.13.RELEASE
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
This commit is contained in:
parent
3cd8970e07
commit
d706ce5767
|
|
@ -14,7 +14,7 @@
|
|||
|
||||
<properties>
|
||||
<resource.delimiter>@</resource.delimiter>
|
||||
<spring.boot.version>2.0.5.RELEASE</spring.boot.version>
|
||||
<spring.boot.version>2.2.13.RELEASE</spring.boot.version>
|
||||
<curator.version>4.0.1</curator.version>
|
||||
</properties>
|
||||
|
||||
|
|
@ -63,7 +63,7 @@
|
|||
<dependency>
|
||||
<groupId>log4j</groupId>
|
||||
<artifactId>log4j</artifactId>
|
||||
<version>1.2.14</version>
|
||||
<version>1.2.17</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
|
|
|
|||
|
|
@ -20,6 +20,7 @@ import com.alibaba.csp.sentinel.dashboard.auth.FakeAuthServiceImpl;
|
|||
import org.springframework.boot.test.context.TestConfiguration;
|
||||
import org.springframework.context.annotation.Bean;
|
||||
import org.springframework.context.annotation.Import;
|
||||
import org.springframework.context.annotation.Primary;
|
||||
|
||||
import javax.servlet.http.HttpServletRequest;
|
||||
|
||||
|
|
@ -33,7 +34,8 @@ import javax.servlet.http.HttpServletRequest;
|
|||
public class NoAuthConfigurationTest {
|
||||
|
||||
@Bean
|
||||
public AuthService<HttpServletRequest> httpServletRequestAuthService() {
|
||||
@Primary
|
||||
public AuthService<HttpServletRequest> httpServletRequestNoopAuthService() {
|
||||
return new FakeAuthServiceImpl();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue