feat(engine): provide DLE logs in UI (#378)
Description
Provide DLE logs in UI:
- create a new sub-route (
/admin
) and endpoint (/instance/logs
) to serve container logs - create a middleware to authorize admin (in the future) users. Authorization is not enabled yet.
- support one-time tokens to authorize web-socket connections (
/admin/ws-auth
) - enable Web-socket connections
- collect logs from the DLE container and de-multiplex log entries
- encode log entries and send them to the UI client side
- create a prototype of the UI client side to display log entries (Caution! Engineering design inside)
Related issue
Examples
Checklist
-
MR description has been reviewed -
MR changes are functionally tested -
MR does NOT have text changes OR there are text changes and they have been reviewed -
MR does NOT have API/CLI changes OR there are API/CLI changes and they have been reviewed -
MR does NOT have UI changes OR there are UI changes and they have been reviewed
Closes #378 (closed)
Edited by Artyom Kartasov