-
Notifications
You must be signed in to change notification settings - Fork 0
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
Convert Endpoint #201
Convert Endpoint #201
Conversation
+ Added Conversion driver code + Added generic + Skeleton for ConvertCDX14.java + Skeleton for ConvertSPDX23.java
…dev-convertRefactor
+ Added top level SBOM conversion for SVIP to SPDX 2.3
+ Added component converter
+ Added null checks
+ Added small fixes to make sure components convert when necessary
+ Updated convert to SVIP tests
+ Added a test to convert CycloneDX to SPDX ConvertSPDX23.java + Added component conversion call + Added proper format and version setting ConvertCDX14.java + Added proper format and version setting
+ docstrings + formatting
Full convert refactor for SPDX and CDX
+ Formatting + Docstrings Conversion.java + Fixed a bug with instancing causing data to be carried over + Docstrings + Formatting
…gnLab/SVIP into dev-dbRefactor-sboms-convert # Conflicts: # doc/changelog.md
…ignLab/SVIP into dev-dbRefactor-sboms-convert
…serializerException.java
api/src/main/java/org/svip/api/requests/UploadSBOMFileInput.java
Outdated
Show resolved
Hide resolved
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.
Upload doesn't work with frontend / endpoint. See comment for details
api/src/main/java/org/svip/api/repository/SBOMFileIdentifierGenerator.java
Outdated
Show resolved
Hide resolved
api/src/main/java/org/svip/api/requests/UploadSBOMFileInput.java
Outdated
Show resolved
Hide resolved
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.
Converted results don't show on frontend (requests are send successfully though) but basic testing shows API + Database works as intended.
… + deserialized object
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.
Tested with front-end and works as intended, looks great
Completed:
/sboms/convert
logicAdded
DeserializerException
SerializerException
SBOMBuilderException
SBOMController.java
Changed
ConvertFromApiTest.java
Converter.java