Skip to content

Commit

Permalink
docs: add proxy and config reloading to arch
Browse files Browse the repository at this point in the history
  • Loading branch information
steve-chavez committed Apr 10, 2024
1 parent 5880e62 commit 47a4e2b
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 12 deletions.
26 changes: 14 additions & 12 deletions docs/_diagrams/arch.uml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
@startuml

package "PostgREST" {
() HTTP as HTTPAPI
HTTPAPI - [Auth]
Expand All @@ -15,12 +16,10 @@ package "PostgREST" {
[Config] -l- () CLI
HTTPADMIN -[hidden]r- CLI

/'
'the listener reloads the config. Too much detail, the arrows are crosssed.
'[Schema Cache] <-l[hidden]- [Config]
'[Schema Cache] <-l[hidden]- [Admin]
'[Config] <-l~ () Listener : reloads
'/
Listener -[hidden]r- [Schema Cache]
[Schema Cache] <-l[hidden]- [Config]
[Schema Cache] -l[hidden]- [Admin]
[Config] <-l~ Listener
}


Expand All @@ -31,15 +30,18 @@ database "PostgreSQL" {
node API {
rectangle "Functions, Views"
}
rectangle "Tables, extensions" as texts
API -d- texts
rectangle "Tables, extensions" as tbs
API -d- tbs
Authorization -d- tbs
}

:user:
hexagon Proxy
:user: .r-> Proxy
HTTPAPI <.l- Proxy

HTTPAPI <.l- :user: : "\t"

:operator: .-> HTTPADMIN
:operator: .-> CLI
:operator: .d-> HTTPADMIN
:operator: .d-> CLI


PostgreSQL <.developer : "\t"
Expand Down
Binary file modified docs/_static/arch.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 47a4e2b

Please sign in to comment.