For progress requests for a gerrit project, lookup the corresponding tricium project in the service config, or let the plugin config include the tricium project.
Some thoughts:
I'm not sure if it really belongs with the plugin config, since it seems like a detail that's not necessarily related to the plugin, and this mapping is already in the service config.
Looking up the corresponding tricium project in the service config may incur a minor performance penalty since it might involve fetching the config and iterating through projects. But, this may not be a significant performance issue if the mapping is cached somehow -- perhaps stored in datastore?
What do you think?
Comment 1 by qyears...@chromium.org
, Nov 16 2017