-
Notifications
You must be signed in to change notification settings - Fork 399
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
feat(api): Run scheduler based on the given operation #2539
feat(api): Run scheduler based on the given operation #2539
Conversation
0282213
to
a2e2981
Compare
This pull request has conflicts, please rebase with master to resolve those before we can evaluate the pull request. |
a2e2981
to
66edf2c
Compare
This pull request has conflicts, please rebase with master to resolve those before we can evaluate the pull request. |
Signed-off-by: dushimsam <dushsam@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes looks good. Tested, working as epxected.
Signed-off-by: Gaurav Mishra <mishra.gaurav@siemens.com>
66edf2c
to
b7b611e
Compare
Update API version after merge of: fossology#2483 fossology#2517 fossology#2518 fossology#2524 fossology#2528 fossology#2529 fossology#2530 fossology#2532 fossology#2533 fossology#2534 fossology#2535 fossology#2536 fossology#2537 fossology#2538 fossology#2539 fossology#2545 fossology#2549 fossology#2576 Signed-off-by: Gaurav Mishra <mishra.gaurav@siemens.com>
Update API version after merge of: fossology#2483 fossology#2517 fossology#2518 fossology#2524 fossology#2528 fossology#2529 fossology#2530 fossology#2532 fossology#2533 fossology#2534 fossology#2535 fossology#2536 fossology#2537 fossology#2538 fossology#2539 fossology#2545 fossology#2549 fossology#2576 Signed-off-by: Gaurav Mishra <mishra.gaurav@siemens.com>
Description
Added the API to run the scheduler of an operation based on the selected option.
Changes
JobController
to build the functionality.index.php
) by adding a new routePOST
/jobs/scheduler/operation/run
.openapi.yaml
file to write the new API's documentation.How to test
Make a POST request on the endpoint:
/jobs/scheduler/operation/run
,Screenshots
Related Issue:
Fixes #2526
cc: @shaheemazmalmmd @GMishx