Skip to content

Commit

Permalink
Re-generate cluster namespace (part 2) (#385)
Browse files Browse the repository at this point in the history
* Re-generate `cluster.post_voting_config_exclusions`

Signed-off-by: Thomas Farr <tsfarr@amazon.com>

* Re-generate `cluster.put_settings`

Signed-off-by: Thomas Farr <tsfarr@amazon.com>

* Re-generate `cluster.remote_info`

Signed-off-by: Thomas Farr <tsfarr@amazon.com>

* Re-generate `cluster.reroute`

Signed-off-by: Thomas Farr <tsfarr@amazon.com>

* Re-generate `cluster.state`

Signed-off-by: Thomas Farr <tsfarr@amazon.com>

* Re-generate `cluster.stats`

Signed-off-by: Thomas Farr <tsfarr@amazon.com>

* Generate missing cluster weighted routing & decommission awareness operations

Signed-off-by: Thomas Farr <tsfarr@amazon.com>

---------

Signed-off-by: Thomas Farr <tsfarr@amazon.com>
  • Loading branch information
Xtansia committed Nov 22, 2023
1 parent dc8612c commit e9cc758
Show file tree
Hide file tree
Showing 15 changed files with 1,682 additions and 1,300 deletions.
9 changes: 1 addition & 8 deletions src/ApiGenerator/Configuration/CodeConfiguration.cs
Original file line number Diff line number Diff line change
Expand Up @@ -42,14 +42,7 @@ public static class CodeConfiguration
new("{create,delete}_pit"),
new("{delete,get}_all_pits"),

new("cluster.allocation_explain"),
new("cluster.delete_voting_config_exclusions"),
new("cluster.get_settings"),
new("cluster.health"),
new("cluster.pending_tasks"),

new("cluster.*_component_template"),

new("cluster.*"),
new("dangling_indices.*"),

new("indices.{delete,exists,get,put}_index_template"),
Expand Down
6 changes: 0 additions & 6 deletions src/OpenSearch.Client/ApiUrlsLookup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -70,12 +70,6 @@ internal static partial class ApiUrlsLookups
internal static ApiUrls CatTemplates = new ApiUrls(new[]{"_cat/templates", "_cat/templates/{name}"});
internal static ApiUrls CatThreadPool = new ApiUrls(new[]{"_cat/thread_pool", "_cat/thread_pool/{thread_pool_patterns}"});
internal static ApiUrls NoNamespaceClearScroll = new ApiUrls(new[]{"_search/scroll"});
internal static ApiUrls ClusterPostVotingConfigExclusions = new ApiUrls(new[]{"_cluster/voting_config_exclusions"});
internal static ApiUrls ClusterPutSettings = new ApiUrls(new[]{"_cluster/settings"});
internal static ApiUrls ClusterRemoteInfo = new ApiUrls(new[]{"_remote/info"});
internal static ApiUrls ClusterReroute = new ApiUrls(new[]{"_cluster/reroute"});
internal static ApiUrls ClusterState = new ApiUrls(new[]{"_cluster/state", "_cluster/state/{metric}", "_cluster/state/{metric}/{index}"});
internal static ApiUrls ClusterStats = new ApiUrls(new[]{"_cluster/stats", "_cluster/stats/nodes/{node_id}"});
internal static ApiUrls NoNamespaceCount = new ApiUrls(new[]{"_count", "{index}/_count"});
internal static ApiUrls NoNamespaceCreate = new ApiUrls(new[]{"{index}/_create/{id}"});
internal static ApiUrls NoNamespaceDelete = new ApiUrls(new[]{"{index}/_doc/{id}"});
Expand Down
206 changes: 0 additions & 206 deletions src/OpenSearch.Client/Descriptors.Cluster.cs

This file was deleted.

Loading

0 comments on commit e9cc758

Please sign in to comment.