zuul/zuul/lib
James E. Blair ac1bb06c45 Fix zuul-web sql connections
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
2018-06-06 16:13:40 -07:00
..
__init__.py Initial commit. 2012-05-29 14:49:32 -07:00
commandsocket.py Close command socket after sending stop 2017-09-05 11:43:51 +02:00
config.py config: refactor config get default 2017-06-17 02:00:50 +00:00
connections.py Fix zuul-web sql connections 2018-06-06 16:13:40 -07:00
dependson.py Support cross-source dependencies 2018-01-16 09:37:40 -08:00
encryption.py Augment references of pkcs1 with oaep 2017-03-29 12:44:45 -07:00
fingergw.py Unset finger client timeout after connect 2018-02-21 13:43:41 -05:00
gearserver.py Ansible launcher: add private gearman function 2016-06-13 09:33:00 -07:00
jsonutil.py JSON serialize mappingproxy types 2018-04-28 14:20:27 +00:00
log_streamer.py Remove need to start executor as root 2018-01-10 13:57:16 -05:00
queue.py Merge tenant reconfiguration events 2017-10-18 15:41:14 -07:00
statsd.py Normalize hostname for statsd 2018-03-06 18:46:29 +01:00
streamer_utils.py Fix [Errno -9] Address family for hostname not supported 2018-03-13 16:19:22 -04:00
yamlutil.py Use mypy to do static type checking 2017-07-27 14:34:07 -05:00