RETIRED, Gerrit as used by OpenStack
Go to file
Edwin Kempin b8590bd990 Add REST endpoint to get info about server configuration
Some of the Gerrit configuration parameters can now be accessed by

  GET /config/server/info

This REST endpoint can also be used anonymously.

For now the REST endpoint returns only a very limited set of
configuration parameters, which are needed by the Gerrit Mylyn
Connector. The result contains information about:

- auth type, editable account fields, if contributor agreements are
  used
- contact store
- download schemes, commands and archive formats
- All-Projects and All-Users project names

At the moment the Mylyn Gerrit Connector retrieves this information by
parsing the config from the HostPageData which is sent to the client.
This is an internal data structure which is used to exchange
information between Gerrit server and Gerrit WebUI. It's not an API
and third-party tools should not rely on it. As a result the Mylyn
Gerrit Connector is currently broken for Gerrit 2.11 and newer.

Provide the Mylyn Gerrit Connector team a stable API that provides
them the information they need so that future breakages can be
avoided. See Eclipse Bugzilla issue 465132 [1] for further details.

The structure of the returned JSON correlates to the structure in the
gerrit.config file.

[1] https://bugs.eclipse.org/bugs/show_bug.cgi?id=465132

Change-Id: Iac4be762bff971403438aa84923d9f0e11883366
Signed-off-by: Edwin Kempin <edwin.kempin@sap.com>
2015-05-04 15:52:56 +02:00
.settings Update import order settings to list all top-level packages 2015-03-25 20:36:56 +00:00
bucklets Rename __standalone_mode__ to STANDALONE_MODE 2014-11-24 08:44:12 +00:00
contrib Fix minor python code style issues 2014-12-18 02:51:06 +00:00
Documentation Add REST endpoint to get info about server configuration 2015-05-04 15:52:56 +02:00
gerrit-acceptance-tests Acceptance Tests: use hasSize assertion to verify expected list sizes 2015-04-30 14:33:57 +09:00
gerrit-antlr Support change~branch~id in query syntax 2014-12-10 09:55:08 -08:00
gerrit-cache-h2 Merge branch 'stable-2.11' 2015-04-30 11:56:32 +09:00
gerrit-common Move GroupInfo and related classes from GroupJson to extensions 2015-04-14 09:01:38 -04:00
gerrit-extension-api Update version to 2.10.3.1 2015-04-17 13:17:20 +02:00
gerrit-gwtdebug Organize imports 2014-12-18 11:16:03 +09:00
gerrit-gwtexpui Allow to build api with Java 8 2015-03-29 16:21:33 +02:00
gerrit-gwtui Merge "Merge branch 'stable-2.11'" 2015-04-30 05:18:37 +00:00
gerrit-gwtui-common Remove unused "remove reviewer" image 2015-01-08 18:39:58 +09:00
gerrit-httpd Add REST endpoint to get info about server configuration 2015-05-04 15:52:56 +02:00
gerrit-launcher Replace C-style array declarations with Java-style declarations 2015-03-19 12:15:43 +09:00
gerrit-lucene IndexConfig: Configure maxLimit from Config 2015-04-23 11:30:13 -07:00
gerrit-main Replace C-style array declarations with Java-style declarations 2015-03-19 12:15:43 +09:00
gerrit-oauth Merge branch 'stable-2.10' into stable-2.11 2015-04-14 14:29:36 +09:00
gerrit-openid Merge branch 'stable-2.10' into stable-2.11 2015-04-28 14:12:03 +09:00
gerrit-patch-commonsnet Replace 'for' loop with 'foreach' 2013-12-04 01:02:53 +04:00
gerrit-patch-jgit Turn on many more Eclipse warnings, and fix them 2014-10-29 15:00:17 -07:00
gerrit-pgm Merge branch 'stable-2.11' 2015-04-30 11:56:32 +09:00
gerrit-plugin-api Update version to 2.10.3.1 2015-04-17 13:17:20 +02:00
gerrit-plugin-archetype Update version to 2.10.3.1 2015-04-17 13:17:20 +02:00
gerrit-plugin-gwt-archetype Update version to 2.10.3.1 2015-04-17 13:17:20 +02:00
gerrit-plugin-gwtui Update version to 2.10.3.1 2015-04-17 13:17:20 +02:00
gerrit-plugin-js-archetype Update version to 2.10.3.1 2015-04-17 13:17:20 +02:00
gerrit-prettify Add missing braces around if- for- and while-statements 2015-03-19 12:15:42 +09:00
gerrit-reviewdb Move users of Branch constants to RefNames constants. 2015-04-29 12:08:58 -06:00
gerrit-server Add REST endpoint to get info about server configuration 2015-05-04 15:52:56 +02:00
gerrit-solr IndexConfig: Configure maxLimit from Config 2015-04-23 11:30:13 -07:00
gerrit-sshd Move users of Branch constants to RefNames constants. 2015-04-29 12:08:58 -06:00
gerrit-util-cli Add missing braces around if- for- and while-statements 2015-03-19 12:15:42 +09:00
gerrit-util-http Fix line length warnings 2015-03-19 18:35:04 +09:00
gerrit-util-ssl Turn on many more Eclipse warnings, and fix them 2014-10-29 15:00:17 -07:00
gerrit-war Merge branch 'stable-2.11' 2015-04-30 11:56:32 +09:00
lib Merge "Package jsonevent-layout with war" 2015-04-30 05:15:57 +00:00
plugins Update the cookbook plugin revision 2015-04-17 16:56:05 +09:00
ReleaseNotes Merge branch 'stable-2.11' 2015-04-20 10:32:27 +09:00
tools Fix Eclipse project generation when plugins without tags are present 2015-04-14 17:49:21 +09:00
website/releases Releases: Update website to use Cloud Storage v1 API 2014-11-21 12:22:59 -08:00
.buckconfig Build Gerrit in headless mode 2015-03-04 10:59:02 +09:00
.buckversion Update buck version to same as master 2015-04-14 14:47:50 +09:00
.editorconfig Add basic EditorConfig 2015-03-03 07:12:16 +00:00
.gitignore Revert "Add UNIT_TEST_GERRIT_SITE to .gitignore" 2015-04-27 14:49:03 +09:00
.gitmodules Add singleusergroup plugin 2013-11-09 07:45:00 +01:00
.mailmap Update mailmap 2015-04-08 07:50:41 +00:00
.pydevproject Update PyDev project to use Python 2.7 2014-10-02 15:16:44 +09:00
.watchmanconfig Watchman: Add buck-out dir to ignored directories 2014-08-21 07:32:37 +02:00
BUCK Build Gerrit in headless mode 2015-03-04 10:59:02 +09: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 Update version to 2.10.3.1 2015-04-17 13:17:20 +02:00