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

GeoServer: enable metadata-plugin for modifying layer metadata, including bulk modifications #233

Merged
merged 9 commits into from
Aug 12, 2022
11 changes: 10 additions & 1 deletion CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,16 @@
[Unreleased](https://github.com/bird-house/birdhouse-deploy/tree/master) (latest)
------------------------------------------------------------------------------------------------------------------

[//]: # (list changes here, using '-' for each new entry, remove this when items are added)
## Changes:
- GeoServer: enable metadata-plugin for modifying layer metadata, including bulk modifications

See plugin documentation at https://docs.geoserver.org/2.19.x/en/user/community/metadata/index.html

Related to issue https://github.com/Ouranosinc/pavics-sdi/issues/234

Add new "Metadata" tab in Layer Edit page:
![Screenshot 2022-01-25 at 00-25-45 GeoServer Edit Layer](https://user-images.githubusercontent.com/11966697/150916419-fce99147-2903-414b-8b83-551709ef87d6.png)


[1.18.4](https://github.com/bird-house/birdhouse-deploy/tree/1.18.4) (2022-01-25)
------------------------------------------------------------------------------------------------------------------
Expand Down
8 changes: 8 additions & 0 deletions birdhouse/config/geoserver/entrypointwrapper
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,14 @@ if ! grep "<param-name>cors.allowed.methods</param-name>" $WEB_XML_FILE; then
diff -C 15 $ORIGINAL_WEB_XML_FILE $WEB_XML_FILE
fi


# Add missing jar for the metadata-plugin.
# Should be fixed by newer version of Geoserver and matching new version of the plugin.
# https://osgeo-org.atlassian.net/browse/GEOS-10078
wget https://repo1.maven.org/maven2/org/yaml/snakeyaml/1.30/snakeyaml-1.30.jar \
-O /usr/local/tomcat/webapps/geoserver/WEB-INF/lib/snakeyaml-1.30.jar


# chain existing entrypoint
/scripts/entrypoint.sh

Expand Down
2 changes: 1 addition & 1 deletion birdhouse/default.env
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ export GEOSERVER_STABLE_EXTENSIONS="grib-plugin,netcdf-plugin,netcdf-out-plugin"

# Install the community edition plugins specified in
# https://github.com/kartoza/docker-geoserver/blob/master/build_data/community_plugins.txt
export GEOSERVER_COMMUNITY_EXTENSIONS="csw-iso-plugin,geopkg-plugin"
export GEOSERVER_COMMUNITY_EXTENSIONS="csw-iso-plugin,geopkg-plugin,metadata-plugin"

export GEOSERVER_DATA_DIR="$DATA_PERSIST_ROOT/geoserver"

Expand Down