-
Notifications
You must be signed in to change notification settings - Fork 1k
Config Server Controller Should Return All PropertySources #1600
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
Merged
ryanjbaxter
merged 17 commits into
spring-cloud:main
from
ryanjbaxter:property-source-name-includes-profiles
Mar 28, 2024
Merged
Changes from all commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
0b7e2ef
Prototype
ryanjbaxter c6c4aea
Merge remote-tracking branch 'Upstream/main' into property-source-nam…
ryanjbaxter e089b51
Initial implementation to return all property sources
ryanjbaxter bedc7ce
Merge branch 'main' into property-source-name-includes-profiles
ryanjbaxter bfc76c1
Removing testing config
ryanjbaxter 2e112a5
fixing checkstyle
ryanjbaxter 29128eb
Slightly different approach to changing PropertySource name that does…
ryanjbaxter 9e5032d
Removing comment
ryanjbaxter 8c86bd5
Merge branch 'main' into property-source-name-includes-profiles
ryanjbaxter f0844e1
New version the limits breaking changes
ryanjbaxter 19c20eb
Fixing checkstyle
ryanjbaxter 12ae0b3
Remove public static method to clear cache
ryanjbaxter 9bb5287
Code review comments
ryanjbaxter de5391b
Merge branch 'main' into property-source-name-includes-profiles
ryanjbaxter 86b8f12
Code review feedback
ryanjbaxter 13efa61
Add flag to context
ryanjbaxter 6d52d37
Cleaning up code
ryanjbaxter File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
to be honest, I find this miss-leading and kind of don't agree with it, the name here should be:
at least for me.
I mean, this is a request for config server, something like
account/with-profile
. In the end we will make two requests in this case, one for thedefault
config server profile and one forwith-profile
. This one here, simulates thewith-profile
one, so the name should not includered
on its own, becausered
will be included in thedefault
config server profile.The name here btw is
<SOURCE_TYPE>.<SOURCE_NAME>.<NAMESPACE>.<ACTIVE_PROFILE>
.But in general this "pain" comes from the fact that IMHO, we are expressing things here a bit in reverse, and again IMHO (very humble), we should change the PR slightly. I am going to present my idea in separate bigger comment, which is going to be the last one btw :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So why was it previously
configmap.red.red-with-profile.default
?