Actions
Defect #3189
closedFlyway scripts not executed on application startup
Start date:
09/01/2022
Due date:
% Done:
100%
Estimated time:
Description
Since the introduction of multiple data sources, we are running into an issue where flyway scripts are not executed on application startup. The issue seems to be with loading module-specific configurations.
The goal of this ticket is to fix loading of module flyway configurations.
Updated by Tomáš Doischer over 2 years ago
- Sprint set to Sprint 12.3-3 (srp 31 - zář 14)
Updated by Peter Štrunc over 2 years ago
- Status changed from In Progress to Needs feedback
- % Done changed from 0 to 80
I managed to fix the issue. The problem was caused by some possible circular dependencies, which prevented IdmFlywayPostProcessor from processing Flyway migrations.
This article proved to be very helpful: https://synyx.de/blog/bean-x-of-type-y-is-not-eligible-for-getting-processed-by-all-beanpostprocessors/
The merge request is here: https://github.com/bcvsolutions/CzechIdMng/pull/260
@doischert would you please check it out?
Updated by Tomáš Doischer over 2 years ago
- % Done changed from 80 to 90
LGTM, merged to develop. The hotfix branch was merged to master.
Updated by Tomáš Doischer over 2 years ago
- Status changed from Needs feedback to Resolved
- % Done changed from 90 to 100
Updated by Tomáš Doischer almost 2 years ago
- Status changed from Resolved to Closed
Actions