Skip to content

Commit 941f815

Browse files
mesh diagrams linked. (#66)
* mesh diagrams linked. * Update c4 context.
1 parent 609d213 commit 941f815

16 files changed

Lines changed: 136 additions & 115 deletions

File tree

docs/_config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ gh_edit_link: true # show or hide edit this page link
6060
gh_edit_link_text: "Edit this page on GitHub."
6161
gh_edit_repository: "https://github.com/NHSDigital/nhs-notify-digital-letters" # the github URL for your repo
6262
gh_edit_branch: "main" # the branch that your docs is served from
63-
# gh_edit_source: docs # the source that your files originate from
63+
gh_edit_source: docs # the source that your files originate from
6464
gh_edit_view_mode: "tree" # "tree" or "edit" if you want the user to jump into the editor immediately
6565

6666
nav_external_links:

docs/_includes/diagram.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
| where_exp:"diagram", "diagram.title == include.title"
33
| first %}
44

5-
[{{ diagram.url |relative_url }}]({{ diagram.url |relative_url }})
5+
[Link to this diagram directly: {{ diagram.url |relative_url }}]({{ diagram.url |relative_url }})
66
{{ diagram.content | markdownify }}

docs/_layouts/diagram.html

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,19 @@
99
{% include nhs-notify-head.html %}
1010

1111
<body>
12+
13+
14+
<h1>{{ page.title }}</h1>
15+
<div>
16+
{{ page.description }}
17+
</div>
18+
<div> <a
19+
href="{{ site.gh_edit_repository }}/{{site.gh_edit_view_mode}}/{{ site.gh_edit_branch }}{% if site.gh_edit_source %}/{{ site.gh_edit_source }}{% endif %}/collections/{{ page.path }}"
20+
id="edit-this-page"
21+
>🧾 Edit this on GitHub</a
22+
>
23+
</div>
24+
1225
{{ content }}
1326
</body>
1427

docs/architecture/c4/notifhir/mesh/index.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,3 @@ author: Tom D'Roza
1212

1313

1414
{% include diagram.html title="c4Component-notifhir-1" %}
15-
16-
{% include diagram.html title="c4Component-notifhir-2" %}
17-
18-
{% include diagram.html title="c4Component-notifhir-3" %}

docs/architecture/c4/notifhir/mesh/poller/index.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,5 @@ last_modified_date: 2024-10-13
99
owner: Tom D'Roza
1010
author: Tom D'Roza
1111
---
12+
13+
{% include diagram.html title="c4Component-notifhir-2" %}

docs/architecture/c4/notifhir/mesh/retriever/index.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,5 @@ last_modified_date: 2024-05-28
99
owner: Ross Buggins
1010
author: Ross Buggins
1111
---
12+
13+
{% include diagram.html title="c4Component-notifhir-3" %}

docs/architecture/c4/notifhir/pdm/index.md

Lines changed: 0 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -9,46 +9,3 @@ last_modified_date: 2025-10-13
99
owner: Tom D'Roza
1010
author: Tom D'Roza
1111
---
12-
13-
## PDM Upload
14-
15-
```mermaid
16-
architecture-beta
17-
service meshDownloaded(aws:res-amazon-eventbridge-event)[MESHFileDownloaded Event]
18-
service pdmSaved(aws:res-amazon-eventbridge-event)[SavedToPDM Event]
19-
group uploadToPdm(cloud)[UploadToPDM]
20-
service uploadQueue(logos:aws-sqs)[UploadToPDM Queue] in uploadToPdm
21-
service uploadLambda(logos:aws-lambda)[UploadToPDM] in uploadToPdm
22-
service s3(logos:aws-s3)[S3 Bucket] in uploadToPdm
23-
service pdm(server)[PDM]
24-
25-
26-
meshDownloaded:R -- L:uploadQueue
27-
uploadQueue:R --> L:uploadLambda
28-
uploadLambda:B <-- T:s3
29-
uploadLambda:T --> L:pdmSaved
30-
uploadLambda:R --> L:pdm
31-
32-
```
33-
34-
## PDM Poller
35-
36-
### Questions
37-
38-
1. What poll interval and duration is needed for the PDM Poller?
39-
2. Can the polling be managed within the lambda?
40-
41-
```mermaid
42-
architecture-beta
43-
service eventBus(aws:res-amazon-eventbridge-event)[SavedToPDM Event]
44-
service pdmReady(aws:res-amazon-eventbridge-event)[PDMDocumentReadyEvent]
45-
group checkPdm(cloud)[PDMPoller]
46-
service pollPdmQueue(logos:aws-sqs)[PollPDM Queue] in checkPdm
47-
service pollPdmLambda(logos:aws-lambda)[PollPDM] in checkPdm
48-
service pdm(server)[PDM]
49-
50-
eventBus:R -- L:pollPdmQueue
51-
pollPdmQueue:R --> L:pollPdmLambda
52-
pollPdmLambda:B --> L:pdmReady
53-
pollPdmLambda:R <--> L:pdm
54-
```

docs/architecture/c4/notifhir/pdm/poller/index.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,5 @@ last_modified_date: 2024-05-28
99
owner: Ross Buggins
1010
author: Ross Buggins
1111
---
12+
13+
{% include diagram.html title="c4code-pdm-poller" %}

docs/architecture/c4/notifhir/pdm/saver/index.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,5 @@ last_modified_date: 2024-05-28
99
owner: Ross Buggins
1010
author: Ross Buggins
1111
---
12+
13+
{% include diagram.html title="c4code-pdm-upload" %}

docs/architecture/c4/notifhir/printer/removefromqueue/index.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,5 @@ last_modified_date: 2024-05-28
99
owner: Ross Buggins
1010
author: Ross Buggins
1111
---
12+
13+
{% include diagram.html title="c4code-printer-removefromqueue" %}

0 commit comments

Comments
 (0)