spring-cloud-commons
spring-cloud-commons copied to clipboard
Common classes used in different Spring Cloud implementations
**Describe the bug** [TextEncryptorConfigBootstrapper.java#L67-L85](https://github.com/spring-cloud/spring-cloud-commons/blob/main/spring-cloud-context/src/main/java/org/springframework/cloud/bootstrap/TextEncryptorConfigBootstrapper.java#L67-L85) promotes `KeyProperties`, `RsaProperties` and `TextEncryptor` beans to `ApplicationContext`. When key properties are not available during bootstrap, default instances of `KeyProperties`, `RsaProperties`, and `TextEncryptor` (`FailsafeTextEncryptor`) are promoted....
LoadBalancerRestClientHttpServiceGroupConfigurer does not set baseUrl for @ImportHttpServices groups
Description: ## Environment - Spring Boot: 4.0.0 - Spring Cloud: 2025.1.0 - Spring Cloud Alibaba: 2025.1.0.0-SNAPSHOT ## Problem When using `@ImportHttpServices` with a service discovery name, the `LoadBalancerRestClientHttpServiceGroupConfigurer` does not...
**Describe the bug** We are setting a configuration value via `POST /actuator/env` and later attempt to restore the original value by running `DELETE /actuator/env`. However, this does not work —...
Add ServiceAddressResolver class to support LoadBalanced RestTemplate direct access to services via IP address and port --- … direct access to services via IP address and port (#1601)
**Describe the bug/feture** When using RestTemplate with @LoadBalanced annotation, it cannot make requests to direct addresses like IP addresses (http://192.168.1.110:8080) or localhost (http://localhost:8080). The load balancer interceptor attempts to resolve...
Currently, whether you like it or not, the `CompositeDiscoveryClientAutoConfiguration` will create the `CompositeDiscoveryClient`, which in general is fine, but sometimes it is not. In our case, for instance, we want...
**Is your feature request related to a problem? Please describe.** In my request, I would like to check the connectivity of the 4th layer of the service, without considering the...
升级 spring cloud 2023.0.3 之后 运行一段时间出现大量锁等待线程. After upgrading to Spring Cloud 2023.0.3, a large number of lock waiting threads appeared after running for a period of time. ``` "java.lang.Thread.State: WAITING...
Bumps [com.squareup.okhttp3:okhttp-bom](https://github.com/square/okhttp) from 4.12.0 to 5.1.0. Changelog Sourced from com.squareup.okhttp3:okhttp-bom's changelog. Version 5.1.0 2025-07-07 New: Response.peekTrailers(). When we changed Response.trailers() to block instead of throwing in 5.0.0, we inadvertently removed...
It's a considerable structural change, but it will allow for seamless integration with the FW API versioning features without having to use dummy adapter classes.