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

fix(migrations): Fix wiring secondarySqlStorage service bean #1525

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

christosarvanitis
Copy link
Member

Fix wiring of the secondarySqlStorageService to allow SQL to SQL migrations using the CompositeStorageService

The secondaryJooq is only created when different dialect exists between the default and secondary connection pool which is not the case for Front50 migration between two SQL persistent stores

@jasonmcintosh
Copy link
Member

Wondering if we couldn't get a spring test to verify this functionality as well - to make sure we're able to load this!

@christosarvanitis christosarvanitis force-pushed the fix/compositeSQLrepository branch from 5055524 to 5e2d571 Compare January 27, 2025 14:01
@christosarvanitis christosarvanitis force-pushed the fix/compositeSQLrepository branch 2 times, most recently from 06c94c0 to 7f316b0 Compare February 3, 2025 16:10
@jasonmcintosh
Copy link
Member

Need to get tests more stable, but I think this looks good. Re-review once tests are adjusted to handle startup latency time.

@christosarvanitis christosarvanitis force-pushed the fix/compositeSQLrepository branch from eece2ef to 74e7a8b Compare February 4, 2025 07:52
@christosarvanitis
Copy link
Member Author

Need to get tests more stable, but I think this looks good. Re-review once tests are adjusted to handle startup latency time.

@jasonmcintosh pushed some stability changes to the integration tests. Feel free to merge if you are ok with the changes

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