diff --git a/adr-provs/ddd-structure.md b/adr-provs/ddd-structure.md new file mode 100644 index 0000000..6778bf1 --- /dev/null +++ b/adr-provs/ddd-structure.md @@ -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 + + + diff --git a/adr-provs/one-layer-of-configuration.md b/adr-provs/one-layer-of-configuration.md new file mode 100644 index 0000000..aa6251c --- /dev/null +++ b/adr-provs/one-layer-of-configuration.md @@ -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 \ No newline at end of file diff --git a/adr-provs/partial-execution.md b/adr-provs/partial-execution.md index 6827a09..1949fc6 100644 --- a/adr-provs/partial-execution.md +++ b/adr-provs/partial-execution.md @@ -9,19 +9,11 @@ to be discussed We want to be able to execute single provision steps to apply partial installation / configuration. ### Options -1. ClassAndFunction - - Abhängigkeiten - - Transport von Credentials +1. By CLI and specify ClassAndFunction 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. +General points to keep in mind: +- Dependencies +- Transport of credentials