Skip to content
This repository has been archived by the owner on Apr 4, 2022. It is now read-only.

Support Multiple application names passed in a request #24

Open
doncisco1979 opened this issue May 12, 2021 · 0 comments
Open

Support Multiple application names passed in a request #24

doncisco1979 opened this issue May 12, 2021 · 0 comments

Comments

@doncisco1979
Copy link

When providing an application name value as a comma separated list in the config request, the code does not split this and do multiple find operations on each collection (app name) provided.

This could easily be fixed by splitting the name property on ',' and doing a find for each and joining the results. This would allow the use of the config server property spring.cloud.config.name property which allows you to submit multiple names as well as the application name

Input
http://localhost:8080/testapp,supplemental/lablemaker/prod

Expected output
collection name=testapp
profile=prod
label=labelmaker

collection name = supplemental
profile=prod
label=labelmaker

Actual Output
collection name=testapp,supplemental
profile=prod
label=labelmaker

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

1 participant