AbsaOSS / AbsaOSS/spline

Admin CLI :: Add "db-info" command

未关闭
#1,371 0 条评论 0 个 reaction 已指派 1 人 已被 @wajda 认领 在 GitHub 查看
component: Admin CLI
主要语言
Scala
星标
667
派生
155
平均合并
3 天 6 小时
30 天内合并 PR
4

描述

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
```

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。