mirror of
https://github.com/geoserver/geoserver-cloud.git
synced 2025-12-08 20:16:08 +00:00
Upgrade to 2.27.3-SNAPSHOT
This commit is contained in:
parent
45e34d1b3b
commit
68bbccb8c0
2
pom.xml
2
pom.xml
@ -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>
|
||||
|
||||
@ -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>
|
||||
|
||||
|
||||
@ -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;
|
||||
}
|
||||
|
||||
@ -43,4 +43,9 @@ public class Settings extends ConfigInfoDto {
|
||||
* @since geoserver 2.22.0
|
||||
*/
|
||||
private boolean useHeadersProxyURL;
|
||||
|
||||
/**
|
||||
* @since 2.28.0
|
||||
*/
|
||||
private boolean isShowModifiedUserInAdminList;
|
||||
}
|
||||
|
||||
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user