spring-cloud-commons
spring-cloud-commons copied to clipboard
Common classes used in different Spring Cloud implementations
How can we make a `ServiceInstanceListSupplier` that is dynamic and able to provide a service instance list based on service id. The simple discovery client is static but it allows...
I am using spring-cloud-context:3.1.1 `management.endpoint.env.additional-keys-to-sanitize` has been introduced with spring-boot:2.5.0: https://github.com/spring-projects/spring-boot/blob/v2.6.6/spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/env/EnvironmentEndpointAutoConfiguration.java#L54-L57 but this does not work when `management.endpoint.env.post.enabled` is enabled: https://github.com/spring-cloud/spring-cloud-commons/blob/v3.1.1/spring-cloud-context/src/main/java/org/springframework/cloud/autoconfigure/WritableEnvironmentEndpointAutoConfiguration.java#L63-L70 `/actuator/env` returns not sanitized value of `secret.value` when using...
Based on [issues#999](https://github.com/spring-cloud/spring-cloud-commons/issues/999) for general information of data processing
**Describe the bug** When autowiring a list of beans, _Order_ annotation can be used to order this list of beans. If we add the _RefreshScope_ annotation in one of these...
Symptom: * Application is not processing as many concurrent requests as configured in message listener container * Thread dumps of application show many threads WAITING on the same ReadWriteLock. Situation:...
## Summary The documentation of the properties used to control _remote property overriding_ is missing key information and appears to contain conflicting statements. It is quite confusing. To clarify, I'm...
Map-based properties, such as `hints` or `healthCheckPath` should also work with the `clients` prefix.
Once it comes out of a `RestTemplate` it should be a `RestClientException`, preferably a `ResourceAccessException`, so it can be handled consistently. At the moment it is annoying to deal with.