E.g. EnvironmentController
is declared as @RefreshScope
unconditionally. I think this is out of step with the usage of @RefreshScope
in other parts of Spring Cloud. Also, it seems kinder to make it optional.
Comment From: spencergibb
Spring Cloud commons isn't really optional any more
Comment From: dsyer
Yes, but it's spring-cloud-context, and anyway @RefreshScope
is optional even with that.
Comment From: spencergibb
Yeah, I meant the project not the module. And IIRC s-c-context is not optional in the other Spring Cloud projects anymore
Comment From: spencergibb
Anyway, this change is fairly benign so it doesn't really matter much