docs: add config/cli/developer to arch

This commit is contained in:
steve-chavez
2024-04-08 15:51:30 -05:00
committed by Steve Chavez
parent b91908b749
commit 2772b78013
3 changed files with 20 additions and 12 deletions
+1 -2
View File
@@ -32,8 +32,7 @@ A request might be rejected at this level if it's invalid. For example when prov
### Plan
Using the Schema Cache, this module enables more complex functionality (like resource embedding) by enriching the ApiRequest. It generates intermediate Plan types
that then will be used for the next step.
Using the Schema Cache, this module fills in SQL details that the user might have not specified (like an `ON CONFLICT (pk)` clause ).
A request might be rejected at this level if it's invalid. For example when doing resource embedding on a nonexistent resource.
+19 -10
View File
@@ -1,7 +1,4 @@
@startuml
:user:
package "PostgREST" {
() HTTP as HTTPAPI
HTTPAPI - [Auth]
@@ -11,11 +8,19 @@ package "PostgREST" {
[Query] - () "Connection Pool" : "\t"
[Plan] -u-> [Schema Cache]:uses
[Query] -u-> [Schema Cache]:uses
[Schema Cache] <- () Listener : reloads "\t"
() HTTP as HTTPADMIN
[Admin] - () HTTPADMIN
[Schema Cache] <- () Listener : reloads
/'HTTPADMIN <-r[hidden]- [Schema Cache] : "\t\t\t"'/
() HTTP as HTTPADMIN
[Admin] -r- () HTTPADMIN
[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
'/
}
@@ -30,9 +35,14 @@ database "PostgreSQL" {
API -d- texts
}
HTTPAPI <.l- user : "\t"
operator .d-> HTTPADMIN
HTTPAPI <.l- :user: : "\t"
:operator: .-> HTTPADMIN
:operator: .-> CLI
PostgreSQL <.developer : "\t"
Listener -r.> "PostgreSQL"
"Connection Pool" -r.> "PostgreSQL" : "\t\t"
@@ -52,5 +62,4 @@ end note
note top of Listener
LISTEN session
end note
@enduml
BIN
View File
Binary file not shown.

Before

Width:  |  Height:  |  Size: 48 KiB

After

Width:  |  Height:  |  Size: 55 KiB