Open siteshwar opened 9 months ago
OpenScanHub does not send any messages to UMB for scans triggered by osh-cli
. Are you going to use the interface for integration with Errata Tool in the public deployment? If not, there is no point in configuring UMB.
OpenScanHub does not send any messages to UMB for scans triggered by
osh-cli
. Are you going to use the interface for integration with Errata Tool in the public deployment? If not, there is no point in configuring UMB.
I have been asked about it by @lachmanfrantisek for Packit integration. So unless they have similar workflow like Errata, I will skip working on this issue.
Just FYI, fedora has it's own message bus. It's usually interacted with via: https://github.com/fedora-infra/fedora-messaging (It's a rabbitmq/AMQP cluster with some schemas on top).
OpenScanHub does not support rabbitmq in upstream.
We may have to use polling for task logs/state through osh-cli
command for PackIt integration.
EDIT: However, it supports AMQP. We need to verify current messaging implementation would work with the Fedora infrastructure.
I hope implementing result/status reporting to Fedora-messaging might be easier than implementing polling in Packit.
For my own reference:
Messages Packit listens https://github.com/packit/deployment/blob/ac1dd10bc2be07c1d7b20825aab871e08490d254/secrets/packit/prod/fedora.toml.j2#L49
Fedora messaging consumer for Packit Service https://github.com/packit/packit-service-fedmsg
Callbacks https://github.com/packit/packit-service-fedmsg/blob/main/packit_service_fedmsg/callbacks.py
Thanks @lbarcziova for the links!
OpenScanHub supports sending notifications through UMB. This issue tracks setting up UMB configurations for the Fedora infrastructure.