-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#165 Add first cut of architecture diagram
This is not proper C4 just yet as is using the abstractions incorrectly, but is a reasonable first cut.
- Loading branch information
1 parent
30f0757
commit 627c8b3
Showing
3 changed files
with
91 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,3 +35,7 @@ Thumbs.db | |
# Batect | ||
.batect/ | ||
gh-md-toc | ||
|
||
# Structurizr | ||
docs/workspace.json | ||
docs/.structurizr |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
workspace { | ||
|
||
model { | ||
dev = person "Developer" "Dev wanting to reconcile datasources" | ||
|
||
sourceDb = softwareSystem "Source SQL DB" "Source SQL DB" "ExtDatabase" | ||
targetDb = softwareSystem "Target SQL DB" "Target SQL DB" "ExtDatabase" | ||
|
||
recceConfig = softwareSystem "Dataset Configurations" "YAML & SQL Dataset Configurations" "Files" | ||
recceDb = softwareSystem "Recce DB" "Recce PostgreSQL DB" "Database" | ||
recceServer = softwareSystem "Recce Server" "Recce Server" { | ||
|
||
server = container "Server" { | ||
api = component "API" | ||
recRunner = component "Rec Run Service" | ||
|
||
api -> recRunner "Trigger" | ||
} | ||
|
||
-> recceConfig "Load pre-configured dataset query configuration" | ||
-> recceDb "Persist dataset row hashes" | ||
-> recceDb "Compute reconciliation result summary" | ||
-> sourceDb "Load dataset(s) from source" | ||
-> targetDb "Load dataset(s) from target" | ||
|
||
} | ||
|
||
dev -> recceConfig "Configures source & target DB dataset queries" | ||
dev -> recceServer "Triggers reconciliations adhoc via API" | ||
recceServer -> dev "Reconciliation result summary" | ||
recceServer -> recceServer "Triggers scheduled reconciliations" | ||
} | ||
|
||
views { | ||
systemContext recceServer "SystemContext" { | ||
include * | ||
autoLayout | ||
} | ||
|
||
container recceServer "ContainerView" { | ||
include * | ||
autoLayout | ||
} | ||
|
||
component server "ComponentView" { | ||
include * | ||
autoLayout | ||
} | ||
|
||
styles { | ||
element "Software System" { | ||
background #1168bd | ||
color #ffffff | ||
} | ||
element "Person" { | ||
shape person | ||
background #08427b | ||
color #ffffff | ||
} | ||
element "Database" { | ||
shape Cylinder | ||
} | ||
element "ExtDatabase" { | ||
shape Cylinder | ||
background #5dbb63 | ||
} | ||
element "Files" { | ||
shape Folder | ||
} | ||
} | ||
} | ||
|
||
} |