d8e68c365b
The new executor supports trollius coroutines, explicit asynchronous programming, in addition to eventlet greenthreads, implicit asynchronous programming. The new AsyncioEventletExecutor class is based on the EventletExecutor class and so it is compatible with it. The aioeventlet executor can be used to replace the eventlet executor, but it requires an aioeventlet event loop running in the thread running the executor (usually the main thread). See AsyncioEventletExecutor docstring for an example how to setup such event loop. The aioeventlet module implements the asyncio API (PEP 3156) on top of eventlet, see aioeventlet documentation: http://aioeventlet.readthedocs.org/ The change adds an unit test with an endpoint implemented as a trollius coroutine. The executor is not supported on Python 3 yet because of eventlet issues with monkey patching. Implements: blueprint greenio-executor Change-Id: I7a78ed998719a703077232726f66d882463b1297
85 lines
2.5 KiB
INI
85 lines
2.5 KiB
INI
[metadata]
|
|
name = oslo.messaging
|
|
author = OpenStack
|
|
author-email = openstack-dev@lists.openstack.org
|
|
summary = Oslo Messaging API
|
|
description-file =
|
|
README.rst
|
|
home-page = https://launchpad.net/oslo
|
|
classifier =
|
|
Development Status :: 4 - Beta
|
|
Environment :: OpenStack
|
|
Intended Audience :: Developers
|
|
Intended Audience :: Information Technology
|
|
License :: OSI Approved :: Apache Software License
|
|
Operating System :: OS Independent
|
|
Programming Language :: Python
|
|
Programming Language :: Python :: 2.6
|
|
Programming Language :: Python :: 2.7
|
|
|
|
[files]
|
|
packages =
|
|
oslo
|
|
oslo.messaging
|
|
oslo_messaging
|
|
namespace_packages =
|
|
oslo
|
|
|
|
[entry_points]
|
|
console_scripts =
|
|
oslo-messaging-zmq-receiver = oslo_messaging._cmd.zmq_receiver:main
|
|
|
|
oslo.messaging.drivers =
|
|
rabbit = oslo_messaging._drivers.impl_rabbit:RabbitDriver
|
|
qpid = oslo_messaging._drivers.impl_qpid:QpidDriver
|
|
zmq = oslo_messaging._drivers.impl_zmq:ZmqDriver
|
|
amqp = oslo_messaging._drivers.protocols.amqp.driver:ProtonDriver
|
|
|
|
# To avoid confusion
|
|
kombu = oslo_messaging._drivers.impl_rabbit:RabbitDriver
|
|
|
|
# This is just for internal testing
|
|
fake = oslo_messaging._drivers.impl_fake:FakeDriver
|
|
|
|
oslo.messaging.executors =
|
|
aioeventlet = oslo_messaging._executors.impl_aioeventlet:AsyncioEventletExecutor
|
|
blocking = oslo_messaging._executors.impl_blocking:BlockingExecutor
|
|
eventlet = oslo_messaging._executors.impl_eventlet:EventletExecutor
|
|
threading = oslo_messaging._executors.impl_thread:ThreadExecutor
|
|
|
|
oslo.messaging.notify.drivers =
|
|
messagingv2 = oslo_messaging.notify._impl_messaging:MessagingV2Driver
|
|
messaging = oslo_messaging.notify._impl_messaging:MessagingDriver
|
|
log = oslo_messaging.notify._impl_log:LogDriver
|
|
test = oslo_messaging.notify._impl_test:TestDriver
|
|
noop = oslo_messaging.notify._impl_noop:NoOpDriver
|
|
routing = oslo_messaging.notify._impl_routing:RoutingDriver
|
|
|
|
oslo.config.opts =
|
|
oslo.messaging = oslo_messaging.opts:list_opts
|
|
|
|
[build_sphinx]
|
|
source-dir = doc/source
|
|
build-dir = doc/build
|
|
all_files = 1
|
|
|
|
[upload_sphinx]
|
|
upload-dir = doc/build/html
|
|
|
|
[compile_catalog]
|
|
directory = oslo.messaging/locale
|
|
domain = oslo.messaging
|
|
|
|
[update_catalog]
|
|
domain = oslo.messaging
|
|
output_dir = oslo.messaging/locale
|
|
input_file = oslo.messaging/locale/oslo.messaging.pot
|
|
|
|
[extract_messages]
|
|
keywords = _ gettext ngettext l_ lazy_gettext
|
|
mapping_file = babel.cfg
|
|
output_file = oslo.messaging/locale/oslo.messaging.pot
|
|
|
|
[pbr]
|
|
warnerrors = true
|