Skip to content

Commit e1d61c4

Browse files
author
Richard Capraro
committed
chore(flyway): manage schema personne in Flyway
1 parent 9b27a82 commit e1d61c4

4 files changed

Lines changed: 8 additions & 7 deletions

File tree

database/src/main/kotlin/com/ps/personne/config/DatabaseConfig.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ data class DatabaseConfig(
4949
.configure()
5050
.dataSource(hikari)
5151
.defaultSchema(this.schema)
52+
.schemas(this.schema)
5253
.createSchemas(true)
5354
.baselineOnMigrate(false)
5455
.load()

doc/ADR000.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# ADR000: Stratégie de test
1+
# ADR000 : Stratégie de test
22

33
## Statut
44

@@ -10,17 +10,17 @@ Stratégie de test en architecture hexagonale.
1010

1111
## Décision
1212

13-
3 niveaux de tests:
13+
3 niveaux de tests :
1414

15-
- tests unitaires sur le modèle (métier): pas de mock, rapide a éxecuter
16-
- tests d'intégrations avec des fake: tests des driving ports
15+
- tests unitaires sur le modèle (test des use cases des driven ports) : pas de mock, rapides à executer
16+
- tests d'intégrations avec des fake : tests des driving ports
1717
- test E2E: tests des adapters avec tests container (run application, DB)
1818

1919
Utiliser les mocks uniquement lorsque c'est nécessaire
2020

2121
## Facteurs de décision / Conséquences
2222

2323
- Fiabilité
24-
- Rapide à éxecuter
24+
- Rapide à executer
2525
- Tests de use cases et pas d'implémentation (Anti fragilité)
2626
- Non régression

doc/ADR001.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# ADR-001: Pagination, tri, recherche sur l'historique
1+
# ADR001 : Pagination, tri, recherche sur l'historique
22

33
## Statut
44

rest/http/http-client.env.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"dev": {
3-
"baseUrl": "http://localhost:8000",
3+
"baseUrl": "http://localhost:8080",
44
"idPersonne": 1,
55
"login": "dev.user",
66
"tenantId": "pack"

0 commit comments

Comments
 (0)