generated from ioos/ioos-documentation-jekyll-skeleton
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
26 changed files
with
7,807 additions
and
3,172 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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
|
||
# D2 | ||
# d2 fmt file.d2 | ||
# d2 --theme 300 file.d2 | ||
# d2 --theme 300 file.d2 file.png | ||
|
||
for FILE in *.d2; do d2 fmt $FILE; d2 --theme 300 $FILE; d2 --theme 300 $FILE $FILE:r.png; done | ||
|
||
|
||
# Structurizr CLI to d2 | ||
structurizr-cli export -f d2 -w workspace.dsl -o ./c4 | ||
cd ./c4 | ||
for FILE in *.d2; do d2 $FILE; d2 $FILE:r.png; done |
30 changes: 30 additions & 0 deletions
30
_docs/assets/architecture/c4/structurizr-Deployment-001.d2
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,30 @@ | ||
title: |`md | ||
# HFRNet - Deployment - NDBC | ||
`| { | ||
near: top-center | ||
} | ||
direction: right | ||
container_65: { | ||
label: "NDBC Dissemination\n[Deployment Node]" | ||
shape: rectangle | ||
style: { | ||
fill: "#ffffff" | ||
font-color: "#000000" | ||
font-size: 24 | ||
multiple: false | ||
opacity: 1.0 | ||
stroke: "#888888" | ||
} | ||
} | ||
container_65.container_66: { | ||
label: "Operational Dissemination" | ||
shape: rectangle | ||
style: { | ||
fill: "#d3d3d3" | ||
font-color: "#000000" | ||
font-size: 24 | ||
multiple: false | ||
opacity: 1.0 | ||
stroke: "#939393" | ||
} | ||
} |
845 changes: 845 additions & 0 deletions
845
_docs/assets/architecture/c4/structurizr-Deployment-001.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
181 changes: 181 additions & 0 deletions
181
_docs/assets/architecture/c4/structurizr-HFRNetContainerView.d2
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,181 @@ | ||
title: |`md | ||
# HFRNet - Containers | ||
`| { | ||
near: top-center | ||
} | ||
direction: right | ||
container_1: { | ||
label: "HFR Site\n[Software System]" | ||
shape: rectangle | ||
tooltip: "An HFR Station where a SeaSonde/WERA/LERA unit is installed and operating." | ||
style: { | ||
fill: "#dddddd" | ||
font-color: "#000000" | ||
font-size: 24 | ||
multiple: false | ||
opacity: 1.0 | ||
stroke: "#9a9a9a" | ||
} | ||
} | ||
container_19: { | ||
label: "System status website\n[Software System]" | ||
shape: rectangle | ||
tooltip: "Services that provides visualizations of products and metrics; manages site configuration." | ||
style: { | ||
fill: "#87ceeb" | ||
font-color: "#000000" | ||
font-size: 24 | ||
multiple: false | ||
opacity: 1.0 | ||
stroke: "#5e90a4" | ||
} | ||
} | ||
container_29: { | ||
label: "PDA\n[Software System]" | ||
shape: rectangle | ||
tooltip: "NESDIS Product Dissemination A???" | ||
style: { | ||
fill: "#d3d3d3" | ||
font-color: "#000000" | ||
font-size: 24 | ||
multiple: false | ||
opacity: 1.0 | ||
stroke: "#939393" | ||
} | ||
} | ||
|
||
container_4: { | ||
label: "HFRNet\n[Software System]" | ||
shape: rectangle | ||
tooltip: "Aggregate raw data and process into useful outputs for dissemination." | ||
style: { | ||
fill: "#1e2d78" | ||
font-color: "#ffffff" | ||
font-size: 24 | ||
multiple: false | ||
opacity: 1.0 | ||
stroke: "#151f54" | ||
} | ||
} | ||
container_4.container_18: { | ||
label: "Product Database\n[Container: MySQL]" | ||
shape: cylinder | ||
tooltip: "Product database containing site configuration and data flow metrics." | ||
style: { | ||
fill: "#87ceeb" | ||
font-color: "#000000" | ||
font-size: 24 | ||
multiple: false | ||
opacity: 1.0 | ||
stroke: "#5e90a4" | ||
} | ||
} | ||
container_4.container_5: { | ||
label: "Site Aggregator\n[Container: Python/Shell]" | ||
shape: rectangle | ||
tooltip: "Portal(s) to aggregate raw data from sites." | ||
style: { | ||
fill: "#87ceeb" | ||
font-color: "#000000" | ||
font-size: 24 | ||
multiple: false | ||
opacity: 1.0 | ||
stroke: "#5e90a4" | ||
} | ||
} | ||
container_4.container_7: { | ||
label: "Site Aggregator Database\n[Container: MySQL]" | ||
shape: cylinder | ||
tooltip: "Maintain site configuration and [RESEARCH THIS]" | ||
style: { | ||
fill: "#87ceeb" | ||
font-color: "#000000" | ||
font-size: 24 | ||
multiple: false | ||
opacity: 1.0 | ||
stroke: "#5e90a4" | ||
} | ||
} | ||
container_4.container_8: { | ||
label: "Product Dev\n[Container]" | ||
shape: rectangle | ||
tooltip: "Collect data from Site Aggregators and process raw data into products." | ||
style: { | ||
fill: "#87ceeb" | ||
font-color: "#000000" | ||
font-size: 24 | ||
multiple: false | ||
opacity: 1.0 | ||
stroke: "#5e90a4" | ||
} | ||
} | ||
container_4.container_5 -> container_1: { | ||
label: "Aggregates radials/configuration" | ||
style: { | ||
font-size: 24 | ||
opacity: 1.0 | ||
stroke: "#707070" | ||
stroke-dash: 5 | ||
stroke-width: 2 | ||
} | ||
} | ||
container_4.container_8 -> container_4.container_5: { | ||
label: "Pulls data from" | ||
style: { | ||
font-size: 24 | ||
opacity: 1.0 | ||
stroke: "#707070" | ||
stroke-dash: 5 | ||
stroke-width: 2 | ||
} | ||
} | ||
container_4.container_8 -> container_4.container_18: { | ||
label: "Query/update configuration and metrics.\n[TCP/SQL]" | ||
style: { | ||
font-size: 24 | ||
opacity: 1.0 | ||
stroke: "#707070" | ||
stroke-dash: 5 | ||
stroke-width: 2 | ||
} | ||
} | ||
container_4.container_5 -> container_4.container_7: { | ||
label: "Query/update site configuration." | ||
style: { | ||
font-size: 24 | ||
opacity: 1.0 | ||
stroke: "#707070" | ||
stroke-dash: 5 | ||
stroke-width: 2 | ||
} | ||
} | ||
container_19 -> container_4.container_5: { | ||
label: "Query/update site configuration." | ||
style: { | ||
font-size: 24 | ||
opacity: 1.0 | ||
stroke: "#707070" | ||
stroke-dash: 5 | ||
stroke-width: 2 | ||
} | ||
} | ||
container_19 -> container_4.container_8: { | ||
label: "Pull metrics for visualization." | ||
style: { | ||
font-size: 24 | ||
opacity: 1.0 | ||
stroke: "#707070" | ||
stroke-dash: 5 | ||
stroke-width: 2 | ||
} | ||
} | ||
container_4.container_8 -> container_29: { | ||
label: "Push products to" | ||
style: { | ||
font-size: 24 | ||
opacity: 1.0 | ||
stroke: "#707070" | ||
stroke-dash: 5 | ||
stroke-width: 2 | ||
} | ||
} |
972 changes: 972 additions & 0 deletions
972
_docs/assets/architecture/c4/structurizr-HFRNetContainerView.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
122 changes: 122 additions & 0 deletions
122
_docs/assets/architecture/c4/structurizr-HFRNetSystemContext.d2
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,122 @@ | ||
title: |`md | ||
# HFRNet - System Context | ||
`| { | ||
near: top-center | ||
} | ||
direction: right | ||
container_1: { | ||
label: "HFR Site\n[Software System]" | ||
shape: rectangle | ||
tooltip: "An HFR Station where a SeaSonde/WERA/LERA unit is installed and operating." | ||
style: { | ||
fill: "#dddddd" | ||
font-color: "#000000" | ||
font-size: 24 | ||
multiple: false | ||
opacity: 1.0 | ||
stroke: "#9a9a9a" | ||
} | ||
} | ||
container_19: { | ||
label: "System status website\n[Software System]" | ||
shape: rectangle | ||
tooltip: "Services that provides visualizations of products and metrics; manages site configuration." | ||
style: { | ||
fill: "#87ceeb" | ||
font-color: "#000000" | ||
font-size: 24 | ||
multiple: false | ||
opacity: 1.0 | ||
stroke: "#5e90a4" | ||
} | ||
} | ||
container_2: { | ||
label: "HFR User\n[Person]" | ||
shape: person | ||
tooltip: "A person (or system) that uses HFR derived products." | ||
style: { | ||
fill: "#dddddd" | ||
font-color: "#000000" | ||
font-size: 24 | ||
multiple: false | ||
opacity: 1.0 | ||
stroke: "#9a9a9a" | ||
} | ||
} | ||
container_29: { | ||
label: "PDA\n[Software System]" | ||
shape: rectangle | ||
tooltip: "NESDIS Product Dissemination A???" | ||
style: { | ||
fill: "#d3d3d3" | ||
font-color: "#000000" | ||
font-size: 24 | ||
multiple: false | ||
opacity: 1.0 | ||
stroke: "#939393" | ||
} | ||
} | ||
container_4: { | ||
label: "HFRNet\n[Software System]" | ||
shape: rectangle | ||
tooltip: "Aggregate raw data and process into useful outputs for dissemination." | ||
style: { | ||
fill: "#1e2d78" | ||
font-color: "#ffffff" | ||
font-size: 24 | ||
multiple: false | ||
opacity: 1.0 | ||
stroke: "#151f54" | ||
} | ||
} | ||
|
||
container_1 -> container_4: { | ||
label: "Provides data." | ||
style: { | ||
font-size: 24 | ||
opacity: 1.0 | ||
stroke: "#707070" | ||
stroke-dash: 5 | ||
stroke-width: 2 | ||
} | ||
} | ||
container_4 -> container_2: { | ||
label: "Uses products." | ||
style: { | ||
font-size: 24 | ||
opacity: 1.0 | ||
stroke: "#707070" | ||
stroke-dash: 5 | ||
stroke-width: 2 | ||
} | ||
} | ||
container_4 -> container_1: { | ||
label: "Aggregates radials/configuration" | ||
style: { | ||
font-size: 24 | ||
opacity: 1.0 | ||
stroke: "#707070" | ||
stroke-dash: 5 | ||
stroke-width: 2 | ||
} | ||
} | ||
container_19 -> container_4: { | ||
label: "Query/update site configuration." | ||
style: { | ||
font-size: 24 | ||
opacity: 1.0 | ||
stroke: "#707070" | ||
stroke-dash: 5 | ||
stroke-width: 2 | ||
} | ||
} | ||
container_4 -> container_29: { | ||
label: "Push products to" | ||
style: { | ||
font-size: 24 | ||
opacity: 1.0 | ||
stroke: "#707070" | ||
stroke-dash: 5 | ||
stroke-width: 2 | ||
} | ||
} |
Oops, something went wrong.