RETIRED, Gerrit as used by OpenStack
Go to file
Edwin Kempin 42c9cf61c8 Add REST endpoint to list caches
GET /config/server/caches/ lists the server caches. Caches defined by
plugins are included.

The implementation of the SSH show-caches was adapted so that it uses
the new REST endpoint to get the information about the caches. This
avoids code duplication.

For disk caches a new interface was introduced in gerrit-server. This
is done because the list caches REST endpoint needs extra information
for disk caches which can only be provided by the disk cache, aka
H2CacheImpl. H2CacheImpl is defined in gerrit-cache-h2, but
gerrit-server doesn't have a dependency on it and hence can't use
instanceof to check whether a cache is a disk cache. Adding this
dependency is not wanted and also not possible (because
gerrit-cache-h2 already depends on gerrit-server and we can't have
cycles in the dependencies).

Change-Id: I21bf6e114310f98051a0a8db01012511f58d4add
Signed-off-by: Edwin Kempin <edwin.kempin@sap.com>
2014-05-28 09:29:12 +02:00
.settings Eclipse: Bump java source and target level to 7 2013-11-29 00:15:50 +01:00
contrib Allow to download reposize.sh script from Gerrit 2014-05-09 16:20:51 +02:00
Documentation Add REST endpoint to list caches 2014-05-28 09:29:12 +02:00
gerrit-acceptance-tests Add REST endpoint to list caches 2014-05-28 09:29:12 +02:00
gerrit-antlr Remove unused .gitignore 2013-11-28 22:56:51 -08:00
gerrit-cache-h2 Add REST endpoint to list caches 2014-05-28 09:29:12 +02:00
gerrit-common Buck: Rename gwtxml to gwt_xml in gwt_module() 2014-05-19 12:26:50 -07:00
gerrit-extension-api Merge branch 'stable-2.9' 2014-05-23 11:16:23 +09:00
gerrit-gwtdebug Prevent StackOverflowError in JettyTreeLogger 2014-02-07 12:54:18 +00:00
gerrit-gwtexpui Merge changes Ia6447e62,Ic09dc032,I7f1ee1d6,I26fd741d,I1f13f4d2 2014-05-19 19:30:04 +00:00
gerrit-gwtui SideBySide2: Hide empty pane for added and deleted files 2014-05-23 15:35:55 -07:00
gerrit-gwtui-common Buck: Rename gwtxml to gwt_xml in gwt_module() 2014-05-19 12:26:50 -07:00
gerrit-httpd Return 304 for not modified SmallResources 2014-05-23 23:05:22 +01:00
gerrit-launcher Apply "type inference for generic instance creation" Java 7 feature 2014-04-26 15:27:57 +02:00
gerrit-lucene Lucene: Use stored ChangedLines values 2014-05-23 10:53:23 -07:00
gerrit-main Build Main for Java 1.2 2013-11-30 01:53:00 -08:00
gerrit-openid Update Buck 2014-05-04 12:54:17 +02:00
gerrit-patch-commonsnet Replace 'for' loop with 'foreach' 2013-12-04 01:02:53 +04:00
gerrit-patch-jgit Buck: Rename gwtxml to gwt_xml in gwt_module() 2014-05-19 12:26:50 -07:00
gerrit-pgm Merge changes Ia6447e62,Ic09dc032,I7f1ee1d6,I26fd741d,I1f13f4d2 2014-05-19 19:30:04 +00:00
gerrit-plugin-api Merge branch 'stable-2.9' 2014-05-23 11:16:23 +09:00
gerrit-plugin-archetype Merge branch 'stable-2.9' 2014-05-21 17:20:11 +09:00
gerrit-plugin-gwt-archetype Merge branch 'stable-2.9' 2014-05-21 17:20:11 +09:00
gerrit-plugin-gwtui Merge branch 'stable-2.9' 2014-05-23 11:16:23 +09:00
gerrit-plugin-js-archetype Merge branch 'stable-2.9' 2014-05-21 17:20:11 +09:00
gerrit-prettify Buck: Rename gwtxml to gwt_xml in gwt_module() 2014-05-19 12:26:50 -07:00
gerrit-reviewdb SideBySide2: Hide empty pane for added and deleted files 2014-05-23 15:35:55 -07:00
gerrit-server Add REST endpoint to list caches 2014-05-28 09:29:12 +02:00
gerrit-solr Merge changes Iac79af54,Ief41eccc,Iae52ade9,I0bd9eabb,I2ef5b9e1 2014-02-13 17:02:23 +00:00
gerrit-sshd Add REST endpoint to list caches 2014-05-28 09:29:12 +02:00
gerrit-util-cli ReceiveCommits: Add support for approvals 2014-05-08 17:08:44 -07:00
gerrit-util-ssl Remove unused .gitignore 2013-11-28 22:56:51 -08:00
gerrit-war Update Buck 2014-05-04 12:54:17 +02:00
lib Add search fields for # of changed lines. 2014-05-23 10:16:15 -07:00
plugins Update plugins to latest revisions 2014-05-13 15:34:05 +09:00
ReleaseNotes Add more bug-fixes to 2.9 release notes 2014-05-21 13:15:08 +02:00
tools Merge branch 'stable-2.9' 2014-05-23 11:16:23 +09:00
website/releases Exclude gerrit-snapshot-* from releases page 2014-02-19 05:56:00 +00:00
.buckconfig Merge branch 'stable-2.9' 2014-05-21 15:39:04 +09:00
.buckversion Update Buck and use gwt_binary() 2014-05-19 11:41:31 -07:00
.gitignore Ignoring vi swap file 2014-04-25 18:40:35 +01:00
.gitmodules Add singleusergroup plugin 2013-11-09 07:45:00 +01:00
.pydevproject Set python version back to 2.6.5 in .pydevproject 2013-05-20 11:36:08 +09:00
BUCK Update Buck and use gwt_binary() 2014-05-19 11:41:31 -07:00
COPYING Initial project setup of Gerrit 2 2008-11-14 16:59:34 -08:00
INSTALL Remove Gerrit 1.x to 2.x import tools 2009-03-27 20:20:10 -07:00
SUBMITTING_PATCHES Update push URL in SUBMITTING_PATCHES 2012-03-29 00:57:14 -04:00
VERSION Bump VERSION to 2.10-SNAPSHOT 2014-03-18 14:45:46 +09:00