Skip to content

Commit ff9e096

Browse files
author
aspedrosa
authored
Merge pull request #17 from bioinformatics-ua/fix/urls
Fix/urls + bump solr
2 parents 7e28ff7 + 03addc9 commit ff9e096

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

geowebservice/docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ version: "3"
22

33
services:
44
solr:
5-
image: solr:5.5.3
5+
image: solr:8.11
66
volumes:
77
- geodata:/opt/solr/server/solr
88

geowebservice/geowebservice/urls.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33

44
urlpatterns = [
55
# get child locations by geonameid
6-
re_path(r"^geodropdown/geodatabase/(?P<geonameid>\d+)/$", views.detail),
6+
re_path(r"^geodatabase/(?P<geonameid>\d+)/$", views.detail),
77

88
# get coordinates by name and fcode
9-
re_path(r"^geodropdown/geodatabase/(?P<location>[a-zA-Z, ]+)/$", views.getCoordinates),
9+
re_path(r"^geodatabase/(?P<location>[a-zA-Z, ]+)/$", views.getCoordinates),
1010
]

geowebservice/start.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ done
1212
(
1313
set -e
1414

15-
docker-compose exec -T solr sh -c "solr create_core -c geonames -d basic_configs"
15+
docker-compose exec -T solr sh -c "solr create_core -c geonames -d _default"
1616

1717
docker-compose up -d geodropdownservice
1818

0 commit comments

Comments
 (0)