Skip to content
Merged
Show file tree
Hide file tree
Changes from 18 commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
d57d918
API generation
delvedor Apr 29, 2019
738f5d7
Added correlation id support
delvedor Apr 29, 2019
aa16ba3
Updated docs
delvedor Apr 29, 2019
1672d39
Updated test
delvedor Apr 29, 2019
925d455
Updated code generation
delvedor Apr 29, 2019
04fcac0
API generation
delvedor Apr 30, 2019
0456e7d
Updated code generation
delvedor Apr 30, 2019
09e5c09
Added support for client name and custom context object
delvedor Apr 30, 2019
25ee0c9
Updated docs
delvedor Apr 30, 2019
7cdbe15
Updated test
delvedor Apr 30, 2019
907b8ec
Fix docs
delvedor Apr 30, 2019
1c7472f
Updated docs
delvedor Apr 30, 2019
b26ea9e
Added id support also for sniffing
delvedor May 2, 2019
e564b1d
Updated test
delvedor May 2, 2019
15f6a52
Update docs/observability.asciidoc
tylersmalley May 2, 2019
7d0ae75
Update docs/observability.asciidoc
tylersmalley May 2, 2019
24b62e3
Apply suggestions
delvedor May 2, 2019
541cac3
Merge branch 'correlation-id' of https://github.com/elastic/elasticse…
delvedor May 2, 2019
d4ae4b8
Update docs/configuration.asciidoc
May 3, 2019
2ac0d85
Update docs/configuration.asciidoc
May 3, 2019
a1f4f27
Update docs/observability.asciidoc
May 3, 2019
ed4ad29
Update docs/observability.asciidoc
May 3, 2019
e1ba20a
Update docs/observability.asciidoc
May 3, 2019
fd33027
Apply suggestions
delvedor May 3, 2019
b788f9a
Updated README.md
delvedor May 3, 2019
d991d59
Merge branch 'master' into correlation-id
delvedor May 3, 2019
67c327d
Fixed test
delvedor May 3, 2019
cc93759
Addressed suggestions
delvedor May 3, 2019
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: 2 additions & 0 deletions api/api/bulk.js
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,8 @@ function buildBulk (opts) {
headers: options.headers || null,
querystring: options.querystring || null,
compression: options.compression || false,
id: options.id || null,
context: options.context || null,
warnings
}

Expand Down
2 changes: 2 additions & 0 deletions api/api/cat.aliases.js
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,8 @@ function buildCatAliases (opts) {
headers: options.headers || null,
querystring: options.querystring || null,
compression: options.compression || false,
id: options.id || null,
context: options.context || null,
warnings
}

Expand Down
2 changes: 2 additions & 0 deletions api/api/cat.allocation.js
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,8 @@ function buildCatAllocation (opts) {
headers: options.headers || null,
querystring: options.querystring || null,
compression: options.compression || false,
id: options.id || null,
context: options.context || null,
warnings
}

Expand Down
2 changes: 2 additions & 0 deletions api/api/cat.count.js
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,8 @@ function buildCatCount (opts) {
headers: options.headers || null,
querystring: options.querystring || null,
compression: options.compression || false,
id: options.id || null,
context: options.context || null,
warnings
}

Expand Down
2 changes: 2 additions & 0 deletions api/api/cat.fielddata.js
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,8 @@ function buildCatFielddata (opts) {
headers: options.headers || null,
querystring: options.querystring || null,
compression: options.compression || false,
id: options.id || null,
context: options.context || null,
warnings
}

Expand Down
2 changes: 2 additions & 0 deletions api/api/cat.health.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,8 @@ function buildCatHealth (opts) {
headers: options.headers || null,
querystring: options.querystring || null,
compression: options.compression || false,
id: options.id || null,
context: options.context || null,
warnings
}

Expand Down
2 changes: 2 additions & 0 deletions api/api/cat.help.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,8 @@ function buildCatHelp (opts) {
headers: options.headers || null,
querystring: options.querystring || null,
compression: options.compression || false,
id: options.id || null,
context: options.context || null,
warnings
}

Expand Down
2 changes: 2 additions & 0 deletions api/api/cat.indices.js
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,8 @@ function buildCatIndices (opts) {
headers: options.headers || null,
querystring: options.querystring || null,
compression: options.compression || false,
id: options.id || null,
context: options.context || null,
warnings
}

Expand Down
2 changes: 2 additions & 0 deletions api/api/cat.master.js
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,8 @@ function buildCatMaster (opts) {
headers: options.headers || null,
querystring: options.querystring || null,
compression: options.compression || false,
id: options.id || null,
context: options.context || null,
warnings
}

Expand Down
2 changes: 2 additions & 0 deletions api/api/cat.nodeattrs.js
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,8 @@ function buildCatNodeattrs (opts) {
headers: options.headers || null,
querystring: options.querystring || null,
compression: options.compression || false,
id: options.id || null,
context: options.context || null,
warnings
}

