Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
pr on infra repo: https://gitlab.puzzle.ch/pitc_lehrausbildung/deployments/okr-infra/-/merge_requests/26
/actuator/healh/healthlists ssl as components => https://cloud.spring.io/spring-cloud-stream/multi/multi__health_indicator.htmlbut since we do not configure anything there are no chains listed.
/actuator/healh/healthlists h2 as db component because ...Spring health
DataSourceHealthContributorAutoConfigurationsearches 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-programmatichttps://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