Commit 46e8d97
authored
Core: Remove RequestBuilder from Action (#30966)
This commit removes the RequestBuilder generic type from Action. It was
needed to be used by the newRequest method, which in turn was used by
client.prepareExecute. Both of these methods are now removed, along with
the existing users of prepareExecute constructing the appropriate
builder directly.1 parent 0f5e570 commit 46e8d97
File tree
318 files changed
+509
-1747
lines changed- client
- benchmark/src/main/java/org/elasticsearch/client/benchmark/transport
- client-benchmark-noop-api-plugin/src/main/java/org/elasticsearch/plugin/noop/action
- bulk
- search
- modules
- ingest-common/src/main/java/org/elasticsearch/ingest/common
- lang-mustache/src/main/java/org/elasticsearch/script/mustache
- lang-painless/src/main/java/org/elasticsearch/painless
- rank-eval/src/main/java/org/elasticsearch/index/rankeval
- reindex/src
- main/java/org/elasticsearch/index/reindex
- test/java/org/elasticsearch
- client/documentation
- index/reindex
- server/src
- main/java/org/elasticsearch
- action
- admin
- cluster
- allocation
- health
- node
- hotthreads
- info
- stats
- tasks
- cancel
- get
- list
- usage
- remote
- repositories
- delete
- get
- put
- verify
- reroute
- settings
- shards
- snapshots
- create
- delete
- get
- restore
- status
- state
- stats
- storedscripts
- tasks
- indices
- alias
- exists
- get
- analyze
- cache/clear
- close
- create
- delete
- exists
- indices
- types
- flush
- forcemerge
- get
- mapping
- get
- put
- open
- recovery
- refresh
- rollover
- segments
- settings
- get
- put
- shards
- shrink
- stats
- template
- delete
- get
- put
- upgrade
- get
- post
- validate/query
- bulk
- delete
- explain
- fieldcaps
- get
- index
- ingest
- main
- search
- support
- broadcast
- master
- info
- nodes
- replication
- single
- instance
- shard
- tasks
- termvectors
- update
- client
- node
- support
- transport
- index/reindex
- persistent
- transport
- test/java/org/elasticsearch
- action/admin/cluster/node/tasks
- client
- cluster
- persistent
- test/framework/src/main/java/org/elasticsearch/test
- client
- hamcrest
- x-pack
- plugin
- core/src/main/java/org/elasticsearch
- license
- xpack/core
- action
- deprecation
- graph/action
- ml/action
- monitoring/action
- rollup/action
- security/action
- realm
- rolemapping
- role
- saml
- token
- user
- ssl/action
- upgrade/actions
- watcher/transport/actions
- ack
- activate
- delete
- execute
- get
- put
- service
- stats
- ml/src/main/java/org/elasticsearch/xpack/ml/datafeed/extractor
- aggregation
- chunked
- scroll
- security/src
- main/java/org/elasticsearch/xpack/security/rest/action/oauth2
- test/java/org/elasticsearch/xpack/security
- action/saml
- audit/index
- authc/esnative
- support
- sql
- sql-proto/src/main/java/org/elasticsearch/xpack/sql/plugin
- src/test/java/org/elasticsearch/xpack/sql/action
- upgrade/src/test/java/org/elasticsearch/xpack/upgrade
- qa/reindex-tests-with-security/src/test/java/org/elasticsearch/xpack/security
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
318 files changed
+509
-1747
lines changedLines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
82 | | - | |
| 82 | + | |
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
| |||
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
111 | | - | |
| 111 | + | |
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
| |||
Lines changed: 1 addition & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
25 | 24 | | |
26 | | - | |
| 25 | + | |
27 | 26 | | |
28 | 27 | | |
29 | 28 | | |
| |||
32 | 31 | | |
33 | 32 | | |
34 | 33 | | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | 34 | | |
41 | 35 | | |
42 | 36 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
| 38 | + | |
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| |||
Lines changed: 1 addition & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
25 | 24 | | |
26 | | - | |
| 25 | + | |
27 | 26 | | |
28 | 27 | | |
29 | 28 | | |
30 | 29 | | |
31 | 30 | | |
32 | 31 | | |
33 | 32 | | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | 33 | | |
40 | 34 | | |
41 | 35 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
| 45 | + | |
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| |||
Lines changed: 2 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
56 | | - | |
| 55 | + | |
57 | 56 | | |
58 | 57 | | |
59 | 58 | | |
| |||
62 | 61 | | |
63 | 62 | | |
64 | 63 | | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | 64 | | |
71 | 65 | | |
72 | 66 | | |
| |||
79 | 73 | | |
80 | 74 | | |
81 | 75 | | |
82 | | - | |
| 76 | + | |
83 | 77 | | |
84 | 78 | | |
85 | 79 | | |
| |||
Lines changed: 1 addition & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
24 | 23 | | |
25 | | - | |
26 | | - | |
| 24 | + | |
27 | 25 | | |
28 | 26 | | |
29 | 27 | | |
| |||
36 | 34 | | |
37 | 35 | | |
38 | 36 | | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | 37 | | |
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| |||
Lines changed: 1 addition & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
24 | 23 | | |
25 | | - | |
| 24 | + | |
26 | 25 | | |
27 | 26 | | |
28 | 27 | | |
| |||
31 | 30 | | |
32 | 31 | | |
33 | 32 | | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | 33 | | |
40 | 34 | | |
41 | 35 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| |||
0 commit comments