Add e2e test for BOM upload storage
Description
[!WARNING] Requires https://github.com/DependencyTrack/hyades-apiserver/pull/794.
Adds an e2e test to ensure that the S3 BOM upload storage works as expected.
Also updates:
- The
schema.sqlfile used in tests, so it includes the newBOM_UPLOADtable introduced in https://github.com/DependencyTrack/hyades-apiserver/pull/794. - The
create-topics.shscript to include the newdtrack.event.bom-uploadedtopic
Addressed Issue
Relates to #633.
Additional Details
N/A
Checklist
- [x] I have read and understand the contributing guidelines
- ~This PR fixes a defect, and I have provided tests to verify that the fix is effective~
- [x] This PR implements an enhancement, and I have provided tests to verify that it works as intended
- [x] This PR introduces changes to the database model, and I have updated the migration changelog accordingly
- ~This PR introduces new or alters existing behavior, and I have updated the documentation accordingly~
Coverage summary from Codacy
See diff coverage on Codacy
| Coverage variation | Diff coverage |
|---|---|
| :white_check_mark: +18.14% (target: -1.00%) | :white_check_mark: ∅ (target: 70.00%) |
Coverage variation details
| Coverable lines | Covered lines | Coverage | |
|---|---|---|---|
| Common ancestor commit (008649af4c64a5fac494ed9515bd9921a3e5875d) | 201 | 132 | 65.67% |
| Head commit (3d91334b8976fefdb47e3687343193e393570193) | 6875 (+6674) | 5762 (+5630) | 83.81% (+18.14%) |
Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch: <coverage of head commit> - <coverage of common ancestor commit>
Diff coverage details
| Coverable lines | Covered lines | Diff coverage | |
|---|---|---|---|
| Pull request (#1432) | 0 | 0 | ∅ (not applicable) |
Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: <covered lines added or modified>/<coverable lines added or modified> * 100%
See your quality gate settings Change summary preferences
Codacy stopped sending the deprecated coverage status on June 5th, 2024. Learn more
Blocked until https://github.com/DependencyTrack/hyades-apiserver/pull/794 is merged.