Skip to content
Snippets Groups Projects

update: Update to SDK 1.1.7, add aggressive HTTP caching to calls

Merged Martin Lowe requested to merge malowe/main/http-caching into main
4 files
+ 12
2
Compare changes
  • Side-by-side
  • Inline
Files
4
@@ -11,9 +11,11 @@ package org.eclipsefoundation.info.resources;
import java.util.List;
import org.eclipsefoundation.http.namespace.CacheControlCommonValues;
import org.eclipsefoundation.info.config.InfoConfigurations;
import org.eclipsefoundation.info.models.BoardMemberData;
import org.eclipsefoundation.info.service.FoundationService;
import org.jboss.resteasy.reactive.Cache;
import jakarta.ws.rs.BadRequestException;
import jakarta.ws.rs.GET;
@@ -49,6 +51,7 @@ public class BoardMemberResources {
*/
@GET
@Path("{foundationCountry}")
@Cache(maxAge = CacheControlCommonValues.AGGRESSIVE_CACHE_MAX_AGE)
public List<BoardMemberData.Result> getBoardMembers(@PathParam("foundationCountry") String foundationCountry) {
// check that the country code in question is tracked as a supported country code
String normalizedFoundationCountry = foundationCountry.toUpperCase();
Loading