Library for running OpenStack services
Go to file
Zane Bitter d555763f8f Maintain private interface for loopingcall._ThreadingEvent
A previous patch replaced the _Event() function and _ThreadingEvent()
class in oslo_service.loopingcall with a single _Event() class. However,
some consumers of oslo_service (including Nova) were relying on the
private interface to mock methods during unit testing, which prevents
them updating to the latest version of oslo.service.

Make '_ThreadingEvent' a reference to the _Event class, and add
deprecated methods compatible with the previous interface, so that the
private interface does not change.

This is a stable-only change, because on master we now require consumers
to use oslo_service.fixture.SleepFixture rather than rely on the private
interface.

Change-Id: I37b38c8e1382cdf28a533dfcfc017d238c3f2684
Related-Bug: #1798774
2018-11-26 11:35:20 -05:00
doc/source rearrange existing documentation to fit the new standard layout 2017-07-01 19:52:23 +09:00
oslo_service Maintain private interface for loopingcall._ThreadingEvent 2018-11-26 11:35:20 -05:00
releasenotes Imported Translations from Zanata 2018-03-02 06:06:23 +00:00
.coveragerc Update .coveragerc after the removal of respective directory 2016-10-18 17:45:44 +05:30
.gitignore Convert oslo.service to using stestr 2018-07-04 08:39:21 +07:00
.gitreview Update .gitreview for stable/rocky 2018-07-26 12:40:15 +00:00
.mailmap exported from oslo-incubator by graduate.sh 2015-05-21 16:51:40 +03:00
.stestr.conf Convert oslo.service to using stestr 2018-07-04 08:39:21 +07:00
.zuul.yaml Add Python 3.5 jobs 2018-08-27 17:08:01 -04:00
CONTRIBUTING.rst rearrange existing documentation to fit the new standard layout 2017-07-01 19:52:23 +09:00
HACKING.rst Update URLs in documents according to document migration 2017-07-12 23:28:29 +08:00
LICENSE exported from oslo-incubator by graduate.sh 2015-05-21 16:51:40 +03:00
README.rst Add release notes link to README 2018-06-21 13:20:00 +08:00
babel.cfg exported from oslo-incubator by graduate.sh 2015-05-21 16:51:40 +03:00
lower-constraints.txt Convert oslo.service to using stestr 2018-07-04 08:39:21 +07:00
requirements.txt Remove eventlet cap 2018-04-10 15:02:52 +00:00
setup.cfg Update URLs in documents according to document migration 2017-07-12 23:28:29 +08:00
setup.py Updated from global requirements 2017-03-03 00:03:22 +00:00
test-requirements.txt Convert oslo.service to using stestr 2018-07-04 08:39:21 +07:00
tox.ini Update UPPER_CONSTRAINTS_FILE for stable/rocky 2018-07-26 12:40:17 +00:00

README.rst

Team and repository tags

image

oslo.service -- Library for running OpenStack services

Latest Version

Downloads

oslo.service provides a framework for defining new long-running services using the patterns established by other OpenStack applications. It also includes utilities long-running applications might need for working with SSL or WSGI, performing periodic operations, interacting with systemd, etc.