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

Remove schedule. deprecated property key prefix #6043

Closed
wants to merge 2 commits into from

Conversation

cppwfs
Copy link
Contributor

@cppwfs cppwfs commented Nov 1, 2024

Use deployer. property prefix when setting schedule properties

Originally scheduled properties uses schedule. as a prefix for all the settings. However it was determined they were just a subset of deployer properties and thus the prefix could be deprecated.

resolves #6019

@corneil
Copy link
Contributor

corneil commented Nov 5, 2024

Are the users going to receive an error when they use schedule.?

@cppwfs
Copy link
Contributor Author

cppwfs commented Nov 5, 2024

Great Question. In both implementations they check for a empty/null cron expression and will throw an exception.

@corneil
Copy link
Contributor

corneil commented Nov 6, 2024

Great Question. In both implementations they check for a empty/null cron expression and will throw an exception.

Will users experience failure if they don't recreate their schedules with modified properties?

@cppwfs cppwfs requested a review from corneil November 7, 2024 13:03
@cppwfs
Copy link
Contributor Author

cppwfs commented Nov 7, 2024

The existing schedules will still be managed by the scheduler/cronjob, until they are shutdown by SCDF or by administrator.

Use deployer. property prefix when setting schedule properties

Originally scheduled properties uses schedule. as a prefix for all the settings.
However it was determined they were just a subset of deployer properties and thus could be deprecated
Signed-off-by: Glenn Renfro <grenfro@vmware.com>

polish

Signed-off-by: Glenn Renfro <grenfro@vmware.com>
Polish

Signed-off-by: Glenn Renfro <grenfro@vmware.com>
Copy link
Contributor

@corneil corneil left a comment

Choose a reason for hiding this comment

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

💯

@cppwfs
Copy link
Contributor Author

cppwfs commented Nov 11, 2024

Thanks @corneil for the review!!!
Rebased, Squashed, Merged

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.

DefaultSchedulerService Deprecation Cleanup
2 participants