mirror of
https://github.com/spring-projects/spring-data-elasticsearch.git
synced 2025-06-29 15:22:11 +00:00
DATAES-211 - move groovy scripting into test folder
This commit is contained in:
parent
6a2b5fd945
commit
95194961dc
@ -31,7 +31,7 @@ public class Utils {
|
||||
return (NodeClient) nodeBuilder().settings(Settings.builder()
|
||||
.put("http.enabled", "false")
|
||||
.put("path.data", "target/elasticsearchTestData")
|
||||
.put("path.home", "test-home-dir"))
|
||||
.put("path.home", "src/test/resources/test-home-dir"))
|
||||
.clusterName(UUID.randomUUID().toString()).local(true).node()
|
||||
.client();
|
||||
}
|
||||
|
@ -6,7 +6,7 @@
|
||||
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd">
|
||||
|
||||
<elasticsearch:node-client id="client" local="true" cluster-name="#{T(java.util.UUID).randomUUID().toString()}"
|
||||
http-enabled="false" path-data="target/elasticsearchTestData" path-home="test-home-dir"
|
||||
http-enabled="false" path-data="target/elasticsearchTestData" path-home="src/test/resources/test-home-dir"
|
||||
path-configuration="node-client-configuration.yml"/>
|
||||
|
||||
<!--<elasticsearch:transport-client id="client" cluster-name="elasticsearch" cluster-nodes="127.0.0.1:9300" />-->
|
||||
|
@ -7,7 +7,7 @@
|
||||
|
||||
<elasticsearch:node-client id="client" local="true"
|
||||
cluster-name="#{T(java.util.UUID).randomUUID().toString()}" http-enabled="false"
|
||||
path-data="target/elasticsearchTestData" path-home="test-home-dir"/>
|
||||
path-data="target/elasticsearchTestData" path-home="src/test/resources/test-home-dir"/>
|
||||
|
||||
<bean name="elasticsearchTemplate"
|
||||
class="org.springframework.data.elasticsearch.core.ElasticsearchTemplate">
|
||||
|
Loading…
x
Reference in New Issue
Block a user