mirror of
https://github.com/google/nomulus
synced 2026-09-21 07:24:26 +00:00
Remove jdbcUrl config for nomulus tool (#330)
This commit is contained in:
@@ -1296,12 +1296,6 @@ public final class RegistryConfig {
|
|||||||
return config.registryTool.clientSecret;
|
return config.registryTool.clientSecret;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Provides
|
|
||||||
@Config("toolsCloudSqlJdbcUrl")
|
|
||||||
public static String providesToolsCloudSqlJdbcUrl(RegistryConfigSettings config) {
|
|
||||||
return config.registryTool.jdbcUrl;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Provides
|
@Provides
|
||||||
@Config("toolsCloudSqlUsername")
|
@Config("toolsCloudSqlUsername")
|
||||||
public static String providesToolsCloudSqlUsername(RegistryConfigSettings config) {
|
public static String providesToolsCloudSqlUsername(RegistryConfigSettings config) {
|
||||||
|
|||||||
@@ -213,7 +213,6 @@ public class RegistryConfigSettings {
|
|||||||
public static class RegistryTool {
|
public static class RegistryTool {
|
||||||
public String clientId;
|
public String clientId;
|
||||||
public String clientSecret;
|
public String clientSecret;
|
||||||
public String jdbcUrl;
|
|
||||||
public String username;
|
public String username;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -422,6 +422,4 @@ registryTool:
|
|||||||
clientId: YOUR_CLIENT_ID
|
clientId: YOUR_CLIENT_ID
|
||||||
# OAuth client secret used by the tool.
|
# OAuth client secret used by the tool.
|
||||||
clientSecret: YOUR_CLIENT_SECRET
|
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
|
username: toolusername
|
||||||
|
|||||||
Reference in New Issue
Block a user