-
Notifications
You must be signed in to change notification settings - Fork 13
feat: Package identifier for cargo. #349
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Package identifier for cargo. #349
Conversation
Implemented support for the Cargo package type in multiple classes, including `DisplayPackagesInfo`, `PackageUploadHelper`, `PackageUploadInformation`, and `UploadToArtifactory`. Introduced new methods for managing Cargo packages, updated the `ApiConstant` class with the Cargo file extension, and enhanced AQL queries to ensure proper handling of Cargo components. Adjusted existing methods to treat Cargo packages similarly to other package types like NPM, NuGet, and Debian.
Updated CA_UsageDocument.md with Cargo
…/siemens/continuous-clearing into test/PackageIdentifierCargoTests
adityanarayanp
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The code does not meet the coding guidelines and there are too many lines of code in a single method doing multiple functionality, please do have a look at the SOLID principles.
And any changes of code to the common helper class needs to be also reflect to the individual package processors.
…o' into test/PackageIdentifierCargoTests
…o' into test/PackageIdentifierCargoTests
…o' into test/PackageIdentifierCargoTests
test: Added unit tests and integration tests for Cargo
…toryUploader_ForCargo
….com/siemens/continuous-clearing into feature/ArtifactoryUploader_ForCargo
…toryUploader_ForCargo
…argo feat: Artifactory uploader for cargo

1.Identify cargo packages from metadata.json file and added required information in Cyclonedx sbom.
2.Identify dependencies and update in cyclonedx sbom file.