Skip to content

Commit

Permalink
[7.x] Bump @elastic/elasticsearch to v7.9.0-rc1 (#72231) (#72595)
Browse files Browse the repository at this point in the history
* Bump @elastic/elasticsearch to v7.9.0-rc1 (#72231)

* bump @elastic/elasticsearch to 7.9.0-rc1

* bump other packages using @elastic/elasticsearch

* bump es client to rc2

* update code for new typings

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
  • Loading branch information
mshustov and elasticmachine authored Jul 21, 2020
1 parent f896924 commit 939f434
Show file tree
Hide file tree
Showing 10 changed files with 19 additions and 33 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@
"@elastic/apm-rum": "^5.2.0",
"@elastic/charts": "19.8.1",
"@elastic/datemath": "5.0.3",
"@elastic/elasticsearch": "7.8.0",
"@elastic/elasticsearch": "7.9.0-rc.2",
"@elastic/ems-client": "7.9.3",
"@elastic/eui": "26.3.1",
"@elastic/filesaver": "1.1.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/kbn-es/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"license": "Apache-2.0",
"private": true,
"dependencies": {
"@elastic/elasticsearch": "^7.4.0",
"@elastic/elasticsearch": "7.9.0-rc.1",
"@kbn/dev-utils": "1.0.0",
"abort-controller": "^2.0.3",
"chalk": "^2.4.2",
Expand Down
2 changes: 1 addition & 1 deletion x-pack/plugins/apm/scripts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"main": "index.js",
"license": "MIT",
"dependencies": {
"@elastic/elasticsearch": "^7.6.1",
"@elastic/elasticsearch": "7.9.0-rc.1",
"@octokit/rest": "^16.35.0",
"@types/console-stamp": "^0.2.32",
"console-stamp": "^0.2.9",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,6 @@ async function indexAlerts(
},
[]
);
await client.bulk({ body, refresh: 'true' });
await client.bulk({ body, refresh: true });
}
}
2 changes: 1 addition & 1 deletion x-pack/test/api_integration/apis/fleet/agents/acks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export default function (providerContext: FtrProviderContext) {
await esClient.update({
index: '.kibana',
id: 'fleet-agents:agent1',
refresh: 'true',
refresh: true,
body: {
doc: agentDoc,
},
Expand Down
2 changes: 1 addition & 1 deletion x-pack/test/api_integration/apis/fleet/agents/checkin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export default function (providerContext: FtrProviderContext) {
await esClient.update({
index: '.kibana',
id: 'fleet-agents:agent1',
refresh: 'true',
refresh: true,
body: {
doc: agentDoc,
},
Expand Down
2 changes: 1 addition & 1 deletion x-pack/test/api_integration/apis/fleet/agents/enroll.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export default function (providerContext: FtrProviderContext) {
await esClient.update({
index: '.kibana',
id: 'fleet-enrollment-api-keys:ed22ca17-e178-4cfe-8b02-54ea29fbd6d0',
refresh: 'true',
refresh: true,
body: {
doc: enrollmentApiKeyDoc,
},
Expand Down
2 changes: 1 addition & 1 deletion x-pack/test/api_integration/apis/fleet/unenroll_agent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export default function (providerContext: FtrProviderContext) {
await esClient.update({
index: '.kibana',
id: 'fleet-agents:agent1',
refresh: 'true',
refresh: true,
body: {
doc: agentDoc,
},
Expand Down
2 changes: 1 addition & 1 deletion x-pack/test/api_integration/services/resolver.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export function ResolverGeneratorProvider({ getService }: FtrProviderContext) {
return array;
}, []);
// force a refresh here otherwise the documents might not be available when the tests search for them
await client.bulk({ body, refresh: 'true' });
await client.bulk({ body, refresh: true });
allTrees.push(tree);
}
return { trees: allTrees, eventsIndex, alertsIndex };
Expand Down
34 changes: 10 additions & 24 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2254,28 +2254,27 @@
redux-immutable-state-invariant "^2.1.0"
redux-logger "^3.0.6"

"@elastic/elasticsearch@7.8.0":
version "7.8.0"
resolved "https://registry.yarnpkg.com/@elastic/elasticsearch/-/elasticsearch-7.8.0.tgz#3f9ee54fe8ef79874ebd231db03825fa500a7111"
integrity sha512-rUOTNN1At0KoN0Fcjd6+J7efghuURnoMTB/od9EMK6Mcdebi6N3z5ulShTsKRn6OanS9Eq3l/OmheQY1Y+WLcg==
"@elastic/elasticsearch@7.9.0-rc.1":
version "7.9.0-rc.1"
resolved "https://registry.yarnpkg.com/@elastic/elasticsearch/-/elasticsearch-7.9.0-rc.1.tgz#50205507ec84ccb95cb7a6d36e5570808749fee9"
integrity sha512-rVjiVj7VPLCusJPfywpb3gvcaA99uylYSum1Frcq4vi2Iqg118KXgYW6GOis2Y70oDZ6w6XRlT0ze5NA6SBa+g==
dependencies:
debug "^4.1.1"
decompress-response "^4.2.0"
ms "^2.1.1"
pump "^3.0.0"
secure-json-parse "^2.1.0"

"@elastic/elasticsearch@^7.4.0":
version "7.4.0"
resolved "https://registry.yarnpkg.com/@elastic/elasticsearch/-/elasticsearch-7.4.0.tgz#57f4066acf25e9d4e9b4f6376088433aae6f25d4"
integrity sha512-HpEKHH6mHQRvea3lw4NNJw9ZUS1KmkpwWKHucaHi1svDn+/fEAwY0wD8egL1vZJo4ZmWfCQMjVqGL+Hoy1HYRw==
"@elastic/elasticsearch@7.9.0-rc.2":
version "7.9.0-rc.2"
resolved "https://registry.yarnpkg.com/@elastic/elasticsearch/-/elasticsearch-7.9.0-rc.2.tgz#cbc935f30940a15484b5ec3758c9b1ef119a5e5c"
integrity sha512-1FKCQJVr7s/LasKq6VbrmbWCI0LjoPcnjgmh2vKPzC+yyEEHVoYlmEfR5wBRchK1meATTXZtDhCVF95+Q9kVbA==
dependencies:
debug "^4.1.1"
decompress-response "^4.2.0"
into-stream "^5.1.0"
ms "^2.1.1"
once "^1.4.0"
pump "^3.0.0"
secure-json-parse "^2.1.0"

"@elastic/ems-client@7.9.3":
version "7.9.3"
Expand Down Expand Up @@ -15390,7 +15389,7 @@ fresh@0.5.2:
resolved "https://registry.yarnpkg.com/fresh/-/fresh-0.5.2.tgz#3d8cadd90d976569fa835ab1f8e4b23a105605a7"
integrity sha1-PYyt2Q2XZWn6g1qx+OSyOhBWBac=

from2@^2.1.0, from2@^2.1.1, from2@^2.3.0:
from2@^2.1.0, from2@^2.1.1:
version "2.3.0"
resolved "https://registry.yarnpkg.com/from2/-/from2-2.3.0.tgz#8bfb5502bde4a4d36cfdeea007fcca21d7e382af"
integrity sha1-i/tVAr3kpNNs/e6gB/zKIdfjgq8=
Expand Down Expand Up @@ -18179,14 +18178,6 @@ into-stream@^3.1.0:
from2 "^2.1.1"
p-is-promise "^1.1.0"

into-stream@^5.1.0:
version "5.1.0"
resolved "https://registry.yarnpkg.com/into-stream/-/into-stream-5.1.0.tgz#b05f37d8fed05c06a0b43b556d74e53e5af23878"
integrity sha512-cbDhb8qlxKMxPBk/QxTtYg1DQ4CwXmadu7quG3B7nrJsgSncEreF2kwWKZFdnjc/lSNNIkFPsjI7SM0Cx/QXPw==
dependencies:
from2 "^2.3.0"
p-is-promise "^2.0.0"

invariant@2.2.4, invariant@^2.1.0, invariant@^2.1.1, invariant@^2.2.3, invariant@^2.2.4:
version "2.2.4"
resolved "https://registry.yarnpkg.com/invariant/-/invariant-2.2.4.tgz#610f3c92c9359ce1db616e538008d23ff35158e6"
Expand Down Expand Up @@ -23882,11 +23873,6 @@ p-is-promise@^1.1.0:
resolved "https://registry.yarnpkg.com/p-is-promise/-/p-is-promise-1.1.0.tgz#9c9456989e9f6588017b0434d56097675c3da05e"
integrity sha1-nJRWmJ6fZYgBewQ01WCXZ1w9oF4=

p-is-promise@^2.0.0:
version "2.1.0"
resolved "https://registry.yarnpkg.com/p-is-promise/-/p-is-promise-2.1.0.tgz#918cebaea248a62cf7ffab8e3bca8c5f882fc42e"
integrity sha512-Y3W0wlRPK8ZMRbNq97l4M5otioeA5lm1z7bkNkxCka8HSPjR0xRWmpCmc9utiaLP9Jb1eD8BgeIxTW4AIF45Pg==

p-limit@^1.1.0:
version "1.3.0"
resolved "https://registry.yarnpkg.com/p-limit/-/p-limit-1.3.0.tgz#b86bd5f0c25690911c7590fcbfc2010d54b3ccb8"
Expand Down

0 comments on commit 939f434

Please sign in to comment.