mirror of
https://github.com/google/nomulus.git
synced 2025-06-26 06:14:54 +02:00
Remove jdbcUrl config for nomulus tool (#330)
This commit is contained in:
parent
82dcc88f9c
commit
b179b084af
3 changed files with 0 additions and 9 deletions
|
@ -1296,12 +1296,6 @@ public final class RegistryConfig {
|
|||
return config.registryTool.clientSecret;
|
||||
}
|
||||
|
||||
@Provides
|
||||
@Config("toolsCloudSqlJdbcUrl")
|
||||
public static String providesToolsCloudSqlJdbcUrl(RegistryConfigSettings config) {
|
||||
return config.registryTool.jdbcUrl;
|
||||
}
|
||||
|
||||
@Provides
|
||||
@Config("toolsCloudSqlUsername")
|
||||
public static String providesToolsCloudSqlUsername(RegistryConfigSettings config) {
|
||||
|
|
|
@ -213,7 +213,6 @@ public class RegistryConfigSettings {
|
|||
public static class RegistryTool {
|
||||
public String clientId;
|
||||
public String clientSecret;
|
||||
public String jdbcUrl;
|
||||
public String username;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -422,6 +422,4 @@ registryTool:
|
|||
clientId: YOUR_CLIENT_ID
|
||||
# OAuth client secret used by the tool.
|
||||
clientSecret: YOUR_CLIENT_SECRET
|
||||
# Nomulus tool uses a different jdbc url and user to connect to Cloud SQL
|
||||
jdbcUrl: jdbc:postgresql://localhost/tool
|
||||
username: toolusername
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue