-
Notifications
You must be signed in to change notification settings - Fork 1
GSIP 185
The community module web-resource to an extension.
Jody Garnett (GeoCat) is proposing this activity to better support our customers using GeoServer in a hosted environment (without direct shell access).
This proposal is for GeoServer 2.17-beta.
- Under Discussion
- In Progress
- Completed
- Rejected
- Deferred
GeoServer Resource API provides programatic management of configuration files and icons. The REST API makes this functionality available for automation, we would like to make web-resource module an extension to offer this capability to web administration application.
The web-resource extension is successful in meetings its objectives:
- The primary motivation is to manage icons, fonts and symbology associated with the the style editor.
- The secondary motivation is to directly edit configuration files such as image mosaic, app-schema and free marker templates to do not provide their own user interface.

Preflight:
- Move from Tools to Data, and test functionality.
Proposal covers:
-
Moving the module from community to extension in the build system.
-
Updating the website template to make the extension available.
-
Updating the pom.xml contract information.
-
Writing documentation for the extension:
- Installation
- Reference page for the user interface
- Example of uploading an icon to a styles folder
- Example of editing an app-schema configuration file
- Example of editing control-flow configuration file
This extensions is strictly additive and does not have any backwards compatibility implications.
The module itself warrants some discussion:
-
Jody has found production use of the Resource REST API being used to modify security configuration files (this works as those files are 'watched'). Is this a capability we wish to support, or should these files be blacklisted now that there is some ability to manage these files via their own REST-API?
Email discussion notes this as any administrator should know what they are doing here.
The developers guide lists several requirements for community modules graduating to an extension:
-
The module has at least a “handful” of users
- GeoSolutions has observed a number of sites running the module, at least 3 recently.
-
The module has a designated and active maintainer
- Andrea Aime (GeoCat) is willing to act in this capacity.
-
The module is considered “stable” by the majority of the PSC
- The module has been unchanged and working for several releases.
-
The module maintains 40% test coverage
- Module has 84% test coverage as reported by IntelliJ "run with coverage"
-
The module has no IP violations
- Module was largely written by Niels in 2015, he signed the CLA
-
The module has a page in the user manual
- It does indeed
-
The maintainer has signed the GeoServer Contributor Agreement
- OSGeo CLA signed
Project Steering Committee:
- Alessio Fabiani:
- Andrea Aime:
- Ian Turton:
- Jody Garnett:
- Jukka Rahkonen:
- Kevin Smith:
- Simone Giannecchini:
- Torben Barsballe:
- Nuno Oliveira:
©2020 Open Source Geospatial Foundation