Updates to Configurations

Any changes to the Consul configurations are loaded without needing to restart the micro services.

After the data models are loaded, the Model Loading Engine either creates or updates the key-value pairs in the config folder. The OPE micro service is notified of these updates.

Any changes in the keys or their values cause the micro service to reload the properties.

An INFO level message such as this one is displayed when a key or a value is updated:

2018-09-06 12:01:34.534  INFO 48162 --- [TaskScheduler-1] 
s.c.a.AnnotationConfigApplicationContext : Closing 
org.springframework.context.annotation.AnnotationConfigApplicationContext@7dbee8f8: startup date [Thu Sep 06 12:01:34 IST 2018]; root of context 
hierarchy
2018-09-06 12:01:34.665  INFO 48162 --- [TaskScheduler-1]
o.s.c.e.event.RefreshEventListener: Refresh keys changed: 
[OPE.Tenant1.Property1]