From 2fb55882d733d8c1e28a49153ef6c3449ebe7998 Mon Sep 17 00:00:00 2001 From: Erg Date: Wed, 27 Nov 2024 17:45:03 +0100 Subject: Restructurisation --- state_diagram.txt | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 state_diagram.txt (limited to 'state_diagram.txt') diff --git a/state_diagram.txt b/state_diagram.txt new file mode 100644 index 0000000..2da76b1 --- /dev/null +++ b/state_diagram.txt @@ -0,0 +1,27 @@ +@startuml +:MQTT service starts; +start + +if (certificate expired) then + #pink:raise error; + kill +endif +:start accepting connections; +:check certificate; + +if (expiring soon) then (yes) + :generate new certificate; + :send to clients; + + if (confirmation NOK) then + #pink:raise error; + kill + endif + :restart MQTT; + +else (no) + :continue; +endif + +stop +@enduml -- cgit v1.2.3-65-gdbad