Skip to content

Conversation

@kcinay055679
Copy link
Collaborator

@kcinay055679 kcinay055679 commented May 2, 2025

pr on infra repo: https://gitlab.puzzle.ch/pitc_lehrausbildung/deployments/okr-infra/-/merge_requests/26

/actuator/healh/health lists ssl as components => https://cloud.spring.io/spring-cloud-stream/multi/multi__health_indicator.html
but since we do not configure anything there are no chains listed.

/actuator/healh/health lists h2 as db component because ...
Spring health DataSourceHealthContributorAutoConfiguration searches only for DataSources and the only dataSource provided is h2.
for the db access inside the application we use currently DriverManager, it would make sense to migrate to DataSource
https://stackoverflow.com/questions/15198319/why-do-we-use-a-datasource-instead-of-a-drivermanager

THis looks promising:
https://www.baeldung.com/spring-boot-configure-data-source-programmatic
https://www.baeldung.com/multitenancy-with-spring-data-jpa

But since this would lead to a lot of unreleated changes this got extracted to a new issue #1533

@MasterEvarior MasterEvarior force-pushed the feature/1489-healthcheck branch from c39abc1 to 00d860f Compare June 6, 2025 06:37
@MasterEvarior MasterEvarior merged commit e24cd29 into main Jun 6, 2025
36 of 37 checks passed
@MasterEvarior MasterEvarior deleted the feature/1489-healthcheck branch June 6, 2025 06:56
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.

3 participants