Skip to content

Commit

Permalink
Micronaut Framework 4.2.4 (#1423)
Browse files Browse the repository at this point in the history
* Micronaut Framework 4.2.4

* Limit MySQL to 8.2 as 8.3 fails with TestContainers at present

* Pin MySQL for micronaut-hibernate-reactive

---------

Co-authored-by: Tim Yates <[email protected]>
  • Loading branch information
sdelamo and timyates authored Jan 29, 2024
1 parent c4d34e1 commit b952d37
Show file tree
Hide file tree
Showing 14 changed files with 54 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,8 @@ micronaut:
assets:
paths: 'classpath:assets'
mapping: '/assets/**'
#end::assets[]
#end::assets[]
test-resources:
containers:
mysql:
image-name: mysql:8.2
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,8 @@ micronaut:
assets: # <1>
paths: 'classpath:assets'
mapping: '/assets/**'
#end::static-resources[]
#end::static-resources[]
test-resources:
containers:
mysql:
image-name: mysql:8.2
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,8 @@ flyway:
datasources:
default:
enabled: true # <1>
#end::flyway[]
#end::flyway[]
test-resources:
containers:
mysql:
image-name: mysql:8.2
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
datasources:
default:
url: jdbc:tc:mysql:8:///db
url: jdbc:tc:mysql:8.2:///db
driverClassName: org.testcontainers.jdbc.ContainerDatabaseDriver
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,8 @@ flyway:
datasources:
default:
enabled: true # <1>
#end::flyway[]
#end::flyway[]
test-resources:
containers:
mysql:
image-name: mysql:8.2
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,7 @@ jpa:
db-type: mysql # <3>
reactive: true
#end::jpa[]
test-resources:
containers:
mysql:
image-name: mysql:8.2
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,8 @@ flyway:
datasources:
default:
enabled: true # <1>
#end::flyway[]
#end::flyway[]
test-resources:
containers:
mysql:
image-name: mysql:8.2
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,8 @@ flyway:
datasources:
default:
enabled: true # <1>
#end::flyway[]
#end::flyway[]
test-resources:
containers:
mysql:
image-name: mysql:8.2
4 changes: 4 additions & 0 deletions guides/micronaut-flyway/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,7 @@ endpoints:
enabled: true
sensitive: false
#end::endpoints[]
test-resources:
containers:
mysql:
image-name: mysql:8.2
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,8 @@ jpa:
hbm2ddl:
auto: create-drop
show_sql: true
#end::jpa[]
#end::jpa[]
test-resources:
containers:
mysql:
image-name: mysql:8.2
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,8 @@ flyway:
datasources:
default:
enabled: true # <1>
#end::flyway[]
#end::flyway[]
test-resources:
containers:
mysql:
image-name: mysql:8.2
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#Fri Jan 26 16:37:51 GMT 2024
datasources.default.url=jdbc\:tc\:mysql\:8.2\:///db
datasources.default.driver-class-name=org.testcontainers.jdbc.ContainerDatabaseDriver
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ jpa.default.properties.hibernate.hbm2ddl.auto=update
jpa.default.entity-scan.packages=example.micronaut
datasources.default.driver-class-name=com.mysql.cj.jdbc.Driver
#end::datasource[]
test-resources.containers.mysql.image-name=mysql:8.2
2 changes: 1 addition & 1 deletion version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
4.2.3
4.2.4

0 comments on commit b952d37

Please sign in to comment.