Sep 26th, 2012, 10:46 PM
ThoughtSource Property Server
ThoughtSource Property Server allows you to store and manage application configuration properties in a centralized location. Applications fetch properties from a RESTful service through agents, which provide seamless integration from Java and Spring applications.
You can integrate easily from Java apps using the built-in java.util.Properties extension or using the built-in Spring PropertyPlaceholderConfigurer extension. Integrate from apps written in other languages using the REST API.
...And, it's FREE for Dev, Test and Prod.
See http://www.ThoughtSource.com for more info.
Oct 9th, 2012, 08:08 AM
is there a source code available?
What I am trying to understand is:
can one change property, e.g database url configured in spring datasource and then automatically refresh the whole spring application context without application restart. In other words, how is property change handled through property-server agents?
Oct 11th, 2012, 08:10 AM
This base version of Property Server will likely become open source, but currently, the implementation code is not available. The Property Server REST API is fully open/documented.
There are currently two integration utilities available: the java.util.Properties extension and the Spring PropertyPlaceholderConfigurer extension. When properties change on the server, they are immediately visible to API calls inbound to the server. This means that those new properties would also be visible to calls into the java.util.Properties extension. So, if an app is coded to look periodically for property changes, it would work.
As for the PropertyPlaceholderConfigurer extension, which actually depends on the java.util.Properties extension, there is nothing in it currently that polls for changes and pushes the changed values into the beans or reloads the context, but this could be added as a feature. Great suggestion!
Thanks for your interest!
Tags for this Thread