Add plantuml request flow diagram

This commit is contained in:
Joel Speed 2020-06-07 16:00:41 +01:00
parent 160bbaf98e
commit e68c2d4d54
No known key found for this signature in database
GPG Key ID: 6E80578D6751DEFB
1 changed files with 39 additions and 0 deletions

View File

@ -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