Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Report Database Type & Version in Log and UI #2093

Closed
msymons opened this issue Oct 25, 2022 · 3 comments · Fixed by DependencyTrack/frontend#870
Closed

Report Database Type & Version in Log and UI #2093

msymons opened this issue Oct 25, 2022 · 3 comments · Fixed by DependencyTrack/frontend#870
Assignees
Labels
enhancement New feature or request size/S Small effort
Milestone

Comments

@msymons
Copy link
Member

msymons commented Oct 25, 2022

Current Behavior:

Dependency-Track v4.6.1 (and 4.7.0-SNAPSHOT) does not report the database type (eg PostgreSQL) or the database version... either in log or UI.

This information can be crucial when administering the system or reporting problems.

  • Our platform people migrated a bunch of servers to new environments and the PostgreSQL used by Dependency-Track was upgraded from 10.x to 14,x. And I had no idea that this had happened!
  • A user investigating a problem needs to know that they are NOT using the embedded H2 database in production.

Proposed Behavior:

  • Log database type and version on startup.
  • Display database type and version in the UI "About" Dialog.

Note that logs can roll-over or not be accessible to all users. Hence the value in providing the info in two ways.

Implementation of this enhancement might also require touching Alpine,

@msymons msymons added the enhancement New feature or request label Oct 25, 2022
@msymons msymons added gnomes Issues for milestone planning and effort estimation by the DT team needs milestone Issues or PRs that are pending a milestone assignment labels May 14, 2024
@nscuro nscuro added size/S Small effort and removed needs milestone Issues or PRs that are pending a milestone assignment gnomes Issues for milestone planning and effort estimation by the DT team labels May 14, 2024
@nscuro nscuro self-assigned this May 14, 2024
@nscuro nscuro added this to the 4.12 milestone May 14, 2024
@nscuro
Copy link
Member

nscuro commented May 14, 2024

Raised PR to report database name and version via Alpine's About model, which is exposed via the /api/version route in DT: stevespringett/Alpine#565

Once this change is available, we can update the About dialog of the UI.

The change in Alpine provides extensibility, such that we can do the same for other components in the future if needed.

@nscuro nscuro added the blocked label May 14, 2024
@nscuro
Copy link
Member

nscuro commented May 14, 2024

Blocked until Alpine PR is merged.

@nscuro nscuro removed the blocked label May 15, 2024
nscuro added a commit to nscuro/dependency-track-frontend that referenced this issue May 15, 2024
nscuro added a commit to nscuro/dependency-track-frontend that referenced this issue May 15, 2024
Copy link
Contributor

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 15, 2024
netomi pushed a commit to netomi/frontend that referenced this issue Aug 8, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request size/S Small effort
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants