Hi Ivan and others,
I would like to discuss what I am doing, and need help regarding it.
We have two components - App (Jersey client) and Data (Elasticsearch)
We used to have Couchbase as a data component but we are migrating to elasticsearch.
In the App component, we serve data from elasticsearch.
I need to write tests on the App layer so that we conform to some standards.
I was trying to use Elasticsearch test framework (ESIntegTestCase). But it had lot of dependency issues.
Basically jar hell was creating problem and logger also.
As you guys are not supporting embedded elasticsearch instance.
And, the documentation is pointing me to use ESIntegTestCase
https://www.elastic.co/guide/en/elasticsearch/reference/current/integration-tests.html
I was in trouble since I wasn't able to integrate it my test due to issues mentioned above.
In this issue, nik9000 has mentioned that it is better to spin new instance rather than using ESIntegTestCase,
Alecojacoru elasticsearch maven plugin servers this purpose. But I wanted to use it in gradle project. I wasnt able to find any alternative for it.
Please help me find solution.
Thanks,
Prakhar