Update spring-boot-testcontainers to use docker-test plugin

See gh-41228
This commit is contained in:
Andy Wilkinson
2024-06-25 10:51:33 +01:00
parent d78c7b541a
commit 3f1f801461
32 changed files with 197 additions and 124 deletions

View File

@@ -0,0 +1,20 @@
receivers:
otlp:
protocols:
grpc:
http:
exporters:
# https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/exporter/prometheusexporter
prometheus:
endpoint: '0.0.0.0:9090'
metric_expiration: 1m
enable_open_metrics: true
resource_to_telemetry_conversion:
enabled: true
service:
pipelines:
metrics:
receivers: [otlp]
exporters: [prometheus]

View File

@@ -0,0 +1,20 @@
databaseChangeLog:
- changeSet:
id: 1
author: wilkinsona
changes:
- createTable:
tableName: example
columns:
- column:
name: id
type: int
autoIncrement: true
constraints:
primaryKey: true
nullable: false
- column:
name: name
type: varchar(50)
constraints:
nullable: false

View File

@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<include resource="org/springframework/boot/logging/logback/base.xml"/>
</configuration>

View File

@@ -0,0 +1 @@
spring.test.context.cache.maxSize=1