chore: fix typo gprc -> grpc (#6035)
This commit is contained in:
parent
b9c5776cfd
commit
7b9cff4b73
|
|
@ -226,7 +226,7 @@ The following components are provided under the Apache License. See project link
|
|||
The text of each license is the standard Apache 2.0 license.
|
||||
|
||||
raphw (byte-buddy) 1.10.14: http://bytebuddy.net/ , Apache 2.0
|
||||
Google: gprc-java 1.32.1: https://github.com/grpc/grpc-java, Apache 2.0
|
||||
Google: grpc-java 1.32.1: https://github.com/grpc/grpc-java, Apache 2.0
|
||||
Google: guava 28.1: https://github.com/google/guava , Apache 2.0
|
||||
Google: guice 4.1.0: https://github.com/google/guice , Apache 2.0
|
||||
Google: gson 2.8.6: https://github.com/google/gson , Apache 2.0
|
||||
|
|
|
|||
|
|
@ -48,7 +48,7 @@ public class CaseController {
|
|||
|
||||
private static final String SUCCESS = "Success";
|
||||
|
||||
private final String gprcProviderHost = "127.0.0.1";
|
||||
private final String grpcProviderHost = "127.0.0.1";
|
||||
private final int grpcProviderPort = 18080;
|
||||
private ManagedChannel channel;
|
||||
private GreeterGrpc.GreeterStub greeterStub;
|
||||
|
|
@ -57,7 +57,7 @@ public class CaseController {
|
|||
|
||||
@PostConstruct
|
||||
public void up() {
|
||||
channel = ManagedChannelBuilder.forAddress(gprcProviderHost, grpcProviderPort).usePlaintext(true).build();
|
||||
channel = ManagedChannelBuilder.forAddress(grpcProviderHost, grpcProviderPort).usePlaintext(true).build();
|
||||
greeterStub = GreeterGrpc.newStub(ClientInterceptors.intercept(channel, new ConsumerInterceptor()));
|
||||
greeterBlockingStub = GreeterBlockingGrpc.newBlockingStub(ClientInterceptors.intercept(channel, new ConsumerInterceptor()));
|
||||
greeterBlockingErrorStub = GreeterBlockingErrorGrpc.newBlockingStub(ClientInterceptors.intercept(channel, new ConsumerInterceptor()));
|
||||
|
|
|
|||
|
|
@ -43,7 +43,7 @@ public class CaseController {
|
|||
|
||||
private static final String SUCCESS = "Success";
|
||||
|
||||
private final String gprcProviderHost = "127.0.0.1";
|
||||
private final String grpcProviderHost = "127.0.0.1";
|
||||
private final int grpcProviderPort = 18080;
|
||||
private ManagedChannel channel;
|
||||
private GreeterGrpc.GreeterStub greeterStub;
|
||||
|
|
@ -52,7 +52,7 @@ public class CaseController {
|
|||
|
||||
@PostConstruct
|
||||
public void up() {
|
||||
channel = ManagedChannelBuilder.forAddress(gprcProviderHost, grpcProviderPort).usePlaintext(true).build();
|
||||
channel = ManagedChannelBuilder.forAddress(grpcProviderHost, grpcProviderPort).usePlaintext(true).build();
|
||||
greeterStub = GreeterGrpc.newStub(ClientInterceptors.intercept(channel, new ConsumerInterceptor()));
|
||||
greeterBlockingStub = GreeterBlockingGrpc.newBlockingStub(ClientInterceptors.intercept(channel, new ConsumerInterceptor()));
|
||||
greeterBlockingErrorStub = GreeterBlockingErrorGrpc.newBlockingStub(ClientInterceptors.intercept(channel, new ConsumerInterceptor()));
|
||||
|
|
|
|||
Loading…
Reference in New Issue