Skip to content

v7.0.0-rc1 support 🚀 #792

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Mar 28, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .ci/test-matrix.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
ELASTICSEARCH_VERSION:
- 7.0.0-beta1
- 7.0.0-rc1

NODE_JS_VERSION:
- 11
Expand Down
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ node_js:

env:
global:
- ELASTICSEARCH_VERSION=7.0.0-beta1
- ELASTICSEARCH_VERSION=7.0.0-rc1
- QUIET=true

before_install:
Expand Down
9 changes: 0 additions & 9 deletions api/api/bulk.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,15 +79,6 @@ function buildBulk (opts) {
options = {}
}

// promises support
if (callback == null) {
return new Promise((resolve, reject) => {
bulk(params, options, (err, body) => {
err ? reject(err) : resolve(body)
})
})
}

// check required parameters
if (params['body'] == null) {
const err = new ConfigurationError('Missing required parameter: body')
Expand Down
9 changes: 0 additions & 9 deletions api/api/cat.aliases.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,15 +71,6 @@ function buildCatAliases (opts) {
options = {}
}

// promises support
if (callback == null) {
return new Promise((resolve, reject) => {
catAliases(params, options, (err, body) => {
err ? reject(err) : resolve(body)
})
})
}

// check required parameters
if (params.body != null) {
const err = new ConfigurationError('This API does not require a body')
Expand Down
9 changes: 0 additions & 9 deletions api/api/cat.allocation.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,15 +73,6 @@ function buildCatAllocation (opts) {
options = {}
}

// promises support
if (callback == null) {
return new Promise((resolve, reject) => {
catAllocation(params, options, (err, body) => {
err ? reject(err) : resolve(body)
})
})
}

// check required parameters
if (params.body != null) {
const err = new ConfigurationError('This API does not require a body')
Expand Down
9 changes: 0 additions & 9 deletions api/api/cat.count.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,15 +71,6 @@ function buildCatCount (opts) {
options = {}
}

// promises support
if (callback == null) {
return new Promise((resolve, reject) => {
catCount(params, options, (err, body) => {
err ? reject(err) : resolve(body)
})
})
}

// check required parameters
if (params.body != null) {
const err = new ConfigurationError('This API does not require a body')
Expand Down
9 changes: 0 additions & 9 deletions api/api/cat.fielddata.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,15 +75,6 @@ function buildCatFielddata (opts) {
options = {}
}

// promises support
if (callback == null) {
return new Promise((resolve, reject) => {
catFielddata(params, options, (err, body) => {
err ? reject(err) : resolve(body)
})
})
}

// check required parameters
if (params.body != null) {
const err = new ConfigurationError('This API does not require a body')
Expand Down
9 changes: 0 additions & 9 deletions api/api/cat.health.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,15 +72,6 @@ function buildCatHealth (opts) {
options = {}
}

// promises support
if (callback == null) {
return new Promise((resolve, reject) => {
catHealth(params, options, (err, body) => {
err ? reject(err) : resolve(body)
})
})
}

// check required parameters
if (params.body != null) {
const err = new ConfigurationError('This API does not require a body')
Expand Down
9 changes: 0 additions & 9 deletions api/api/cat.help.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,15 +59,6 @@ function buildCatHelp (opts) {
options = {}
}

// promises support
if (callback == null) {
return new Promise((resolve, reject) => {
catHelp(params, options, (err, body) => {
err ? reject(err) : resolve(body)
})
})
}

// check required parameters
if (params.body != null) {
const err = new ConfigurationError('This API does not require a body')
Expand Down
9 changes: 0 additions & 9 deletions api/api/cat.indices.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,15 +77,6 @@ function buildCatIndices (opts) {
options = {}
}

// promises support
if (callback == null) {
return new Promise((resolve, reject) => {
catIndices(params, options, (err, body) => {
err ? reject(err) : resolve(body)
})
})
}

// check required parameters
if (params.body != null) {
const err = new ConfigurationError('This API does not require a body')
Expand Down
9 changes: 0 additions & 9 deletions api/api/cat.master.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,15 +70,6 @@ function buildCatMaster (opts) {
options = {}
}

// promises support
if (callback == null) {
return new Promise((resolve, reject) => {
catMaster(params, options, (err, body) => {
err ? reject(err) : resolve(body)
})
})
}

// check required parameters
if (params.body != null) {
const err = new ConfigurationError('This API does not require a body')
Expand Down
9 changes: 0 additions & 9 deletions api/api/cat.nodeattrs.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,15 +70,6 @@ function buildCatNodeattrs (opts) {
options = {}
}

// promises support
if (callback == null) {
return new Promise((resolve, reject) => {
catNodeattrs(params, options, (err, body) => {
err ? reject(err) : resolve(body)
})
})
}

// check required parameters
if (params.body != null) {
const err = new ConfigurationError('This API does not require a body')
Expand Down
9 changes: 0 additions & 9 deletions api/api/cat.nodes.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,15 +73,6 @@ function buildCatNodes (opts) {
options = {}
}

// promises support
if (callback == null) {
return new Promise((resolve, reject) => {
catNodes(params, options, (err, body) => {
err ? reject(err) : resolve(body)
})
})
}

// check required parameters
if (params.body != null) {
const err = new ConfigurationError('This API does not require a body')
Expand Down
9 changes: 0 additions & 9 deletions api/api/cat.pending_tasks.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,15 +70,6 @@ function buildCatPendingTasks (opts) {
options = {}
}

// promises support
if (callback == null) {
return new Promise((resolve, reject) => {
catPendingTasks(params, options, (err, body) => {
err ? reject(err) : resolve(body)
})
})
}

// check required parameters
if (params.body != null) {
const err = new ConfigurationError('This API does not require a body')
Expand Down
9 changes: 0 additions & 9 deletions api/api/cat.plugins.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,15 +70,6 @@ function buildCatPlugins (opts) {
options = {}
}

// promises support
if (callback == null) {
return new Promise((resolve, reject) => {
catPlugins(params, options, (err, body) => {
err ? reject(err) : resolve(body)
})
})
}

// check required parameters
if (params.body != null) {
const err = new ConfigurationError('This API does not require a body')
Expand Down
9 changes: 0 additions & 9 deletions api/api/cat.recovery.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,15 +71,6 @@ function buildCatRecovery (opts) {
options = {}
}

// promises support
if (callback == null) {
return new Promise((resolve, reject) => {
catRecovery(params, options, (err, body) => {
err ? reject(err) : resolve(body)
})
})
}

// check required parameters
if (params.body != null) {
const err = new ConfigurationError('This API does not require a body')
Expand Down
9 changes: 0 additions & 9 deletions api/api/cat.repositories.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,15 +70,6 @@ function buildCatRepositories (opts) {
options = {}
}

// promises support
if (callback == null) {
return new Promise((resolve, reject) => {
catRepositories(params, options, (err, body) => {
err ? reject(err) : resolve(body)
})
})
}

// check required parameters
if (params.body != null) {
const err = new ConfigurationError('This API does not require a body')
Expand Down
9 changes: 0 additions & 9 deletions api/api/cat.segments.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,15 +68,6 @@ function buildCatSegments (opts) {
options = {}
}

// promises support
if (callback == null) {
return new Promise((resolve, reject) => {
catSegments(params, options, (err, body) => {
err ? reject(err) : resolve(body)
})
})
}

// check required parameters
if (params.body != null) {
const err = new ConfigurationError('This API does not require a body')
Expand Down
9 changes: 0 additions & 9 deletions api/api/cat.shards.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,15 +73,6 @@ function buildCatShards (opts) {
options = {}
}

// promises support
if (callback == null) {
return new Promise((resolve, reject) => {
catShards(params, options, (err, body) => {
err ? reject(err) : resolve(body)
})
})
}

// check required parameters
if (params.body != null) {
const err = new ConfigurationError('This API does not require a body')
Expand Down
9 changes: 0 additions & 9 deletions api/api/cat.snapshots.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,15 +72,6 @@ function buildCatSnapshots (opts) {
options = {}
}

// promises support
if (callback == null) {
return new Promise((resolve, reject) => {
catSnapshots(params, options, (err, body) => {
err ? reject(err) : resolve(body)
})
})
}

// check required parameters
if (params.body != null) {
const err = new ConfigurationError('This API does not require a body')
Expand Down
9 changes: 0 additions & 9 deletions api/api/cat.tasks.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,15 +75,6 @@ function buildCatTasks (opts) {
options = {}
}

// promises support
if (callback == null) {
return new Promise((resolve, reject) => {
catTasks(params, options, (err, body) => {
err ? reject(err) : resolve(body)
})
})
}

// check required parameters
if (params.body != null) {
const err = new ConfigurationError('This API does not require a body')
Expand Down
9 changes: 0 additions & 9 deletions api/api/cat.templates.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,15 +71,6 @@ function buildCatTemplates (opts) {
options = {}
}

// promises support
if (callback == null) {
return new Promise((resolve, reject) => {
catTemplates(params, options, (err, body) => {
err ? reject(err) : resolve(body)
})
})
}

// check required parameters
if (params.body != null) {
const err = new ConfigurationError('This API does not require a body')
Expand Down
9 changes: 0 additions & 9 deletions api/api/cat.thread_pool.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,15 +73,6 @@ function buildCatThreadPool (opts) {
options = {}
}

// promises support
if (callback == null) {
return new Promise((resolve, reject) => {
catThreadPool(params, options, (err, body) => {
err ? reject(err) : resolve(body)
})
})
}

// check required parameters
if (params.body != null) {
const err = new ConfigurationError('This API does not require a body')
Expand Down
9 changes: 0 additions & 9 deletions api/api/ccr.delete_auto_follow_pattern.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,15 +51,6 @@ function buildCcrDeleteAutoFollowPattern (opts) {
options = {}
}

// promises support
if (callback == null) {
return new Promise((resolve, reject) => {
ccrDeleteAutoFollowPattern(params, options, (err, body) => {
err ? reject(err) : resolve(body)
})
})
}

// check required parameters
if (params['name'] == null) {
const err = new ConfigurationError('Missing required parameter: name')
Expand Down
9 changes: 0 additions & 9 deletions api/api/ccr.follow.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,15 +53,6 @@ function buildCcrFollow (opts) {
options = {}
}

// promises support
if (callback == null) {
return new Promise((resolve, reject) => {
ccrFollow(params, options, (err, body) => {
err ? reject(err) : resolve(body)
})
})
}

// check required parameters
if (params['index'] == null) {
const err = new ConfigurationError('Missing required parameter: index')
Expand Down
Loading