13d7974cb9
This change is made in prepartion for the upcoming sharded storage features. Shard registration is a feature that only operators should be able to do, and since the sharding is done within the queues application, it was necessary to break this out into a separate API. This patch adds a new configuration variable: admin_mode. It is used to multiplex which version of the API is loaded. Furthermore, the admin API is an enhanced version of the public API in that it allows every route that the public API in addition to admin-only endpoints. This should ease unit testing in future patches. A few small refactorings were made, including: - health resource moved to common transport location - version module moved to common/transport - pass config from bootstrap to transport driver - pass cache in base transport driver - convert base transport driver to use six.add_metaclass - pass public bootstrap to bootstrap unit test Change-Id: I0d6ff381afb25adb8a4b784a60b6d6eb71431245 Partially-implements: blueprint storage-sharding
75 lines
2.1 KiB
INI
75 lines
2.1 KiB
INI
[metadata]
|
|
name = marconi
|
|
version = 2013.2
|
|
summary = OpenStack Queuing and Notification Service
|
|
description-file =
|
|
README.rst
|
|
author = OpenStack
|
|
author-email = openstack-dev@lists.openstack.org
|
|
home-page = http://www.openstack.org/
|
|
classifier =
|
|
Environment :: OpenStack
|
|
Intended Audience :: Information Technology
|
|
Intended Audience :: System Administrators
|
|
License :: OSI Approved :: Apache Software License
|
|
Operating System :: POSIX :: Linux
|
|
Programming Language :: Python
|
|
Programming Language :: Python :: 2
|
|
Programming Language :: Python :: 2.7
|
|
Programming Language :: Python :: 2.6
|
|
|
|
[files]
|
|
packages =
|
|
marconi
|
|
|
|
[entry_points]
|
|
console_scripts =
|
|
marconi-server = marconi.cmd.server:run
|
|
|
|
marconi.queues.storage =
|
|
sqlite = marconi.queues.storage.sqlite.driver:Driver
|
|
mongodb = marconi.queues.storage.mongodb.driver:Driver
|
|
|
|
marconi.queues.public.transport =
|
|
wsgi = marconi.queues.transport.wsgi.public.driver:Driver
|
|
|
|
marconi.queues.admin.transport =
|
|
wsgi = marconi.queues.transport.wsgi.admin.driver:Driver
|
|
|
|
marconi.common.cache.backends =
|
|
memory = marconi.common.cache._backends.memory:MemoryBackend
|
|
memcached = marconi.common.cache._backends.memcached:MemcachedBackend
|
|
|
|
marconi.proxy.storage =
|
|
memory = marconi.proxy.storage.memory.driver:Driver
|
|
mongodb = marconi.proxy.storage.mongodb.driver:Driver
|
|
|
|
marconi.proxy.public.transport =
|
|
wsgi = marconi.proxy.transport.wsgi.public.driver:Driver
|
|
|
|
marconi.proxy.admin.transport =
|
|
wsgi = marconi.proxy.transport.wsgi.admin.driver:Driver
|
|
|
|
[nosetests]
|
|
where=tests
|
|
; TODO(kgriffs): Remove this exclusion once proxy code is removed or fixed
|
|
exclude=.*proxy.*
|
|
verbosity=2
|
|
|
|
with-doctest = true
|
|
|
|
cover-package = marconi
|
|
cover-html = true
|
|
cover-erase = true
|
|
cover-inclusive = true
|
|
|
|
; Disabled: Causes a bug in testtools to manifest.
|
|
; Trigger: self.assertX(condition), where condition == False.
|
|
;
|
|
; In "testtools/testresult/real.py" the traceback is set to
|
|
; None in _details_to_exc_info(), but the inspect_traceback()
|
|
; method in nose/inspector.py requires a traceback-like object.
|
|
;
|
|
; detailed-errors = 1
|
|
|