Welcome to Archaius-Spring-Adapter.
Welcome to the archaius-spring-adapter. As we say in the POM, our aim is to simply extend the Spring (and Camel) PropertyPlaceholders in order to support Netflix's Archaius as the single source of all property information.
Why would we go to this trouble? Properties can be loaded fine into Spring, and now, with the BridgePropertyPlaceholder from Camel you can use that same file for your Camel properties too.
But what if you want more? Specifically, the itch that we scratched was the desire to use the Netflix Hystrix circuit breakers in our Spring/Camel projects. These depend upon Archaius for their configuration, and as you need to tune them, this configuration is important. Having already got all our Camel and Spring properties in one place, why would we want to accept another properties source just for one more component in our architecture? After some googling, the archaius-spring-adapter was born.
At this point, it should be noted right up front that while the itch for this scratching was ours, we weren't alone. The initial example upon which this code is based can be seen in this Archaius issue thread.
We'd like to thank the guys there for their support, especially @mumrah whose gist kicked this all off and @chriswhitcombe for his technical input. We'd also like to thank them for the permission to release this code licensed under the Apache v2.0 OSS licence.
Getting Started
It's dead simple to use the adapter. Just download one of the releases from this repo, or add our maven bintray repo (find the details in pom.xml) to your maven project.
Now you're free to start bringing in the archaius goodness.
for examples of how to use the archaius-spring-adapter in your Spring and Camel config files, see the main project README
Getting Involved
We're patently working on support to solve our own problems first, but it's also clear that there is much more we could add to this project. We'd love to have contributions from folks in all the standard ways:
- Questions and Answers via the Google Group - https://groups.google.com/forum/#!forum/archaius-spring-adapter
- Issue Reports via GitHub
- Pull Requests (fixes, more tests, new features, typo-corrections etc) via GitHub (we follow the standard workflow)
- Wiki documentation
We maintain a list of the issues that we're working on as you'd expect. By looking there you can see what our priorities are. Please feel free to comment on any of them or add more.
Contributors
- @andrewharmellaw
- @gayathu-rajan
- @nickjwalter
- @rart
- @sanjaykumar81