Skip to content

Commit 6a24203

Browse files
committed
HTM-1964: disable GeoJSON extracts until we have a GeoTools 35.0 release
hopefully around 2026-06-01
1 parent 9beedcc commit 6a24203

4 files changed

Lines changed: 7 additions & 13 deletions

File tree

pom.xml

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -328,8 +328,6 @@ SPDX-License-Identifier: MIT
328328
<dependency>
329329
<groupId>org.geotools</groupId>
330330
<artifactId>gt-geojson-store</artifactId>
331-
<!-- override version to get latest bug fixes, see: https://osgeo-org.atlassian.net/browse/GEOT-7894 -->
332-
<version>35-SNAPSHOT</version>
333331
</dependency>
334332
<dependency>
335333
<groupId>org.geotools</groupId>
@@ -703,15 +701,6 @@ SPDX-License-Identifier: MIT
703701
<name>Releases hosted by OSGeo</name>
704702
<url>https://repo.osgeo.org/repository/release/</url>
705703
</repository>
706-
<repository>
707-
<!-- TODO remove this repository once gt-geojson-store 35.0 is released with the latest bug fixes -->
708-
<snapshots>
709-
<enabled>true</enabled>
710-
</snapshots>
711-
<id>OSGeo-snapshots</id>
712-
<name>Snapshots hosted by OSGeo</name>
713-
<url>https://repo.osgeo.org/repository/snapshot/</url>
714-
</repository>
715704
<repository>
716705
<snapshots>
717706
<enabled>true</enabled>

src/main/resources/application.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ tailormap-api.features.wfs_count_exact=false
2929
tailormap-api.feature.info.maxitems=30
3030

3131
# see org.tailormap.api.controller.LayerExtractController.ExtractOutputFormat for valid values
32-
tailormap-api.extract.allowed-outputformats=csv,geojson,xlsx,shape,geopackage
32+
tailormap-api.extract.allowed-outputformats=csv,xlsx,shape,geopackage
3333
# any files older than this (in minutes) in the extract output directory will be deleted by a scheduled job, to prevent filling up the disk
3434
# tailormap-api.extract.cleanup-minutes=120
3535
# the (base) directory where the extract output files are stored, should be writable by the application

src/test/java/org/tailormap/api/controller/LayerExtractControllerIntegrationTest.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@
5454
import org.junit.jupiter.api.TestMethodOrder;
5555
import org.junit.jupiter.api.parallel.Execution;
5656
import org.junit.jupiter.api.parallel.ExecutionMode;
57+
import org.junitpioneer.jupiter.DisabledUntil;
5758
import org.junitpioneer.jupiter.Stopwatch;
5859
import org.springframework.beans.factory.annotation.Autowired;
5960
import org.springframework.beans.factory.annotation.Value;
@@ -406,6 +407,10 @@ void should_export_large_filter_to_excel() throws Exception {
406407
}
407408
}
408409

410+
@DisabledUntil(
411+
date = "2026-06-01",
412+
reason =
413+
"This test relies on GeoTools 35.0 (or 34.4), see https://osgeo-org.atlassian.net/browse/GEOT-7894")
409414
@Test
410415
void should_export_large_filter_to_geojson() throws Exception {
411416
final String extractUrl = apiBasePath + layerBegroeidTerreindeelPostgis + extractPath + sseClientId;

src/test/resources/application.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ tailormap-api.admin.base-path=/api/admin
33
management.endpoints.web.base-path=/api/actuator
44
tailormap-api.new-admin-username=tm-admin
55
# see org.tailormap.api.controller.LayerExtractController.ExtractOutputFormat for valid values
6-
tailormap-api.extract.allowed-outputformats=csv,geojson,xlsx,shape,geopackage
6+
tailormap-api.extract.allowed-outputformats=csv,xlsx,shape,geopackage
77
# the number of features after which a progress report is sent back to the viewer, to update the progress bar
88
tailormap-api.extract.progress-report-interval=10
99
# any files older than this (in minutes) in the extract output directory will be deleted by a scheduled job, to prevent filling up the disk

0 commit comments

Comments
 (0)