Rename client annotations
This commit is contained in:
@@ -21,7 +21,6 @@ import org.springframework.experimental.boot.server.exec.MavenClasspathEntry;
|
||||
import org.springframework.experimental.boot.test.context.EnableDynamicProperty;
|
||||
import org.springframework.experimental.boot.test.context.OAuth2ClientProviderIssuerUri;
|
||||
import org.springframework.grpc.client.ChannelBuilderOptions;
|
||||
import org.springframework.grpc.client.EnableGrpcClients;
|
||||
import org.springframework.grpc.client.GrpcClient;
|
||||
import org.springframework.grpc.client.GrpcClientRegistryCustomizer;
|
||||
import org.springframework.grpc.client.interceptor.security.BearerTokenAuthenticationInterceptor;
|
||||
@@ -114,8 +113,8 @@ public class GrpcServerApplicationTests {
|
||||
|
||||
@TestConfiguration(proxyBeanMethods = false)
|
||||
@EnableDynamicProperty
|
||||
@EnableGrpcClients(@GrpcClient(target = "stub",
|
||||
types = { SimpleGrpc.SimpleBlockingStub.class, ServerReflectionGrpc.ServerReflectionStub.class }))
|
||||
@GrpcClient(target = "stub",
|
||||
types = { SimpleGrpc.SimpleBlockingStub.class, ServerReflectionGrpc.ServerReflectionStub.class })
|
||||
static class ExtraConfiguration {
|
||||
|
||||
private String token;
|
||||
|
||||
Reference in New Issue
Block a user