From ae0d9b0a645591a23349ccd25b54ef52405d2e62 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dominik=20Pant=C5=AF=C4=8Dek?= Date: Mon, 26 Jun 2023 13:31:39 +0200 Subject: [PATCH] Add preliminary architecture diagram dot source. --- .gitignore | 1 + doc/architecture.dot | 105 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 106 insertions(+) create mode 100644 doc/architecture.dot diff --git a/.gitignore b/.gitignore index 0119d10..ad59f64 100644 --- a/.gitignore +++ b/.gitignore @@ -15,3 +15,4 @@ apikey.ntlm checked.ntlm cards.txt cards_desfire.txt +doc/architecture.svg diff --git a/doc/architecture.dot b/doc/architecture.dot new file mode 100644 index 0000000..f64aa59 --- /dev/null +++ b/doc/architecture.dot @@ -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"] + +} + +}