From 53d67779973b250be26fe50ef81e6b77491c12d2 Mon Sep 17 00:00:00 2001 From: Jason Sollom Date: Wed, 16 Oct 2024 11:39:53 -0500 Subject: [PATCH] CASMCMS-9162: Add the cfs_read_timeout option. (cherry picked from commit 7541dac36dabd971b1b7367e3a36b94ee1abffcc) --- cray/modules/bos/openapi.yaml | 7 ++++++ cray/modules/bos/swagger3.json | 42 ++++++++++++++++++++++++++++++++++ 2 files changed, 49 insertions(+) diff --git a/cray/modules/bos/openapi.yaml b/cray/modules/bos/openapi.yaml index 67d231d..59f817e 100644 --- a/cray/modules/bos/openapi.yaml +++ b/cray/modules/bos/openapi.yaml @@ -1182,6 +1182,13 @@ components: Options for the boot orchestration service. type: object properties: + cfs_read_timeout: + type: integer + description: | + The amount of time (in seconds) to wait for a response before timing out a request to CFS + example: 20 + minimum: 10 + maximum: 86400 cleanup_completed_session_ttl: type: string description: Delete complete sessions that are older than cleanup_completed_session_ttl (in hours). 0h disables cleanup behavior. diff --git a/cray/modules/bos/swagger3.json b/cray/modules/bos/swagger3.json index 1c6ba2b..1ab8003 100644 --- a/cray/modules/bos/swagger3.json +++ b/cray/modules/bos/swagger3.json @@ -2582,6 +2582,13 @@ "description": "Options for the boot orchestration service.\n", "type": "object", "properties": { + "cfs_read_timeout": { + "type": "integer", + "description": "The amount of time (in seconds) to wait for a response before timing out a request to CFS.\n", + "example": 20, + "minimum": 10, + "maximum": 86400 + }, "cleanup_completed_session_ttl": { "type": "string", "description": "Delete complete sessions that are older than cleanup_completed_session_ttl (in hours). 0h disables cleanup behavior." @@ -3600,6 +3607,13 @@ "description": "Options for the boot orchestration service.\n", "type": "object", "properties": { + "cfs_read_timeout": { + "type": "integer", + "description": "The amount of time (in seconds) to wait for a response before timing out a request to CFS.\n", + "example": 20, + "minimum": 10, + "maximum": 86400 + }, "cleanup_completed_session_ttl": { "type": "string", "description": "Delete complete sessions that are older than cleanup_completed_session_ttl (in hours). 0h disables cleanup behavior." @@ -5139,6 +5153,13 @@ "description": "Options for the boot orchestration service.\n", "type": "object", "properties": { + "cfs_read_timeout": { + "type": "integer", + "description": "The amount of time (in seconds) to wait for a response before timing out a request to CFS.\n", + "example": 20, + "minimum": 10, + "maximum": 86400 + }, "cleanup_completed_session_ttl": { "type": "string", "description": "Delete complete sessions that are older than cleanup_completed_session_ttl (in hours). 0h disables cleanup behavior." @@ -14619,6 +14640,13 @@ "description": "Options for the boot orchestration service.\n", "type": "object", "properties": { + "cfs_read_timeout": { + "type": "integer", + "description": "The amount of time (in seconds) to wait for a response before timing out a request to CFS.\n", + "example": 20, + "minimum": 10, + "maximum": 86400 + }, "cleanup_completed_session_ttl": { "type": "string", "description": "Delete complete sessions that are older than cleanup_completed_session_ttl (in hours). 0h disables cleanup behavior." @@ -14701,6 +14729,13 @@ "description": "Options for the boot orchestration service.\n", "type": "object", "properties": { + "cfs_read_timeout": { + "type": "integer", + "description": "The amount of time (in seconds) to wait for a response before timing out a request to CFS.\n", + "example": 20, + "minimum": 10, + "maximum": 86400 + }, "cleanup_completed_session_ttl": { "type": "string", "description": "Delete complete sessions that are older than cleanup_completed_session_ttl (in hours). 0h disables cleanup behavior." @@ -14772,6 +14807,13 @@ "description": "Options for the boot orchestration service.\n", "type": "object", "properties": { + "cfs_read_timeout": { + "type": "integer", + "description": "The amount of time (in seconds) to wait for a response before timing out a request to CFS.\n", + "example": 20, + "minimum": 10, + "maximum": 86400 + }, "cleanup_completed_session_ttl": { "type": "string", "description": "Delete complete sessions that are older than cleanup_completed_session_ttl (in hours). 0h disables cleanup behavior."