spring-cloud / spring-cloud/spring-cloud-config
filename must be application when use git for repo.
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 2k
- Forks
- 1.3k
- Avg merge
- 2d 59m
- Merged PRs (30d)
- 16
Description
I read many documents and resource codes, found it is not simple if i want change the filename about properties file on git,because spring cloud config only load {application} whole words only matched filename.
the code is here:
org.springframework.cloud.config.server.environment.NativeEnvironmentRepository#getArgs
My question is why spring cloud config don't load all properties file by folder name or custom the filename? so, there are any way to solve this problem?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with org.springframework.cloud.config.server.environment.NativeEnvironmentRepository#getArgs and trace how Git-backed property filenames are selected. The issue asks whether folder-based loading or custom filenames can be supported, but does not define a preferred behavior or acceptance criteria; clarify that scope before determining what would count as done.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- git, java, spring
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100