This commit is contained in:
jem 2021-07-16 13:08:56 +02:00
parent 9d81226291
commit e0f5e8d04f
2 changed files with 42 additions and 0 deletions

View file

@ -0,0 +1,13 @@
# partial execution of provs
## Status
accepted
## Context
Configuration for our provisioning software provs.
## Decision
We provide a materialized configuration (represented by classes or schema). Configuration is read at application start and injected into services / components (see https://martinfowler.com/articles/injection.html).

View file

@ -0,0 +1,29 @@
# partial execution of provs
## Status
to be discussed
## Context
We want to be able to execute single provision steps to apply partial installation / configuration.
### Options
1. ClassAndFunction
- Abhängigkeiten
- Transport von Credentials
2. Switch on cli per parameter / mapping in code from parameter to function
3. Per KotlinScript file
4. Configurable in the configuration
## Decision
* Wir repräsentieren unsere Configuration
* 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.