Skip to content

Commit

Permalink
Update geoserver submodule, add new Service.WCSInfo.defaultDeflateCom…
Browse files Browse the repository at this point in the history
…pressionLevel property to geoserver-jackson-bindings (#220)
  • Loading branch information
groldan authored Apr 16, 2022
1 parent 0078987 commit bc0e85f
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-and-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,4 @@ jobs:

- name: Remove project jars from cached repository
run: |
rm -rf .m2/repository/org/geoserver/cloud
rm -rf .m2/repository/org/geoserver
2 changes: 1 addition & 1 deletion .github/workflows/pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,4 @@ jobs:

- name: Remove project jars from cached repository
run: |
rm -rf .m2/repository/org/geoserver/cloud
rm -rf .m2/repository/org/geoserver
2 changes: 1 addition & 1 deletion geoserver_submodule/geoserver
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@
private boolean LatLon;
private List<String> SRS;
private int maxRequestedDimensionValues;
private int defaultDeflateCompressionLevel;
}

@EqualsAndHashCode(callSuper = true)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
import org.geoserver.jackson.databind.catalog.ProxyUtils;
import org.geoserver.ows.util.OwsUtils;
import org.geoserver.platform.GeoServerExtensionsHelper;
import org.geoserver.wcs.WCSInfo;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Test;
Expand Down Expand Up @@ -105,7 +106,10 @@ private <T extends Info> void roundtripTest(@NonNull T orig) throws JsonProcessi
}

public @Test void wcsServiceInfo() throws Exception {
roundtripTest(testData.wcsService);
WCSInfo wcsService = testData.wcsService;
// WCSInfoImpl.equals() is broken, set a value for this property to workaround it
wcsService.setMaxRequestedDimensionValues(10);
roundtripTest(wcsService);
}

public @Test void wfsServiceInfo() throws Exception {
Expand Down

0 comments on commit bc0e85f

Please sign in to comment.