Skip to content

Previous commits removed parent_node which needs to be obsoleted for … #3396

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 10, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"tasks.cancel": {
"url": {
"params": {
"parent_node": {
"type": "string",
"description": "Cancel tasks with specified parent node.",
"obsolete": "Removed in 6.3.0 from the server see https://github.com/elastic/elasticsearch/pull/28841"
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -1978,6 +1978,9 @@ public partial class CancelTasksRequestParameters : RequestParameters<CancelTask
public string[] Actions { get => Q<string[]>("actions"); set => Q("actions", value); }
///<summary>Cancel tasks with specified parent task id (node_id:task_number). Set to -1 to cancel all.</summary>
public string ParentTaskId { get => Q<string>("parent_task_id"); set => Q("parent_task_id", value); }
///<summary>Cancel tasks with specified parent node.</summary>
[Obsolete("Scheduled to be removed in 7.0, Removed in 6.3.0 from the server see https://github.com/elastic/elasticsearch/pull/28841")]
public string ParentNode { get => Q<string>("parent_node"); set => Q("parent_node", value); }
}
///<summary>Request options for TasksGet<pre>http://www.elastic.co/guide/en/elasticsearch/reference/master/tasks.html</pre></summary>
public partial class GetTaskRequestParameters : RequestParameters<GetTaskRequestParameters>
Expand Down
3 changes: 3 additions & 0 deletions src/Nest/_Generated/_Descriptors.generated.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3510,6 +3510,9 @@ public CancelTasksDescriptor() : base(){}
public CancelTasksDescriptor Actions(params string[] actions) => Qs("actions", actions);
///<summary>Cancel tasks with specified parent task id (node_id:task_number). Set to -1 to cancel all.</summary>
public CancelTasksDescriptor ParentTaskId(string parentTaskId) => Qs("parent_task_id", parentTaskId);
///<summary>Cancel tasks with specified parent node.</summary>
[Obsolete("Scheduled to be removed in 7.0, Removed in 6.3.0 from the server see https://github.com/elastic/elasticsearch/pull/28841")]
public CancelTasksDescriptor ParentNode(string parentNode) => Qs("parent_node", parentNode);
}
///<summary>descriptor for TasksGet <pre>http://www.elastic.co/guide/en/elasticsearch/reference/master/tasks.html</pre></summary>
public partial class GetTaskDescriptor : RequestDescriptorBase<GetTaskDescriptor,GetTaskRequestParameters, IGetTaskRequest>, IGetTaskRequest
Expand Down
3 changes: 3 additions & 0 deletions src/Nest/_Generated/_Requests.generated.cs
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,9 @@ public CancelTasksRequest(TaskId task_id) : base(r=>r.Optional("task_id", task_i
public string[] Actions { get => Q<string[]>("actions"); set => Q("actions", value); }
///<summary>Cancel tasks with specified parent task id (node_id:task_number). Set to -1 to cancel all.</summary>
public string ParentTaskId { get => Q<string>("parent_task_id"); set => Q("parent_task_id", value); }
///<summary>Cancel tasks with specified parent node.</summary>
[Obsolete("Scheduled to be removed in 7.0, Removed in 6.3.0 from the server see https://github.com/elastic/elasticsearch/pull/28841")]
public string ParentNode { get => Q<string>("parent_node"); set => Q("parent_node", value); }
}
[JsonObject(MemberSerialization = MemberSerialization.OptIn)]
public partial interface ICatAliasesRequest : IRequest<CatAliasesRequestParameters>
Expand Down