spring-cloud-commons
spring-cloud-commons copied to clipboard
Common classes used in different Spring Cloud implementations
Using Hoxton.SR8 If you define an @ConfigurationProperties class that uses @ConstructorBinding, attempts to rebind it using ConfigurationPropertiesRebinder will fail with an exception from ConfigurationPropertiesBindingPostProcessor: ""Cannot bind @ConfigurationProperties for bean XXXX...
This issue was discovered while investigating https://github.com/spring-cloud/spring-cloud-netflix/issues/3174#issuecomment-419349960. To summarise the original tread: When disposed, `RefreshScope` starts by clearing its local cache of target beans then proceeds with their disposal. A...
Hi! I'm using version 2.0.0.M9. Sometimes my application runs into a deadlock. This happens when two threads are simultanously accessing an uninitialized `RefreshScope` Bean. My application uses the annotations `NewSpan`...
**Describe the bug** After setting a configuration prefix for the system environment properties, then the application fails to start and complains about the prefix not being valid. This is a...
- Some code uses '%s' to format int: 'size' expression. Use %d, not %s, for integers. This ensures locale-sensitive formatting. - some lines of code lack validation when processing input...
If I am reading this correctly, the existing two lines flip the perspective of what is doing the overriding from “subject/actor is remote (e.g., config-service) overriding local settings” (in the...
Use the ClassLoader from the SpringApplication if available. This is related to https://github.com/spring-projects/spring-boot/issues/26126. If the SpringApplication is created with a different classloader that can create issues for the LoggingSystemShutdownListener since...
Fixes #949 - Changed log level to info and debug to print property names and values respectively.