Hi,
We are building Spring Cloud Gateway with filters based on a database configuration. However, we’re facing issues when creating the CircuitBreaker filter due to missing parameters in the shortcut field order.
We expect the filter to be properly constructed from our configuration, but all parameters except "name" are being ignored because they are not included in the shortcut field order.
Here’s the the problem in SpringCloudCircuitBreakerFilterFactory:
@Override
public List<String> shortcutFieldOrder() {
return singletonList(NAME_KEY);
}
And other parameters in Config
public static class Config implements HasRouteId {
private String name;
private URI fallbackUri;
private String routeId;
private Set<String> statusCodes = new HashSet<>();
private boolean resumeWithoutError = false;