BAEL-5988: Added code for Spring R2DBC flyway migration with tests (#13551)
* BAEL-5988: Added code for Spring R2DBC flyway migration with tests * BAEL-5988: Removed unnecessary logging config * BAEL-5988: Addressed review comments * BAEL-5988: Removed bean loading override config for test * BAEL-5988: Removed unnecessary import * BAEL-5988: Added properties for versions in pom --------- Co-authored-by: Bala <balamurugan.radhakrishnan@yapily.com> Co-authored-by: balasr3 <balamurugan.radhakrishnan@imgarena.com>
This commit is contained in:
@@ -49,6 +49,34 @@
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-devtools</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.projectlombok</groupId>
|
||||
<artifactId>lombok</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-data-r2dbc</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.postgresql</groupId>
|
||||
<artifactId>r2dbc-postgresql</artifactId>
|
||||
<version>${r2dbc.postgresql.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.postgresql</groupId>
|
||||
<artifactId>postgresql</artifactId>
|
||||
<version>${jdbc.postgresql.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.flywaydb</groupId>
|
||||
<artifactId>flyway-core</artifactId>
|
||||
<version>${flyway.core.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>io.r2dbc</groupId>
|
||||
<artifactId>r2dbc-h2</artifactId>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<build>
|
||||
@@ -60,4 +88,10 @@
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
</project>
|
||||
<properties>
|
||||
<flyway.core.version>9.14.1</flyway.core.version>
|
||||
<jdbc.postgresql.version>42.5.2</jdbc.postgresql.version>
|
||||
<r2dbc.postgresql.version>1.0.0.RELEASE</r2dbc.postgresql.version>
|
||||
</properties>
|
||||
|
||||
</project>
|
||||
|
||||
Reference in New Issue
Block a user