[fossology/fossology] 12f064: feat(api): Get job status and ETA


Anupam <noreply@...>
 

Branch: refs/heads/master
Home: https://github.com/fossology/fossology
Commit: 12f064abe7420dad7ba52b6ec1a979782e659e85
https://github.com/fossology/fossology/commit/12f064abe7420dad7ba52b6ec1a979782e659e85
Author: Gaurav Mishra <@gmishx>
Date: 2019-09-14 (Sat, 14 Sep 2019)

Changed paths:
M src/lib/php/services.xml.in
M src/www/ui/api/Controllers/JobController.php
M src/www/ui/api/Helper/DbHelper.php
M src/www/ui/api/Helper/RestHelper.php
M src/www/ui/api/Models/Job.php
M src/www/ui/api/documentation/openapi.yaml

Log Message:
-----------
feat(api): Get job status and ETA

1. Get job's status and ETA
2. Filter jobs based on upload id

Signed-off-by: Gaurav Mishra <@gmishx>


Commit: 7a190c110d12c95dee61bcf7e094aa5024da132a
https://github.com/fossology/fossology/commit/7a190c110d12c95dee61bcf7e094aa5024da132a
Author: Gaurav Mishra <@gmishx>
Date: 2019-09-14 (Sat, 14 Sep 2019)

Changed paths:
M src/www/ui/api/Models/Analysis.php
M src/www/ui/api/documentation/openapi.yaml

Log Message:
-----------
feat(api): Add OJO analysis to REST API

Signed-off-by: Gaurav Mishra <@gmishx>


Commit: 5a9a341be3f763f0956b99463c4a5a62c46b7d4b
https://github.com/fossology/fossology/commit/5a9a341be3f763f0956b99463c4a5a62c46b7d4b
Author: Gaurav Mishra <@gmishx>
Date: 2019-09-14 (Sat, 14 Sep 2019)

Changed paths:
M src/www/ui/api/Controllers/JobController.php
M src/www/ui/api/Helper/DbHelper.php
M src/www/ui/api/documentation/openapi.yaml

Log Message:
-----------
feat(api): Add pagination to jobs endpoint

- The call to /jobs will return header 'X-Total-Pages' with total number
of pages based on limit sent in the request.
- Also accept page number from the request headers along with limit.

Signed-off-by: Gaurav Mishra <@gmishx>


Commit: 53d13ec82592b06db10ebd1f958ca0fc54801666
https://github.com/fossology/fossology/commit/53d13ec82592b06db10ebd1f958ca0fc54801666
Author: Anupam <ag.4ums@...>
Date: 2019-09-14 (Sat, 14 Sep 2019)

Changed paths:
M src/lib/php/services.xml.in
M src/www/ui/api/Controllers/JobController.php
M src/www/ui/api/Helper/DbHelper.php
M src/www/ui/api/Helper/RestHelper.php
M src/www/ui/api/Models/Analysis.php
M src/www/ui/api/Models/Job.php
M src/www/ui/api/documentation/openapi.yaml

Log Message:
-----------
Merge pull request #1415 from siemens/feat/api/jobStatusAndETA

feat(api): Return job's ETA and status
tested by : anupam.ghosh@...
reviewed by : anupam.ghosh@...


Compare: https://github.com/fossology/fossology/compare/fc1b3cef99b6...53d13ec82592

Join fossology-commits@lists.fossology.org to automatically receive all group messages.