Updated scripts

This commit is contained in:
delvedor
2019-02-18 12:59:46 +01:00
parent 92c23232a7
commit 709ee6fa30
2 changed files with 3 additions and 1 deletions

View File

@ -7,7 +7,7 @@ exec docker run \
-e "repositories.url.allowed_urls=http://snapshot.*" \ -e "repositories.url.allowed_urls=http://snapshot.*" \
-e "discovery.type=single-node" \ -e "discovery.type=single-node" \
-p 9200:9200 \ -p 9200:9200 \
docker.elastic.co/elasticsearch/elasticsearch:7.0.0-alpha2 docker.elastic.co/elasticsearch/elasticsearch:7.0.0-beta1
# docker.elastic.co/elasticsearch/elasticsearch:6.5.4 # docker.elastic.co/elasticsearch/elasticsearch:6.5.4
# -e "xpack.security.enabled=true" \ # -e "xpack.security.enabled=true" \

View File

@ -9,9 +9,11 @@ const allowedMethods = {
// list of apis that does not need any kind of validation // list of apis that does not need any kind of validation
// because of how the url is built or the `type` handling in ES7 // because of how the url is built or the `type` handling in ES7
const noPathValidation = [ const noPathValidation = [
'create',
'exists', 'exists',
'explain', 'explain',
'get', 'get',
'get_source',
'indices.get_alias', 'indices.get_alias',
'indices.exists_alias', 'indices.exists_alias',
'indices.get_field_mapping', 'indices.get_field_mapping',