Commit 2e1a9ab2 authored by Guillaume Cornut's avatar Guillaume Cornut Committed by Raphaël Flores
Browse files

fix: Remove unnecessary ES cluster name. Adjust verbosity.

parent 77bb54bb
......@@ -56,7 +56,7 @@ test-backend:
# so there will be no bootstrap checks that would fail on CI
# especially the error regarding
# `max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]`
command: ["bin/elasticsearch", "-Ediscovery.type=single-node", "-Ecluster.name=es-gpds"]
command: ["bin/elasticsearch", "-Ediscovery.type=single-node"]
artifacts:
reports:
junit:
......
......@@ -13,9 +13,6 @@ import org.springframework.context.annotation.Configuration;
@Configuration
public class ElasticSearchConfig {
@Value("${data.elasticsearch.cluster-name}")
private String esClusterName;
@Value("${data.elasticsearch.host}")
private String esHost;
......
data:
elasticsearch:
cluster-name: es-dev
host: 127.0.0.1
port: 9200
host: 127.0.0.1
port: 9200
management:
endpoint:
......@@ -27,6 +26,7 @@ logging.level:
org.springframework:
boot.web.embedded.tomcat.TomcatWebServer: INFO
web.client.RestTemplate: DEBUG
fr.inra: DEBUG
---
spring:
......
spring.data.elasticsearch.cluster.name=es-gpds
spring.data.elasticsearch.host=localhost
spring.data.elasticsearch.port=9200
......
......@@ -4,7 +4,6 @@ services:
image: docker.elastic.co/elasticsearch/elasticsearch:6.5.4
container_name: elasticsearch
environment:
- cluster.name=es-dev
- discovery.type=single-node
ports:
- 9200:9200
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment