Skip to content
This repository has been archived by the owner on May 18, 2020. It is now read-only.

METHOD .START() (PLUGINS CONFIGURATION) #57

Open
anafilemeau opened this issue Jun 22, 2018 · 0 comments
Open

METHOD .START() (PLUGINS CONFIGURATION) #57

anafilemeau opened this issue Jun 22, 2018 · 0 comments

Comments

@anafilemeau
Copy link

Hello,
I've been trying to start embedded-elasticsearch using plugin search-guard (versions 6.2.1 ), but I would like to execute a shell script of this plugin before elasticsearch really starts. As .start() method encapsulates installation, initialization and configuration together, would you consider to release an improvement, for example .install() with installElastic() encapsulated only, to make it more flexible specific plugins' configuration before .startElastic() node? Only a suggestion.....but thanks anyway

public void install() throws IOException, InterruptedException {
installElastic();
}

public EmbeddedElastic start() throws IOException, InterruptedException {
startElastic();
createRestClient();
createTemplates();
createIndices();
return this;
}

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant