spring-cloud / spring-cloud/spring-cloud-consul

Specific files names while loading

Open
#437 1 comment 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement waiting for votes
Dominant language
Java
Stars
822
Forks
539
Avg merge
9h 31m
Merged PRs (30d)
7

Description

My current configuration is,

spring.cloud.consul.config.prefix=config/shared/${spring.profiles.active}
spring.cloud.consul.config.format=FILES

This configuration is loading either from application.properties, application-{active_profile} or application-name.properties.

I want to load files with names database.properties, queues.properties and goes on. Is this possible with spring-boot consul?

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 by tracing how spring.cloud.consul.config.prefix and spring.cloud.consul.config.format=FILES are handled, then verify whether named files such as database.properties and queues.properties can be addressed. Done means documenting or implementing a clear way to load those files, with the supported configuration and resulting behavior confirmed.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.