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

docs: add Custom Environment Repositories and update config sharing #2389

Conversation

apappascs
Copy link
Contributor

Introduce a new section for "Custom Environment Repositories" to guide users in creating and integrating custom EnvironmentRepository implementations. Additionally, update the "Sharing Configuration With All Applications" section.

Introduce a new section for "Custom Environment Repositories" to guide users in creating and integrating custom `EnvironmentRepository` implementations. Additionally, update the "Sharing Configuration With All Applications" section.

@Configuration
public class AppConfig {
@Bean
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would this bean only need to be activated when the custom profile is active?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes @ryanjbaxter you are correct.
added @Profile("custom")

@apappascs apappascs requested a review from ryanjbaxter March 7, 2024 13:35
@ryanjbaxter ryanjbaxter added this to the 4.1.1 milestone Mar 7, 2024
@ryanjbaxter ryanjbaxter merged commit ee768a5 into spring-cloud:main Mar 7, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants