Implement group backends cache warm-up

Group backends typically come with their own cache for saving
preciouses roundtrips to fetch groups from remote systems.

Group lookup in LDAP may take a few seconds and on GitHub may even
cause a blockage of API calls because of traffic overload.

Warming up group caches from backends avoid floods of calls and threads
accumulating when the server needs to be restarted during peak hours.

Change-Id: Ifefcee686e18ecdb812f3eed614ffd5672d3db53
1 file changed
tree: 2aa0834bab41856f75ebd847ae9be6ee1b64d5cf
  1. admin/
  2. README.md
README.md

Gerrit scripting plugins collection

Overview

This repository contains a collection of Gerrit scripting plugins that are intended to provide simple and useful extensions.

How to run the scripting plugins

Gerrit needs to be able to recognise the scripts syntax and being able to load them as plugins.

In order to be able to run Groovy scripts, you need to install first the Groovy scripting provider and then copy the Groovy scripts under your Gerrit /plugins directory.

Similarly for Scala scripts, you need to install the Scala scripting provider and then copy the Scala scripts under your Gerrit /plugins directory.

Administration Scripts