-
Notifications
You must be signed in to change notification settings - Fork 94
Move info about delay to the the schedule portion in List Jobs API #801
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
Conversation
Signed-off-by: Jeremy Dupras <[email protected]>
Signed-off-by: Jeremy Dupras <[email protected]>
Signed-off-by: Jeremy Dupras <[email protected]>
Signed-off-by: Jeremy Dupras <[email protected]>
Signed-off-by: Jeremy Dupras <[email protected]>
Signed-off-by: Jeremy Dupras <[email protected]>
Signed-off-by: Jeremy Dupras <[email protected]>
Signed-off-by: Jeremy Dupras <[email protected]>
Signed-off-by: Jeremy Dupras <[email protected]>
Signed-off-by: Jeremy Dupras <[email protected]>
Signed-off-by: Jeremy Dupras <[email protected]>
Signed-off-by: Jeremy Dupras <[email protected]>
Signed-off-by: Jeremy Dupras <[email protected]>
Codecov ReportAttention: Patch coverage is
❌ Your project status has failed because the head coverage (33.45%) is below the target coverage (75.00%). You can increase the head coverage or adjust the target coverage. Additional details and impacted files@@ Coverage Diff @@
## main #801 +/- ##
============================================
- Coverage 33.54% 33.45% -0.10%
Complexity 143 143
============================================
Files 29 29
Lines 1389 1393 +4
Branches 132 133 +1
============================================
Hits 466 466
- Misses 886 890 +4
Partials 37 37 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
src/main/java/org/opensearch/jobscheduler/transport/action/TransportGetScheduledInfoAction.java
Show resolved
Hide resolved
Signed-off-by: Jeremy Dupras <[email protected]>
src/main/java/org/opensearch/jobscheduler/transport/action/TransportGetScheduledInfoAction.java
Show resolved
Hide resolved
…SON response (opensearch-project#801) * adding active jobs by lock info Signed-off-by: Jeremy Dupras <[email protected]> * adding active jobs and tests Signed-off-by: Jeremy Dupras <[email protected]> * changing to ActionListener Signed-off-by: Jeremy Dupras <[email protected]> * fixing failing multinode test and format errors Signed-off-by: Jeremy Dupras <[email protected]> * correcting test Signed-off-by: Jeremy Dupras <[email protected]> * updating test Signed-off-by: Jeremy Dupras <[email protected]> * updating test Signed-off-by: Jeremy Dupras <[email protected]> * trying test fix Signed-off-by: Jeremy Dupras <[email protected]> * updating test Signed-off-by: Jeremy Dupras <[email protected]> * rerunning tests Signed-off-by: Jeremy Dupras <[email protected]> * removing getFirst() Signed-off-by: Jeremy Dupras <[email protected]> * removing lock search Signed-off-by: Jeremy Dupras <[email protected]> * remiving client Signed-off-by: Jeremy Dupras <[email protected]> * adding lock duration Signed-off-by: Jeremy Dupras <[email protected]> --------- Signed-off-by: Jeremy Dupras <[email protected]> Co-authored-by: Jeremy Dupras <[email protected]> Signed-off-by: Jeremy Dupras <[email protected]>
Description
Lock information will be gathered through a separate API and correlated in a future job scheduler dashboard. This PR removes the locks qualities from the getScheduledJobInfo transport action and from tests.
The linked hash set was added to ensure the JSON always comes out in the same order.
Delay was added into the schedule data structure.
Related Issues
no issues
Check List
--signoff
.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.