Skip to content

Commit

Permalink
last updates
Browse files Browse the repository at this point in the history
  • Loading branch information
dedeco committed Sep 12, 2023
1 parent 34ded3a commit 5ce79f6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
*.json
HELP.md
target/
!.mvn/wrapper/maven-wrapper.jar
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ DataSource getDataSource() {
HikariConfig config = new HikariConfig();

config.setJdbcUrl("jdbc:postgresql://127.0.0.1:5432/pagila");
config.setUsername("[email protected]");
config.setUsername("[email protected]");
config.addDataSourceProperty("ssl", "true");
config.addDataSourceProperty("sslmode", "disable");
// TODO: configure client certs
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ public String getPassword() {
GoogleCredentials credentials;
try {
credentials = GoogleCredentials.getApplicationDefault();

} catch (IOException err) {
throw new RuntimeException(
"Unable to obtain credentials to communicate with the Cloud SQL API", err);
Expand Down

0 comments on commit 5ce79f6

Please sign in to comment.