8000 Upgrade to ElasticSearch 6.7 (#1360) · localstack/localstack@483f7cd · GitHub
[go: up one dir, main page]

Skip to content

Commit 483f7cd

Browse files
dmnlkwhummer
authored andcommitted
Upgrade to ElasticSearch 6.7 (#1360)
1 parent cfaf9d7 commit 483f7cd

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

bin/Dockerfile.base

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,15 +65,14 @@ RUN pip install supervisor
6565
# init environment and cache some dependencies
6666
RUN mkdir -p /opt/code/localstack/localstack/infra && \
6767
wget -O /tmp/localstack.es.zip \
68-
https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-6.5.0.zip && \
68+
https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-6.7.0.zip && \
6969
wget -O /tmp/elasticmq-server.jar \
7070
https://s3-eu-west-1.amazonaws.com/softwaremill-public/elasticmq-server-0.14.5.jar && \
7171
(cd localstack/infra/ && unzip -q /tmp/localstack.es.zip && \
7272
mv elasticsearch* elasticsearch && rm /tmp/localstack.es.zip) && \
7373
(cd localstack/infra/elasticsearch/ && \
7474
bin/elasticsearch-plugin install analysis-icu && \
7575
bin/elasticsearch-plugin install ingest-attachment --batch && \
76-
bin/elasticsearch-plugin install ingest-user-agent && \
7776
bin/elasticsearch-plugin install analysis-kuromoji && \
7877
bin/elasticsearch-plugin install mapper-murmur3 && \
7978
bin/elasticsearch-plugin install mapper-size && \

localstack/constants.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,9 +74,9 @@
7474
LAMBDA_TEST_ROLE = 'arn:aws:iam::%s:role/lambda-test-role' % TEST_AWS_ACCOUNT_ID
7575

7676
# installation constants
77-
ELASTICSEARCH_JAR_URL = 'https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-6.5.0.zip'
77+
ELASTICSEARCH_JAR_URL = 'https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-6.7.0.zip'
7878
# See https://docs.aws.amazon.com/ja_jp/elasticsearch-service/latest/developerguide/aes-supported-plugins.html
79-
ELASTICSEARCH_PLUGIN_LIST = ['analysis-icu', 'ingest-attachment', 'ingest-user-agent', 'analysis-kuromoji',
79+
ELASTICSEARCH_PLUGIN_LIST = ['analysis-icu', 'ingest-attachment', 'analysis-kuromoji',
8080
'mapper-murmur3', 'mapper-size', 'analysis-phonetic', 'analysis-smartcn', 'analysis-stempel', 'analysis-ukrainian']
8181
DYNAMODB_JAR_URL = 'https://s3-us-west-2.amazonaws.com/dynamodb-local/dynamodb_local_latest.zip'
8282
ELASTICMQ_JAR_URL = 'https://s3-eu-west-1.amazonaws.com/softwaremill-public/elasticmq-server-0.14.2.jar'

localstack/services/es/es_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ def get_domain_status(domain_name, deleted=False):
136136
'InstanceType': 'm3.medium.elasticsearch',
137137
'ZoneAwarenessEnabled': False
138138
},
139-
'ElasticsearchVersion': '6.5',
139+
'ElasticsearchVersion': '6.7',
140140
'Endpoint': aws_stack.get_elasticsearch_endpoint(),
141141
'Processing': False,
142142
'EBSOptions': {

0 commit comments

Comments
 (0)
0