From e0f5e8d04fc62200144d857292e7f864497f4d04 Mon Sep 17 00:00:00 2001 From: jem Date: Fri, 16 Jul 2021 13:08:56 +0200 Subject: [PATCH] wip --- adr-provs/materialized-configuration.md | 13 +++++++++++ adr-provs/partial-execution.md | 29 +++++++++++++++++++++++++ 2 files changed, 42 insertions(+) create mode 100644 adr-provs/materialized-configuration.md create mode 100644 adr-provs/partial-execution.md diff --git a/adr-provs/materialized-configuration.md b/adr-provs/materialized-configuration.md new file mode 100644 index 0000000..15a66e5 --- /dev/null +++ b/adr-provs/materialized-configuration.md @@ -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). diff --git a/adr-provs/partial-execution.md b/adr-provs/partial-execution.md new file mode 100644 index 0000000..829807b --- /dev/null +++ b/adr-provs/partial-execution.md @@ -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. + +