opensearch-project / job-scheduler

Run periodic jobs on the cluster from your plugin
Apache License 2.0
21 stars 73 forks source link

Update sample-extension-plugin BWC version to 2.14.0 #609

Closed prudhvigodithi closed 4 months ago

prudhvigodithi commented 5 months ago

Description

Coming from the version increment PR 2.14.0 PR https://github.com/opensearch-project/job-scheduler/pull/605.

Issues Resolved

[List any issues this PR will resolve]

Check List

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license. For more information on following Developer Certificate of Origin and signing off your commits, please check here.

prudhvigodithi commented 5 months ago

Adding @cwperks @joshpalis @dbwiddis to please check this. @bbarani

cwperks commented 4 months ago

@prudhvigodithi Should this value be trailing by one minor version? If this is updated, the bwc tests would run with 2.14 -> 2.14.

Is there a failing check?

prudhvigodithi commented 4 months ago

@cwperks thanks for checking this PR. I just followed the same way on how the bwc is managed for sample-extension-plugin, example https://github.com/opensearch-project/job-scheduler/pull/528. Since the 2.x is already incremented to 2.14.0 I have updated main (3.0.0) to 2.14.0.

cwperks commented 4 months ago

Got it, thank you Prudhvi! This change LGTM. Should we look into implementing an automatic version increment for this?

prudhvigodithi commented 4 months ago

Yes @cwperks I'm planning to leverage the gradle updateVersion task for this, but I'm curious if we need this sample-extension-plugin once we have proper unit and integ tests added.

cwperks commented 4 months ago

IMO the sample-extension-plugin is a good reference for plugin developers wanting to incorporate scheduled jobs in their plugins. They can use sample-extension-plugin as a reference on how to implement the JobSchedulerExtension extension point and how to use the locking service.

prudhvigodithi commented 4 months ago

Make sense, let me open an new issue and add more details on onboarding job-scheduler to integration testing pipeline and also in improving the code coverage.