File tree Expand file tree Collapse file tree 2 files changed +298
-0
lines changed
Expand file tree Collapse file tree 2 files changed +298
-0
lines changed Original file line number Diff line number Diff line change @@ -179,6 +179,12 @@ generate_jooq() {
179179 mvn clean generate-sources -Pci
180180}
181181
182+ upload_zones () {
183+ echo " Uploading municipality and fare zones to Tiamat"
184+
185+ 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
186+ }
187+
182188# ## Control flow
183189
184190COMMAND=${1:- }
@@ -192,11 +198,13 @@ case $COMMAND in
192198 start)
193199 download_docker_compose_bundle
194200 start_all
201+ upload_zones
195202 ;;
196203
197204 start:deps)
198205 download_docker_compose_bundle
199206 start_deps
207+ upload_zones
200208 ;;
201209
202210 generate:jooq)
@@ -215,6 +223,7 @@ case $COMMAND in
215223 recreate)
216224 remove
217225 start_deps
226+ upload_zones
218227 ;;
219228
220229 list)
You can’t perform that action at this time.
0 commit comments