Skip to content

Commit cab0888

Browse files
authored
[8.x] Add missing timeouts to rest-api-spec SLM APIs (#118958) (#119447)
* Add missing timeouts to rest-api-spec SLM APIs (#118958) (cherry picked from commit ad1938d) * Update docs/changelog/119447.yaml
1 parent b499ff7 commit cab0888

File tree

9 files changed

+80
-7
lines changed

9 files changed

+80
-7
lines changed

docs/changelog/118958.yaml

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

docs/changelog/119447.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
pr: 119447
2+
summary: "[8.x] Add missing timeouts to rest-api-spec SLM APIs"
3+
area: ILM+SLM
4+
type: bug
5+
issues: []

rest-api-spec/src/main/resources/rest-api-spec/api/slm.delete_lifecycle.json

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

rest-api-spec/src/main/resources/rest-api-spec/api/slm.execute_lifecycle.json

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

rest-api-spec/src/main/resources/rest-api-spec/api/slm.execute_retention.json

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,15 @@
1919
}
2020
]
2121
},
22-
"params":{}
22+
"params":{
23+
"master_timeout":{
24+
"type":"time",
25+
"description":"Explicit operation timeout for connection to master node"
26+
},
27+
"timeout":{
28+
"type":"time",
29+
"description":"Explicit operation timeout"
30+
}
31+
}
2332
}
2433
}

rest-api-spec/src/main/resources/rest-api-spec/api/slm.get_lifecycle.json

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,15 @@
3131
}
3232
]
3333
},
34-
"params":{}
34+
"params":{
35+
"master_timeout":{
36+
"type":"time",
37+
"description":"Explicit operation timeout for connection to master node"
38+
},
39+
"timeout":{
40+
"type":"time",
41+
"description":"Explicit operation timeout"
42+
}
43+
}
3544
}
3645
}

rest-api-spec/src/main/resources/rest-api-spec/api/slm.get_stats.json

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,15 @@
1919
}
2020
]
2121
},
22-
"params":{}
22+
"params":{
23+
"master_timeout":{
24+
"type":"time",
25+
"description":"Explicit operation timeout for connection to master node"
26+
},
27+
"timeout":{
28+
"type":"time",
29+
"description":"Explicit operation timeout"
30+
}
31+
}
2332
}
2433
}

rest-api-spec/src/main/resources/rest-api-spec/api/slm.get_status.json

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,15 @@
1919
}
2020
]
2121
},
22-
"params":{}
22+
"params":{
23+
"master_timeout":{
24+
"type":"time",
25+
"description":"Explicit operation timeout for connection to master node"
26+
},
27+
"timeout":{
28+
"type":"time",
29+
"description":"Explicit operation timeout"
30+
}
31+
}
2332
}
2433
}

rest-api-spec/src/main/resources/rest-api-spec/api/slm.put_lifecycle.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 snapshot lifecycle policy definition to register"
3241
}

0 commit comments

Comments
 (0)