spring-cloud / spring-cloud/spring-cloud-config

filename must be application when use git for repo.

Open
#969 9 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

closable
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.