I have a config server that using Spring Cloud Config and Spring Cloud Bus and some clients that also have Spring Cloud Bus. Each time I change the config, I use postman to send /bus/refresh to the config server. I found two ways to do that:
- Refresh a specific client: http://localhost/bus/refresh/app1:dev:8080
- Refresh all clients: http://localhost/bus/refresh
Is there any way to refresh two specific clients with single post request?
If you want to instances of the same service you could do
http://localhost/bus/refresh/app1:dev:*
.