-
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): Get the summary statistics for all Jobs #2537
feat(api): Get the summary statistics for all Jobs #2537
Conversation
26282ed
to
52c3b9d
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>
52c3b9d
to
34af209
Compare
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.
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.
Tested, working as expected.
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 retrieve the server jobs for the Admin Dashboard overview.
Changes
JobController
to build the functionality.index.php
) by adding a new routeGET
/jobs/dashboard/statistics
.openapi.yaml
file to write the new API's documentation.How to test
Make a GET request on the endpoint:
/jobs/dashboard/statistics
,Screenshots
Related Issue:
Fixes #2523
cc: @shaheemazmalmmd @GMishx