Report DLE version in the foreword
Allow seeing DLE version when talking to Joe bot – this will be helpful in the case of upgrades (to ensure that upgrade succeeded), test setups (when we test multiple DLE versions at the same time), troubleshooting (when users report issues).
Right now we have:
Session started: webui-i2133
Idle session timeout: 1 day
Postgres version: 13.1 (Debian 13.1-1.pgdg100+1)
Joe version: 0.8.1-20210122-1349 (CE)
Database: test
Database size: 65 GB
Database state at: 2021-02-04 18:01:08 UTC (29 minutes ago)
New version would be:
Session started: webui-i2133
Idle session timeout: 1 day
Postgres version: 13.1 (Debian 13.1-1.pgdg100+1)
Joe version: 0.8.1-20210122-1349 (CE)
Database Lab Engine version: 2.3.1-20210204 <---- this line is a new one
Database: test
Database size: 65 GB
Database state at: 2021-02-04 18:01:08 UTC (29 minutes ago)
How to implement
- Add a new field with the DLE version to the DLE endpoint
GET /status
- Use the field during the formation of the foreword
Edited by Artyom Kartasov