Initial commit
This commit is contained in:
62
src/test/resources/application-integration.yml
Normal file
62
src/test/resources/application-integration.yml
Normal file
@@ -0,0 +1,62 @@
|
||||
# Configuration spécifique pour les tests d'intégration
|
||||
# Résout les problèmes Maven/Aether avec Quarkus
|
||||
|
||||
quarkus:
|
||||
# Configuration de test
|
||||
test:
|
||||
profile: integration
|
||||
|
||||
# Configuration de la base de données pour les tests
|
||||
datasource:
|
||||
db-kind: h2
|
||||
username: sa
|
||||
password: ""
|
||||
jdbc:
|
||||
url: jdbc:h2:mem:testdb;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=FALSE
|
||||
driver: org.h2.Driver
|
||||
|
||||
# Configuration Hibernate pour les tests
|
||||
hibernate-orm:
|
||||
database:
|
||||
generation: drop-and-create
|
||||
log:
|
||||
sql: false
|
||||
dialect: org.hibernate.dialect.H2Dialect
|
||||
|
||||
# Configuration HTTP pour les tests
|
||||
http:
|
||||
port: 0
|
||||
test-port: 0
|
||||
|
||||
# Configuration de sécurité pour les tests
|
||||
oidc:
|
||||
enabled: false
|
||||
|
||||
# Configuration des logs pour les tests
|
||||
log:
|
||||
level:
|
||||
ROOT: WARN
|
||||
dev.lions.btpxpress: INFO
|
||||
org.hibernate: WARN
|
||||
io.quarkus: WARN
|
||||
|
||||
# Configuration Maven/Aether pour éviter les conflits
|
||||
maven:
|
||||
resolver:
|
||||
transport: wagon
|
||||
|
||||
# Configuration des profils de test
|
||||
profile:
|
||||
test: integration
|
||||
|
||||
# Configuration Maven spécifique pour résoudre les conflits Aether
|
||||
maven:
|
||||
resolver:
|
||||
version: 1.9.16
|
||||
transport: wagon
|
||||
|
||||
# Variables d'environnement pour les tests
|
||||
test:
|
||||
environment:
|
||||
QUARKUS_TEST_PROFILE: integration
|
||||
MAVEN_RESOLVER_TRANSPORT: wagon
|
||||
Reference in New Issue
Block a user