eclipse-sw360 / sw360

SW360 project
https://www.eclipse.org/sw360/
Other
119 stars 98 forks source link

REST API: enpoint api/projects does not return all projects #1874

Open rudra-superrr opened 1 year ago

rudra-superrr commented 1 year ago

Description

REST API endpoint api/projects with the parameters allDetails=true and group=DEPARTMENT, i.e. in total api/projects?allDetails=true&group=DEPARTMENT.

Unfortunately this does not return all projects matching the search spec. The following projects are missing:

SiPass integrated - 2.76 SP1 SiPass integrated - 2.76 SP2 SiPass integrated - 2.85 Siveillance Vantage - Value Stream Siveillance Identity - 1.2 Siveillance Identity - 1.3 Siveillance Identity - 1.4 Siveillance Identity - R1 Siveillance Identity - R2 Siveillance Identity - R3 Siveillance Identity - R4

hoangnt2 commented 1 year ago

@rudra-superrr, maybe search result is limited. You can try to modify lucenesearch.limit property in /etc/sw360/couchdb.properties file.

rudra-superrr commented 1 year ago

Hi @hoangnt2 , Actually It's BU of the linked project that causing the problem. Still thanks for the help.