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

Improved: logic to run the job successfully on clicking runNow(#147) #153

Merged
merged 3 commits into from
Apr 4, 2024

Conversation

ymaheshwari1
Copy link
Contributor

@ymaheshwari1 ymaheshwari1 commented Apr 4, 2024

Related Issues

Related Issue #147

Short Description and Why It's Useful

This change will allow user to run the service directly without scheduling it in active state

Clicking runNow when the group does not have a scheduler configured(job is not already scheduled) results in an error. Improved support to check whether the scheduler is configured for the group or not, if not then before calling runNow service, scheduling the job as draft to configure the scheduler and then making the runNow request.

Added check to not allow user to select the schedule if the job is not present or job status is draft.

Screenshots of Visual Changes before/after (If There Are Any)

Contribution and Currently Important Rules Acceptance

…#147)

Clicking runNow when the group does not have a scheduler configured(job is not already scheduled) results in an error.
Improved support to check whether the scheduler is configured for the group or not, if not then before calling runNow service, scheduling the job as draft to configure the scheduler and then making the runNow request
@ymaheshwari1 ymaheshwari1 merged commit a7e7194 into hotwax:main Apr 4, 2024
2 checks passed
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.

1 participant