Commit Graph

17 Commits

Author SHA1 Message Date
Clark Boylan a67eabcc19 Retire this repo
The opendev project is no longer running its mqtt service which means
the launchpad integration is no longer used or needed. To simplify
things for us we are taking the extra step of retiring this repo.

Change-Id: Idf73a17826b6974a345641066c682fc98088e30e
2022-02-17 13:08:53 -08:00
OpenDev Sysadmins e90b34be7a 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:26:04 +00:00
Jenkins 4cff75293e Merge "Add config option to set QOS of published messages" 2016-12-21 17:48:47 +00:00
Matthew Treinish d0d4f77e0d
Add config option to set QOS of published messages
This commit adds a new config option to lpmqtt to set the QOS level
for messages published to MQTT. The QOS used in MQTT is the min value
between what the client and publisher use. By default lpmqtt will use
a QOS level of 0, but if operating in an environment where more
guarantees are needed on delivery you can set this to be higher.

Change-Id: If2ce821565551fdf686e253d06356080702c05a1
2016-10-07 15:22:46 -04:00
Matthew Treinish 5ab09429a1 Add config option to set the imap idle timeout
This commit adds a new config option to the imap section, idle-timeout,
which is used to set the timeout duration for the idle call. By default
imaplib2 sets this to 29mins. This if far too long especially on an imap
server that doesn't have imap idle configured properly. What ends up
happening is that all the lp events get bunched together and pushed to
mqtt at once every 29mins. This isn't really useful as an event stream.
So this makes it configurable and decreases the default setting to 1 min
which seems like a much more useful default value, albeit at the cost of
more imap traffic to fetch messages.

Change-Id: I98fc9778f0adc548d28e7bbd8600f05ff4946ba2
2016-09-29 18:51:41 -04:00
Matthew Treinish f391139791
Add README section on running lpmqtt 2016-08-31 16:41:38 -04:00
Matthew Treinish eb70b40787
Add .gitreview file for future gerrit migration 2016-08-31 16:28:40 -04:00
Matthew Treinish b060fa765a
Cleanup requirements file 2016-08-31 16:27:19 -04:00
Matthew Treinish 304fb10389
Add doc building infra 2016-08-31 16:26:04 -04:00
Matthew Treinish 8ebe7acd06
Fix supported python versions 2016-08-31 16:22:36 -04:00
Matthew Treinish 75cd6edad2
Add pro forma tests
This commit adds tests so we have tests.
2016-08-31 16:14:24 -04:00
Matthew Treinish 01050415dc
Fix bug email subject processing
This commit fixes some issues that would come up if the email had
a subject encoded in a different charset like utf8. Now lpmqtt will
attempt to decode the subject and failing that exclude the bug number
from the response, instead of blowing up like it did before.
2016-08-30 14:44:41 -04:00
Matthew Treinish 33db094142
Update the readme 2016-08-29 22:10:21 -04:00
Matthew Treinish 2c8c3fd1d2
Fixes from actually using it 2016-08-29 21:42:52 -04:00
Matthew Treinish 314c1cb2d8
Add bug number subject parsing
This commit adds bug number subject parsing the bug msg processing
so we properly handle setting the bug number in the mqtt topic.
2016-08-29 19:55:39 -04:00
Matthew Treinish b278fa0008
Add imap configuration bits
This commit adds the necessary bits for configuring a connection to an
imap server. It also adds support for ssl and watching a specific
folder.
2016-08-29 19:35:35 -04:00
Matthew Treinish 843fac226b
Initial Commit 2016-08-29 16:09:33 -04:00