Commit Graph

13 Commits

Author SHA1 Message Date
Clark Boylan 1ff48c994f Retire this repo
The opendev project stopped running its mqtt service and no longer uses
the germqtt tool. To simplify things for us we are taking the extra step
of retiring this repo.

Gerrit has a number of event stream plugins now that people can look at
if necessary.

Change-Id: I2facb129452b936c8b0d73f09b2d5ed4b7be57ec
2022-02-17 13:07:08 -08:00
OpenDev Sysadmins b4b67051e6 OpenDev Migration Patch
This commit was bulk generated and pushed by the OpenDev sysadmins
as a part of the Git hosting and code review systems migration
detailed in these mailing list posts:

http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html

Attempts have been made to correct repository namespaces and
hostnames based on simple pattern matching, but it's possible some
were updated incorrectly or missed entirely. Please reach out to us
via the contact information listed at https://opendev.org/ with any
questions you may have.
2019-04-19 19:25:38 +00:00
Matthew Treinish b1067bbdd7
Cleanup sample config file
The sample config file included in the repo was very specific to my
account. This just removes the references to my gerrit username,
openstack's gerrit server, and my username on my local machines.

Change-Id: Ib1843b83a2c3b71d45522d2235e8df842b959c7e
2016-09-29 18:31:36 -04:00
Matthew Treinish 71f062b6a1
Add config option to set QOS of published messages
This commit adds a new config option to germqtt to set the QOS level
for messages published. By default it'll use 0, but if operating in
an environment where more guarantees are needed on delivery you can
set this to be higher now.

Change-Id: I7bf07921ce2f94a9a34f468294a1a5f1da2673af
2016-09-29 18:28:49 -04:00
Matthew Treinish 5c2a34d237
Add docs explaining mqtt topic layout
This commit adds an explanation of how mqtt topics are set for gerrit
events to the README. This should help any consumers of the MQTT event
stream figure out how things are organized.

Change-Id: I0db6f5d38e11cee18b6a5ced9566966d2cb09add
2016-07-29 19:07:34 -04:00
Matthew Treinish 8a4a69afef
Add MQTT auth support
This commit adds config options and support for connecting to an mqtt
broker with auth.

Change-Id: I1fad16d2cd3941dd414e7469c1ecb6a2ba96e1f9
2016-07-27 01:06:13 -04:00
Matthew Treinish 964b3fdb33
Add missing .gitreview file
This commit adds the .gitreview file. This was neglected before the
project was imported into gerrit.

Change-Id: I58ee79331436f6a900abbbd7a326867adb3e5adc
2016-07-27 01:06:13 -04:00
Matthew Treinish 59fe450ae9
Fix all things tox
This commit fixes all the issues with the tox jobs. I initially wrote
this project outside of the openstack infrastructure and played kinda
hard and fast with anything from tox. To correct this I need to add
sphinx docs, a pro forma test to (and the preresiquite testr
boilerplate), and a bunch of random pep8 fixes.

Change-Id: I9946fc7db5c030b5860f03b45471f70c1fc4efb1
2016-07-27 01:06:13 -04:00
Matthew Treinish f2d79631da
Add real documentation to the README
This commit adds some real documentation to the README, including how
events get published and configuration information.
2016-05-31 17:31:40 -04:00
Matthew Treinish 97c78e78ff
Handle pulling the project from ref-updated events
This commit fixes a bug when trying to process ref-update events.
The formatting was different for these events was different and
the project is a subfield on the refUpdate dict.
2016-05-26 12:33:38 -04:00
Matthew Treinish 74a76a77f0
Fix a bug with setting project on topic
This commit fixes a small bug in pulling the project name from the
event. Previously it assumed 'project' was always a top level key,
but on some event types it's a subkey on the change field.
2016-05-26 12:10:53 -04:00
Matthew Treinish ca4033c595
Add topic hierarchy
This commit adds topic hierarchy to the published events. The topic
is now set per project and event-type. This enables flexibility in
what types of events you're subscribing to.
2016-05-26 11:51:56 -04:00
Matthew Treinish 368354150b
Initial commit 2016-05-25 21:46:29 -04:00