zuul/zuul/web
Felix Edel 040f403e7f Improve component registry
This improves the usage of the component registry in various ways:

1. It adds a tree cache to the registry. The cache is eventual
   consistent, which should be sufficient for most use cases like
   calculating stats in the scheduler and getting a list of components
   without the need to ask ZooKeeper every time for the list of
   components.

2. Components can now be used as classes rather than dictionaries, which
   makes using and updating them much easier and nicer.

3. Components can be used without a registry. This makes registering
   components easier and you only need to instantiate a registry when
   you need the registry itself (e.g. in the scheduler).

With that change the registry itself is not used anywhere in the
production code because it's not required at this point. I will add this
in the next commit.

Change-Id: Ia8efba26114119eecffb9a89264083e4b8a80de0
2021-05-17 16:47:13 -07:00
..
__init__.py Improve component registry 2021-05-17 16:47:13 -07:00
handler.py Replace use of aiohttp with cherrypy 2018-05-31 09:09:26 -07:00