Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add liveliness API and support user define probe sql for DataSource check #150

Merged
merged 1 commit into from
May 7, 2022

Conversation

MichelZhan
Copy link
Collaborator

@MichelZhan MichelZhan commented Apr 25, 2022

增加 2 个健康检测接口:

GET /api/system/liveliness 服务是否存活,非200状态标识服务已挂
GET /api/system/readiness 服务是否可用,非200状态标识不可用

支持用户在定义外部数据源试,指定 探针sql,在接口参数的 parameter 字段传入 [{"name":"probeSQL", "value": "your sql"}....] 即可

@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

100.0% 100.0% Coverage
0.0% 0.0% Duplication

@chncaesar chncaesar merged commit 37ef463 into byzer-org:main May 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[feature]添加 K8S readiness & liveness probe Notebook 设置页面添加 Oracle JDBC 连接失败
3 participants