spring-cloud / spring-cloud/spring-cloud-config
Add support for loading a Resource from config server
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 2k
- Forks
- 1.3k
- Avg merge
- 2d 59m
- Merged PRs (30d)
- 16
Description
It would be useful as an enhancement to be able to load a Resource directly from the remote config server using a custom resource prefix and perhaps resource loader.
For example suppose you have a truststore file (or some other resource) in your configuration repository) it would be very useful to have a property defined as:
ssl.trustStoreResource=config-server:sslTrustStore.jks
Behind the scenes a resource loader aware of Spring Cloud Config could fetch the resource and return as a ByteArrayResource.
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 by reviewing the config-server client and existing Spring Resource-loading entry points. Determine how a custom config-server: prefix could resolve sslTrustStore.jks into a ByteArrayResource, including the supported property behavior and failure cases. Done means the resource-loading design and its expected behavior are defined clearly enough to implement and test.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, spring
- Domain
- backend, cloud
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100