docs: add proxy and config reloading to arch

This commit is contained in:
steve-chavez
2024-04-10 13:57:49 -05:00
committed by Steve Chavez
parent 5880e62d7a
commit 47a4e2bfd0
2 changed files with 14 additions and 12 deletions
+14 -12
View File
@@ -1,4 +1,5 @@
@startuml @startuml
package "PostgREST" { package "PostgREST" {
() HTTP as HTTPAPI () HTTP as HTTPAPI
HTTPAPI - [Auth] HTTPAPI - [Auth]
@@ -15,12 +16,10 @@ package "PostgREST" {
[Config] -l- () CLI [Config] -l- () CLI
HTTPADMIN -[hidden]r- CLI HTTPADMIN -[hidden]r- CLI
/' Listener -[hidden]r- [Schema Cache]
'the listener reloads the config. Too much detail, the arrows are crosssed. [Schema Cache] <-l[hidden]- [Config]
'[Schema Cache] <-l[hidden]- [Config] [Schema Cache] -l[hidden]- [Admin]
'[Schema Cache] <-l[hidden]- [Admin] [Config] <-l~ Listener
'[Config] <-l~ () Listener : reloads
'/
} }
@@ -31,15 +30,18 @@ database "PostgreSQL" {
node API { node API {
rectangle "Functions, Views" rectangle "Functions, Views"
} }
rectangle "Tables, extensions" as texts rectangle "Tables, extensions" as tbs
API -d- texts API -d- tbs
Authorization -d- tbs
} }
:user:
hexagon Proxy
:user: .r-> Proxy
HTTPAPI <.l- Proxy
HTTPAPI <.l- :user: : "\t" :operator: .d-> HTTPADMIN
:operator: .d-> CLI
:operator: .-> HTTPADMIN
:operator: .-> CLI
PostgreSQL <.developer : "\t" PostgreSQL <.developer : "\t"
BIN
View File
Binary file not shown.

Before

Width:  |  Height:  |  Size: 55 KiB

After

Width:  |  Height:  |  Size: 58 KiB