- Add comprehensive ImageMosaic test coverage: direct directory, manual granules,
empty store workflows, and XML-based store creation
- Fix file path handling: use direct paths instead of file:// URLs for local files
- Update documentation to mention shared mount volume at /mnt/geoserver_data
- Add version testing examples (TAG=2.27.1.0, TAG=2.26.2.0) to README
Tests pass with datadir backend but show limitations with pgconfig backend.
Provides comprehensive test coverage for realistic ImageMosaic workflows.
Refactor the Docker Compose configurations to improve maintainability, reduce
duplication, and ensure consistent environment variable management across all services.
- **Extracted reusable volume and environment variable definitions** using YAML anchors:
- `&geoserver_environment`: Defines common environment variables for GeoServer services.
- `&geoserver_volumes`: Standardizes shared volume mounts.
- `&gs-dependencies`: Centralized service dependencies.
- **Standardized environment variables** across all services:
- Replaced repetitive `SPRING_PROFILES_ACTIVE` definitions with a shared `x-geoserver-env` anchor.
- Removed redundant service-specific `JAVA_OPTS` definitions, replacing them with `JAVA_OPTS_DEFAULT`.
- **Updated `.env` file**:
- Consolidated logging and default profile variables.
- Cleaned up and reordered variables for clarity.
- Removed unused `GATEWAY_SHARED_AUTH` and per-service `JAVA_OPTS_*` entries.
- **Refactored service definitions**:
- Applied `x-geoserver-env` to all GeoServer services.
- Applied `x-geoserver-volumes` to services requiring volume mounts.
- Applied `x-gs-dependencies` to all dependent services.
- **Improved volume handling**:
- Unified the `data_directory` and `geowebcache_data` volumes.
- Ensured volumes are correctly referenced in all catalog configurations (`datadir`, `jdbcconfig`, `pgconfig`).
- **Reduces duplication**: Less repetition in `compose.yml` files.
- **Improves maintainability**: Easier to modify environment variables and dependencies in one place.
- **Ensures consistency**: All services use the same configuration structure.
- **Enhances readability**: More structured and understandable YAML files.
This refactor does not introduce functional changes but significantly improves configuration management.
If the `gateway-shared-auth` geoserver authentication filter was
enabled, and it was automatically added to the filter chains, when
disabled and the applications restart, would produce an error message
and the webui Authentication configuration page would be broken.
This patch adds a no-op filter when `gateway-shared-auth` is disabled by
externalized configuration.
Make it easier to enable the pgconfig and postgis jndi datasources with
short env variables. The postgis one is mostly an example used in the
development compose files.