chore(migrate): migrate Errata Tool client from SBOMer classic#54
Open
jonathanchristison wants to merge 1 commit intosbomer-project:mainfrom
Open
Conversation
4fdde2b to
5225315
Compare
This commit ports the initial Errata Tool client implementation and supporting
infrastructure from the SBOMer "classic" codebase.
In this commit:
* **Core Migration:**
* Ported Kerberos support and custom HTTP exception handling.
* Added Quarkus dependencies for `restclient` and `kerberos`.
* Enabled SmallRye Fault Tolerance for external service resilience.
* Adjusted package structures and imports to match the current project.
* Implemented the initial `fetchBuilds` endpoint in `ErrataToolService`.
* **Test Infrastructure:**
* Added a script (`hack/anonymize-test-data.sh`) to help sanitize future test payloads.
* Replaced some generated mock data with real-world Erratum examples (Advisories: 155577,
157587, 157826, 152887, 157751).
* Shifted away from `QuarkusTest` in several instances to reduce test execution overhead.
* Note: Testing currently covers basic advisory types and is intended as a starting point.
Source Reference:
* Ported from SBOMer classic at commit: [f1c3bca](https://github.com/sbomer-project/sbomer/tree/f1c3bca62becee57dedbdcd4105f56d395cfff7c)
5225315 to
71af9ec
Compare
mertbugrabicak
approved these changes
Mar 9, 2026
Collaborator
mertbugrabicak
left a comment
There was a problem hiding this comment.
LGTM and approving, but just wanted to mention that I don't see any changes for it in the helm chart, so would these changes currently work nicely in Minikube?
Also after merging I can maybe help get those test files into wiremock endpoints to be served
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.
This commit ports the initial Errata Tool client implementation and supporting infrastructure from the SBOMer "classic" codebase.
In this commit:
restclientandkerberos.fetchBuildsendpoint inErrataToolService.hack/anonymize-test-data.sh) to help sanitize future test payloads.QuarkusTestin several instances to reduce test execution overhead.Source Reference: