Feat/descriptive SBOM filenames#324
Open
hima700 wants to merge 4 commits intoSoftwareDesignLab:devfrom
Open
Conversation
…sing, large-payload handling, and stable OSI healthcheck
- OSIController: accept multipart/form-data; parse `toolNames` JSON string into List with fallback to project tools; rename final SBOM to `ProjectName-OSI-{CDX14|SPDX23}-{JSON|XML|TAGVALUE}-yyyyMMdd-HHmmss.{json|xml|spdx}`.
- ParserController: align naming to `ProjectName-PARSERS-...`; correct extension mapping for SPDX TAGVALUE (.spdx), SPDX JSON (.json), CDX JSON (.json), CDX XML (.xml).
- SBOMFileService: add `rename(id, newName)` helper.
- OSIService: raise Jackson max string length for OSI `/generate` JSON (supports large base64 payloads).
- compose.yaml / compose.dev.yaml: fix OSI healthcheck (use Python to GET `/tools`), increase start period/timeout/retries for reliability.
Refs: ensure UI-provided `toolNames` as JSON array is parsed consistently; final filenames are human-readable and searchable.
Raised MySQL's max_allowed_packet and innodb_redo_log_capacity to 1GB in both compose.dev.yaml and compose.yaml. Added JAVA_TOOL_OPTIONS to set higher heap and GC options for the relevant service, with different memory allocations for dev and prod.
- Introduce SBOMFileDTO to separate API responses from entity models - Configure Jackson to increase max nesting depth and handle self-references - Apply @JsonIgnore and @JsonBackReference to entity relationships - Update SBOMController and related tests to use DTOs - Improve filename extraction in UploadSBOMFileInput - Enhance robustness in NVDClient and OSVClient: - Filter out non-package files - Handle API failures gracefully - Add null checks for supplier fields in serializers and fix related logic
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.