Skip to content

Commit abce46e

Browse files
authored
Merge pull request #207 from conductor-oss/flyway_upgrade
Upgrade flyway
2 parents 3a43cc6 + 29ec813 commit abce46e

File tree

7 files changed

+9
-5
lines changed

7 files changed

+9
-5
lines changed

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ allprojects {
8383
implementation('org.apache.logging.log4j:log4j-slf4j-impl')
8484
implementation('org.apache.logging.log4j:log4j-jul')
8585
implementation('org.apache.logging.log4j:log4j-web')
86-
86+
implementation "com.fasterxml.jackson.datatype:jackson-datatype-jsr310"
8787
compileOnly 'org.projectlombok:lombok:1.18.34'
8888

8989
annotationProcessor 'org.projectlombok:lombok:1.18.34'

common/build.gradle

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ dependencies {
99
compileOnly 'org.springframework.boot:spring-boot-starter'
1010
compileOnly 'org.springframework.boot:spring-boot-starter-validation'
1111

12-
implementation "org.springdoc:springdoc-openapi-starter-webmvc-ui:${revSpringDoc}"
12+
compileOnly "org.springdoc:springdoc-openapi-starter-webmvc-ui:${revSpringDoc}"
1313

1414
implementation "org.apache.commons:commons-lang3"
1515

@@ -23,6 +23,7 @@ dependencies {
2323
implementation "com.fasterxml.jackson.module:jackson-module-afterburner:${revFasterXml}"
2424

2525
testImplementation 'org.springframework.boot:spring-boot-starter-validation'
26+
testImplementation "org.springdoc:springdoc-openapi-starter-webmvc-ui:${revSpringDoc}"
2627
}
2728

2829
/*

dependencies.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,6 @@ ext {
6868
revNatsStreaming = '2.6.5'
6969
revNats = '2.16.14'
7070
revStan = '2.2.3'
71-
revFlyway = '9.0.4'
71+
revFlyway = '10.15.2'
7272

7373
}

mysql-persistence/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ dependencies {
1616

1717
implementation "mysql:mysql-connector-java:8.0.33"
1818
implementation "org.springframework.boot:spring-boot-starter-jdbc"
19-
implementation "org.flywaydb:flyway-mysql"
19+
implementation "org.flywaydb:flyway-mysql:${revFlyway}"
2020

2121
testImplementation "org.apache.groovy:groovy-all:${revGroovy}"
2222

postgres-external-storage/build.gradle

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ dependencies {
88
implementation "org.postgresql:postgresql:${revPostgres}"
99
implementation 'org.springframework.boot:spring-boot-starter-jdbc'
1010
implementation "org.flywaydb:flyway-core:${revFlyway}"
11+
implementation "org.flywaydb:flyway-database-postgresql:${revFlyway}"
12+
1113
implementation "org.springdoc:springdoc-openapi-starter-webmvc-ui:${revSpringDoc}"
1214
implementation "commons-codec:commons-codec:${revCodec}"
1315

postgres-persistence/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ dependencies {
1616
implementation "org.postgresql:postgresql:${revPostgres}"
1717
implementation "org.springframework.boot:spring-boot-starter-jdbc"
1818
implementation "org.flywaydb:flyway-core:${revFlyway}"
19+
implementation "org.flywaydb:flyway-database-postgresql:${revFlyway}"
1920

2021
testImplementation "org.apache.groovy:groovy-all:${revGroovy}"
2122
testImplementation project(':conductor-server')

postgres-persistence/src/main/java/com/netflix/conductor/postgres/config/PostgresConfiguration.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ public Flyway flywayForPrimaryDb() {
6565
config.locations("classpath:db/migration_postgres");
6666
}
6767

68-
return config.configuration(Map.of())
68+
return config.configuration(Map.of("flyway.postgresql.transactional.lock", "false"))
6969
.schemas(properties.getSchema())
7070
.dataSource(dataSource)
7171
.outOfOrder(true)

0 commit comments

Comments
 (0)