Skip to content

Commit c5d6df2

Browse files
socadkkoppor
andauthored
Update yadr-template-full.yaml (#2)
Co-authored-by: Oliver Kopp <kopp.dev@gmail.com>
1 parent 7bfe27b commit c5d6df2

1 file changed

Lines changed: 30 additions & 29 deletions

File tree

templates/yadr-template-full.yaml

Lines changed: 30 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -10,20 +10,23 @@ metadata:
1010
title: '{short title, representative of solved problem and found solution}'
1111

1212
context-and-problem-statement: |
13+
{Describe the context and problem statement, e.g., in free form using two to three sentences or in the form of an illustrative story.
1314
14-
{Describe the context and problem statement, e.g., in free form using two to three sentences or in the form of an illustrative story. You may want to articulate the problem in form of a question and add links to collaboration boards or issue management systems.}
15+
* You may want to articulate the problem in form of a question.
16+
* Consider adding links to collaboration boards or issue management systems.
17+
* Make the scope of the decision explicit, for instance, by calling out or pointing at structural architecture elements (components, connectors, ...).}
1518
1619
# this is an optional element
1720
decision-drivers:
18-
- '{decision driver 1, e.g., a force, facing concern, …}'
19-
- '{decision driver 2, e.g., a force, facing concern, …}'
20-
- '… <!-- numbers of drivers can vary -->'
21+
- '{decision driver 1, e.g., a force, facing concern, …}'
22+
- '{decision driver 2, e.g., a force, facing concern, …}'
23+
- '… <!-- numbers of drivers can vary -->'
2124

2225
considered-options:
23-
- &id-of-option-1 '{title of option 1}'
24-
- &id-of-option-2 '{title of option 2}'
25-
- &id-of-option-3 '{title of option 3}'
26-
# numbers of options can vary
26+
- &id-of-option-1 '{title of option 1}'
27+
- &id-of-option-2 '{title of option 2}'
28+
- &id-of-option-3 '{title of option 3}'
29+
# numbers of options can vary
2730

2831
# this is an optional element
2932
pros-and-cons-of-the-options:
@@ -35,33 +38,33 @@ pros-and-cons-of-the-options:
3538
{example | description | pointer to more information | …}
3639
3740
pros:
38-
- &argument-a '{argument a}'
39-
- '{argument b}'
40-
# use "neutral" if the given argument weights neither for good nor bad.
41+
- &argument-a '{argument a}'
42+
- '{argument b}'
43+
# use "neutral" if the given argument weights neither for good nor bad.
4144

4245
neutral:
43-
- &argument-c '{argument c}'
46+
- &argument-c '{argument c}'
4447

4548
cons:
46-
- &argument-d '{argument d}'
47-
# numbers of pros and cons can vary
49+
- &argument-d '{argument d}'
50+
# numbers of pros and cons can vary
4851

4952
id-of-option-2:
5053
# same structure as id-of-option-1
5154
description: |
5255
{example | description | pointer to more information | …}
5356
5457
pros:
55-
- &argument-a '{argument a}'
56-
- '{argument b}'
57-
# use "neutral" if the given argument weights neither for good nor bad.
58+
- &argument-a '{argument a}'
59+
- '{argument b}'
60+
# use "neutral" if the given argument weights neither for good nor bad.
5861

5962
neutral:
60-
- &argument-c '{argument c}'
63+
- &argument-c '{argument c}'
6164

6265
cons:
63-
- &argument-d '{argument d}'
64-
# numbers of pros and cons can vary
66+
- &argument-d '{argument d}'
67+
# numbers of pros and cons can vary
6568

6669
decision-outcome:
6770

@@ -76,21 +79,19 @@ decision-outcome:
7679
# this is an optional element
7780
consequences:
7881
positive:
79-
# numbers of entries can vary
80-
- *argument-a
81-
- '{positive consequence, e.g., improvement of one or more desired qualities, …}'
82+
# numbers of entries can vary
83+
- *argument-a
84+
- '{positive consequence, e.g., improvement of one or more desired qualities, …}'
8285
neutral:
83-
- *argument-c
84-
- '{neutral consequence, e.g., resulting activity, new requirement/decision, …}'
86+
- *argument-c
87+
- '{neutral consequence, e.g., resulting activity, new requirement/decision, …}'
8588
negative:
86-
- *argument-d
87-
- '{negative consequence, e.g., compromising one or more desired qualities, …}'
89+
- *argument-d
90+
- '{negative consequence, e.g., compromising one or more desired qualities, …}'
8891

8992
# this is an optional element
9093
confirmation: |
91-
9294
{Describe how the implementation / compliance of the ADR can/will be confirmed. Is there any automated or manual fitness function? If so, list it and explain how it is applied. Is the chosen design and its implementation in line with the decision? E.g., a design/code review or a test with a library such as ArchUnit can help validate this. Note that although we classify this element as optional, it is included in many ADRs.}
9395
9496
more-information: |
95-
9697
{You might want to provide additional evidence/confidence for the decision outcome here and/or document the team agreement on the decision and/or define when/how this decision the decision should be realized and if/when it should be re-visited. Links to other decisions and resources might appear here as well.}

0 commit comments

Comments
 (0)