Skip to content

Commit

Permalink
to support oci oss and postgres ssl (#76)
Browse files Browse the repository at this point in the history
* updated cloud-store-sdk version 1.4.6

Signed-off-by: Deepak Devadathan <[email protected]>

* sslmode= require

Signed-off-by: Deepak Devadathan <[email protected]>

---------

Signed-off-by: Deepak Devadathan <[email protected]>
  • Loading branch information
ddevadat authored Jul 14, 2023
1 parent 34eb905 commit 8d6ebb9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@
<dependency>
<groupId>org.sunbird</groupId>
<artifactId>cloud-store-sdk_2.12</artifactId>
<version>1.4.3</version>
<version>1.4.6</version>
</dependency>
<dependency>
<groupId>com.google.inject</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
import com.uci.utils.PSQL.JsonToMapConverter;
import com.uci.utils.PSQL.MapToJsonConverter;
import io.r2dbc.postgresql.PostgresqlConnectionConfiguration;
import io.r2dbc.postgresql.client.SSLMode;
import io.r2dbc.postgresql.PostgresqlConnectionFactory;
import io.r2dbc.spi.ConnectionFactory;
import org.springframework.beans.factory.annotation.Value;
Expand Down Expand Up @@ -41,6 +42,7 @@ public ConnectionFactory connectionFactory() {
.username(username)
.password(password)
.database(database)
.sslMode(SSLMode.REQUIRE)
.build());
}

Expand Down

0 comments on commit 8d6ebb9

Please sign in to comment.