commit | 50032a3c12a272b4dfb816f7244ef07faca04524 | [log] [tgz] |
---|---|---|
author | Patrick Hiesel <hiesel@google.com> | Tue Sep 18 09:39:47 2018 +0200 |
committer | Patrick Hiesel <hiesel@google.com> | Tue Sep 18 09:39:47 2018 +0200 |
tree | 95f7c40f6f986966e1b78c5c1f813ef474115ccd | |
parent | 39f877f21d5b899d6886df67e5555a9547c70e25 [diff] |
Fix smaller API issues and add tests This commit fixes two smaller issues: 1) When sending a PUT request to change the config we make sure we return a fresh result from the cache to include all changes. 2) We do not initialize an emtpy Set for copyScores as this would overwrite existing copyScores if no input is provided. Tests are added to cover these cases. Change-Id: I33ad2bc9c6993d2ee6cf380cbee25b81329c36bf
Gerrit plugin to provide simple submit rules and a rest API to configure them.
By simple, we mean any rule that can be described in one sentence. Or fits in a tweet.
Having a set of simple rules makes composition easier, thus allowing harder rules to be defined ... in a simple way :)
Of course, this plugin can't contain all the simple rules one can think of, and will only contain rules that seem popular or interesting to have.