Commit 39c53b1
committed
2.3 new API's feature parity
This commit adds support for the new 2.3 API's:
* tasks_list
* tasks_cancel
* update_by_query
* reindex
The spec changes have also been updated in core upstream.
The Reindex API is called `ReindexOnServer()` to offset it against our
current `Reindex()` implementation which is still very useful.
Both the reindex and update_by_query steal the status code from one of
the failures and return a valid json body that we need to deserialize.
To support this this AllowedStatusCodes now accepts a -1.
.IsValid for these API's inspects whether any failures have been
returned or not.1 parent f0a71c4 commit 39c53b1
File tree
52 files changed
+2056
-1005
lines changed- src
- CodeGeneration/CodeGeneration.LowLevelClient
- ApiEndpoints
- Domain
- Overrides/Descriptors
- Elasticsearch.Net
- Domain/RequestParameters
- Responses
- Serialization
- Nest
- Cat/CatNodeAttributes
- Cluster/TaskManagement
- TasksCancel
- TasksList
- CommonAbstractions
- Infer/TaskId
- Request
- CommonOptions/Failures
- Document/Multiple
- ReindexOnServer
- Reindex
- UpdateByQuery
- _Generated
- Tests
- Cluster/TaskManagement
- TasksCancel
- TasksList
- Document/Multiple
- ReindexOnServer
- UpdateByQuery
- Framework/Extensions
- Mapping/Types/Core/Number
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
52 files changed
+2056
-1005
lines changedLines changed: 132 additions & 672 deletions
Large diffs are not rendered by default.
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
| 71 | + | |
71 | 72 | | |
72 | 73 | | |
73 | 74 | | |
| |||
Lines changed: 5 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
22 | 23 | | |
23 | | - | |
24 | | - | |
| 24 | + | |
| 25 | + | |
25 | 26 | | |
26 | 27 | | |
27 | 28 | | |
| |||
36 | 37 | | |
37 | 38 | | |
38 | 39 | | |
39 | | - | |
| 40 | + | |
40 | 41 | | |
41 | 42 | | |
42 | 43 | | |
| |||
49 | 50 | | |
50 | 51 | | |
51 | 52 | | |
52 | | - | |
| 53 | + | |
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| 33 | + | |
33 | 34 | | |
34 | 35 | | |
35 | 36 | | |
| |||
47 | 48 | | |
48 | 49 | | |
49 | 50 | | |
50 | | - | |
| 51 | + | |
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
120 | 120 | | |
121 | 121 | | |
122 | 122 | | |
123 | | - | |
| 123 | + | |
124 | 124 | | |
125 | 125 | | |
126 | 126 | | |
| |||
Lines changed: 16 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
Lines changed: 9 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3545 | 3545 | | |
3546 | 3546 | | |
3547 | 3547 | | |
3548 | | - | |
| 3548 | + | |
3549 | 3549 | | |
3550 | 3550 | | |
3551 | 3551 | | |
3552 | 3552 | | |
3553 | | - | |
| 3553 | + | |
3554 | 3554 | | |
3555 | 3555 | | |
3556 | 3556 | | |
3557 | | - | |
| 3557 | + | |
3558 | 3558 | | |
3559 | 3559 | | |
3560 | 3560 | | |
3561 | | - | |
| 3561 | + | |
3562 | 3562 | | |
3563 | 3563 | | |
3564 | 3564 | | |
3565 | | - | |
3566 | | - | |
3567 | | - | |
3568 | | - | |
3569 | | - | |
| 3565 | + | |
3570 | 3566 | | |
3571 | 3567 | | |
3572 | 3568 | | |
3573 | | - | |
| 3569 | + | |
3574 | 3570 | | |
3575 | 3571 | | |
3576 | 3572 | | |
| |||
4144 | 4140 | | |
4145 | 4141 | | |
4146 | 4142 | | |
4147 | | - | |
| 4143 | + | |
4148 | 4144 | | |
4149 | 4145 | | |
4150 | 4146 | | |
| |||
4182 | 4178 | | |
4183 | 4179 | | |
4184 | 4180 | | |
4185 | | - | |
| 4181 | + | |
4186 | 4182 | | |
4187 | 4183 | | |
4188 | 4184 | | |
| |||
4504 | 4500 | | |
4505 | 4501 | | |
4506 | 4502 | | |
4507 | | - | |
| 4503 | + | |
4508 | 4504 | | |
4509 | 4505 | | |
4510 | 4506 | | |
| |||
0 commit comments