未验证 提交 7b9cff4b 编写于 作者: Z Zhenxu Ke 提交者: GitHub

chore: fix typo gprc -> grpc (#6035)

上级 b9c5776c
...@@ -226,7 +226,7 @@ The following components are provided under the Apache License. See project link ...@@ -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. The text of each license is the standard Apache 2.0 license.
raphw (byte-buddy) 1.10.14: http://bytebuddy.net/ , Apache 2.0 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: 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: 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 Google: gson 2.8.6: https://github.com/google/gson , Apache 2.0
......
...@@ -48,7 +48,7 @@ public class CaseController { ...@@ -48,7 +48,7 @@ public class CaseController {
private static final String SUCCESS = "Success"; 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 final int grpcProviderPort = 18080;
private ManagedChannel channel; private ManagedChannel channel;
private GreeterGrpc.GreeterStub greeterStub; private GreeterGrpc.GreeterStub greeterStub;
...@@ -57,7 +57,7 @@ public class CaseController { ...@@ -57,7 +57,7 @@ public class CaseController {
@PostConstruct @PostConstruct
public void up() { 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())); greeterStub = GreeterGrpc.newStub(ClientInterceptors.intercept(channel, new ConsumerInterceptor()));
greeterBlockingStub = GreeterBlockingGrpc.newBlockingStub(ClientInterceptors.intercept(channel, new ConsumerInterceptor())); greeterBlockingStub = GreeterBlockingGrpc.newBlockingStub(ClientInterceptors.intercept(channel, new ConsumerInterceptor()));
greeterBlockingErrorStub = GreeterBlockingErrorGrpc.newBlockingStub(ClientInterceptors.intercept(channel, new ConsumerInterceptor())); greeterBlockingErrorStub = GreeterBlockingErrorGrpc.newBlockingStub(ClientInterceptors.intercept(channel, new ConsumerInterceptor()));
......
...@@ -43,7 +43,7 @@ public class CaseController { ...@@ -43,7 +43,7 @@ public class CaseController {
private static final String SUCCESS = "Success"; 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 final int grpcProviderPort = 18080;
private ManagedChannel channel; private ManagedChannel channel;
private GreeterGrpc.GreeterStub greeterStub; private GreeterGrpc.GreeterStub greeterStub;
...@@ -52,7 +52,7 @@ public class CaseController { ...@@ -52,7 +52,7 @@ public class CaseController {
@PostConstruct @PostConstruct
public void up() { 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())); greeterStub = GreeterGrpc.newStub(ClientInterceptors.intercept(channel, new ConsumerInterceptor()));
greeterBlockingStub = GreeterBlockingGrpc.newBlockingStub(ClientInterceptors.intercept(channel, new ConsumerInterceptor())); greeterBlockingStub = GreeterBlockingGrpc.newBlockingStub(ClientInterceptors.intercept(channel, new ConsumerInterceptor()));
greeterBlockingErrorStub = GreeterBlockingErrorGrpc.newBlockingStub(ClientInterceptors.intercept(channel, new ConsumerInterceptor())); greeterBlockingErrorStub = GreeterBlockingErrorGrpc.newBlockingStub(ClientInterceptors.intercept(channel, new ConsumerInterceptor()));
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册