eclipse-sw360 / sw360

SW360 project
https://www.eclipse.org/sw360/
Other
123 stars 99 forks source link

Need Component Type property as part of SW360 Release API #1607

Open nikkuma7 opened 2 years ago

nikkuma7 commented 2 years ago

Description

As per the existing REST API , we need to query the SW360 Component REST API to get the "Component Type" of the Release. Here we need to make two REST API calls to get the release info and component Type Info.

Please describe your issue in few words here.

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

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

tienlee commented 1 year ago

Hello @nikkuma7

I saw your PR #1608 to add component type tag in release API. However, I use http://{server_ip:port}/resource/api/releases?allDetails=true to get all releases with the details. The componentType tag did not appear in the response.

Could you please check again?