Skip to content

Commit 7881ea2

Browse files
authored
Add missing timeouts to rest-api-spec shutdown APIs (#118921) (#119737)
1 parent 6e43ae4 commit 7881ea2

File tree

3 files changed

+25
-2
lines changed

3 files changed

+25
-2
lines changed

docs/changelog/118921.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
pr: 118921
2+
summary: Add missing timeouts to rest-api-spec shutdown APIs
3+
area: Infra/Node Lifecycle
4+
type: bug
5+
issues: []

rest-api-spec/src/main/resources/rest-api-spec/api/shutdown.delete_node.json

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,15 @@
2626
}
2727
]
2828
},
29-
"params":{}
29+
"params":{
30+
"master_timeout":{
31+
"type":"time",
32+
"description":"Explicit operation timeout for connection to master node"
33+
},
34+
"timeout":{
35+
"type":"time",
36+
"description":"Explicit operation timeout"
37+
}
38+
}
3039
}
3140
}

rest-api-spec/src/main/resources/rest-api-spec/api/shutdown.put_node.json

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,16 @@
2626
}
2727
]
2828
},
29-
"params":{},
29+
"params":{
30+
"master_timeout":{
31+
"type":"time",
32+
"description":"Explicit operation timeout for connection to master node"
33+
},
34+
"timeout":{
35+
"type":"time",
36+
"description":"Explicit operation timeout"
37+
}
38+
},
3039
"body":{
3140
"description":"The shutdown type definition to register",
3241
"required": true

0 commit comments

Comments
 (0)