dev #3

Merged
aboutrax merged 20 commits from dev into main 2025-12-24 15:05:02 +00:00
2 changed files with 21 additions and 16 deletions
Showing only changes of commit 935793812b - Show all commits

View File

@@ -27,9 +27,11 @@ repositories {
extra["springCloudVersion"] = "2025.1.0" extra["springCloudVersion"] = "2025.1.0"
extra["springModulithVersion"] = "2.0.1" extra["springModulithVersion"] = "2.0.1"
extra["infisicalVersion"] = "3.0.5"
dependencies { dependencies {
implementation("org.springframework.boot:spring-boot-starter-actuator") implementation("org.springframework.boot:spring-boot-starter-actuator")
implementation("org.springframework.boot:spring-boot-starter-amqp") // implementation("org.springframework.boot:spring-boot-starter-amqp")
implementation("org.springframework.boot:spring-boot-starter-data-jpa") implementation("org.springframework.boot:spring-boot-starter-data-jpa")
implementation("org.springframework.boot:spring-boot-starter-liquibase") implementation("org.springframework.boot:spring-boot-starter-liquibase")
implementation("org.springframework.boot:spring-boot-starter-mail") implementation("org.springframework.boot:spring-boot-starter-mail")
@@ -48,12 +50,12 @@ dependencies {
developmentOnly("org.springframework.boot:spring-boot-docker-compose") developmentOnly("org.springframework.boot:spring-boot-docker-compose")
runtimeOnly("org.postgresql:postgresql") runtimeOnly("org.postgresql:postgresql")
runtimeOnly("org.springframework.modulith:spring-modulith-actuator") runtimeOnly("org.springframework.modulith:spring-modulith-actuator")
runtimeOnly("org.springframework.modulith:spring-modulith-events-amqp") // runtimeOnly("org.springframework.modulith:spring-modulith-events-amqp")
runtimeOnly("org.springframework.modulith:spring-modulith-observability") runtimeOnly("org.springframework.modulith:spring-modulith-observability")
annotationProcessor("org.springframework.boot:spring-boot-configuration-processor") annotationProcessor("org.springframework.boot:spring-boot-configuration-processor")
annotationProcessor("org.projectlombok:lombok") annotationProcessor("org.projectlombok:lombok")
testImplementation("org.springframework.boot:spring-boot-starter-actuator-test") testImplementation("org.springframework.boot:spring-boot-starter-actuator-test")
testImplementation("org.springframework.boot:spring-boot-starter-amqp-test") // testImplementation("org.springframework.boot:spring-boot-starter-amqp-test")
testImplementation("org.springframework.boot:spring-boot-starter-data-jpa-test") testImplementation("org.springframework.boot:spring-boot-starter-data-jpa-test")
testImplementation("org.springframework.boot:spring-boot-starter-liquibase-test") testImplementation("org.springframework.boot:spring-boot-starter-liquibase-test")
testImplementation("org.springframework.boot:spring-boot-starter-mail-test") testImplementation("org.springframework.boot:spring-boot-starter-mail-test")
@@ -67,8 +69,11 @@ dependencies {
testImplementation("org.springframework.modulith:spring-modulith-starter-test") testImplementation("org.springframework.modulith:spring-modulith-starter-test")
testImplementation("org.testcontainers:testcontainers-junit-jupiter") testImplementation("org.testcontainers:testcontainers-junit-jupiter")
testImplementation("org.testcontainers:testcontainers-postgresql") testImplementation("org.testcontainers:testcontainers-postgresql")
testImplementation("org.testcontainers:testcontainers-rabbitmq") // testImplementation("org.testcontainers:testcontainers-rabbitmq")
testRuntimeOnly("org.junit.platform:junit-platform-launcher") testRuntimeOnly("org.junit.platform:junit-platform-launcher")
// https://mvnrepository.com/artifact/com.infisical/sdk
implementation("com.infisical:sdk:${property("infisicalVersion")}")
} }
dependencyManagement { dependencyManagement {

View File

@@ -1,16 +1,16 @@
services: services:
postgres: postgres:
image: 'postgres:latest' image: "postgres:latest"
environment: environment:
- 'POSTGRES_DB=mydatabase' - "POSTGRES_DB=mydatabase"
- 'POSTGRES_PASSWORD=secret' - "POSTGRES_PASSWORD=secret"
- 'POSTGRES_USER=myuser' - "POSTGRES_USER=myuser"
ports: ports:
- '5432' - "5432"
rabbitmq: # rabbitmq:
image: 'rabbitmq:latest' # image: 'rabbitmq:latest'
environment: # environment:
- 'RABBITMQ_DEFAULT_PASS=secret' # - 'RABBITMQ_DEFAULT_PASS=secret'
- 'RABBITMQ_DEFAULT_USER=myuser' # - 'RABBITMQ_DEFAULT_USER=myuser'
ports: # ports:
- '5672' # - '5672'