allegro / embedded-elasticsearch

Tool that ease up creation of integration tests with Elasticsearch
Apache License 2.0
269 stars 81 forks source link

Ability to download/launch the oss flavor of elasticsearch #73

Closed cliffcotino closed 5 years ago

cliffcotino commented 6 years ago

Since version 6.3 of elasticsearch, there's an oss flavor of the zip available which only contains features which are available under the apache license. Another advantage is that the oss flavor is a significantly smaller download (approx. 30MB vs. 85MB)

Relevant documentation:

gaczm commented 5 years ago

Hi @cliffcotino I would rather stay with default distribution for version resolution. If one wants to use some flavour/custom distribution, they can always specify full url

cliffcotino commented 5 years ago

I overlooked that feature for this use case, it solves my problem nicely.

It works as expected when I use something similar to: .withDownloadUrl(new URL("https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-oss-6.4.2.zip"))

Thanks!