|
5 | 5 | */ |
6 | 6 | package org.tailormap.api.controller; |
7 | 7 |
|
| 8 | +import org.apache.poi.ss.usermodel.CellType; |
| 9 | +import org.apache.poi.ss.usermodel.Sheet; |
| 10 | +import org.apache.poi.ss.usermodel.Workbook; |
| 11 | +import org.apache.poi.ss.usermodel.WorkbookFactory; |
| 12 | +import org.awaitility.Awaitility; |
| 13 | +import org.junit.jupiter.api.BeforeEach; |
| 14 | +import org.junit.jupiter.api.MethodOrderer; |
| 15 | +import org.junit.jupiter.api.Test; |
| 16 | +import org.junit.jupiter.api.TestMethodOrder; |
| 17 | +import org.junit.jupiter.api.parallel.Execution; |
| 18 | +import org.junit.jupiter.api.parallel.ExecutionMode; |
| 19 | +import org.junitpioneer.jupiter.Stopwatch; |
| 20 | +import org.springframework.beans.factory.annotation.Autowired; |
| 21 | +import org.springframework.beans.factory.annotation.Value; |
| 22 | +import org.springframework.boot.webmvc.test.autoconfigure.AutoConfigureMockMvc; |
| 23 | +import org.springframework.http.MediaType; |
| 24 | +import org.springframework.security.test.context.support.WithMockUser; |
| 25 | +import org.springframework.test.web.servlet.MockMvc; |
| 26 | +import org.springframework.test.web.servlet.MvcResult; |
| 27 | +import org.tailormap.api.StaticTestData; |
| 28 | +import org.tailormap.api.annotation.PostgresIntegrationTest; |
| 29 | + |
| 30 | +import java.io.ByteArrayInputStream; |
| 31 | +import java.io.InputStream; |
| 32 | +import java.nio.charset.StandardCharsets; |
| 33 | +import java.nio.file.Files; |
| 34 | +import java.nio.file.Path; |
| 35 | +import java.sql.Connection; |
| 36 | +import java.sql.DriverManager; |
| 37 | +import java.sql.PreparedStatement; |
| 38 | +import java.sql.ResultSet; |
| 39 | +import java.util.HashSet; |
| 40 | +import java.util.Set; |
| 41 | +import java.util.zip.ZipEntry; |
| 42 | +import java.util.zip.ZipInputStream; |
| 43 | + |
8 | 44 | import static java.util.concurrent.TimeUnit.MINUTES; |
9 | 45 | import static java.util.concurrent.TimeUnit.SECONDS; |
10 | 46 | import static org.hamcrest.MatcherAssert.assertThat; |
|
30 | 66 | import static org.tailormap.api.controller.TestUrls.layerBegroeidTerreindeelPostgis; |
31 | 67 | import static org.tailormap.api.controller.TestUrls.layerProxiedWithAuthInPublicApp; |
32 | 68 |
|
33 | | -import java.io.ByteArrayInputStream; |
34 | | -import java.io.InputStream; |
35 | | -import java.nio.charset.StandardCharsets; |
36 | | -import java.nio.file.Files; |
37 | | -import java.nio.file.Path; |
38 | | -import java.sql.Connection; |
39 | | -import java.sql.DriverManager; |
40 | | -import java.sql.PreparedStatement; |
41 | | -import java.sql.ResultSet; |
42 | | -import java.util.HashSet; |
43 | | -import java.util.Set; |
44 | | -import java.util.zip.ZipEntry; |
45 | | -import java.util.zip.ZipInputStream; |
46 | | -import org.apache.poi.ss.usermodel.CellType; |
47 | | -import org.apache.poi.ss.usermodel.Sheet; |
48 | | -import org.apache.poi.ss.usermodel.Workbook; |
49 | | -import org.apache.poi.ss.usermodel.WorkbookFactory; |
50 | | -import org.awaitility.Awaitility; |
51 | | -import org.junit.jupiter.api.BeforeEach; |
52 | | -import org.junit.jupiter.api.MethodOrderer; |
53 | | -import org.junit.jupiter.api.Test; |
54 | | -import org.junit.jupiter.api.TestMethodOrder; |
55 | | -import org.junit.jupiter.api.parallel.Execution; |
56 | | -import org.junit.jupiter.api.parallel.ExecutionMode; |
57 | | -import org.junitpioneer.jupiter.DisabledUntil; |
58 | | -import org.junitpioneer.jupiter.Stopwatch; |
59 | | -import org.springframework.beans.factory.annotation.Autowired; |
60 | | -import org.springframework.beans.factory.annotation.Value; |
61 | | -import org.springframework.boot.webmvc.test.autoconfigure.AutoConfigureMockMvc; |
62 | | -import org.springframework.http.MediaType; |
63 | | -import org.springframework.security.test.context.support.WithMockUser; |
64 | | -import org.springframework.test.web.servlet.MockMvc; |
65 | | -import org.springframework.test.web.servlet.MvcResult; |
66 | | -import org.tailormap.api.StaticTestData; |
67 | | -import org.tailormap.api.annotation.PostgresIntegrationTest; |
68 | | - |
69 | 69 | @PostgresIntegrationTest |
70 | 70 | @AutoConfigureMockMvc |
71 | 71 | @Execution(ExecutionMode.CONCURRENT) |
@@ -407,10 +407,6 @@ void should_export_large_filter_to_excel() throws Exception { |
407 | 407 | } |
408 | 408 | } |
409 | 409 |
|
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") |
414 | 410 | @Test |
415 | 411 | void should_export_large_filter_to_geojson() throws Exception { |
416 | 412 | final String extractUrl = apiBasePath + layerBegroeidTerreindeelPostgis + extractPath + sseClientId; |
|
0 commit comments