spring-cloud-commons
spring-cloud-commons copied to clipboard
Common classes used in different Spring Cloud implementations
When embedding a Cloud Config Server and bootstrapping from that config server, the steps require using the `spring.cloud.config.server.bootstrap: true` flag. https://cloud.spring.io/spring-cloud-config/multi/multi__embedding_the_config_server.html However, the bootstrapping has been deprecated and was broken...
When we have properties on a list that are encrypted and we overwrite them on another profile they will keep their initial value and ignore other profiles. This happens even...
Fixes https://github.com/spring-cloud/spring-cloud-commons/issues/1183
**Describe the bug** I expect environment variables to be usable to configure simple discovery. The loop initializing the serviceId in the configured simple service properties breaks user config if done...
When an application uses config first bootstrap (by configuring `spring.config.use-legacy-processing=true` or using the `spring-cloud-starter-bootstrap` dependency), [AOT processing is not supported](https://docs.spring.io/spring-cloud-config/docs/current/reference/html/#_aot_and_native_image_support_2). While this limitation is documented, an application that transitively depends...
### Bug description _Version of spring-cloud-commons:_ ***3.1.5 (in lower versions of spring-cloud-commons this bug doesn't occur)*** _Version of spring-boot:_ ***2.7.9 (irrelevant)*** When a bean using `@ConfigurationProperties` is created during bootstrap...
boot:2.6.4 cloud:2021.0.1 My kotlin [configuration ](https://github.com/Monax111/refresh-scope/blob/master/src/main/kotlin/com/example/demo/props/MyProps.kt) is inherited from another class. If i add RefreshScope annotation, spring create empty CGLib wrapper with null field for my configuration [demo project](https://github.com/Monax111/refresh-scope/blob/master/src/main/kotlin/com/example/demo/props/MyProps.kt) 1)...
**Describe the bug** Environment: Spring boot:3.0.4 Spring cloud:2022.0.1 spring-cloud-commons: 4.0.1 OpenJdk: 17 When preferredNetworks are configured in a multi-network interface card environment, ${spring.cloud.client.ip-address} return a wrong IP. `application.yml` ```yml spring:...
I find that the root logger's filter added by log4j2Metrics, reseted sometime after application started. Since my applcation have multiple context, it will trigger ApplicationEnvironmentPreparedEvent multiple times, and with `LoggingSystemShutdownListener`...
Spring Boot 2.6.14 Nacos 2.1.1 Spring Cloud Context 3.1.5 Use Environment#getProperty to get the configuration center object. Generates a large number of LinkedHashSet objects. Cause the jvm to be full...