A stomp messaging plugin.
ClosedPublic

Authored by ralph on Apr 27 2017, 7:00 PM.

Details

Summary

This adds a new messaging plugin to publish over STOMP.

Test Plan

Unfortunately, you have to set up a broker to really functionally test this. :(

Diff Detail

Repository
rRSDB resultsdb
Branch
feature/stomp-publication (branched from develop)
Lint
Lint OK
Unit
Unit Tests OK
Build Status
Buildable 1132
Build 1132: arc lint + arc unit
ralph created this revision.Apr 27 2017, 7:00 PM

I talked to @ralph on IRC and the motivation behind this is to support the upcoming "Unified Message Bus" project in Red Hat. That uses an ActiveMQ broker which speaks STOMP and they would like to have ResultsDB interface with that broker

ralph added a comment.May 25 2017, 3:50 PM

Ping. Any review feedback on this?

We would like to enable it internally but would rather not run a patch out of band.

kparal edited reviewers, added: resultsdb; removed: kparal.May 26 2017, 10:47 AM
jskladan accepted this revision.May 26 2017, 11:09 AM

Who am I to say what works, and what does not :) I guess you tested it with your usecase, so feel free to merge!

This revision is now accepted and ready to land.May 26 2017, 11:09 AM

Thanks! Although, since the move to pagure.io I don't think I have rights to land changes anymore:

❯ arc land feature/stomp-publication
 TARGET  Landing onto "develop", selected by "arc.land.onto.default" configuration.
 REMOTE  Using remote "origin", the default remote under git.
 FETCH  Fetching origin/develop...
This commit will be landed:

      - 92b3c2b A stomp messaging plugin.

Landing revision 'D1191: A stomp messaging plugin.'...
 BUILDS PASSED  Harbormaster builds for the active diff completed successfully.
 PUSHING  Pushing changes to "origin/develop".
FATAL: W any taskotron/resultsdb ralph DENIED by fallthru
(or you mis-spelled the reponame)
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
Usage Exception: Push failed! Fix the error and run "arc land" again.
kparal added a subscriber: kparal.May 26 2017, 1:04 PM

@tflink added you into taskotron group, please try again

ralph closed this revision.May 26 2017, 2:55 PM