Upgrade to 2.27.3-SNAPSHOT

This commit is contained in:
Gabriel Roldan 2025-10-01 09:43:03 -03:00
parent 45e34d1b3b
commit 68bbccb8c0
No known key found for this signature in database
GPG Key ID: 99E0A428474808B1
7 changed files with 17 additions and 9 deletions

View File

@ -12,7 +12,7 @@
<module>src</module>
</modules>
<properties>
<revision>2.27.2-SNAPSHOT</revision>
<revision>2.27.3-SNAPSHOT</revision>
<fmt.skip>false</fmt.skip>
<sortpom.skip>${fmt.skip}</sortpom.skip>
<sortpom.action>sort</sortpom.action>

View File

@ -13,7 +13,7 @@
<groupId>org.geoserver.cloud.apps</groupId>
<artifactId>gs-cloud-gateway</artifactId>
<version>2.27.2-SNAPSHOT</version>
<version>2.27.3-SNAPSHOT</version>
<packaging>jar</packaging>
<name>API gateway service</name>

View File

@ -26,4 +26,8 @@ import lombok.ToString;
public abstract class CatalogInfoDto extends InfoDto {
private Date dateCreated;
private Date dateModified;
/**
* @since 2.28.0
*/
private String modifiedBy;
}

View File

@ -43,4 +43,9 @@ public class Settings extends ConfigInfoDto {
* @since geoserver 2.22.0
*/
private boolean useHeadersProxyURL;
/**
* @since 2.28.0
*/
private boolean isShowModifiedUserInAdminList;
}

View File

@ -201,7 +201,6 @@ public class OgcApiFeaturesConformancesModule extends SimpleModule {
gen.writeStartObject();
// Write fields directly using getters
writeNullSafe(gen, "ecql", value.isECQL());
writeNullSafe(gen, "text", value.isText());
gen.writeEndObject();
@ -250,8 +249,8 @@ public class OgcApiFeaturesConformancesModule extends SimpleModule {
// Set the appropriate field
Boolean value = p.getBooleanValue();
switch (fieldName) {
case "ecql" -> conf.setECQL(value);
case "text" -> conf.setText(value);
// "ecql" constant preserved for pre 2.28.0 compatibility
case "ecql", "text" -> conf.setText(value);
default -> throw new IllegalArgumentException("Unknown field in ECQLConformance: " + fieldName);
}
}

View File

@ -110,13 +110,13 @@ class OgcApiFeaturesConformancesModuleTest {
@Test
void testSerializeDeserializeECQLConformance() throws JsonProcessingException {
ECQLConformance original = new ECQLConformance();
original.setECQL(true);
original.setText(true);
String json = mapper.writeValueAsString(original);
assertTrue(json.contains("\"ecql\":true"));
assertTrue(json.contains("\"text\":true"));
ECQLConformance deserialized = mapper.readValue(json, ECQLConformance.class);
assertEquals(true, deserialized.isECQL());
assertEquals(true, deserialized.isText());
}
@Test

View File

@ -28,7 +28,7 @@
<spring.security.version>5.8.16</spring.security.version>
<tomcat.version>9.0.104</tomcat.version>
<jackson.version>2.19.0</jackson.version>
<gs.version>2.27.2-SNAPSHOT</gs.version>
<gs.version>2.27.3-SNAPSHOT</gs.version>
<gt.version>33-SNAPSHOT</gt.version>
<wicket.version>9.21.0</wicket.version>
<acl.version>2.3.2</acl.version>