Skip to content

Commit

Permalink
fix(SBOMER-166): do not set product coordinates to not send UMB message
Browse files Browse the repository at this point in the history
The problem is that the main component (metadata/component) does not
have the build information attached, because the artifact cannot be
found in PNC and thus the information about the build system wasn't
added to external references in the main component.

This comimt stops setting the product coordinates for this specific e2e,
but this is just a workaround. The proper fix will be implemented later.

Related: https://issues.redhat.com/browse/SBOMER-26
Fixes: https://issues.redhat.com/browse/SBOMER-166
  • Loading branch information
goldmann committed Sep 27, 2024
1 parent a171f44 commit 31e3b5f
Showing 1 changed file with 7 additions and 17 deletions.
24 changes: 7 additions & 17 deletions e2e/src/test/resources/requests/A3LCEFCLLVYAA.json
Original file line number Diff line number Diff line change
@@ -1,21 +1,11 @@
{
"apiVersion": "sbomer.jboss.org/v1alpha1",
"buildId": "A3LCEFCLLVYAA",
"products": [
{
"processors": [
"apiVersion": "sbomer.jboss.org/v1alpha1",
"buildId": "A3LCEFCLLVYAA",
"products": [
{
"type": "redhat-product",
"errata": {
"productName": "RHTESTPRODUCT",
"productVersion": "RHEL-8-RHTESTPRODUCT-1.1",
"productVariant": "8Base-RHTESTPRODUCT-1.1"
}
"generator": {
"type": "gradle-cyclonedx"
}
}
],
"generator": {
"type": "gradle-cyclonedx"
}
}
]
]
}

0 comments on commit 31e3b5f

Please sign in to comment.