-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow multiple elasticsearch hosts #54
Conversation
Signed-off-by: LE SAULNIER Kevin <kevin.lesaulnier@rte-france.com>
Signed-off-by: LE SAULNIER Kevin <kevin.lesaulnier@rte-france.com>
Signed-off-by: LE SAULNIER Kevin <kevin.lesaulnier@rte-france.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code OK
@@ -30,40 +26,10 @@ | |||
|
|||
@Configuration | |||
@EnableElasticsearchRepositories | |||
public class ESConfig extends ElasticsearchConfiguration { | |||
public class ESConfig extends ElasticsearchConfigurationSupport { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice to have this ElasticsearchConfigurationSupport!
@@ -30,40 +26,10 @@ | |||
|
|||
@Configuration | |||
@EnableElasticsearchRepositories |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we still need @EnableElasticsearchRepositories ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you're right, I've removed it and made some tests, it's still working without it
Signed-off-by: LE SAULNIER Kevin <kevin.lesaulnier@rte-france.com>
Signed-off-by: LE SAULNIER Kevin <kevin.lesaulnier@rte-france.com>
…l-case-server into multiple-es-hosts
Signed-off-by: LE SAULNIER Kevin <kevin.lesaulnier@rte-france.com>
Quality Gate passedIssues Measures |
Please check if the PR fulfills these requirements
What is the current behavior?
Application can only work with one elastisearch instance
What is the new behavior (if this is a feature change)?
Application can work with multiple elastisearch instance using RestClient