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

Endpoint: /key/{name}/{profiles} returns same key

Open
#569 5 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

Hi!

"/key/{name}/{profiles}" endpoint is meant to do what?
I've created a keystore and added 2 keys, but the endpoint always the same key (the default one) no matters what parameter i provide.

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 at the /key/{name}/{profiles} endpoint and reproduce requests with each parameter against a keystore containing two keys. Compare the responses with the default key and determine the endpoint's intended selection behavior; the issue is resolved when the requested key is selected consistently and the behavior is covered by an appropriate test.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, spring, spring-boot
Domain
api, backend, security
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.