Skip to content

Commit 1f6c68d

Browse files
authored
v7.0.0-rc1 support 🚀 (#792)
Support for Elasticsearch `v7.0.0-rc1`
1 parent c767570 commit 1f6c68d

File tree

264 files changed

+743
-3166
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

264 files changed

+743
-3166
lines changed

‎.ci/test-matrix.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
ELASTICSEARCH_VERSION:
3-
- 7.0.0-beta1
3+
- 7.0.0-rc1
44

55
NODE_JS_VERSION:
66
- 11

‎.travis.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ node_js:
1111

1212
env:
1313
global:
14-
- ELASTICSEARCH_VERSION=7.0.0-beta1
14+
- ELASTICSEARCH_VERSION=7.0.0-rc1
1515
- QUIET=true
1616

1717
before_install:

‎api/api/bulk.js‎

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -79,15 +79,6 @@ function buildBulk (opts) {
7979
options = {}
8080
}
8181

82-
// promises support
83-
if (callback == null) {
84-
return new Promise((resolve, reject) => {
85-
bulk(params, options, (err, body) => {
86-
err ? reject(err) : resolve(body)
87-
})
88-
})
89-
}
90-
9182
// check required parameters
9283
if (params['body'] == null) {
9384
const err = new ConfigurationError('Missing required parameter: body')

‎api/api/cat.aliases.js‎

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -71,15 +71,6 @@ function buildCatAliases (opts) {
7171
options = {}
7272
}
7373

74-
// promises support
75-
if (callback == null) {
76-
return new Promise((resolve, reject) => {
77-
catAliases(params, options, (err, body) => {
78-
err ? reject(err) : resolve(body)
79-
})
80-
})
81-
}
82-
8374
// check required parameters
8475
if (params.body != null) {
8576
const err = new ConfigurationError('This API does not require a body')

‎api/api/cat.allocation.js‎

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -73,15 +73,6 @@ function buildCatAllocation (opts) {
7373
options = {}
7474
}
7575

76-
// promises support
77-
if (callback == null) {
78-
return new Promise((resolve, reject) => {
79-
catAllocation(params, options, (err, body) => {
80-
err ? reject(err) : resolve(body)
81-
})
82-
})
83-
}
84-
8576
// check required parameters
8677
if (params.body != null) {
8778
const err = new ConfigurationError('This API does not require a body')

‎api/api/cat.count.js‎

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -71,15 +71,6 @@ function buildCatCount (opts) {
7171
options = {}
7272
}
7373

74-
// promises support
75-
if (callback == null) {
76-
return new Promise((resolve, reject) => {
77-
catCount(params, options, (err, body) => {
78-
err ? reject(err) : resolve(body)
79-
})
80-
})
81-
}
82-
8374
// check required parameters
8475
if (params.body != null) {
8576
const err = new ConfigurationError('This API does not require a body')

‎api/api/cat.fielddata.js‎

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -75,15 +75,6 @@ function buildCatFielddata (opts) {
7575
options = {}
7676
}
7777

78-
// promises support
79-
if (callback == null) {
80-
return new Promise((resolve, reject) => {
81-
catFielddata(params, options, (err, body) => {
82-
err ? reject(err) : resolve(body)
83-
})
84-
})
85-
}
86-
8778
// check required parameters
8879
if (params.body != null) {
8980
const err = new ConfigurationError('This API does not require a body')

‎api/api/cat.health.js‎

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -72,15 +72,6 @@ function buildCatHealth (opts) {
7272
options = {}
7373
}
7474

75-
// promises support
76-
if (callback == null) {
77-
return new Promise((resolve, reject) => {
78-
catHealth(params, options, (err, body) => {
79-
err ? reject(err) : resolve(body)
80-
})
81-
})
82-
}
83-
8475
// check required parameters
8576
if (params.body != null) {
8677
const err = new ConfigurationError('This API does not require a body')

‎api/api/cat.help.js‎

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -59,15 +59,6 @@ function buildCatHelp (opts) {
5959
options = {}
6060
}
6161

62-
// promises support
63-
if (callback == null) {
64-
return new Promise((resolve, reject) => {
65-
catHelp(params, options, (err, body) => {
66-
err ? reject(err) : resolve(body)
67-
})
68-
})
69-
}
70-
7162
// check required parameters
7263
if (params.body != null) {
7364
const err = new ConfigurationError('This API does not require a body')

‎api/api/cat.indices.js‎

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -77,15 +77,6 @@ function buildCatIndices (opts) {
7777
options = {}
7878
}
7979

80-
// promises support
81-
if (callback == null) {
82-
return new Promise((resolve, reject) => {
83-
catIndices(params, options, (err, body) => {
84-
err ? reject(err) : resolve(body)
85-
})
86-
})
87-
}
88-
8980
// check required parameters
9081
if (params.body != null) {
9182
const err = new ConfigurationError('This API does not require a body')

0 commit comments

Comments
 (0)