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

Add API To Config Server To Return Configuration Only For Profiles #2291

Open
ryanjbaxter opened this issue Jun 16, 2023 · 1 comment
Open

Comments

@ryanjbaxter
Copy link
Contributor

Spring Boots Config Data support separates loading config data into two steps, configuration data without profiles and then configuration with profiles. We try our best to label PropertySources as PROFILE_SPECIFIC in ConfigServerConfigDataLoader but its error prone because depending on the configuration of the config server the profile separator could be anything. AWS Secrets Manage, AWS Parameter Store and Vault all allow for profile separator configuration.

We know when the config data API is only requesting profile specific property sources so we could make a specific request to the config server to just return the profile specific property sources.

@ryanjbaxter
Copy link
Contributor Author

ryanjbaxter added a commit that referenced this issue Jun 16, 2023
Fixes #2279
Fixes #2289

See #2291

Co-authored-by: Ryan Baxter <524254+ryanjbaxter@users.noreply.github.com>
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

1 participant