ac1bb06c45
A recent change to scope sql connections to tenants was incorrect because it assumed zuul-web would have access to a tenant's layout, but that is only in the zuul-scheduler's memory. Instead, this change causes zuul-web to perform an RPC call to the scheduler to ask which connection to use before performing sql queries. This slipped through testing because the zuul web test fixture used the same connection registry object as the scheduler, and therefore *was* able to access data which normally would not be available to it. This updates the zuul web test fixture to use a separate connection registry. Also, because zuul-web doesn't need any other kinds of connections at the moment, add a facility to allow it to only load sql connections, so that it doesn't do anything with the gerrit or github drivers. Change-Id: Iac6d8c6960f4a31eb2f78511664b704758e41687 |
||
---|---|---|
.. | ||
__init__.py | ||
commandsocket.py | ||
config.py | ||
connections.py | ||
dependson.py | ||
encryption.py | ||
fingergw.py | ||
gearserver.py | ||
jsonutil.py | ||
log_streamer.py | ||
queue.py | ||
statsd.py | ||
streamer_utils.py | ||
yamlutil.py |