summaryrefslogtreecommitdiffstats
path: root/docs/architecture/plantuml/PolicyExecutionFlow.puml
diff options
context:
space:
mode:
Diffstat (limited to 'docs/architecture/plantuml/PolicyExecutionFlow.puml')
-rw-r--r--docs/architecture/plantuml/PolicyExecutionFlow.puml24
1 files changed, 24 insertions, 0 deletions
diff --git a/docs/architecture/plantuml/PolicyExecutionFlow.puml b/docs/architecture/plantuml/PolicyExecutionFlow.puml
new file mode 100644
index 00000000..a06fdf5f
--- /dev/null
+++ b/docs/architecture/plantuml/PolicyExecutionFlow.puml
@@ -0,0 +1,24 @@
+@startuml
+
+title Policy Execution
+
+participant REQUESTOR
+participant RESPONDEE
+participant PDP
+
+autonumber
+
+alt Synchronous Invocation
+ REQUESTOR --> PDP: Execute Policy
+ activate PDP
+ hnote over REQUESTOR : wait
+ PDP --> REQUESTOR: Policy Execution Result
+ deactivate PDP
+else Asynchronous Invocation
+ REQUESTOR --> PDP: Execute Policy
+ activate PDP
+ PDP --> RESPONDEE: Policy Execution Result
+ deactivate PDP
+end
+
+@enduml \ No newline at end of file