Skip to content

Commit

Permalink
Refactor/DAVE-345 Flyway and Postgres (#159)
Browse files Browse the repository at this point in the history
* Added Flyway and Postgres

* cleanup pom and flyway script

* disable flyway for unit tests

* fixed pom

---------

Co-authored-by: alexander.boxhorn <[email protected]>
  • Loading branch information
vermali and boal authored Nov 19, 2024
1 parent 6671f3d commit 374cda9
Show file tree
Hide file tree
Showing 4 changed files with 373 additions and 103 deletions.
25 changes: 19 additions & 6 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
<spring.boot.version>3.3.5</spring.boot.version>
<spring.cloud.version>2023.0.3</spring.cloud.version>
<logstash.encoder>7.4</logstash.encoder>
<ojdbc8.version>19.9.0.0</ojdbc8.version>
<apache.commons.collections4>4.4</apache.commons.collections4>
<apache.commons.csv>1.12.0</apache.commons.csv>
<apache.commons.io>2.17.0</apache.commons.io>
Expand All @@ -43,6 +42,8 @@
<openapi-generator-version>7.7.0</openapi-generator-version>
<openapi.jackson-databind-nullable>0.2.6</openapi.jackson-databind-nullable>
<ai.onnxruntime>1.18.0</ai.onnxruntime>
<!-- Bei der nächsten Spring Boot Version überprüfen, ob flyway-version wieder entfernt werden kann -->
<flyway.version>10.19.0</flyway.version>
</properties>

<scm>
Expand Down Expand Up @@ -237,17 +238,29 @@
<groupId>org.hibernate.orm</groupId>
<artifactId>hibernate-core</artifactId>
</dependency>

<dependency>
<groupId>org.postgresql</groupId>
<artifactId>postgresql</artifactId>
<scope>runtime</scope>
</dependency>


<!-- Hibernate Model Gen for type safe criterias -->
<dependency>
<groupId>org.hibernate.orm</groupId>
<artifactId>hibernate-jpamodelgen</artifactId>
</dependency>
<dependency>
<groupId>com.oracle.database.jdbc</groupId>
<artifactId>ojdbc8</artifactId>
<version>${ojdbc8.version}</version>
<groupId>org.flywaydb</groupId>
<artifactId>flyway-core</artifactId>
<version>${flyway.version}</version>
</dependency>
<dependency>
<groupId>org.flywaydb</groupId>
<artifactId>flyway-database-postgresql</artifactId>
<version>${flyway.version}</version>
</dependency>

<!-- Other -->
<dependency>
<groupId>org.apache.httpcomponents.client5</groupId>
Expand Down Expand Up @@ -296,7 +309,7 @@
<dependency>
<groupId>com.google.code.gson</groupId>
<artifactId>gson</artifactId>
<version>2.11.0</version>
<version>2.10.1</version>
<scope>test</scope>
</dependency>

Expand Down
97 changes: 0 additions & 97 deletions src/main/resources/application-local.yml

This file was deleted.

Loading

0 comments on commit 374cda9

Please sign in to comment.