Skip to content
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

Add missing timeouts to rest-api-spec ILM APIs #118837

Merged
merged 6 commits into from
Dec 18, 2024
Merged
Show file tree
Hide file tree
Changes from 5 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
5 changes: 5 additions & 0 deletions docs/changelog/118837.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
pr: 118837
summary: Add missing timeouts to rest-api-spec ILM APIs
area: "Cluster Coordination"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense to me but these omissions pre-date #109112 and definitely belong to ILM rather than Cluster Coordination

type: bug
issues: []
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,15 @@
}
]
},
"params":{}
"params":{
"master_timeout":{
"type":"time",
"description":"Explicit operation timeout for connection to master node"
},
"timeout":{
"type":"time",
"description":"Explicit operation timeout"
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@
"only_errors": {
"type": "boolean",
"description": "filters the indices included in the response to ones in an ILM error state, implies only_managed"
},
"master_timeout":{
"type":"time",
"description":"Explicit operation timeout for connection to master node"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,15 @@
}
]
},
"params":{}
"params":{
"master_timeout":{
"type":"time",
"description":"Explicit operation timeout for connection to master node"
},
"timeout":{
"type":"time",
"description":"Explicit operation timeout"
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,16 @@
}
]
},
"params":{},
"params":{
"master_timeout":{
"type":"time",
"description":"Explicit operation timeout for connection to master node"
},
"timeout":{
"type":"time",
"description":"Explicit operation timeout"
}
},
"body":{
"description":"The lifecycle policy definition to register"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,15 @@
}
]
},
"params":{}
"params":{
"master_timeout":{
"type":"time",
"description":"Explicit operation timeout for connection to master node"
},
"timeout":{
"type":"time",
"description":"Explicit operation timeout"
}
}
}
}
11 changes: 10 additions & 1 deletion rest-api-spec/src/main/resources/rest-api-spec/api/ilm.stop.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,15 @@
}
]
},
"params":{}
"params":{
"master_timeout":{
"type":"time",
"description":"Explicit operation timeout for connection to master node"
},
"timeout":{
"type":"time",
"description":"Explicit operation timeout"
}
}
}
}