-
Notifications
You must be signed in to change notification settings - Fork 78
Proxy for download #55
Comments
I'd like this too. My temporary workaround is to host the elastic search zip file locally on my intranet and specify the url via withDownloadUrl(). |
Hi, |
I think best solution would be something like that: .withDownloadProxy("proxy-hostname:8080") and the downloader would do something like in this code example here If no proxy set, they just proceed with FileUtils.copyURLToFile as before,
|
Ok, I've added methods for setting timeouts and proxy for downloading. It will be available in version 2.6.0 |
I can confirm this works now in 2.7.0 My example code:
|
Hi,
we are running embedded-elasticsearch on Jenkins CI, which is restricted to have access to the internet only via a proxy. This is not an unusual setup in business environments.
Also in
embedded-elasticsearch/core/src/main/java/pl/allegro/tech/embeddedelasticsearch/ElasticSearchInstaller.java
Line 156 in b502a85
I think there should be an option in the builder like withDownloadProxy(String proxy) that enables users to set a proxy that can be used for downloading the distribution package.
This probably also is a resolution for #16.
The text was updated successfully, but these errors were encountered: