From 5e563236a11152432b169c353ef19dc466754ae0 Mon Sep 17 00:00:00 2001 From: "Begerad, Stefan" Date: Tue, 29 Nov 2022 12:06:29 +0100 Subject: [PATCH] feat: adjust process-stops-from-import.txt to API version v1.1.11 --- src/stops-import/process-stops-from-import.txt | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/src/stops-import/process-stops-from-import.txt b/src/stops-import/process-stops-from-import.txt index 4951213..614b754 100644 --- a/src/stops-import/process-stops-from-import.txt +++ b/src/stops-import/process-stops-from-import.txt @@ -1,10 +1,18 @@ @startuml start repeat - if (Does tmp zone map contains stop key) then (yes) + if (Does fare map record contains stop key) then (yes) + if (Does stop name contains a blank?) then (yes) + :set city and stop name using string manipulation; + else (no) + :set city field using stop import record; + :set stop name field using stop import record; + endif + :update stop in storge; + :remove stop record from stop import; else (no) endif -repeat while (next stop record?) is (yes) +repeat while (next stop record in import?) is (yes) ->no; end @enduml