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

bootstrap-xxx.yml is not loaded with spring.profiles.include=xxx

Open
#604 12 comments 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement help wanted
Dominant language
Java
Stars
2k
Forks
1.3k
Avg merge
2d 59m
Merged PRs (30d)
16

Description

As described at here, bootstrap-xxx.yml is loaded with spring.profiles.active=xxx only.
But it does NOT loaded with spring.profiles.include=xxx ( spring.profiles.include comes from Spring Boot).

Sometimes I prefer to use spring.profiles.include to map an other profile.
It would become more useful if spring.profiles.include were supported.

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

No file or test is named. Start by locating the bootstrap profile-loading entry point and comparing spring.profiles.active with Spring Boot's spring.profiles.include behavior. Done means bootstrap-xxx.yml loads when xxx is supplied through spring.profiles.include, with the behavior verified by the relevant project tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, spring, spring-boot
Domain
backend, cloud
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.