Skip to content

Commit c0000aa

Browse files
authored
Support for Elasticsearch 7.5 (#1015)
* API generation * X-Opaque-Id support (#997) * Added X-Opaque-Id support * Updated type definitions * Updated test * Updated docs * Skip data_frame_transform_deprecated.* apis * API generation * Fix docs link * Fix CI configuration * Added enrich_user to default roles * Added transform_admin ad transform_user to default roles
1 parent da7220a commit c0000aa

Some content is hidden

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

46 files changed

+1397
-383
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.4.0
3+
- 7.5.0
44

55
NODE_JS_VERSION:
66
- 12

api/api/cat.aliases.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ function buildCatAliases (opts) {
1414
const acceptedQuerystring = [
1515
'format',
1616
'local',
17-
'master_timeout',
1817
'h',
1918
'help',
2019
's',
@@ -27,7 +26,6 @@ function buildCatAliases (opts) {
2726
]
2827

2928
const snakeCase = {
30-
masterTimeout: 'master_timeout',
3129
errorTrace: 'error_trace',
3230
filterPath: 'filter_path'
3331
}

api/api/cat.count.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@ function buildCatCount (opts) {
1313

1414
const acceptedQuerystring = [
1515
'format',
16-
'local',
17-
'master_timeout',
1816
'h',
1917
'help',
2018
's',
@@ -27,7 +25,6 @@ function buildCatCount (opts) {
2725
]
2826

2927
const snakeCase = {
30-
masterTimeout: 'master_timeout',
3128
errorTrace: 'error_trace',
3229
filterPath: 'filter_path'
3330
}

api/api/cat.fielddata.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@ function buildCatFielddata (opts) {
1414
const acceptedQuerystring = [
1515
'format',
1616
'bytes',
17-
'local',
18-
'master_timeout',
1917
'h',
2018
'help',
2119
's',
@@ -29,7 +27,6 @@ function buildCatFielddata (opts) {
2927
]
3028

3129
const snakeCase = {
32-
masterTimeout: 'master_timeout',
3330
errorTrace: 'error_trace',
3431
filterPath: 'filter_path'
3532
}

api/api/cat.health.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,10 @@ function buildCatHealth (opts) {
1313

1414
const acceptedQuerystring = [
1515
'format',
16-
'local',
17-
'master_timeout',
1816
'h',
1917
'help',
2018
's',
19+
'time',
2120
'ts',
2221
'v',
2322
'pretty',
@@ -28,7 +27,6 @@ function buildCatHealth (opts) {
2827
]
2928

3029
const snakeCase = {
31-
masterTimeout: 'master_timeout',
3230
errorTrace: 'error_trace',
3331
filterPath: 'filter_path'
3432
}

api/api/cat.indices.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ function buildCatIndices (opts) {
2121
'help',
2222
'pri',
2323
's',
24+
'time',
2425
'v',
2526
'include_unloaded_segments',
2627
'pretty',

api/api/cat.nodes.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,15 @@ function buildCatNodes (opts) {
1212
const { makeRequest, ConfigurationError, handleError, snakeCaseKeys } = opts
1313

1414
const acceptedQuerystring = [
15+
'bytes',
1516
'format',
1617
'full_id',
1718
'local',
1819
'master_timeout',
1920
'h',
2021
'help',
2122
's',
23+
'time',
2224
'v',
2325
'pretty',
2426
'human',

api/api/cat.pending_tasks.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ function buildCatPendingTasks (opts) {
1818
'h',
1919
'help',
2020
's',
21+
'time',
2122
'v',
2223
'pretty',
2324
'human',

api/api/cat.recovery.js

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,14 @@ function buildCatRecovery (opts) {
1313

1414
const acceptedQuerystring = [
1515
'format',
16+
'active_only',
1617
'bytes',
17-
'master_timeout',
18+
'detailed',
1819
'h',
1920
'help',
21+
'index',
2022
's',
23+
'time',
2124
'v',
2225
'pretty',
2326
'human',
@@ -27,7 +30,7 @@ function buildCatRecovery (opts) {
2730
]
2831

2932
const snakeCase = {
30-
masterTimeout: 'master_timeout',
33+
activeOnly: 'active_only',
3134
errorTrace: 'error_trace',
3235
filterPath: 'filter_path'
3336
}

api/api/cat.shards.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ function buildCatShards (opts) {
1919
'h',
2020
'help',
2121
's',
22+
'time',
2223
'v',
2324
'pretty',
2425
'human',

0 commit comments

Comments
 (0)