eclipse-sw360 / sw360

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

feat(ImportSBOM):Change naming convention of imported components #2483

Open afsahsyeda opened 3 months ago

afsahsyeda commented 3 months ago

Description

Components are being created from the vcs field in a CDX SBOM using the naming convention "manf.name". This has been changed to create the name with only the component name extracted from the vcs, omitting the manufacturer part unless and until there is a name class, which in that case the name would be created as manf/name.

How to reproduce

Import a CDX SBOM

Screenshots ( if applicable )

image

GMishx commented 1 month ago

@afsahsyeda can you please rebase the PR with main branch to get the latest REST API test cases?