Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

After upgrading spring-cloud-config-client from 4.0.2 to 4.1.0 and Spring Boot from 3.1.5 to 3.2.0 properties from application.yml are missing #2384

Closed
anvo1115 opened this issue Feb 11, 2024 · 0 comments

Comments

@anvo1115
Copy link

Please, refer to the issue #2376

Unfortunately it was closed because the feedback was provided too late.

I found how to reproduce the issue in your Demo.

Pleas, modify your test class DemoApplicationTests


@SpringBootTest(properties = {
		"spring.config.import=optional:configserver:http://localhost:8065"
			})

Than you will see that the default value was returned instead of value from application.properties.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants