Skip to content

Commit 8334077

Browse files
authored
Add missing timeouts to rest-api-spec ingest APIs (#118844) (#131617)
(cherry picked from commit 2ceade4)
1 parent bf20bbd commit 8334077

File tree

5 files changed

+37
-0
lines changed

5 files changed

+37
-0
lines changed

docs/changelog/118844.yaml

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

rest-api-spec/src/main/resources/rest-api-spec/api/ingest.delete_geoip_database.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,14 @@
2626
]
2727
},
2828
"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+
}
2937
}
3038
}
3139
}

rest-api-spec/src/main/resources/rest-api-spec/api/ingest.delete_ip_location_database.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,14 @@
2626
]
2727
},
2828
"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+
}
2937
}
3038
}
3139
}

rest-api-spec/src/main/resources/rest-api-spec/api/ingest.put_geoip_database.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,14 @@
2727
]
2828
},
2929
"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+
}
3038
},
3139
"body":{
3240
"description":"The database configuration definition",

rest-api-spec/src/main/resources/rest-api-spec/api/ingest.put_ip_location_database.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,14 @@
2727
]
2828
},
2929
"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+
}
3038
},
3139
"body":{
3240
"description":"The database configuration definition",

0 commit comments

Comments
 (0)