0

I have set up spring-cloud-config client and server and trying to pull properties from external git repository, my config-server is able to fetch the changes but config-client refresh endpoint doesn't show any change and do not pull changes which is why I am not able to see updated properties values.

My Git link of whole set is as below - https://github.com/sijal/microservice/tree/feature/eureka

I have tried @RefreshScope and tries to change the scope of Store bean to prototype. Nothing is working.

Below is the refresh endpoint output on postman [enter image description here](https://i.stack.imgur.com/EaynC.png)

Expecting changes to be fetch on below endpoint [enter image description here](https://i.stack.imgur.com/r0oL8.png)

Expecting change of storeNo after committing my pharmacy-service-dev.yml file but getting old value each time. I Have to do a restart of my pharmacy client service to reflect the change.

0 Answers0