Expand Down
2 changes: 2 additions & 0 deletions api/api/cat.nodes.js
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,8 @@ function buildCatNodes (opts) {
headers: options.headers || null,
querystring: options.querystring || null,
compression: options.compression || false,
id: options.id || null,
context: options.context || null,
warnings
}

Expand Down
2 changes: 2 additions & 0 deletions api/api/cat.pending_tasks.js
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,8 @@ function buildCatPendingTasks (opts) {
headers: options.headers || null,
querystring: options.querystring || null,
compression: options.compression || false,
id: options.id || null,
context: options.context || null,
warnings
}

Expand Down
2 changes: 2 additions & 0 deletions api/api/cat.plugins.js
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,8 @@ function buildCatPlugins (opts) {
headers: options.headers || null,
querystring: options.querystring || null,
compression: options.compression || false,
id: options.id || null,
context: options.context || null,
warnings
}

Expand Down
2 changes: 2 additions & 0 deletions api/api/cat.recovery.js
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,8 @@ function buildCatRecovery (opts) {
headers: options.headers || null,
querystring: options.querystring || null,
compression: options.compression || false,
id: options.id || null,
context: options.context || null,
warnings
}

Expand Down
2 changes: 2 additions & 0 deletions api/api/cat.repositories.js
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,8 @@ function buildCatRepositories (opts) {
headers: options.headers || null,
querystring: options.querystring || null,
compression: options.compression || false,
id: options.id || null,
context: options.context || null,
warnings
}

Expand Down
2 changes: 2 additions & 0 deletions api/api/cat.segments.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,8 @@ function buildCatSegments (opts) {
headers: options.headers || null,
querystring: options.querystring || null,
compression: options.compression || false,
id: options.id || null,
context: options.context || null,
warnings
}

Expand Down
2 changes: 2 additions & 0 deletions api/api/cat.shards.js
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,8 @@ function buildCatShards (opts) {
headers: options.headers || null,
querystring: options.querystring || null,
compression: options.compression || false,
id: options.id || null,
context: options.context || null,
warnings
}

Expand Down
2 changes: 2 additions & 0 deletions api/api/cat.snapshots.js
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,8 @@ function buildCatSnapshots (opts) {
headers: options.headers || null,
querystring: options.querystring || null,
compression: options.compression || false,
id: options.id || null,
context: options.context || null,
warnings
}

Expand Down
2 changes: 2 additions & 0 deletions api/api/cat.tasks.js
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,8 @@ function buildCatTasks (opts) {
headers: options.headers || null,
querystring: options.querystring || null,
compression: options.compression || false,
id: options.id || null,
context: options.context || null,
warnings
}

Expand Down
2 changes: 2 additions & 0 deletions api/api/cat.templates.js
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,8 @@ function buildCatTemplates (opts) {
headers: options.headers || null,
querystring: options.querystring || null,
compression: options.compression || false,
id: options.id || null,
context: options.context || null,
warnings
}

Expand Down
2 changes: 2 additions & 0 deletions api/api/cat.thread_pool.js
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,8 @@ function buildCatThreadPool (opts) {
headers: options.headers || null,
querystring: options.querystring || null,
compression: options.compression || false,
id: options.id || null,
context: options.context || null,
warnings
}

Expand Down
2 changes: 2 additions & 0 deletions api/api/ccr.delete_auto_follow_pattern.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,8 @@ function buildCcrDeleteAutoFollowPattern (opts) {
headers: options.headers || null,
querystring: options.querystring || null,
compression: options.compression || false,
id: options.id || null,
context: options.context || null,
warnings
}

Expand Down
2 changes: 2 additions & 0 deletions api/api/ccr.follow.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,8 @@ function buildCcrFollow (opts) {
headers: options.headers || null,
querystring: options.querystring || null,
compression: options.compression || false,
id: options.id || null,
context: options.context || null,
warnings
}

Expand Down
2 changes: 2 additions & 0 deletions api/api/ccr.follow_info.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,8 @@ function buildCcrFollowInfo (opts) {
headers: options.headers || null,
querystring: options.querystring || null,
compression: options.compression || false,
id: options.id || null,
context: options.context || null,
warnings
}

Expand Down
2 changes: 2 additions & 0 deletions api/api/ccr.follow_stats.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,8 @@ function buildCcrFollowStats (opts) {
headers: options.headers || null,
querystring: options.querystring || null,
compression: options.compression || false,
id: options.id || null,
context: options.context || null,
warnings
}

Expand Down
2 changes: 2 additions & 0 deletions api/api/ccr.forget_follower.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,8 @@ function buildCcrForgetFollower (opts) {
headers: options.headers || null,
querystring: options.querystring || null,
compression: options.compression || false,
id: options.id || null,
context: options.context || null,
warnings
}

Expand Down
2 changes: 2 additions & 0 deletions api/api/ccr.get_auto_follow_pattern.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,8 @@ function buildCcrGetAutoFollowPattern (opts) {
headers: options.headers || null,
querystring: options.querystring || null,
compression: options.compression || false,
id: options.id || null,
context: options.context || null,
warnings
}

