AbsaOSS / AbsaOSS/spline

Admin CLI :: Add "db-info" command

Đang mở
#1,371 0 bình luận 0 reaction 1 người được giao Được @wajda nhận Xem trên GitHub
component: Admin CLI
Ngôn ngữ chính
Scala
Star
667
Fork
155
Merge trung bình
3 ngày 6 giờ
Pull request đã merge (30 ngày)
4

Mô tả

A new command should check the connection to the DB and print the basic info like DB server version, DB schema version, its status (if it's ready or any upgrade is in progress).

For example:

```
Database Server : ArangoDB 3.11.0
Database Name : spline
Status : READY
Schema Version : 1.2.3
First Created : Aug 24, 2023 at 12:56
Last Upgraded : Sep 1, 2024 at 05:30 (from version 1.2.2) | never

Deployed Services :
- /spline : 1.4.2
```

or (when upgrade is being carried out)

```
Database Server : ArangoDB 3.11.0
Database Name : spline
Status : UPGRADING
Schema Version : 1.2.3 -> 1.3.0
Upgrade Started : Sep 30, 2024 at 16:29
First Created : Aug 24, 2023 at 12:56
Prev. Upgraded : Sep 1, 2024 at 05:30 (from version 1.2.2) | never

Deployed Services :
- /spline : 1.4.2
```

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.