Skip to content

Commit

Permalink
Code merge & updated build version 2.2.12 to 2.2.13
Browse files Browse the repository at this point in the history
  • Loading branch information
pankajjangid05 committed Aug 22, 2023
2 parents c73b192 + ebb1da3 commit bb84f9b
Show file tree
Hide file tree
Showing 3 changed files with 101 additions and 90 deletions.
10 changes: 5 additions & 5 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,16 @@
</parent>
<groupId>com.uci</groupId>
<artifactId>transformer</artifactId>
<version>2.2.13</version>
<version>2.2.14</version>
<name>transformer</name>
<description>Demo project for Spring Boot</description>

<properties>
<java.version>11</java.version>
<utils.version>2.2.8</utils.version>
<dao.version>2.2.8</dao.version>
<adapter.version>2.2.8</adapter.version>
<message-rosa.version>2.2.8</message-rosa.version>
<utils.version>2.2.9</utils.version>
<dao.version>2.2.9</dao.version>
<adapter.version>2.2.9</adapter.version>
<message-rosa.version>2.2.9</message-rosa.version>
</properties>

<!-- For Downloading repositories from github packages -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
import io.r2dbc.postgresql.PostgresqlConnectionConfiguration;
import io.r2dbc.postgresql.PostgresqlConnectionFactory;
import io.r2dbc.spi.ConnectionFactory;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
Expand All @@ -23,6 +24,7 @@

@Configuration
@EnableR2dbcRepositories
@Slf4j
public class PostgresConfig extends AbstractR2dbcConfiguration {

private final ObjectMapper objectMapper = new ObjectMapper();
Expand All @@ -45,7 +47,7 @@ public class PostgresConfig extends AbstractR2dbcConfiguration {
private String maxIdleTime;
@Value("${spring.r2dbc.maxSize}")
private String maxSize;
// @Value("${spring.r2dbc.acquireRetry}")
// @Value("${spring.r2dbc.acquireRetry}")
// private String acquireRetry;
// @Value("${spring.r2dbc.maxCreateConnectionTime}")
// private String maxCreateConnectionTime;
Expand All @@ -67,6 +69,7 @@ public ConnectionFactory connectionFactory() {
// .password(password)
// .database(database)
// .build());
log.info("PostgresConfig:connectionFactory:: host: " + host + " : port: " + port + " : username : " + username + " : password : " + password + " : database : " + database);
PostgresqlConnectionConfiguration postgresConfig = PostgresqlConnectionConfiguration.builder()
.host(host)
.port(port)
Expand Down
Loading

0 comments on commit bb84f9b

Please sign in to comment.