Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tile Layer config update script #24

Open
3 tasks
randomorder opened this issue Apr 28, 2022 · 0 comments
Open
3 tasks

Tile Layer config update script #24

randomorder opened this issue Apr 28, 2022 · 0 comments
Assignees

Comments

@randomorder
Copy link
Member

Project Code: C178-SEA-ISLAND-2022-SUPPORT

The goal is to have a script to programmatically update the tile layers configuration for a list of layers in geoserver based on a template.
The final configuration of the tile layers is going to be the same for all of them. A sample invocation could be:

./update_tile_layers.py geoserver_url geoserver_username geoserver_pass ./layers.txt tl_config_template.xml

The script will PUT the tempalted configuration via REST to GeoServer for all of the layers listed in the layers.txt. GeoServer and GWC REST API is documented here.

Example XML template to use for testing
tile_layer_template.xml.txt

Note: I have user double curly braces for the placeholders but you can use whatever character works best for you

Tasks:

  • set up local geoserver using platform independent binary available here. Default username and passwords are 'admin' and 'geoserver'
  • create a Fork of this repository in your own github account and implement the script
  • submit a Pull Request targeting this repository on the master branch and assign it to me for review
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants