Skip to content

Commit

Permalink
Merge pull request #3119 from dzhw/upgrade-mongock-to-4.3.x
Browse files Browse the repository at this point in the history
upgrade mongock from 4.1.x to 4.3.x
  • Loading branch information
jgolinowski committed Oct 4, 2022
2 parents aaa2eef + c6e8a40 commit 4cb34e4
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 7 deletions.
19 changes: 12 additions & 7 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.5.7</version>
<relativePath/>
<relativePath />
</parent>

<groupId>eu.dzhw.fdz</groupId>
Expand Down Expand Up @@ -47,6 +47,13 @@
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>com.github.cloudyrock.mongock</groupId>
<artifactId>mongock-bom</artifactId>
<version>4.3.8</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>

Expand All @@ -62,12 +69,10 @@
<dependency>
<groupId>com.github.cloudyrock.mongock</groupId>
<artifactId>mongock-spring-v5</artifactId>
<version>4.1.19</version>
</dependency>
<dependency>
<groupId>com.github.cloudyrock.mongock</groupId>
<artifactId>mongodb-springdata-v3-driver</artifactId>
<version>4.1.19</version>
</dependency>
<dependency>
<groupId>com.github.spotbugs</groupId>
Expand Down Expand Up @@ -406,7 +411,7 @@
</goals>
</pluginExecutionFilter>
<action>
<ignore/>
<ignore />
</action>
</pluginExecution>
<pluginExecution>
Expand All @@ -419,7 +424,7 @@
</goals>
</pluginExecutionFilter>
<action>
<ignore/>
<ignore />
</action>
</pluginExecution>
<pluginExecution>
Expand All @@ -432,7 +437,7 @@
</goals>
</pluginExecutionFilter>
<action>
<ignore/>
<ignore />
</action>
</pluginExecution>
<pluginExecution>
Expand All @@ -445,7 +450,7 @@
</goals>
</pluginExecutionFilter>
<action>
<ignore/>
<ignore />
</action>
</pluginExecution>
</pluginExecutions>
Expand Down
9 changes: 9 additions & 0 deletions src/test/resources/config/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,15 @@ mongock:
change-logs-scan-package:
- eu.dzhw.fdz.metadatamanagement.common.repository.changelogs
- eu.dzhw.fdz.metadatamanagement.usermanagement.repository.changelogs
# necessary config due to mongock upgrade from 4.1.x to 4.3.x
# see: https://github.com/mongock/mongock/issues/294
mongo-db:
write-concern:
w: majority
w-timeout-ms: 300000
journal: false
read-concern: local
read-preference: primary

logging:
level:
Expand Down

0 comments on commit 4cb34e4

Please sign in to comment.