Commit 8a5a2fe
authored
Remove high level to low level dispatch (#3658)
High level client now directly calls into DoRequest and no longer calls its equivalent low level method
* remove _LowLevelDispatch.generated.cs
* renamed temp names for methods to DoRequest(Async)
* LowLevelDispatch no longer part of code generation
* Requests now responsible for building urls, came up with a decent first attempt at cached builders
* fixed test failures mainly to do with _all no no longer magically be rewritten
* IndexRequest is an odd one it needs a reference to a resolved id in order to determine the right HttpMethod
Made this explicit through ResolvedRouteValues but not too keen to keep this around.
ConnectionSettings small refactor, now exposes Id to uniquely identify the instanceFile tree
280 files changed
+3468
-9867
lines changed- src
- CodeGeneration/ApiGenerator
- Views
- Elasticsearch.Net
- Configuration
- Serialization
- Nest
- Cat
- CatAliases
- CatAllocation
- CatCount
- CatFielddata
- CatHealth
- CatHelp
- CatIndices
- CatMaster
- CatNodeAttributes
- CatNodes
- CatPendingTasks
- CatPlugins
- CatRecovery
- CatRepositories
- CatSegments
- CatShards
- CatSnapshots
- CatTasks
- CatTemplates
- CatThreadPool
- Cluster
- ClusterAllocationExplain
- ClusterHealth
- ClusterPendingTasks
- ClusterReroute
- ClusterSettings
- ClusterGetSettings
- ClusterPutSettings
- ClusterState
- ClusterStats
- NodesHotThreads
- NodesInfo
- NodesStats
- NodesUsage
- Ping
- ReloadSecureSettings
- RemoteInfo
- RootNodeInfo
- TaskManagement
- CancelTasks
- GetTask
- ListTasks
- CommonAbstractions
- ConnectionSettings
- Extensions
- Infer/RelationName
- LowLevelDispatch
- Request
- Document
- Multiple
- Bulk
- DeleteByQueryRethrottle
- DeleteByQuery
- MultiGet
- MultiTermVectors
- ReindexOnServer
- ReindexRethrottle
- UpdateByQueryRethrottle
- UpdateByQuery
- Single
- Create
- Delete
- Exists
- Get
- Index
- SourceExists
- Source
- TermVectors
- Update
- Indices
- AliasManagement
- AliasExists
- Alias
- DeleteAlias
- GetAlias
- PutAlias
- Analyze
- IndexManagement
- CreateIndex
- DeleteIndex
- GetIndex
- IndicesExists
- OpenCloseIndex
- CloseIndex
- OpenIndex
- RolloverIndex
- ShrinkIndex
- SplitIndex
- TypesExists
- IndexSettings
- GetIndexSettings
- IndexTemplates
- DeleteIndexTemplate
- GetIndexTemplate
- IndexTemplateExists
- PutIndexTemplate
- UpdateIndexSettings
- MappingManagement
- GetFieldMapping
- GetMapping
- PutMapping
- Monitoring
- IndicesRecovery
- IndicesSegments
- IndicesShardStores
- IndicesStats
- StatusManagement
- ClearCache
- Flush
- ForceMerge
- Refresh
- SyncedFlush
- Upgrade
- UpgradeStatus
- Ingest
- DeletePipeline
- GetPipeline
- Processor
- PutPipeline
- SimulatePipeline
- Modules
- Scripting
- DeleteScript
- ExecutePainlessScript
- GetScript
- PutScript
- SnapshotAndRestore
- Repositories
- CreateRepository
- DeleteRepository
- GetRepository
- VerifyRepository
- Restore
- Snapshot
- DeleteSnapshot
- GetSapshot
- SnapshotStatus
- Snapshot
- Search
- Count
- Explain
- FieldCapabilities
- MultiSearchTemplate
- MultiSearch
- Scroll
- ClearScroll
- Scroll
- SearchShards
- SearchTemplate
- RenderSearchTemplate
- Search
- Validate
- XPack
- CrossClusterReplication
- AutoFollow
- CreateAutoFollowPattern
- DeleteAutoFollowPattern
- GetAutoFollowPattern
- Follow
- CreateFollowIndex
- FollowIndexStats
- PauseFollowIndex
- ResumeFollowIndex
- UnfollowIndex
- Stats
- Graph/Explore
- Info
- XPackInfo
- XPackUsage
- License
- DeleteLicense
- GetBasicLicenseStatus
- GetLicense
- GetTrialLicenseStatus
- PostLicense
- StartBasicLicense
- StartTrialLicense
- MachineLearning
- CloseJob
- DeleteCalendarEvent
- DeleteCalendarJob
- DeleteCalendar
- DeleteDatafeed
- DeleteExpiredData
- DeleteForecast
- DeleteJob
- DeleteModelSnapshot
- FlushJob
- ForecastJob
- GetAnomalyRecords
- GetBuckets
- GetCalendarEvents
- GetCalendars
- GetCategories
- GetDatafeedStats
- GetDatafeeds
- GetInfluencers
- GetJobStats
- GetJobs
- GetModelSnapshots
- GetOverallBuckets
- MachineLearningInfo
- OpenJob
- PostCalendarEvents
- PostJobData
- PreviewDatafeed
- PutCalendarJob
- PutCalendar
- PutDatafeed
- PutJob
- RevertModelSnapshot
- StartDatafeed
- StopDatafeed
- UpdateDataFeed
- UpdateJob
- UpdateModelSnapshot
- ValidateDetector
- ValidateJob
- Migration
- DeprecationInfo
- MigrationAssistance
- MigrationUpgrade
- RollUp
- CreateRollupJob
- DeleteRollupJob
- GetRollupCapabilities
- GetRollupIndexCapabilities
- GetRollupJob
- RollupSearch
- StartRollupJob
- StopRollupJob
- Security
- Authenticate
- ClearCachedRealms
- Privileges
- DeletePrivileges
- GetPrivileges
- GetUserPrivileges
- HasPrivileges
- PutPrivileges
- RoleMapping
- DeleteRoleMapping
- GetRoleMapping
- PutRoleMapping
- Role
- ClearCachedRoles
- DeleteRole
- GetRole
- PutRole
- User
- ChangePassword
- DeleteUser
- DisableUser
- EnableUser
- GetUserAccessToken
- GetUser
- InvalidateUserAccessToken
- PutUser
- Sql
- ClearSqlCursor
- QuerySql
- TranslateSql
- Ssl/GetCertificates
- Watcher
- AcknowledgeWatch
- ActivateWatch
- DeactivateWatch
- DeleteWatch
- ExecuteWatch
- GetWatch
- PutWatch
- StartWatcher
- StopWatcher
- WatcherStats
- _Generated
- Tests
- Tests.Configuration
- Tests.Reproduce
- Tests
- ClientConcepts/Troubleshooting
- Cluster/ClusterSettings/ClusterGetSettings
- Document/Single/Get
- Indices
- IndexSettings
- GetIndexSettings
- UpdateIndicesSettings
- Monitoring
- IndicesRecovery
- IndicesSegments
- IndicesStats
- StatusManagement
- ClearCache
- Flush
- ForceMerge
- Refresh
- SyncedFlush
- Upgrade
- Search
- Count
- SearchShards
- SearchTemplate
- Search
- Validate
- XPack/Watcher/WatcherStats
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
280 files changed
+3468
-9867
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | 7 | | |
9 | 8 | | |
10 | 9 | | |
| |||
31 | 30 | | |
32 | 31 | | |
33 | 32 | | |
34 | | - | |
35 | 33 | | |
36 | 34 | | |
37 | 35 | | |
| |||
195 | 193 | | |
196 | 194 | | |
197 | 195 | | |
198 | | - | |
199 | | - | |
200 | | - | |
201 | | - | |
202 | | - | |
203 | | - | |
204 | | - | |
205 | | - | |
206 | 196 | | |
207 | 197 | | |
208 | 198 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| 40 | + | |
40 | 41 | | |
41 | 42 | | |
42 | 43 | | |
| |||
Lines changed: 0 additions & 117 deletions
This file was deleted.
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
| 79 | + | |
| 80 | + | |
79 | 81 | | |
80 | 82 | | |
81 | 83 | | |
| |||
Lines changed: 28 additions & 70 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
67 | | - | |
68 | 67 | | |
69 | | - | |
70 | 68 | | |
71 | | - | |
72 | 69 | | |
73 | 70 | | |
74 | | - | |
| 71 | + | |
| 72 | + | |
75 | 73 | | |
76 | | - | |
77 | 74 | | |
78 | 75 | | |
79 | | - | |
80 | 76 | | |
81 | | - | |
82 | 77 | | |
83 | | - | |
84 | 78 | | |
85 | | - | |
86 | 79 | | |
87 | | - | |
88 | 80 | | |
89 | | - | |
90 | 81 | | |
91 | | - | |
92 | 82 | | |
93 | | - | |
94 | 83 | | |
95 | | - | |
96 | 84 | | |
97 | | - | |
98 | 85 | | |
99 | | - | |
100 | 86 | | |
101 | | - | |
102 | 87 | | |
103 | | - | |
104 | 88 | | |
105 | 89 | | |
106 | | - | |
107 | 90 | | |
108 | | - | |
109 | 91 | | |
110 | | - | |
111 | 92 | | |
112 | | - | |
113 | 93 | | |
114 | | - | |
115 | 94 | | |
116 | | - | |
117 | 95 | | |
118 | | - | |
119 | 96 | | |
120 | | - | |
121 | 97 | | |
122 | | - | |
123 | 98 | | |
124 | | - | |
125 | 99 | | |
126 | | - | |
127 | 100 | | |
128 | | - | |
129 | 101 | | |
130 | | - | |
131 | | - | |
| 102 | + | |
132 | 103 | | |
133 | 104 | | |
134 | 105 | | |
| |||
147 | 118 | | |
148 | 119 | | |
149 | 120 | | |
| 121 | + | |
150 | 122 | | |
151 | 123 | | |
152 | 124 | | |
| |||
205 | 177 | | |
206 | 178 | | |
207 | 179 | | |
208 | | - | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
209 | 183 | | |
210 | | - | |
211 | | - | |
212 | | - | |
| 184 | + | |
213 | 185 | | |
214 | 186 | | |
215 | 187 | | |
| |||
225 | 197 | | |
226 | 198 | | |
227 | 199 | | |
228 | | - | |
229 | | - | |
230 | | - | |
| 200 | + | |
231 | 201 | | |
232 | 202 | | |
233 | 203 | | |
| |||
341 | 311 | | |
342 | 312 | | |
343 | 313 | | |
344 | | - | |
345 | | - | |
346 | | - | |
347 | | - | |
348 | | - | |
349 | | - | |
350 | | - | |
351 | | - | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
352 | 318 | | |
353 | 319 | | |
354 | 320 | | |
| |||
422 | 388 | | |
423 | 389 | | |
424 | 390 | | |
425 | | - | |
426 | | - | |
427 | | - | |
428 | | - | |
429 | | - | |
430 | | - | |
431 | | - | |
| 391 | + | |
432 | 392 | | |
433 | 393 | | |
434 | 394 | | |
| |||
440 | 400 | | |
441 | 401 | | |
442 | 402 | | |
443 | | - | |
444 | | - | |
445 | | - | |
446 | | - | |
447 | | - | |
448 | | - | |
449 | | - | |
450 | | - | |
451 | | - | |
452 | | - | |
453 | | - | |
454 | | - | |
455 | | - | |
456 | | - | |
457 | | - | |
458 | | - | |
| 403 | + | |
| 404 | + | |
| 405 | + | |
| 406 | + | |
| 407 | + | |
| 408 | + | |
| 409 | + | |
| 410 | + | |
| 411 | + | |
| 412 | + | |
| 413 | + | |
| 414 | + | |
| 415 | + | |
| 416 | + | |
459 | 417 | | |
460 | 418 | | |
461 | 419 | | |
| |||
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
12 | 16 | | |
13 | 17 | | |
14 | 18 | | |
| |||
Lines changed: 0 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | 29 | | |
36 | 30 | | |
37 | 31 | | |
| |||
0 commit comments