Skip to content

Commit

Permalink
Update server.limit
Browse files Browse the repository at this point in the history
Update to align with RFC5 as implemented in geopython/pygeoapi#1892
  • Loading branch information
webb-ben committed Jan 23, 2025
1 parent 5d75cff commit 2e25296
Show file tree
Hide file tree
Showing 16 changed files with 48 additions and 16 deletions.
4 changes: 3 additions & 1 deletion aws-lambda/function/pygeoapi-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,9 @@ server:
language: en-US
cors: false
pretty_print: true
limit: 10
limits:
default_items: 10
max_items: 50
# templates: /path/to/templates
map:
url: https://tile.openstreetmap.org/{z}/{x}/{y}.png
Expand Down
4 changes: 3 additions & 1 deletion django/sample_project/pygeoapi-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,9 @@ server:
- fr-CA
# cors: true
pretty_print: true
limit: 10
limits:
default_items: 10
max_items: 50
# templates:
# path: /path/to/Jinja2/templates
# static: /path/to/static/folder # css/js/img
Expand Down
4 changes: 3 additions & 1 deletion docker/admin/admin.config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,9 @@ server:
- en-US
cors: true
pretty_print: true
limit: 10
limits:
default_items: 10
max_items: 50
map:
url: https://maps.wikimedia.org/osm-intl/{z}/{x}/{y}.png
attribution: '&copy; <a href="https://openstreetmap.org/copyright">OpenStreetMap contributors</a>'
Expand Down
4 changes: 3 additions & 1 deletion docker/elastic/pygeoapi/docker.config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,9 @@ server:
language: en-US
cors: true
pretty_print: true
limit: 10
limits:
default_items: 10
max_items: 50
# templates: /path/to/templates
map:
url: https://maps.wikimedia.org/osm-intl/{z}/{x}/{y}.png
Expand Down
4 changes: 3 additions & 1 deletion docker/esri/esri.config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,9 @@ server:
language: en-US
cors: true
pretty_print: true
limit: 10
limits:
default_items: 10
max_items: 500
# templates: /path/to/templates
map:
url: https://maps.wikimedia.org/osm-intl/{z}/{x}/{y}.png
Expand Down
4 changes: 3 additions & 1 deletion docker/geosparql/test.pygeoapi.config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,9 @@ server:
language: en-US
cors: true
pretty_print: true
limit: 100
limits:
default_items: 10
max_items: 500
map:
url: https://tile.openstreetmap.org/{z}/{x}/{y}.png
attribution: '<a href="https://www.openstreetmap.org/copyright">© OpenStreetMap contributors</a>'
Expand Down
4 changes: 3 additions & 1 deletion docker/mongo/pygeoapi/docker.config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,9 @@ server:
language: en-US
cors: true
pretty_print: true
limit: 10
limits:
default_items: 10
max_items: 50
# templates: /path/to/templates
map:
url: https://maps.wikimedia.org/osm-intl/{z}/{x}/{y}.png
Expand Down
4 changes: 3 additions & 1 deletion docker/mvt-elastic/pygeoapi/docker.config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,9 @@ server:
language: en-US
cors: true
pretty_print: true
limit: 10
limits:
default_items: 10
max_items: 50
# templates: /path/to/templates
map:
url: https://maps.wikimedia.org/osm-intl/{z}/{x}/{y}.png
Expand Down
4 changes: 3 additions & 1 deletion docker/mvt-tippecanoe/pygeoapi/docker.config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,9 @@ server:
language: en-US
cors: true
pretty_print: true
limit: 10
limits:
default_items: 10
max_items: 50
# templates: /path/to/templates
map:
url: https://maps.wikimedia.org/osm-intl/{z}/{x}/{y}.png
Expand Down
4 changes: 3 additions & 1 deletion docker/newapi/pygeoapi.config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ server:
- en-US
cors: true
pretty_print: true
limit: 10
limits:
default_items: 10
max_items: 50
map:
url: https://maps.wikimedia.org/osm-intl/{z}/{x}/{y}.png
attribution: <a href="https://wikimediafoundation.org/wiki/Maps_Terms_of_Use">Wikimedia
Expand Down
4 changes: 3 additions & 1 deletion docker/sensorthings/brgm.config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,9 @@ server:
- fr-CA
# cors: true
pretty_print: true
limit: 10
limits:
default_items: 10
max_items: 50
map:
url: https://tile.openstreetmap.org/{z}/{x}/{y}.png
attribution: '<a href="https://www.openstreetmap.org/copyright">© OpenStreetMap contributors</a>'
Expand Down
4 changes: 3 additions & 1 deletion docker/sensorthings/usgs.config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,9 @@ server:
- fr-CA
# cors: true
pretty_print: true
limit: 10
limits:
default_items: 10
max_items: 500 10
map:
url: https://tile.openstreetmap.org/{z}/{x}/{y}.png
attribution: '<a href="https://www.openstreetmap.org/copyright">© OpenStreetMap contributors</a>'
Expand Down
4 changes: 3 additions & 1 deletion docker/simple/my.config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,9 @@ server:
language: en-US
cors: true
pretty_print: true
limit: 10
limits:
default_items: 10
max_items: 50
# templates: /path/to/templates
map:
url: https://maps.wikimedia.org/osm-intl/{z}/{x}/{y}.png
Expand Down
4 changes: 3 additions & 1 deletion docker/skin/skin.config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,9 @@ server:
- fr-CA
# cors: true
pretty_print: true
limit: 10
limits:
default_items: 10
max_items: 50
templates:
path: /pygeoapi/pygeoapi-skin-dashboard-main/templates
static: /pygeoapi/pygeoapi-skin-dashboard-main/static # css/js/img
Expand Down
4 changes: 3 additions & 1 deletion docker/socrata/socrata.config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,9 @@ server:
language: en-US
cors: true
pretty_print: true
limit: 10
limits:
default_items: 10
max_items: 500
# templates: /path/to/templates
map:
url: https://maps.wikimedia.org/osm-intl/{z}/{x}/{y}.png
Expand Down
4 changes: 3 additions & 1 deletion kubernetes/base/pygeoapi/pygeoapi-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ server:
- en-US
cors: false
pretty_print: true
limit: 10
limits:
default_items: 10
max_items: 500 10
map:
url: https://tile.openstreetmap.org/{z}/{x}/{y}.png
attribution: '&copy; <a href="https://openstreetmap.org/copyright">OpenStreetMap contributors</a>'
Expand Down

0 comments on commit 2e25296

Please sign in to comment.