opensergo-java-sdk icon indicating copy to clipboard operation
opensergo-java-sdk copied to clipboard

OpenSergo Java SDK

Results 17 opensergo-java-sdk issues
Sort by recently updated
recently updated
newest added

### Describe what this PR does / why we need it ### Does this pull request fix one issue? ### Describe how you did it ### Describe how to verify...

area/ci

Signed-off-by: Jiangnan Jia ### Describe what this PR does / why we need it Add condition ckeck for OpenSergoClient.Builder.build()

kind/enhancement

## 问题描述 部署`opensergo-control-plane`到K8S后 , 客户端连接成功,也成功加载了并生效了相关配置,超过`Deadline`限定时间(`OpenSergoClient`默认10S)后自动断开 Spring Boot 2.5.12,opensergo-java-sdk 0.1.0,Sentinel 2.0.0-alpha,opensergo-control-plane [基于main分支最新代码部署](https://github.com/opensergo/opensergo-control-plane) ## 问题验证 通过 [sentinel-demo-opensergo-datasource](https://github.com/alibaba/Sentinel/blob/master/sentinel-demo/sentinel-demo-opensergo-datasource) 进行验证 启动客户端后连接正常(`opensergo-control-plane`可以看到客户端的连接的日志),且可以正确的获取到`opensergo-control-plane`中相关CRD配置,通过请求接口验证限流规则也正确的被加载,但是gRPC连接会自动断开,本地启动客户端或者在集群中使用域名`opensergo-control-plane.opensergo-system.svc.cluster.local`连接都有一样的问题。 ```java 2023-03-16 14:30:46.714 ERROR 22976 --- [ault-executor-2] openSergoLogger : Fatal error occurred on...

Add configuration support for OpenSergoClient so that users could configure TLS, retry, timeout and others. --- `OpenSergoClient` 支持自定义配置(如 TLS、重试配置、超时配置等)。API 范式可以是普通的带 config 构造的方式,也可以是 builder 方式 (OpenSergoClientBuilder)。

kind/feature
area/configuration

Add unit tests for the transport module (gRPC client and observer workflow). 新增连接通信流程的单测 (gRPC client and observer)

good first issue
area/test

Add unit test cases for Java SDK. - [ ] Transport procedure https://github.com/opensergo/opensergo-java-sdk/issues/23 - [ ] Data cache and version mechanism - [ ] Observer mechanism

area/test

## Issue Description Type: *feature request* ### Describe what happened (or what feature you want) Add CI workflow for JDK 17.

good first issue
area/ci