-
Notifications
You must be signed in to change notification settings - Fork 0
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
24 changed files
with
325 additions
and
483 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Binary file not shown.
283 changes: 0 additions & 283 deletions
283
documentation/5-building-blocks-status-arc42-org.drawio
This file was deleted.
Oops, something went wrong.
Binary file not shown.
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
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
This file was deleted.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,29 @@ | ||
@startuml | ||
'https://plantuml.com/sequence-diagram | ||
|
||
autonumber | ||
|
||
|
||
actor client as "Client" | ||
participant site as "status.arc42.org\nstatic website" | ||
participant htmx as "htmx\nJavaScript lib" | ||
participant server as "api Gateway" | ||
|
||
client -> site : "https://status.arc42.org" | ||
site -> htmx: replace table | ||
activate htmx | ||
|
||
htmx -> server: OPTIONS statsTable | ||
activate server | ||
server -> server : Set CORS headers | ||
server --> htmx : return 200 OK | ||
|
||
htmx -> server : GET /statsTable | ||
server -> server : Set CORS headers | ||
server -> server : Perform additional processing | ||
server --> htmx : return 200 OK with data | ||
deactivate server | ||
htmx --> site: html table\ncontaining results | ||
deactivate htmx | ||
site --> client: display table | ||
@enduml |
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,34 @@ | ||
@startuml | ||
'https://plantuml.com/sequence-diagram | ||
|
||
autonumber | ||
|
||
participant domain | ||
participant "domain.\nsiteStats" as siteStats | ||
participant "domain.\nrepoStats" as repoStats | ||
group parallel [domain.go] | ||
domain -> domain : init logger | ||
loop for site in allSites | ||
par | ||
domain -> siteStats: get SiteStatistics(site) | ||
activate siteStats | ||
par | ||
siteStats -> plausible: get 7D( site ) | ||
else | ||
siteStats -> plausible: get 30D( site ) | ||
else | ||
siteStats -> plausible: get 12M( site ) | ||
end | ||
deactivate siteStats | ||
else | ||
domain -> repoStats: getRepoStatistics(site) | ||
activate repoStats | ||
repoStats -> github: getRepoStatistics | ||
activate github | ||
deactivate github | ||
deactivate repoStats | ||
end | ||
domain -> domain: aggregateResults( site ) | ||
|
||
end | ||
@enduml |
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
Oops, something went wrong.