13 Commits

Author SHA1 Message Date
Cécile Vuilleumier
72f016a5b2 Use get_map method where possible 2025-11-25 15:18:37 +01:00
Cécile Vuilleumier
5b14faaadb Use new coverage API 2025-11-25 15:18:37 +01:00
Cécile Vuilleumier
0cb1cd72b6 Passing an empty string as language now returns an empty label 2025-11-25 15:18:37 +01:00
Cécile Vuilleumier
e1ee3537ad Use fixture to create and delete test workspaces 2025-11-25 15:18:37 +01:00
Cécile Vuilleumier
b3f10e669b Acceptance tests: upgrade python-geoservercloud 2025-11-25 15:18:37 +01:00
Gabriel Roldan
600e5664cf
Fix ImageMosaic acceptance tests broken by volume mount path change
The ImageMosaic acceptance tests were failing with 500 errors because they
referenced the old volume mount path /mnt/geoserver_data, which was changed
to /opt/geoserver_data in commit b33a27b9f6.

Changes:
- Update test_imagemosaic.py: Change all file paths from /mnt/ to /opt/
  (6 occurrences across all test functions)
- Update acceptance_tests/README.md: Update sample data path documentation
  to reflect the /opt/ mount location

The tests use external.imagemosaic REST endpoints to reference files that
must exist at the paths specified. With the old /mnt/ paths, GeoServer
could not find the sample data files, resulting in 500 Internal Server
Error responses.
2025-11-06 20:09:11 -03:00
Gabriel Roldan
7261c14e83
Use a single database for development 2025-07-14 15:53:03 -03:00
Gabriel Roldan
47ff586e2b
Consolidate ImageMosaic acceptance tests
- 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.
2025-07-12 00:50:00 -03:00
Gabriel Roldan
5e03026cf2
Revert "fix: explicitly specify admin credentials in acceptance tests"
This reverts commit 9c6e76f869f65d02ccb32fe025cc5c4c3715d77a.

Commit 860e16c87e6f58f2507ca8be762f70a360e16f97 effectively fixes the
issue with the integration tests.
2025-04-08 13:00:34 -03:00
Gabriel Roldan
9c6e76f869
fix: explicitly specify admin credentials in acceptance tests
The GeoServerCloud client in acceptance tests was not explicitly passing
authentication credentials, which worked locally but failed in CI environments.
This change explicitly initializes the client with admin/geoserver credentials,
ensuring consistent behavior across all environments.

This fixes 403 Forbidden errors when running acceptance tests in CI.
2025-04-07 20:12:40 -03:00
Cécile Vuilleumier
3c4f46d2e6 Delete resources after tests
Remove GWC layers and workspace after testing so the tests can be run idempotently
2024-10-08 19:37:25 -03:00
Cécile Vuilleumier
9b290afcc6
Add more acceptance tests 2024-10-01 14:59:53 +02:00
Cécile Vuilleumier
32f6a9b633
Add acceptance tests 2024-10-01 10:34:16 +02:00