Skip to content

Commit

Permalink
CASMTRIAGE-7147: Add BOS v2 max_component_batch_size option
Browse files Browse the repository at this point in the history
(cherry picked from commit 156d01e)
  • Loading branch information
mharding-hpe committed Jul 23, 2024
1 parent 3d62909 commit a937638
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 0 deletions.
6 changes: 6 additions & 0 deletions cray/modules/bos/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1211,6 +1211,12 @@ components:
type: integer
description: The default maximum number attempts per node for failed actions.
example: 1
max_component_batch_size:
type: integer
description: The maximum number of components that a BOS operator will process at once. 0 means no limit.
example: 1000
minimum: 0
maximum: 131071
additionalProperties: true
requestBodies:
V2sessionCreateRequest:
Expand Down
42 changes: 42 additions & 0 deletions cray/modules/bos/swagger3.json
Original file line number Diff line number Diff line change
Expand Up @@ -2626,6 +2626,13 @@
"type": "integer",
"description": "The default maximum number attempts per node for failed actions.",
"example": 1
},
"max_component_batch_size": {
"type": "integer",
"description": "The maximum number of components that a BOS operator will process at once. 0 means no limit.",
"example": 1000,
"minimum": 0,
"maximum": 131071
}
},
"additionalProperties": true
Expand Down Expand Up @@ -3633,6 +3640,13 @@
"type": "integer",
"description": "The default maximum number attempts per node for failed actions.",
"example": 1
},
"max_component_batch_size": {
"type": "integer",
"description": "The maximum number of components that a BOS operator will process at once. 0 means no limit.",
"example": 1000,
"minimum": 0,
"maximum": 131071
}
},
"additionalProperties": true
Expand Down Expand Up @@ -5161,6 +5175,13 @@
"type": "integer",
"description": "The default maximum number attempts per node for failed actions.",
"example": 1
},
"max_component_batch_size": {
"type": "integer",
"description": "The maximum number of components that a BOS operator will process at once. 0 means no limit.",
"example": 1000,
"minimum": 0,
"maximum": 131071
}
},
"additionalProperties": true
Expand Down Expand Up @@ -14630,6 +14651,13 @@
"type": "integer",
"description": "The default maximum number attempts per node for failed actions.",
"example": 1
},
"max_component_batch_size": {
"type": "integer",
"description": "The maximum number of components that a BOS operator will process at once. 0 means no limit.",
"example": 1000,
"minimum": 0,
"maximum": 131071
}
},
"additionalProperties": true
Expand Down Expand Up @@ -14701,6 +14729,13 @@
"type": "integer",
"description": "The default maximum number attempts per node for failed actions.",
"example": 1
},
"max_component_batch_size": {
"type": "integer",
"description": "The maximum number of components that a BOS operator will process at once. 0 means no limit.",
"example": 1000,
"minimum": 0,
"maximum": 131071
}
},
"additionalProperties": true
Expand Down Expand Up @@ -14761,6 +14796,13 @@
"type": "integer",
"description": "The default maximum number attempts per node for failed actions.",
"example": 1
},
"max_component_batch_size": {
"type": "integer",
"description": "The maximum number of components that a BOS operator will process at once. 0 means no limit.",
"example": 1000,
"minimum": 0,
"maximum": 131071
}
},
"additionalProperties": true
Expand Down

0 comments on commit a937638

Please sign in to comment.