Merge branch 'master' of gitlab.com:domaindrivenarchitecture/overview
This commit is contained in:
commit
c706363428
3 changed files with 41 additions and 12 deletions
18
adr-provs/ddd-structure.md
Normal file
18
adr-provs/ddd-structure.md
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
# ddd structure
|
||||||
|
|
||||||
|
## Status
|
||||||
|
|
||||||
|
Accepted
|
||||||
|
|
||||||
|
## Context
|
||||||
|
|
||||||
|
We wanted to have a consistent structure.
|
||||||
|
|
||||||
|
## Decision
|
||||||
|
|
||||||
|
* We preliminarily use the ddd structure: application / domain / infrastructure
|
||||||
|
* Reservation 1: find a better name for domain
|
||||||
|
* Reservation 2: decide what to put in domain / what to cover with unit tests
|
||||||
|
|
||||||
|
|
||||||
|
|
19
adr-provs/one-layer-of-configuration.md
Normal file
19
adr-provs/one-layer-of-configuration.md
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
# One layer of configuration
|
||||||
|
|
||||||
|
## Status
|
||||||
|
|
||||||
|
Accepted
|
||||||
|
|
||||||
|
## Context
|
||||||
|
|
||||||
|
In configuration management often convention code is mixed-up with installation and configuration code.
|
||||||
|
In order to enable reuse we discussed whether we want to separate convention from installation and configuration code.
|
||||||
|
|
||||||
|
## Decision
|
||||||
|
|
||||||
|
* To keep it simple, we follow the mixup strategy.
|
||||||
|
|
||||||
|
## Consequence
|
||||||
|
|
||||||
|
* We use only one layer of configuration
|
||||||
|
* We are the primary intended user
|
|
@ -9,19 +9,11 @@ to be discussed
|
||||||
We want to be able to execute single provision steps to apply partial installation / configuration.
|
We want to be able to execute single provision steps to apply partial installation / configuration.
|
||||||
|
|
||||||
### Options
|
### Options
|
||||||
1. ClassAndFunction
|
1. By CLI and specify ClassAndFunction
|
||||||
- Abhängigkeiten
|
|
||||||
- Transport von Credentials
|
|
||||||
2. Switch on cli per parameter / mapping in code from parameter to function
|
2. Switch on cli per parameter / mapping in code from parameter to function
|
||||||
3. Per KotlinScript file
|
3. Per KotlinScript file
|
||||||
4. Configurable in the configuration
|
4. Configurable in the configuration
|
||||||
|
|
||||||
## Decision
|
General points to keep in mind:
|
||||||
|
- Dependencies
|
||||||
* Wir repräsentieren unsere Configuration
|
- Transport of credentials
|
||||||
|
|
||||||
* Wir nutzen erst mal die Struktur von DDD application / domain / infrastructure - unter Vorbehalt
|
|
||||||
* Vorbehalt1: besseren Namen für fachliches finden
|
|
||||||
* Vorbehalt2: entscheiden, was in der domain testbar sein muss
|
|
||||||
|
|
||||||
* Wir nutzen nur einschichtige Konfiguration, da wir nur noch uns selbst als Nutzerkreis ansehen.
|
|
||||||
|
|
Loading…
Reference in a new issue