FindOwners: Avoid reading project state in PluginConfigFactory
All of the "Project Not Found" exceptions happen when
Checker#findApproval is called from the prolog predicate.
We can get project state from the prolog engine rather than
read it in PluginConfigFactory. This could avoid PNF there.
For other places, we have to read from ProjectCache, which I
think will work.
Also I notice some classes in this plugin could be annotated by
@Singleton, e.g. GetOwners.
7 files changed