spring-cloud / spring-cloud-consul

Spring Cloud Consul
http://cloud.spring.io/spring-cloud-consul/
Apache License 2.0
813 stars 541 forks source link

ConsulPropertySourceLocator add shared contexts #725

Open pdkst opened 3 years ago

pdkst commented 3 years ago

In my project, I need to load multiple public keys, for example:

/xxx/config/application
/xxx/config/public
/xxx/config/public.others

There is no suitable model at present,So I add a property sharedContexts to support In addition, I decouple ConsulPropertySources from the ConsulPropertySourceLocator