Skip to content

Conversation

@salamonpavel
Copy link
Collaborator

@salamonpavel salamonpavel commented Feb 10, 2026

Release notes:

  • Introduces GET /build-info endpoint returning application version

Closes #396

Note: Sorry about the formatting in the collection's json file. Postman newly formats files like that. Added functionality there is the "Act: build-info - 200".

@github-actions
Copy link

github-actions bot commented Feb 10, 2026

Report: Report: server - scala:2.13.13

Metric (instruction) Coverage Threshold Status
Overall 78.13% 71.0%
Changed Files 27.26% 80.0%
File Path Coverage Threshold Status
Endpoints.scala 81.77% 0.0%
PostgresDataSourceWithPasswordFromSecretsManager.scala 0.0% 0.0%
Routes.scala 0.0% 0.0%

)
val configPassword = ConfigFactory.load().getConfig("postgres").getString("password")
logger.info(s"Successfully fetched password for Postgres from config: '${configPassword}' and now it will connect to ${this.getUrl}")
logger.info(s"Successfully fetched password for Postgres from config")
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@lsulak removing the extended statement so that pwd (even if only the dummy one from config) isn't part of the output

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, thank you, definitely none of this is needed and I should remove it earlier!

Copy link
Contributor

@ABLL526 ABLL526 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, I like the feature.

While you are on adding build information. What you think about fixing the Readme badges as well? I know its not in the scope of this PR but very loosely related.

lazy val server = {
val server = (projectMatrix in file("server"))
.enablePlugins(GitVersioning)
.enablePlugins(BuildInfoPlugin)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is so nice - did you test it on DEV already? I'd like to push this forward as well as the Hikary & DB config changes tomorrow so we can see all of it on DEV.

"info": {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it's really hard to work with this and finish code review in reasonable time. How about we somehow reformat this? Maybe even on git push or something like that so that it's deterministic and automatic

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Create GET API endpoint returning the information about server's version

3 participants