zuul/zuul/driver
Jesse Keating 61040e7ccb Implement a cache of github change objects
This adds a cache of github change objects (PullRequests with associated
data). As an event comes in, the cache is checked for a matching change,
and the data is updated. If no change exists a new one is created and
"updated". When the change queue is processed, the change in question is
pulled from the cache without updating it, saving numerous API calls.
As events come in, the very same object is updated with new data, so
that when the change queue is processed it has the latest known data for
a given change.

This will drasticaly reduce the number of API calls that were made via
the github API, as well as set things up nicely for switching over to
GraphQL as it becomes possible.

Change-Id: If99505c7bcfebe0916eeb8e4ccaa47cf97f2cc9a
Story: 2000774
Task: 4610
2017-06-08 15:51:32 -07:00
..
bubblewrap Add untrusted-projects ansible test 2017-06-01 18:47:18 -07:00
gerrit Merge "Extend in-repo config update support to github" into feature/zuulv3 2017-06-08 11:41:33 +00:00
git Add driver-specific pipeline requirements 2017-05-19 13:24:00 -07:00
github Implement a cache of github change objects 2017-06-08 15:51:32 -07:00
nullwrap Add support for bwrap 2017-06-01 09:26:45 -07:00
smtp Remove pipeline argument from various report fncts 2017-06-01 12:22:21 -07:00
sql Merge "Remove pipeline argument from various report fncts" into feature/zuulv3 2017-06-07 12:37:54 +00:00
timer Add driver-specific pipeline requirements 2017-05-19 13:24:00 -07:00
zuul Add driver-specific pipeline requirements 2017-05-19 13:24:00 -07:00
__init__.py Add support for bwrap 2017-06-01 09:26:45 -07:00
util.py Add driver-specific pipeline requirements 2017-05-19 13:24:00 -07:00