Add preliminary architecture diagram dot source.

This commit is contained in:
Dominik Pantůček 2023-06-26 13:31:39 +02:00
parent b756a33a1a
commit ae0d9b0a64
2 changed files with 106 additions and 0 deletions

1
.gitignore vendored
View file

@ -15,3 +15,4 @@ apikey.ntlm
checked.ntlm
cards.txt
cards_desfire.txt
doc/architecture.svg

105
doc/architecture.dot Normal file
View file

@ -0,0 +1,105 @@
digraph G{
subgraph cluster_0{
label="Legend"
tool [label="Batch Tool",shape=octagon]
dir [label="Directory",shape=box]
file [label="File(s)",shape=note]
comp [label="Other Component"]
xxx [style=invis]
yyy [style=invis]
zzz [style=invis]
www [style=invis]
tool -> dir [style=invis]
dir -> file [style=invis]
file -> comp [style=invis]
# file -> xxx [style=invis]
xxx -> yyy [label="Pass Data"]
yyy -> zzz [label="Generate Files",color=red]
zzz -> www [label="Read Data",style=dashed]
}
subgraph cluster_1 {
label="HackerBase Architecture"
hackerbase [label="HackerBase",shape=octagon]
hb_fetch_fio [label="HB Fio Fetcher",shape=octagon]
{
rank=same
varlib [label="Var Data\n(/var/lib/jendasap currently)",shape=box]
spaceapijson [label="SpaceAPI JSON\n(/home/brmdoor-web/spaceapi-status/brmstatus.json)",shape=note]
}
dokuwiki [label="DokuWiki"]
dw_brmburo [label="DokuWiki BrmBuro\n(plugin)"]
bankpartial [label="Yearly Account Statements\n(/root/sap/parts currently)",shape=box]
{
rank=same
gitmembers [label="Member Files git Repository\n(/root/sap/members currently)",shape=box]
bankfull [label="Bank Account Statements\n(/root/sap currently)",shape=box]
mailman [label="MailMan Binaries",shape=octagon]
}
hb_fetch_fio -> bankpartial [label="cron *:57\nDownload CSVs",color=red]
bankpartial -> bankfull [label="cron *:57\nMerge CSVs",color=red]
bankfull -> hackerbase [label="Read cached bank accounts",style=dashed]
varlib -> dw_brmburo [style=dashed,label="Read static pages"]
gitmembers -> hackerbase [label="Read and Parse\nData and Metadata",style=dashed]
hackerbase -> varlib [label="cron *:59\nGenerate static member pages",color=red]
mailman -> hackerbase [label="Read Members Subscriptions",style=dashed]
spaceapijson -> dw_brmburo [style=dashed,label="Parse status JSON data"]
hackerbase -> mailman [label="Update Members Subscriptions",color=red,constraint=false]
dw_brmburo -> dokuwiki [label="Payments"]
dw_brmburo -> dokuwiki [label="BrmDoor Status"]
}
}