Configure database from gerrit.config

Instead of relying on the horribly ugly GerritServer.properties we
now configure the database out of gerrit.config through database.*
configuration settings.

Change-Id: I34734ebe880181480cf149d664368c8e7e469bef
Signed-off-by: Shawn O. Pearce <sop@google.com>
This commit is contained in:
Shawn O. Pearce
2009-11-11 07:39:21 -08:00
parent fa2486a397
commit fb5548efcb
13 changed files with 509 additions and 42 deletions

View File

@@ -28,7 +28,7 @@ import java.io.File;
import java.io.IOException;
/** Provides {@link Config} annotated with {@link GerritServerConfig}. */
public class GerritServerConfigProvider implements Provider<Config> {
class GerritServerConfigProvider implements Provider<Config> {
private static final Logger log =
LoggerFactory.getLogger(GerritServerConfigProvider.class);