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

Add multi Quartz scheduler functionality #15

Merged
merged 4 commits into from
Aug 28, 2023

Conversation

maallen
Copy link
Member

@maallen maallen commented Aug 24, 2023

This PR adds functionality to allow the configuration of multiple Quartz schedulers and introduces configuration properties to allow jobs to be scheduled to a specified Quartz scheduler.

Updates the docker-compose file docker-compose-api-worker.yml to spin up a single db & mojito api container alongside two mojito worker containers used to execute the Quartz jobs which can be utilised for testing.

Copy link
Collaborator

@aurambaj aurambaj left a comment

Choose a reason for hiding this comment

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

Very promissing, nice!! I'll do some more review later when the configuration is refactored but that seems pretty much it. You may want to re-split the PR in independent/smaller commits like reading just the config, creating the instance and then updating the integration points

@maallen maallen force-pushed the allow_disable_quartz_scheduler branch from 5b7fd33 to ccda63b Compare August 25, 2023 14:34
@maallen maallen requested a review from aurambaj August 25, 2023 14:35
@maallen maallen force-pushed the allow_disable_quartz_scheduler branch from ccda63b to bb7bac4 Compare August 25, 2023 14:52
@maallen maallen force-pushed the allow_disable_quartz_scheduler branch from bb7bac4 to 2a764c6 Compare August 28, 2023 12:30
Copy link
Collaborator

@aurambaj aurambaj left a comment

Choose a reason for hiding this comment

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

Thanks Mark!

@maallen maallen merged commit 1e0f4a0 into master Aug 28, 2023
2 checks passed
@maallen maallen deleted the allow_disable_quartz_scheduler branch August 28, 2023 20:37
aurambaj pushed a commit that referenced this pull request Sep 2, 2023
This PR adds functionality to allow the configuration of multiple Quartz schedulers and introduces configuration properties to allow jobs to be scheduled to a specified Quartz scheduler.

Updates the docker-compose file docker-compose-api-worker.yml to spin up a single db & mojito api container alongside two mojito worker containers used to execute the Quartz jobs which can be utilised for testing.
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.

2 participants