#14 Publish to the message bus on every new waiver received.
Closed: Fixed 7 years ago Opened 7 years ago by ralph.

We should publish a descriptive JSON blob to "the message bus" every time a new waiver is POSTed to the system.

It needs to be pluggable, so that:

  • We can support activemq in the internal environment (UMB).
  • We can support zeromq in the Fedora environment (fedmsg).

Is there a minimum version of SQLAlchemy that needs to be supported? A really nice way to do this is to use an SQLAlchemy event hooks. It's doable using the post_commit event hook, but in SQLAlchemy 1.1 they added a nice set of object lifecycle events.

All you do is define a set of functions for events, then define a function that uses a config setting to register the functions as event listeners in SQLAlchemy. You can have a set for zeromq and a set for activemq.

I think we're currently targeting EPEL7 (@mjia or @dcallagh can correct me if I'm wrong). That means python-sqlalchemy-0.9.8-2.

I think we're currently targeting EPEL7 ( @mjia or @dcallagh can correct me if I'm wrong). That >means python-sqlalchemy-0.9.8-2.

Right.

Great, I expect I'll get to this by this afternoon.

This was included in 0.1.

Metadata Update from @dcallagh:
- Issue assigned to jcline
- Issue close_status updated to: Fixed
- Issue set to the milestone: 0.1
- Issue status updated to: Closed (was: Open)
- Issue tagged with: feature

7 years ago

Login to comment on this ticket.

Metadata