Skip to content

Commit bbdf950

Browse files
authored
Merge pull request #3803 from aldavidson/add-python-component-to-architecture-adoc
Add python component to architecture adoc
2 parents 9c193b4 + 70719fb commit bbdf950

5 files changed

Lines changed: 9 additions & 11 deletions

File tree

docs/README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
This directory contains documentation for the Manage vaccinations in schools service.
44

55
- [Architecture](architecture.adoc)
6-
- [Deployment](deployment.adoc)
76
- [Offline Support](offline-support.adoc)
87
- [Offline CSRF Security](offline-csrf-security.adoc)
98

docs/architecture-future.adoc

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -226,10 +226,6 @@ working.
226226

227227
include::offline-support.adoc[leveloffset=+2,lines=24..-1]
228228

229-
== Deployment
230-
231-
include::deployment.adoc[leveloffset=+1,lines=24..-1]
232-
233229
== Components
234230

235231
* Authentication

docs/architecture.adoc

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -198,14 +198,11 @@ service using a standard login page, and as is standard with Ruby on Rails apps,
198198
resources are exposed with REST-like paths using an MVC approach to separate
199199
concerns on the server.
200200

201-
== Deployment
202-
203-
include::deployment.adoc[leveloffset=+1,lines=24..-1]
204-
205201
== Components
206202

207203
* Authentication
208204
* Programme management - creation, update, etc
209205
* Programme operations and vaccination recording
210206
* Offline support - Browser-based component
211207
* FHIR server synchronisation
208+
* Reporting (in development)

docs/diagrams/component-view.puml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ Enterprise_Boundary(nhs, "NHS England Digital") {
1919
Component(webapp, "Web Application")
2020
Component(bgjobs, "Background Jobs")
2121
}
22+
Container_Boundary(mavis_reporting_app, "Mavis Reporting UI", Python) {
23+
Component(mavis_reporting, "Reporting interface", "Python")
24+
}
2225
ContainerDb(database, "Database", "PostgreSQL")
2326
}
2427

@@ -36,14 +39,15 @@ Rel(webapp, cis, "Gets user info", "OIDC")
3639
Rel(sais, webapp, "Uses system", "HTML, JS")
3740
Rel(sais, poc, "Gets vaccination records from")
3841
Rel(sais, webapp, "Uploads vaccination records", "CSV")
42+
Rel(sais, mavis_reporting, "Generates reports", "CSV")
3943
Rel(parents, webapp, "Responds to consent requests", "HTML, JS")
4044
Rel(webapp, database, "Read and write data", "Postgres, TLS")
45+
Rel(mavis_reporting, webapp, "Reads data from", "private REST API")
4146
Rel(webapp, bgjobs, "Queues jobs")
4247
Rel(bgjobs, database, "Read and write data", "Postgres, TLS")
4348
Rel(bgjobs, notify, "Send notifications to user", "REST API")
4449
Rel(notify, parents, "Sends notifications to", "Email, SMS")
4550
Rel(bgjobs, pds, "Gets NHS numbers from", "FHIR REST API")
46-
Rel(bgjobs, dps, "Sends vaccination records to", "MESH")
4751

4852

4953
SHOW_FLOATING_LEGEND()

docs/diagrams/container-view.puml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ System_Ext(poc, "Point of care systems")
1616
Enterprise_Boundary(nhs, "NHS England Digital") {
1717
System_Boundary(manage, "Mavis") {
1818
Container(mavis, "Server Application", "Ruby on Rails")
19+
Container(mavis_reporting, "Reporting interface", "Python")
1920
ContainerDb(mavis_db, "Database", "PostgreSQL")
2021
}
2122

@@ -33,12 +34,13 @@ Rel(mavis, cis, "Gets user info", "OIDC API")
3334
Rel(sais, mavis, "Uses system", "HTML, JS")
3435
Rel(sais, poc, "Gets vaccination records from")
3536
Rel(sais, mavis, "Uploads vaccination records", "CSV")
37+
Rel(sais, mavis_reporting, "Generates reports", "CSV")
3638
Rel(parents, mavis, "Responds to consent requests", "HTML, JS")
3739
Rel(mavis, notify, "Send notifications to user", "REST API")
3840
Rel(notify, parents, "Sends notifications to", "Email, SMS")
3941
Rel(mavis, pds, "Gets NHS numbers from", "FHIR REST API")
40-
Rel(mavis, dps, "Sends vaccination records to", "MESH")
4142
Rel(mavis, mavis_db, "Reads from and writes to", "Postgres, TLS")
43+
Rel(mavis_reporting, mavis, "Reads data from", "private REST API")
4244

4345
SHOW_FLOATING_LEGEND()
4446

0 commit comments

Comments
 (0)