Skip to content

Commit

Permalink
Add missing timeouts to rest-api-spec ILM APIs (elastic#118837) (elas…
Browse files Browse the repository at this point in the history
  • Loading branch information
pquentin authored Dec 18, 2024
1 parent d6f3d7a commit 414e291
Show file tree
Hide file tree
Showing 7 changed files with 59 additions and 5 deletions.
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: "ILM+SLM"
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"
}
}
}
}

0 comments on commit 414e291

Please sign in to comment.