#331 Publish event.state.changed.min message
Merged by cqi. Opened by lucarval.
lucarval/freshmaker event-min-message  into  master

Download 331.patch

Some clients load incoming UMB messages into an environment variable.
Since environment variables have a system dependent size restriction,
the existing event.state.changed message can easily exceed it.

This change makes Freshmaker publish an additional message that is
much smaller. It does so by omitting the list of builds associated with
the event. Instead, it provides a summary of total builds count as well
as builds count for each state. Clients loading received messages in
environment variables should use the new message.

Although the new message provides sufficient details for clients to find
out the list of builds, some clients already exist that rely on this
information to be in the message directly. For this reason, both
messages are now sent.

Signed-off-by: Luiz Carvalho lucarval@redhat.com

:thumbsup: Tests pass locally.

Commit 25876113 fixes this pull-request

Pull-Request has been merged by cqi

Pull-Request has been merged by cqi

Metadata