From e7fa7d15296a1e41a71a829cc86eb16ef0108184 Mon Sep 17 00:00:00 2001 From: "Begerad, Stefan" Date: Tue, 29 Nov 2022 10:27:51 +0100 Subject: [PATCH] doc: adjust UML activity diagram for API route stops/import to API version v1.1.10 --- src/stops-import/stops-import.txt | 29 ++++++++++++----------------- 1 file changed, 12 insertions(+), 17 deletions(-) diff --git a/src/stops-import/stops-import.txt b/src/stops-import/stops-import.txt index 9af5ec9..9a7e4a7 100644 --- a/src/stops-import/stops-import.txt +++ b/src/stops-import/stops-import.txt @@ -4,24 +4,19 @@ start if (Authorized?) then (yes) :check number of imports; if (number?) equals (2) then - :check stops in storage; - if (Stop storage available?) then (yes) - :check stops from import; - if (Is stop import empty?) then (yes) - end - else (no) - :check zones from import; - if (Is zone import empty?) then (yes) - end - else (no) - :process zones from import; - :process stops from import; - :delete obsolete records in storage; - :return all records from storage; - endif - endif - else (no) + :get stops from import; + if (Is stop import empty?) then (yes) end + else (no) + :get zones from import; + if (Is zone import empty?) then (yes) + end + else (no) + :process zones from import; + :process stops from import; + :delete obsolete records in storage; + :return all records from storage; + endif endif else (no) end