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 |
||
---|---|---|
.. | ||
logging.conf-sample | ||
marconi-proxy.conf-sample | ||
marconi-queues.conf-sample |