04.01.2017
Deploy Elasticsearch Rest Client into OSGi
Up until Elasticsearch 5.0.0 alpha 4 the official Elasticsearch Java client required the complete Elasticsearch distributable included in your application. Although there are several alternative clients available, the new Java Rest Client brings most of the functionallity bundled in a small package. Since the artifact published by elastic does not contain the required OSGi bundle information I created a wrapper you can find on Github1. Dependencies All dependencies are inherited from the RestClient and available as OSGi Bundles: