Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 10a6d62

Browse files
authored
Updating example (#505)
1 parent a25007c commit 10a6d62

16 files changed

Lines changed: 25 additions & 234151 deletions

File tree

.github/workflows/maven.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,12 +64,12 @@ jobs:
6464
matrix:
6565
example:
6666
- { name: "Maven", path: "examples/maven-demo", goal: "verify" }
67-
- { name: "Spring Boot", path: "examples/spring-boot-demo/implementation", goal: "verify -Pjacoco" }
6867
- { name: "AWS Lambda", path: "examples/aws-lambda-hello-world", goal: "package" }
6968
- { name: "Azure Function", path: "examples/azure-function-hello-world", goal: "package" }
7069
- { name: "Spring Boot Memory Leak", path: "examples/spring-boot-memory-leak-demo", goal: "package" }
7170
- { name: "Spring Boot Performance Bottleneck", path: "examples/spring-boot-performance-bottleneck-demo", goal: "package" }
7271
- { name: "Spring Boot JMeter", path: "examples/spring-boot-jmeter-demo", goal: "package" }
72+
- { name: "Spring Boot", path: "examples/spring-boot-demo/implementation", goal: "verify -Pjacoco" }
7373
- { name: "Quarkus", path: "examples/quarkus-demo", goal: "package" }
7474
- { name: "Skillsjars", path: "examples/skillsjars-demo", goal: "verify" }
7575
steps:

examples/spring-boot-demo/implementation/.github/dependabot.yml

Lines changed: 0 additions & 12 deletions
This file was deleted.

examples/spring-boot-demo/implementation/.gitignore

Lines changed: 0 additions & 33 deletions
This file was deleted.

examples/spring-boot-demo/implementation/compose.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@ services:
1616
start_period: 30s
1717
volumes:
1818
- film_data:/var/lib/postgresql/data
19-
- ./src/test/resources/1.1-postgress-sakila-schema-compatible.sql:/docker-entrypoint-initdb.d/01-schema.sql:ro
20-
- ./src/test/resources/2.1-postgres-sakila-film-data.sql:/docker-entrypoint-initdb.d/02-data.sql:ro
2119
networks:
2220
- film-network
2321

examples/spring-boot-demo/implementation/pom.xml

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<groupId>org.springframework.boot</groupId>
77
<artifactId>spring-boot-starter-parent</artifactId>
8-
<version>3.5.3</version>
8+
<version>3.5.11</version>
99
<relativePath/> <!-- lookup parent from repository -->
1010
</parent>
1111
<groupId>info.jab.ms</groupId>
@@ -32,7 +32,7 @@
3232
<!-- Quality thresholds -->
3333
<coverage.level>80</coverage.level>
3434
</properties>
35-
35+
3636
<dependencies>
3737
<!-- Spring Boot Core -->
3838
<dependency>
@@ -50,6 +50,16 @@
5050
<artifactId>spring-boot-starter-data-jdbc</artifactId>
5151
</dependency>
5252

53+
<!-- Flyway for database migrations -->
54+
<dependency>
55+
<groupId>org.flywaydb</groupId>
56+
<artifactId>flyway-core</artifactId>
57+
</dependency>
58+
<dependency>
59+
<groupId>org.flywaydb</groupId>
60+
<artifactId>flyway-database-postgresql</artifactId>
61+
</dependency>
62+
5363
<!-- PostgreSQL Driver -->
5464
<dependency>
5565
<groupId>org.postgresql</groupId>
@@ -85,7 +95,7 @@
8595
<artifactId>spring-boot-starter-test</artifactId>
8696
<scope>test</scope>
8797
</dependency>
88-
98+
8999
<!-- TestContainers for integration testing -->
90100
<dependency>
91101
<groupId>org.springframework.boot</groupId>

0 commit comments

Comments
 (0)