You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shenyu.apache.org by xi...@apache.org on 2022/12/19 06:07:25 UTC
[shenyu] branch master updated (b40664d4a -> a649de655)
This is an automated email from the ASF dual-hosted git repository.
xiaoyu pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/shenyu.git
from b40664d4a [type:refactor] added more test and fixed checkParam (#4275)
add a649de655 [Task] add sdk grpc examples (#3925) (#4248)
No new revisions were added by this update.
Summary of changes:
shenyu-examples/shenyu-examples-sdk/pom.xml | 1 +
.../pom.xml | 9 ++-
.../shenyu-examples-sdk-grpc-consumer}/Dockerfile | 2 +-
.../shenyu-examples-sdk-grpc-consumer}/pom.xml | 62 +++++++++--------
.../src/main/http/sdk-grpc-test-api.http} | 21 +++---
.../ShenyuSdkGrpcConsumerApplication.java} | 10 +--
.../sdk/grpc/consumer/api/ShenyuGrpcClientApi.java | 51 ++++++++++++++
.../ShenyuSdkGrpcConsumerController.java} | 52 +++++++--------
.../sdk/grpc/consumer/dto/EchoRequest.java | 28 ++++----
.../sdk/grpc/consumer/dto/EchoResponse.java} | 78 ++++++++++++----------
.../examples/sdk/grpc/consumer/dto/GrpcData.java | 26 +++++---
.../sdk/grpc/consumer/dto/HelloRequest.java | 28 ++++----
.../sdk/grpc/consumer/dto/HelloResponse.java | 26 ++++----
.../src/main/resources/application.yaml | 6 +-
.../shenyu-examples-sdk-grpc-provider}/Dockerfile | 2 +-
.../shenyu-examples-sdk-grpc-provider}/pom.xml | 22 +++---
.../ShenyuSdkGrpcProviderApplication.java} | 10 +--
.../src/main/resources/application.yml | 2 +-
18 files changed, 255 insertions(+), 181 deletions(-)
copy shenyu-examples/shenyu-examples-sdk/{shenyu-examples-sdk-springcloud => shenyu-examples-sdk-grpc}/pom.xml (86%)
copy shenyu-examples/shenyu-examples-sdk/{shenyu-examples-sdk-http => shenyu-examples-sdk-grpc/shenyu-examples-sdk-grpc-consumer}/Dockerfile (95%)
copy shenyu-examples/{shenyu-examples-websocket/shenyu-example-spring-reactive-websocket => shenyu-examples-sdk/shenyu-examples-sdk-grpc/shenyu-examples-sdk-grpc-consumer}/pom.xml (61%)
copy shenyu-examples/{shenyu-examples-https/src/main/http/https-test-api-local.http => shenyu-examples-sdk/shenyu-examples-sdk-grpc/shenyu-examples-sdk-grpc-consumer/src/main/http/sdk-grpc-test-api.http} (75%)
copy shenyu-examples/shenyu-examples-sdk/{shenyu-examples-sdk-http/src/main/java/org/apache/shenyu/examples/sdk/http/ShenyuSdkHttpExampleApplication.java => shenyu-examples-sdk-grpc/shenyu-examples-sdk-grpc-consumer/src/main/java/org/apache/shenyu/examples/sdk/grpc/consumer/ShenyuSdkGrpcConsumerApplication.java} (83%)
create mode 100644 shenyu-examples/shenyu-examples-sdk/shenyu-examples-sdk-grpc/shenyu-examples-sdk-grpc-consumer/src/main/java/org/apache/shenyu/examples/sdk/grpc/consumer/api/ShenyuGrpcClientApi.java
copy shenyu-examples/shenyu-examples-sdk/{shenyu-examples-sdk-http/src/main/java/org/apache/shenyu/examples/sdk/http/controller/ShenyuHttpSdkExampleController.java => shenyu-examples-sdk-grpc/shenyu-examples-sdk-grpc-consumer/src/main/java/org/apache/shenyu/examples/sdk/grpc/consumer/controller/ShenyuSdkGrpcConsumerController.java} (50%)
copy shenyu-disruptor/src/main/java/org/apache/shenyu/disruptor/event/DataEvent.java => shenyu-examples/shenyu-examples-sdk/shenyu-examples-sdk-grpc/shenyu-examples-sdk-grpc-consumer/src/main/java/org/apache/shenyu/examples/sdk/grpc/consumer/dto/EchoRequest.java (70%)
copy shenyu-examples/{shenyu-examples-springcloud/src/main/java/org/apache/shenyu/examples/springcloud/dto/EntityResult.java => shenyu-examples-sdk/shenyu-examples-sdk-grpc/shenyu-examples-sdk-grpc-consumer/src/main/java/org/apache/shenyu/examples/sdk/grpc/consumer/dto/EchoResponse.java} (61%)
copy shenyu-disruptor/src/main/java/org/apache/shenyu/disruptor/event/DataEvent.java => shenyu-examples/shenyu-examples-sdk/shenyu-examples-sdk-grpc/shenyu-examples-sdk-grpc-consumer/src/main/java/org/apache/shenyu/examples/sdk/grpc/consumer/dto/GrpcData.java (73%)
copy shenyu-disruptor/src/main/java/org/apache/shenyu/disruptor/event/DataEvent.java => shenyu-examples/shenyu-examples-sdk/shenyu-examples-sdk-grpc/shenyu-examples-sdk-grpc-consumer/src/main/java/org/apache/shenyu/examples/sdk/grpc/consumer/dto/HelloRequest.java (70%)
copy shenyu-disruptor/src/main/java/org/apache/shenyu/disruptor/event/DataEvent.java => shenyu-examples/shenyu-examples-sdk/shenyu-examples-sdk-grpc/shenyu-examples-sdk-grpc-consumer/src/main/java/org/apache/shenyu/examples/sdk/grpc/consumer/dto/HelloResponse.java (72%)
copy shenyu-examples/shenyu-examples-sdk/{shenyu-examples-sdk-springcloud/shenyu-examples-sdk-springcloud-consumer => shenyu-examples-sdk-grpc/shenyu-examples-sdk-grpc-consumer}/src/main/resources/application.yaml (90%)
copy shenyu-examples/shenyu-examples-sdk/{shenyu-examples-sdk-http => shenyu-examples-sdk-grpc/shenyu-examples-sdk-grpc-provider}/Dockerfile (95%)
copy {shenyu-spring-boot-starter/shenyu-spring-boot-starter-plugin/shenyu-spring-boot-starter-plugin-casdoor => shenyu-examples/shenyu-examples-sdk/shenyu-examples-sdk-grpc/shenyu-examples-sdk-grpc-provider}/pom.xml (77%)
copy shenyu-examples/{shenyu-examples-websocket/shenyu-example-spring-reactive-websocket/src/main/java/org/apache/shenyu/examples/websocket/TestReactiveWebsocketApplication.java => shenyu-examples-sdk/shenyu-examples-sdk-grpc/shenyu-examples-sdk-grpc-provider/src/main/java/org/apache/shenyu/examples/sdk/grpc/provider/ShenyuSdkGrpcProviderApplication.java} (77%)
copy shenyu-examples/{shenyu-examples-grpc => shenyu-examples-sdk/shenyu-examples-sdk-grpc/shenyu-examples-sdk-grpc-provider}/src/main/resources/application.yml (97%)