-
Notifications
You must be signed in to change notification settings - Fork 318
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(black-duck): Make the log output show how the origin is determined #9850
Conversation
7ed9925
to
ecbbe96
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #9850 +/- ##
=========================================
Coverage 68.12% 68.12%
Complexity 1293 1293
=========================================
Files 250 250
Lines 8843 8843
Branches 918 918
=========================================
Hits 6024 6024
Misses 2432 2432
Partials 387 387
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
@@ -158,10 +158,10 @@ class BlackDuck( | |||
} | |||
|
|||
if (origins.isEmpty()) { | |||
logger.info { "No origin found for package '${pkg.id.toCoordinates()}'." } | |||
logger.info { "No origin found for package '${pkg.id.toCoordinates()}', ${pkg.requestParam}." } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I find it a bit unusual to use a comma here, as it's not an enumeration, but an alternative way to refer to the same package. So maybe use parentheses as in (${pkg.requestParam})
instead?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did you forget to push this change?
ecbbe96
to
30e8b26
Compare
Log the query parameter (purl or origin-id) to make obvious how the origin is of each respective package is determined. Signed-off-by: Frank Viernau <x9fviern@zeiss.com>
30e8b26
to
4bc4ac6
Compare
Log the query parameter (purl or origin-id) to make obvious how the origin is of each respective package is determined.
Part of: #8739.