File tree Expand file tree Collapse file tree 2 files changed +294
-0
lines changed
Expand file tree Collapse file tree 2 files changed +294
-0
lines changed Original file line number Diff line number Diff line change @@ -178,6 +178,12 @@ generate_jooq() {
178178 mvn clean generate-sources -Pci
179179}
180180
181+ upload_zones () {
182+ echo " Uploading municipality and fare zones to Tiamat"
183+
184+ curl --silent --output /dev/null --show-error --fail -X POST -H" Content-Type: application/xml" -d @netex/hsl-zones-netex.xml localhost:3010/services/stop_places/netex
185+ }
186+
181187# ## Control flow
182188
183189COMMAND=${1:- }
@@ -191,11 +197,13 @@ case $COMMAND in
191197 start)
192198 download_docker_compose_bundle
193199 start_all
200+ upload_zones
194201 ;;
195202
196203 start:deps)
197204 download_docker_compose_bundle
198205 start_deps
206+ upload_zones
199207 ;;
200208
201209 generate:jooq)
@@ -214,6 +222,7 @@ case $COMMAND in
214222 recreate)
215223 remove
216224 start_deps
225+ upload_zones
217226 ;;
218227
219228 list)
You can’t perform that action at this time.
0 commit comments