This patch modifies the queues code to use manually instantiated configs
rather than the global config. This will allow for more flexibility in
configuring components. For example, the up-and-coming sharding feature
can construct configs based on the shard catalog rather than the local
INI file. Also, this change will make testing easier.
Also in this patch, the SQLite driver schema was consolidated into
one place in preparation for the sharding patch. With this change,
controllers can be instantiated and used independently, since all
the tables are set up when the driver is loaded, not in a piecemeal
fashion as before.
Reviewed: https:/ /review. openstack. org/51705 github. com/openstack/ marconi/ commit/ c67d5a4a2516644 e17740ab38ef71c 870a470ba4
Committed: http://
Submitter: Jenkins
Branch: master
commit c67d5a4a2516644 e17740ab38ef71c 870a470ba4
Author: kgriffs <email address hidden>
Date: Mon Oct 14 09:51:48 2013 -0500
fix(queues): Global config used everywhere
This patch modifies the queues code to use manually instantiated configs
rather than the global config. This will allow for more flexibility in
configuring components. For example, the up-and-coming sharding feature
can construct configs based on the shard catalog rather than the local
INI file. Also, this change will make testing easier.
Also in this patch, the SQLite driver schema was consolidated into
one place in preparation for the sharding patch. With this change,
controllers can be instantiated and used independently, since all
the tables are set up when the driver is loaded, not in a piecemeal
fashion as before.
Change-Id: I1afa8ab8c7e6dd 9a017f4a9e3a3b1 fadbeb32806 global- config
Implements: blueprint remove-
Closes-Bug: #1239725