Skip to content

Conversation

@hima700
Copy link

@hima700 hima700 commented Aug 28, 2025

No description provided.

hima700 and others added 4 commits August 16, 2025 08:46
…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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant