Skip to content

Commit fc32199

Browse files
committed
Update dependencies
1 parent 5888f1b commit fc32199

File tree

10 files changed

+29
-19
lines changed

10 files changed

+29
-19
lines changed

.github/workflows/workflow.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ jobs:
127127
source: ".github/scripts,compose.yaml,.env,kafka-connect,misc/caddy/Caddyfile"
128128
target: "event-driven-architecture"
129129
- name: Deployment
130-
uses: appleboy/ssh-action@v1.0.3
130+
uses: appleboy/ssh-action@v1.2.0
131131
with:
132132
host: ${{ secrets.DEPLOYMENT_SERVER_HOST }}
133133
port: ${{ secrets.DEPLOYMENT_SERVER_PORT }}

common-model/build.gradle.kts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,12 @@ repositories {
1111
}
1212

1313
val springCoreVersion: String by project
14+
val flywayVersion: String by project
1415

1516
dependencies {
1617
implementation("org.springframework:spring-core:$springCoreVersion")
18+
// TODO: remove after https://github.com/oracle/graalvm-reachability-metadata/issues/424
19+
implementation("org.flywaydb:flyway-database-postgresql:$flywayVersion")
1720
}
1821

1922
tasks.withType<BootJar> {

common-model/src/main/kotlin/com/romankudryashov/eventdrivenarchitecture/commonmodel/spring/CommonRuntimeHints.kt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ import com.romankudryashov.eventdrivenarchitecture.commonmodel.BookLoan
66
import com.romankudryashov.eventdrivenarchitecture.commonmodel.CurrentAndPreviousState
77
import com.romankudryashov.eventdrivenarchitecture.commonmodel.Notification
88
import com.romankudryashov.eventdrivenarchitecture.commonmodel.OutboxMessage
9+
import org.flywaydb.core.internal.publishing.PublishingConfigurationExtension
910
import org.springframework.aot.hint.MemberCategory
1011
import org.springframework.aot.hint.RuntimeHints
1112
import org.springframework.aot.hint.RuntimeHintsRegistrar
@@ -22,8 +23,13 @@ class CommonRuntimeHints : RuntimeHintsRegistrar {
2223
.registerType(CurrentAndPreviousState::class.java, MemberCategory.INVOKE_PUBLIC_METHODS, MemberCategory.INVOKE_DECLARED_CONSTRUCTORS)
2324
.registerType(Notification::class.java, MemberCategory.INVOKE_PUBLIC_METHODS, MemberCategory.INVOKE_DECLARED_CONSTRUCTORS)
2425
.registerType(OutboxMessage::class.java, MemberCategory.INVOKE_PUBLIC_METHODS, MemberCategory.INVOKE_DECLARED_CONSTRUCTORS)
26+
// probably, this should be removed sometime in the future
27+
.registerTypeIfPresent(classLoader, "kotlin.collections.EmptyList", MemberCategory.DECLARED_FIELDS)
2528
// required to persist entities
2629
// TODO: remove after https://hibernate.atlassian.net/browse/HHH-16809
2730
.registerType(Array<UUID>::class.java, MemberCategory.INVOKE_DECLARED_CONSTRUCTORS)
31+
// required to use Flyway
32+
// TODO: remove after https://github.com/oracle/graalvm-reachability-metadata/issues/424
33+
.registerType(PublishingConfigurationExtension::class.java, MemberCategory.INVOKE_PUBLIC_METHODS)
2834
}
2935
}

compose.override.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ services:
3939
- "8080:8080"
4040

4141
schema-registry-ui:
42-
image: apicurio/apicurio-registry-ui:3.0.3
42+
image: apicurio/apicurio-registry-ui:3.0.6
4343
container_name: schema-registry-ui
4444
restart: always
4545
ports:
@@ -59,7 +59,7 @@ services:
5959
- "8101:8080"
6060

6161
pgadmin:
62-
image: dpage/pgadmin4:8.12
62+
image: dpage/pgadmin4:8.14
6363
container_name: pgadmin
6464
restart: always
6565
# DO NOT USE SUCH A SETUP FOR PROD!

