File tree Expand file tree Collapse file tree 6 files changed +9
-9
lines changed
src/main/java/net/devh/boot/grpc/common/autoconfigure
grpc-server-spring-boot-autoconfigure/src/main/java/net/devh/boot/grpc/server/autoconfigure Expand file tree Collapse file tree 6 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -18,9 +18,9 @@ buildscript {
18
18
protobufGradlePluginVersion = ' 0.8.12'
19
19
20
20
// https://github.com/spring-projects/spring-boot/releases
21
- springBootVersion = ' 2.3.8.RELEASE '
21
+ springBootVersion = ' 2.4.3 '
22
22
// https://github.com/spring-cloud/spring-cloud-release/releases
23
- springCloudVersion = ' Hoxton.SR9 '
23
+ springCloudVersion = ' 2020.0.1 '
24
24
// https://github.com/alibaba/spring-cloud-alibaba/releases
25
25
springCloudAlibabaNacosVersion = ' 2.2.3.RELEASE'
26
26
// https://github.com/spring-projects/spring-security-oauth/releases
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ dependencies {
6
6
implementation ' org.springframework.boot:spring-boot-starter-web'
7
7
implementation ' org.springframework.cloud:spring-cloud-starter-netflix-eureka-client'
8
8
implementation ' org.springframework.boot:spring-boot-starter-actuator'
9
- implementation ' org.springframework.cloud:spring-cloud-starter -zipkin'
9
+ implementation ' org.springframework.cloud:spring-cloud-sleuth -zipkin'
10
10
implementation ' io.zipkin.brave:brave-instrumentation-grpc'
11
11
implementation project(' :grpc-client-spring-boot-starter' ) // replace to implementation("net.devh:grpc-client-spring-boot-starter:${springBootGrpcVersion}")
12
12
implementation project(' :examples:grpc-lib' )
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ dependencies {
6
6
implementation ' org.springframework.boot:spring-boot-starter-web'
7
7
implementation ' org.springframework.cloud:spring-cloud-starter-netflix-eureka-client'
8
8
implementation ' org.springframework.boot:spring-boot-starter-actuator'
9
- implementation ' org.springframework.cloud:spring-cloud-starter -zipkin'
9
+ implementation ' org.springframework.cloud:spring-cloud-sleuth -zipkin'
10
10
implementation ' io.zipkin.brave:brave-instrumentation-grpc'
11
11
implementation project(' :grpc-server-spring-boot-starter' ) // replace to implementation "net.devh:grpc-server-spring-boot-starter:${springBootGrpcVersion}"
12
12
implementation project(' :examples:grpc-lib' )
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ dependencies {
15
15
api(' org.springframework.boot:spring-boot-starter' )
16
16
optionalSupportImplementation(' org.springframework.boot:spring-boot-starter-actuator' )
17
17
api(' io.grpc:grpc-core' )
18
- optionalSupportImplementation(' com.google.guava:guava' )
18
+ optionalSupportImplementation(' com.google.guava:guava:30.1-jre ' )
19
19
20
20
optionalSupportImplementation(' org.springframework.cloud:spring-cloud-starter-sleuth' )
21
21
optionalSupportImplementation(' io.zipkin.brave:brave-instrumentation-grpc' )
Original file line number Diff line number Diff line change 21
21
import org .springframework .boot .autoconfigure .condition .ConditionalOnClass ;
22
22
import org .springframework .boot .autoconfigure .condition .ConditionalOnMissingBean ;
23
23
import org .springframework .boot .autoconfigure .condition .ConditionalOnProperty ;
24
- import org .springframework .cloud .sleuth .autoconfig .TraceAutoConfiguration ;
24
+ import org .springframework .cloud .sleuth .autoconfig .brave . BraveAutoConfiguration ;
25
25
import org .springframework .context .annotation .Bean ;
26
26
import org .springframework .context .annotation .Configuration ;
27
27
30
30
31
31
@ Configuration (proxyBeanMethods = false )
32
32
@ ConditionalOnProperty (value = "spring.sleuth.grpc.enabled" , matchIfMissing = true )
33
- @ AutoConfigureAfter (TraceAutoConfiguration .class )
33
+ @ AutoConfigureAfter (BraveAutoConfiguration .class )
34
34
@ ConditionalOnClass (value = {Tracing .class , GrpcTracing .class })
35
35
public class GrpcCommonTraceAutoConfiguration {
36
36
Original file line number Diff line number Diff line change 20
20
import org .springframework .boot .autoconfigure .AutoConfigureAfter ;
21
21
import org .springframework .boot .autoconfigure .condition .ConditionalOnBean ;
22
22
import org .springframework .boot .autoconfigure .condition .ConditionalOnMissingBean ;
23
- import org .springframework .boot .autoconfigure .security .servlet .WebSecurityEnablerConfiguration ;
23
+ import org .springframework .boot .autoconfigure .security .servlet .SecurityAutoConfiguration ;
24
24
import org .springframework .context .annotation .Bean ;
25
25
import org .springframework .context .annotation .Configuration ;
26
26
import org .springframework .security .access .AccessDecisionManager ;
61
61
*/
62
62
@ Configuration (proxyBeanMethods = false )
63
63
@ ConditionalOnBean (AuthenticationManager .class )
64
- @ AutoConfigureAfter (WebSecurityEnablerConfiguration .class )
64
+ @ AutoConfigureAfter (SecurityAutoConfiguration .class )
65
65
public class GrpcServerSecurityAutoConfiguration {
66
66
67
67
/**
You can’t perform that action at this time.
0 commit comments