Skip to content

Commit 9db8f84

Browse files
Merge pull request #1934 from rocketstack-matt/fix/day-11
fix(day-11): correct relationship details in documentation
2 parents eadc9b9 + cb8586e commit 9db8f84

File tree

1 file changed

+14
-3
lines changed

1 file changed

+14
-3
lines changed

advent-of-calm/day-11.md

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -141,11 +141,22 @@ This architecture contains **{{nodes.length}}** nodes:
141141
142142
## Integrations
143143
144-
This architecture has **{{relationships.length}}** connections:
144+
This architecture has **{{relationships.length}}** relationships:
145145
146146
{{#each relationships}}
147-
- {{this.description}}
148-
- Protocol: {{this.protocol}}
147+
- **{{this.unique-id}}** ({{#each this.relationship-type}}{{@key}}{{/each}})
148+
{{#if this.relationship-type.connects}}
149+
- {{this.relationship-type.connects.source.node}} → {{this.relationship-type.connects.destination.node}}
150+
{{/if}}
151+
{{#if this.relationship-type.interacts}}
152+
- Actor: {{this.relationship-type.interacts.actor}} interacts with: {{#each this.relationship-type.interacts.nodes}}{{this}}{{#unless @last}}, {{/unless}}{{/each}}
153+
{{/if}}
154+
{{#if this.relationship-type.deployed-in}}
155+
- Container: {{this.relationship-type.deployed-in.container}} contains: {{#each this.relationship-type.deployed-in.nodes}}{{this}}{{#unless @last}}, {{/unless}}{{/each}}
156+
{{/if}}
157+
{{#if this.relationship-type.composed-of}}
158+
- Container: {{this.relationship-type.composed-of.container}} composed of: {{#each this.relationship-type.composed-of.nodes}}{{this}}{{#unless @last}}, {{/unless}}{{/each}}
159+
{{/if}}
149160
{{/each}}
150161
151162
## Flows

0 commit comments

Comments
 (0)