Expand Down
2 changes: 2 additions & 0 deletions api/api/ccr.pause_follow.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,8 @@ function buildCcrPauseFollow (opts) {
headers: options.headers || null,
querystring: options.querystring || null,
compression: options.compression || false,
id: options.id || null,
context: options.context || null,
warnings
}

Expand Down
2 changes: 2 additions & 0 deletions api/api/ccr.put_auto_follow_pattern.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,8 @@ function buildCcrPutAutoFollowPattern (opts) {
headers: options.headers || null,
querystring: options.querystring || null,
compression: options.compression || false,
id: options.id || null,
context: options.context || null,
warnings
}

Expand Down
2 changes: 2 additions & 0 deletions api/api/ccr.resume_follow.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,8 @@ function buildCcrResumeFollow (opts) {
headers: options.headers || null,
querystring: options.querystring || null,
compression: options.compression || false,
id: options.id || null,
context: options.context || null,
warnings
}

Expand Down
2 changes: 2 additions & 0 deletions api/api/ccr.stats.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,8 @@ function buildCcrStats (opts) {
headers: options.headers || null,
querystring: options.querystring || null,
compression: options.compression || false,
id: options.id || null,
context: options.context || null,
warnings
}

Expand Down
2 changes: 2 additions & 0 deletions api/api/ccr.unfollow.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,8 @@ function buildCcrUnfollow (opts) {
headers: options.headers || null,
querystring: options.querystring || null,
compression: options.compression || false,
id: options.id || null,
context: options.context || null,
warnings
}

Expand Down
2 changes: 2 additions & 0 deletions api/api/clear_scroll.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,8 @@ function buildClearScroll (opts) {
headers: options.headers || null,
querystring: options.querystring || null,
compression: options.compression || false,
id: options.id || null,
context: options.context || null,
warnings
}

Expand Down
2 changes: 2 additions & 0 deletions api/api/cluster.allocation_explain.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,8 @@ function buildClusterAllocationExplain (opts) {
headers: options.headers || null,
querystring: options.querystring || null,
compression: options.compression || false,
id: options.id || null,
context: options.context || null,
warnings
}

Expand Down
2 changes: 2 additions & 0 deletions api/api/cluster.get_settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,8 @@ function buildClusterGetSettings (opts) {
headers: options.headers || null,
querystring: options.querystring || null,
compression: options.compression || false,
id: options.id || null,
context: options.context || null,
warnings
}

Expand Down
2 changes: 2 additions & 0 deletions api/api/cluster.health.js
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,8 @@ function buildClusterHealth (opts) {
headers: options.headers || null,
querystring: options.querystring || null,
compression: options.compression || false,
id: options.id || null,
context: options.context || null,
warnings
}

Expand Down
2 changes: 2 additions & 0 deletions api/api/cluster.pending_tasks.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,8 @@ function buildClusterPendingTasks (opts) {
headers: options.headers || null,
querystring: options.querystring || null,
compression: options.compression || false,
id: options.id || null,
context: options.context || null,
warnings
}

Expand Down
2 changes: 2 additions & 0 deletions api/api/cluster.put_settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,8 @@ function buildClusterPutSettings (opts) {
headers: options.headers || null,
querystring: options.querystring || null,
compression: options.compression || false,
id: options.id || null,
context: options.context || null,
warnings
}

Expand Down
2 changes: 2 additions & 0 deletions api/api/cluster.remote_info.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,8 @@ function buildClusterRemoteInfo (opts) {
headers: options.headers || null,
querystring: options.querystring || null,
compression: options.compression || false,
id: options.id || null,
context: options.context || null,
warnings
}

Expand Down
2 changes: 2 additions & 0 deletions api/api/cluster.reroute.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,8 @@ function buildClusterReroute (opts) {
headers: options.headers || null,
querystring: options.querystring || null,
compression: options.compression || false,
id: options.id || null,
context: options.context || null,
warnings
}

Expand Down
2 changes: 2 additions & 0 deletions api/api/cluster.state.js
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,8 @@ function buildClusterState (opts) {
headers: options.headers || null,
querystring: options.querystring || null,
compression: options.compression || false,
id: options.id || null,
context: options.context || null,
warnings
}

Expand Down
2 changes: 2 additions & 0 deletions api/api/cluster.stats.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,8 @@ function buildClusterStats (opts) {
headers: options.headers || null,
querystring: options.querystring || null,
compression: options.compression || false,
id: options.id || null,
context: options.context || null,
warnings
}

Expand Down
2 changes: 2 additions & 0 deletions api/api/count.js
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,8 @@ function buildCount (opts) {
headers: options.headers || null,
querystring: options.querystring || null,
compression: options.compression || false,
id: options.id || null,
context: options.context || null,
warnings
}

Expand Down
2 changes: 2 additions & 0 deletions api/api/create.js
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,8 @@ function buildCreate (opts) {
headers: options.headers || null,
querystring: options.querystring || null,
compression: options.compression || false,
id: options.id || null,
context: options.context || null,
warnings
}

Expand Down
Loading