New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove list element from centralized property source does not refresh in client app #421

jakabgergely opened this Issue Jun 21, 2016 · 4 comments


None yet
5 participants

jakabgergely commented Jun 21, 2016

Hi, I have a service registry on which a microservice (spring-boot module) is running. Client app takes the centralized application.yml from registry and refreshes itself upon the call to appURL/refresh. If I change a value of the centralized configuration file and post to client app /refresh it dynamically updates the properties inside the @ConfigurationProperty annotated class. Which is all cool. I can see the changes immedately on the client module. It is working with any of the sole properties and working with collection element update and collection element add (so I can add or change any of the emails in my property app.employee.emails and after /refresh I can see the change). However it is not the case with remove: removing elements is not reflected in client app after calling /refresh end point. Thank you.

@dsyer dsyer added the enhancement label Jun 22, 2016


This comment has been minimized.


dsyer commented Jun 22, 2016

I don't know if there's anything we can do about dynamically removing (without some clunky syntax in the property values or something). I'd be happy to look at a pull request if anyone thinks it can be done simply.


This comment has been minimized.

nicolaferraro commented Oct 19, 2016

I've hit the same problem.
The issue is the removal of an existing property: properties can be changed, added but not removed. When trying to remove a property, the shadow remains in the spring configuration.

Yaml arrays like:

 - a
 - b
 - c

are converted to properties:


Removing the third element from the array is the same as removing the property with key "array[2]".

But property removal is not supported now and arrays can only increase their size.

I think the refresh mechanism should be fixed. This is more a bug than a possible enhancement.


This comment has been minimized.


marcingrzejszczak commented Jul 13, 2018

Is it still a problem with Finchley.RELEASE?


This comment has been minimized.


spencergibb commented Oct 1, 2018

Closing due to lack of requested feedback. If you would like us to look at this issue, please provide the requested information and we will re-open the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment