RETIRED, Gerrit as used by OpenStack
Go to file
Dariusz Luksza 256ec34af2 Enable SecureStore configuration during init
Add new flag for the init program:

 * --secure-store-lib

That enables configuration of SecureStore during init. It will
automatically discover implementations of SecureStore interface inside
jar file. If there is not exactly one implementation the init will fail.

During init the SecureStore jar file will be added to Gerrit classpath.
Then after init this file will be copied to $gerrit_site/lib directory.
The discovered value of 'secureStoreImpl' will be saved in the
gerrit.config file.

This change also introduces a @SecureStoreClassName String binding early
in the startup so that this can be injected anywhere without worrying
about having the @GerritServerConfig bound (which itself requires an
injection of the SecureStore).

If an already initialized site with a custom secure store is init-ed
again and the --secure-store-lib option is not specified then the
gerrit.secureStoreClass is honored to ensure we use the same secure
store implementation. If the --secure-store-lib option is specified then
the gerrit.secureStoreClass is ignored during init and will be
overwritten with the new secure store.

Without this modification schema updates will fail because of wrong
password when custom SecureStore is used.

Change-Id: Iae22bbdace0d9c7e7db0690c4bf522176fc3308e
Signed-off-by: Dariusz Luksza <dariusz@luksza.org>
2015-02-17 11:15:01 +09:00
.settings RFC: Enable Eclipse warning about fall-through cases in switch statements 2015-02-03 12:17:49 +09: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 option to make ldap groups visible to everyone 2015-02-16 16:02:17 +01:00
gerrit-acceptance-tests InlineEdit: Allow to upload change edit with git push 2015-02-13 18:14:22 +01:00
gerrit-antlr Support change~branch~id in query syntax 2014-12-10 09:55:08 -08:00
gerrit-cache-h2 Use AutoCloseable gwtorm/jdbc instances 2015-01-13 11:23:40 -08:00
gerrit-common Fix some warnings raised by CheckStyle 2015-02-12 19:38:30 +09:00
gerrit-extension-api Change API: Add getEdit() method 2015-02-13 18:09:03 +09:00
gerrit-gwtdebug Organize imports 2014-12-18 11:16:03 +09:00
gerrit-gwtexpui Fix some warnings raised by CheckStyle 2015-02-12 19:38:30 +09:00
gerrit-gwtui Show changes across all branches and projects in topics tab 2015-02-12 16:02:27 -08:00
gerrit-gwtui-common Remove unused "remove reviewer" image 2015-01-08 18:39:58 +09:00
gerrit-httpd InlineEdit: Fix mangling of non-ASCII characters 2015-02-05 13:38:53 -08:00
gerrit-launcher Fix some warnings raised by CheckStyle 2015-02-12 19:38:30 +09:00
gerrit-lucene Add index configuration to specify maximum possible limit 2015-01-20 11:04:08 -08:00
gerrit-main Build Main for Java 1.2 2013-11-30 01:53:00 -08:00
gerrit-openid OpenID: Add support for Launchpad on the login form 2014-12-12 21:22:55 +01: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 Enable SecureStore configuration during init 2015-02-17 11:15:01 +09:00
gerrit-plugin-api Allow to create javadocs for multiple packages 2014-10-22 01:28:59 +02:00
gerrit-plugin-archetype Bump version to 2.11-SNAPSHOT 2014-07-23 12:05:35 +09:00
gerrit-plugin-gwt-archetype Bump GWT to 2.7.0 in plugin GWT archetype 2014-12-24 08:21:25 +00:00
gerrit-plugin-gwtui Fix some warnings raised by CheckStyle 2015-02-12 19:38:30 +09:00
gerrit-plugin-js-archetype Bump version to 2.11-SNAPSHOT 2014-07-23 12:05:35 +09:00
gerrit-prettify Fix some warnings raised by CheckStyle 2015-02-12 19:38:30 +09:00
gerrit-reviewdb Remove unused InheritedBoolean.java 2015-02-12 10:39:16 +01:00
gerrit-server Enable SecureStore configuration during init 2015-02-17 11:15:01 +09:00
gerrit-solr Add index configuration to specify maximum possible limit 2015-01-20 11:04:08 -08:00
gerrit-sshd Merge "Split the ChangeHooks interface in 2" 2015-02-12 17:52:30 +00:00
gerrit-util-cli Turn on many more Eclipse warnings, and fix them 2014-10-29 15:00:17 -07:00
gerrit-util-http Refactor RequestUtil into a separate package 2014-10-30 15:35:26 -07:00
gerrit-util-ssl Turn on many more Eclipse warnings, and fix them 2014-10-29 15:00:17 -07:00
gerrit-war Use AutoCloseable gwtorm/jdbc instances 2015-01-13 11:23:40 -08:00
lib Upgrade parboiled to version 1.1.7 2015-02-13 21:13:14 +00:00
plugins Merge "Update the singleusergroup plugin version" 2015-02-16 14:08:29 +00:00
ReleaseNotes Update 2.11 release notes 2015-02-12 10:35:24 +00:00
tools Add configuration file for Checkstyle 2015-01-29 02:50:16 +00:00
website/releases Releases: Update website to use Cloud Storage v1 API 2014-11-21 12:22:59 -08:00
.buckconfig Add buck build soyc to output GWT split point report 2015-01-15 04:40:28 +00:00
.buckversion Update buck to latest version 2015-01-21 08:29:26 +00:00
.gitignore Add buck build soyc to output GWT split point report 2015-01-15 04:40:28 +00:00
.gitmodules Add singleusergroup plugin 2013-11-09 07:45:00 +01:00
.mailmap Update mailmap 2015-01-23 17:56:02 +09: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 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.11-SNAPSHOT 2014-07-23 12:05:35 +09:00