From d31ec48711da6cd8466d22b5f1c4e10daa25f001 Mon Sep 17 00:00:00 2001 From: az Date: Fri, 16 Jul 2021 13:31:37 +0200 Subject: [PATCH] add ddd-structure.md and one-layer-of-configuration.md --- adr-provs/ddd-structure.md | 18 ++++++++++++++++++ adr-provs/one-layer-of-configuration.md | 19 +++++++++++++++++++ adr-provs/partial-execution.md | 11 ++++++----- 3 files changed, 43 insertions(+), 5 deletions(-) create mode 100644 adr-provs/ddd-structure.md create mode 100644 adr-provs/one-layer-of-configuration.md 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 829807b..6f3d130 100644 --- a/adr-provs/partial-execution.md +++ b/adr-provs/partial-execution.md @@ -9,13 +9,15 @@ 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 +General points to keep in mind: +- Dependencies +- Transport of credentials + ## Decision * Wir repräsentieren unsere Configuration @@ -23,7 +25,6 @@ We want to be able to execute single provision steps to apply partial installati * 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. +