compose.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ services:
6565

6666
# DATABASES FOR MICROSERVICES
6767
book-db:
68-
image: postgres:17.0
68+
image: postgres:17.2
6969
container_name: book-db
7070
restart: always
7171
environment:
@@ -82,7 +82,7 @@ services:
8282
-c timezone=Europe/Moscow
8383
8484
user-db:
85-
image: postgres:17.0
85+
image: postgres:17.2
8686
container_name: user-db
8787
restart: always
8888
environment:
@@ -99,7 +99,7 @@ services:
9999
-c timezone=Europe/Moscow
100100
101101
notification-db:
102-
image: postgres:17.0
102+
image: postgres:17.2
103103
container_name: notification-db
104104
restart: always
105105
environment:
@@ -118,7 +118,7 @@ services:
118118
# INFRASTRUCTURE
119119
# One Kafka Connect instance is for the purposes of simplicity. Do your own research to set up a cluster
120120
kafka-connect:
121-
image: quay.io/debezium/connect:3.0.1.Final
121+
image: quay.io/debezium/connect:3.0.6.Final
122122
container_name: kafka-connect
123123
restart: always
124124
depends_on: [ kafka, schema-registry, book-db, user-db, notification-db ]
@@ -149,13 +149,13 @@ services:
149149
command: bash /usr/load-connectors.sh
150150

151151
schema-registry:
152-
image: apicurio/apicurio-registry:3.0.3
152+
image: apicurio/apicurio-registry:3.0.6
153153
container_name: schema-registry
154154
restart: always
155155

156156
# One Kafka instance is for the purposes of simplicity. Do your own research to set up a cluster
157157
kafka:
158-
image: bitnami/kafka:3.8.0
158+
image: bitnami/kafka:3.9.0
159159
container_name: kafka
160160
restart: always
161161
environment:

gradle.properties

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,18 @@
11
org.gradle.parallel=true
22
kotlin.code.style=official
33
# plugins
4-
springBootVersion=3.3.5
5-
springDependencyManagementVersion=1.1.6
6-
openApiGeneratorVersion=7.9.0
7-
nativeBuildToolsVersion=0.10.3
8-
kotlinVersion=2.0.21
4+
springBootVersion=3.4.1
5+
springDependencyManagementVersion=1.1.7
6+
openApiGeneratorVersion=7.10.0
7+
nativeBuildToolsVersion=0.10.4
8+
kotlinVersion=2.1.0
99
# dependencies for `user-service`
10-
guavaVersion=33.3.1-jre
10+
guavaVersion=33.4.0-jre
1111
kotlinxHtmlVersion=0.11.0
1212
# dependencies for `common-model`
13-
springCoreVersion=6.1.14
13+
springCoreVersion=6.2.1
14+
# TODO: remove after https://github.com/oracle/graalvm-reachability-metadata/issues/424
15+
flywayVersion=11.1.0
1416
# `webjars` dependencies for `notification-service`
1517
sockjsClientVersion=1.5.1
1618
stompWebsocketVersion=2.3.4

gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.2-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.12-bin.zip
44
networkTimeout=10000
55
validateDistributionUrl=true
66
zipStoreBase=GRADLE_USER_HOME

gradlew

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,7 @@ done
8686
# shellcheck disable=SC2034
8787
APP_BASE_NAME=${0##*/}
8888
# Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036)
89-
APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s
90-
' "$PWD" ) || exit
89+
APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s\n' "$PWD" ) || exit
9190

9291
# Use the maximum available, or set MAX_FD != -1 to use that value.
9392
MAX_FD=maximum
7.25 MB
Binary file not shown.

kafka-connect/filtering/groovy/groovy-jsr223-4.0.23.jar renamed to kafka-connect/filtering/groovy/groovy-jsr223-4.0.24.jar

16.5 KB
Binary file not shown.

0 commit comments

Comments
 (0)