eclipse-sw360 / sw360

SW360 project

Home Page:https://www.eclipse.org/sw360/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add pagination on the endpoint 'projects/id/vulnerabilities'

keerthi-bl opened this issue · comments

Description

Support API calls with pagination to endpoint:
http://localhost:8080/resource/api/projects/id/vulnerabilities?page=0&page_entries=5

Current Response: Currently all the data is returned in this endpoint.

Expected Response: Data should be paginated.

How to reproduce

Describe the bug and list the steps you used when the issue occurred.

Screenshots

If applicable, add screenshots to help explain your problem.

Versions

  • Last commit id on master:
  • Operating System (lsb_release -a):

Logs

Any logs (if any) generated in

SW360 logs

Logs generated under /var/log/sw360/sw360.log

Tomcat logs

Logs generated under /var/log/tomcat/error.log

Vulnerabilities end point has pagination. Closing this issue.