Add plantuml request flow diagram
This commit is contained in:
parent
160bbaf98e
commit
e68c2d4d54
|
|
@ -0,0 +1,39 @@
|
|||
@startuml Request Flow
|
||||
|
||||
start
|
||||
:User makes request;
|
||||
'Redirect To HTTPS middleware, always installed'
|
||||
partition RedirectToHTTPS {
|
||||
if (Redirect To HTTPS Enabled) then (yes)
|
||||
if (request is HTTP or X-Forwarded-Proto not HTTPS) then (yes)
|
||||
:Return redirect to HTTPS;
|
||||
stop
|
||||
else (no)
|
||||
endif
|
||||
else (no)
|
||||
endif
|
||||
:Pass to next server;
|
||||
}
|
||||
|
||||
|
||||
if (GCP HealthCheck Enabled) then (yes)
|
||||
'GCP HealthCheck middleware, optionally installed'
|
||||
partition GCPHealthCheck {
|
||||
if (Request path is /liveness_check) then (yes)
|
||||
:Return OK;
|
||||
stop
|
||||
else if (Request path is /readiness_check) then (yes)
|
||||
:Return OK;
|
||||
stop
|
||||
else if (Path is / and user agent is "GoogleHC/1.0") then (yes)
|
||||
:Return OK;
|
||||
stop
|
||||
else (no)
|
||||
endif
|
||||
}
|
||||
else (no)
|
||||
endif
|
||||
|
||||
stop
|
||||
|
||||
@enduml
|
||||
Loading…
Reference in New Issue