System health check API (renaming) #1524
seokho-son
started this conversation in
General
Replies: 2 comments
-
[정상 일때]
[비정상 일때:DB 호출 불가능]
[비정상 일때:서버 down]
|
Beta Was this translation helpful? Give feedback.
0 replies
-
CM-Beetle에 반영 하였습니다. CM-Beetle v0.1.1 부터 제공될 예정입니다. (참고) ubuntu@DESKTOP-L3ETGKI:~$ curl -v localhost:8056/beetle/readyz
* Trying 127.0.0.1:8056...
* Connected to localhost (127.0.0.1) port 8056 (#0)
> GET /beetle/readyz HTTP/1.1
> Host: localhost:8056
> User-Agent: curl/7.81.0
> Accept: */*
>
* Mark bundle as not supporting multiuse
< HTTP/1.1 200 OK
< Content-Type: application/json; charset=UTF-8
< Vary: Origin
< Date: Fri, 03 May 2024 04:25:47 GMT
< Content-Length: 33
<
{"message":"CM-Beetle is ready"}
* Connection #0 to host localhost left intact |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
개요
health
로 기능 제공)시스템 준비 상태 확인 API 사양 제안
readyz
GET
없음
{ "message": "your-message" }
200
503
(서비스 불가)Path 명명 사유
API 예시 (CB-Tumblebug)
https://cloud-barista.github.io/cb-tumblebug-api-web/?url=https://raw.githubusercontent.com/cloud-barista/cb-tumblebug/main/src/api/rest/docs/swagger.yaml#/%5BAdmin%5D%20System%20management/get_readyz
적용 방법 및 시점
Beta Was this translation helpful? Give feedback.
All reactions