From d6c82c6498fbd4e4614b81176158cff5534e1ce4 Mon Sep 17 00:00:00 2001 From: RajatPawar <18614743+RajatPawar@users.noreply.github.com> Date: Thu, 2 Jul 2026 11:42:07 -0700 Subject: [PATCH 1/2] feat(catalog): add keepAliveInterval to Oauth2Opts schema Co-Authored-By: Claude Sonnet 4.6 --- api/generated/api.json | 206 +++++++++++++++++---------------- catalog/catalog.yaml | 8 ++ catalog/generated/catalog.json | 26 ++++- 3 files changed, 142 insertions(+), 98 deletions(-) diff --git a/api/generated/api.json b/api/generated/api.json index fd20945..a4cd709 100644 --- a/api/generated/api.json +++ b/api/generated/api.json @@ -12273,13 +12273,13 @@ "type": "string", "description": "The time the group was created.", "format": "date-time", - "example": "2023-07-13T21:34:44.816354Z" + "example": "2023-07-13T21:34:44.816Z" }, "updateTime": { "type": "string", "description": "The time the group was last updated.", "format": "date-time", - "example": "2023-07-13T21:34:44.816354Z" + "example": "2023-07-13T21:34:44.816Z" } } }, @@ -12454,13 +12454,13 @@ "type": "string", "description": "The time the group was created.", "format": "date-time", - "example": "2023-07-13T21:34:44.816354Z" + "example": "2023-07-13T21:34:44.816Z" }, "updateTime": { "type": "string", "description": "The time the group was last updated.", "format": "date-time", - "example": "2023-07-13T21:34:44.816354Z" + "example": "2023-07-13T21:34:44.816Z" } } }, @@ -12493,13 +12493,13 @@ "type": "string", "description": "The time the consumer was created.", "format": "date-time", - "example": "2023-07-13T21:34:44.816354Z" + "example": "2023-07-13T21:34:44.816Z" }, "updateTime": { "type": "string", "description": "The time the consumer was last updated.", "format": "date-time", - "example": "2023-07-13T21:34:44.816354Z" + "example": "2023-07-13T21:34:44.816Z" } } }, @@ -12517,13 +12517,13 @@ "type": "string", "description": "The time the connection was created.", "format": "date-time", - "example": "2023-07-13T21:34:44.816354Z" + "example": "2023-07-13T21:34:44.816Z" }, "updateTime": { "type": "string", "description": "The time the connection was last updated.", "format": "date-time", - "example": "2023-07-13T21:34:44.816354Z" + "example": "2023-07-13T21:34:44.816Z" }, "authScheme": { "type": "string", @@ -14871,6 +14871,7 @@ "default": "api:create-installation" }, "content": { + "description": "The content of the config.", "title": "Config Content", "allOf": [ { @@ -16443,8 +16444,7 @@ } } } - ], - "description": "The content of the config." + ] } }, "description": "The config of the installation." @@ -16581,13 +16581,13 @@ "type": "string", "description": "The time the group was created.", "format": "date-time", - "example": "2023-07-13T21:34:44.816354Z" + "example": "2023-07-13T21:34:44.816Z" }, "updateTime": { "type": "string", "description": "The time the group was last updated.", "format": "date-time", - "example": "2023-07-13T21:34:44.816354Z" + "example": "2023-07-13T21:34:44.816Z" } } }, @@ -16762,13 +16762,13 @@ "type": "string", "description": "The time the group was created.", "format": "date-time", - "example": "2023-07-13T21:34:44.816354Z" + "example": "2023-07-13T21:34:44.816Z" }, "updateTime": { "type": "string", "description": "The time the group was last updated.", "format": "date-time", - "example": "2023-07-13T21:34:44.816354Z" + "example": "2023-07-13T21:34:44.816Z" } } }, @@ -16801,13 +16801,13 @@ "type": "string", "description": "The time the consumer was created.", "format": "date-time", - "example": "2023-07-13T21:34:44.816354Z" + "example": "2023-07-13T21:34:44.816Z" }, "updateTime": { "type": "string", "description": "The time the consumer was last updated.", "format": "date-time", - "example": "2023-07-13T21:34:44.816354Z" + "example": "2023-07-13T21:34:44.816Z" } } }, @@ -16825,13 +16825,13 @@ "type": "string", "description": "The time the connection was created.", "format": "date-time", - "example": "2023-07-13T21:34:44.816354Z" + "example": "2023-07-13T21:34:44.816Z" }, "updateTime": { "type": "string", "description": "The time the connection was last updated.", "format": "date-time", - "example": "2023-07-13T21:34:44.816354Z" + "example": "2023-07-13T21:34:44.816Z" }, "authScheme": { "type": "string", @@ -19471,13 +19471,13 @@ "type": "string", "description": "The time the group was created.", "format": "date-time", - "example": "2023-07-13T21:34:44.816354Z" + "example": "2023-07-13T21:34:44.816Z" }, "updateTime": { "type": "string", "description": "The time the group was last updated.", "format": "date-time", - "example": "2023-07-13T21:34:44.816354Z" + "example": "2023-07-13T21:34:44.816Z" } } }, @@ -19652,13 +19652,13 @@ "type": "string", "description": "The time the group was created.", "format": "date-time", - "example": "2023-07-13T21:34:44.816354Z" + "example": "2023-07-13T21:34:44.816Z" }, "updateTime": { "type": "string", "description": "The time the group was last updated.", "format": "date-time", - "example": "2023-07-13T21:34:44.816354Z" + "example": "2023-07-13T21:34:44.816Z" } } }, @@ -19691,13 +19691,13 @@ "type": "string", "description": "The time the consumer was created.", "format": "date-time", - "example": "2023-07-13T21:34:44.816354Z" + "example": "2023-07-13T21:34:44.816Z" }, "updateTime": { "type": "string", "description": "The time the consumer was last updated.", "format": "date-time", - "example": "2023-07-13T21:34:44.816354Z" + "example": "2023-07-13T21:34:44.816Z" } } }, @@ -19715,13 +19715,13 @@ "type": "string", "description": "The time the connection was created.", "format": "date-time", - "example": "2023-07-13T21:34:44.816354Z" + "example": "2023-07-13T21:34:44.816Z" }, "updateTime": { "type": "string", "description": "The time the connection was last updated.", "format": "date-time", - "example": "2023-07-13T21:34:44.816354Z" + "example": "2023-07-13T21:34:44.816Z" }, "authScheme": { "type": "string", @@ -22927,13 +22927,13 @@ "type": "string", "description": "The time the group was created.", "format": "date-time", - "example": "2023-07-13T21:34:44.816354Z" + "example": "2023-07-13T21:34:44.816Z" }, "updateTime": { "type": "string", "description": "The time the group was last updated.", "format": "date-time", - "example": "2023-07-13T21:34:44.816354Z" + "example": "2023-07-13T21:34:44.816Z" } } }, @@ -23108,13 +23108,13 @@ "type": "string", "description": "The time the group was created.", "format": "date-time", - "example": "2023-07-13T21:34:44.816354Z" + "example": "2023-07-13T21:34:44.816Z" }, "updateTime": { "type": "string", "description": "The time the group was last updated.", "format": "date-time", - "example": "2023-07-13T21:34:44.816354Z" + "example": "2023-07-13T21:34:44.816Z" } } }, @@ -23147,13 +23147,13 @@ "type": "string", "description": "The time the consumer was created.", "format": "date-time", - "example": "2023-07-13T21:34:44.816354Z" + "example": "2023-07-13T21:34:44.816Z" }, "updateTime": { "type": "string", "description": "The time the consumer was last updated.", "format": "date-time", - "example": "2023-07-13T21:34:44.816354Z" + "example": "2023-07-13T21:34:44.816Z" } } }, @@ -23171,13 +23171,13 @@ "type": "string", "description": "The time the connection was created.", "format": "date-time", - "example": "2023-07-13T21:34:44.816354Z" + "example": "2023-07-13T21:34:44.816Z" }, "updateTime": { "type": "string", "description": "The time the connection was last updated.", "format": "date-time", - "example": "2023-07-13T21:34:44.816354Z" + "example": "2023-07-13T21:34:44.816Z" }, "authScheme": { "type": "string", @@ -25983,13 +25983,13 @@ "type": "string", "description": "The time the group was created.", "format": "date-time", - "example": "2023-07-13T21:34:44.816354Z" + "example": "2023-07-13T21:34:44.816Z" }, "updateTime": { "type": "string", "description": "The time the group was last updated.", "format": "date-time", - "example": "2023-07-13T21:34:44.816354Z" + "example": "2023-07-13T21:34:44.816Z" } } }, @@ -26164,13 +26164,13 @@ "type": "string", "description": "The time the group was created.", "format": "date-time", - "example": "2023-07-13T21:34:44.816354Z" + "example": "2023-07-13T21:34:44.816Z" }, "updateTime": { "type": "string", "description": "The time the group was last updated.", "format": "date-time", - "example": "2023-07-13T21:34:44.816354Z" + "example": "2023-07-13T21:34:44.816Z" } } }, @@ -26203,13 +26203,13 @@ "type": "string", "description": "The time the consumer was created.", "format": "date-time", - "example": "2023-07-13T21:34:44.816354Z" + "example": "2023-07-13T21:34:44.816Z" }, "updateTime": { "type": "string", "description": "The time the consumer was last updated.", "format": "date-time", - "example": "2023-07-13T21:34:44.816354Z" + "example": "2023-07-13T21:34:44.816Z" } } }, @@ -26227,13 +26227,13 @@ "type": "string", "description": "The time the connection was created.", "format": "date-time", - "example": "2023-07-13T21:34:44.816354Z" + "example": "2023-07-13T21:34:44.816Z" }, "updateTime": { "type": "string", "description": "The time the connection was last updated.", "format": "date-time", - "example": "2023-07-13T21:34:44.816354Z" + "example": "2023-07-13T21:34:44.816Z" }, "authScheme": { "type": "string", @@ -29236,13 +29236,13 @@ "type": "string", "description": "The time the group was created.", "format": "date-time", - "example": "2023-07-13T21:34:44.816354Z" + "example": "2023-07-13T21:34:44.816Z" }, "updateTime": { "type": "string", "description": "The time the group was last updated.", "format": "date-time", - "example": "2023-07-13T21:34:44.816354Z" + "example": "2023-07-13T21:34:44.816Z" } } }, @@ -29417,13 +29417,13 @@ "type": "string", "description": "The time the group was created.", "format": "date-time", - "example": "2023-07-13T21:34:44.816354Z" + "example": "2023-07-13T21:34:44.816Z" }, "updateTime": { "type": "string", "description": "The time the group was last updated.", "format": "date-time", - "example": "2023-07-13T21:34:44.816354Z" + "example": "2023-07-13T21:34:44.816Z" } } }, @@ -29456,13 +29456,13 @@ "type": "string", "description": "The time the consumer was created.", "format": "date-time", - "example": "2023-07-13T21:34:44.816354Z" + "example": "2023-07-13T21:34:44.816Z" }, "updateTime": { "type": "string", "description": "The time the consumer was last updated.", "format": "date-time", - "example": "2023-07-13T21:34:44.816354Z" + "example": "2023-07-13T21:34:44.816Z" } } }, @@ -29480,13 +29480,13 @@ "type": "string", "description": "The time the connection was created.", "format": "date-time", - "example": "2023-07-13T21:34:44.816354Z" + "example": "2023-07-13T21:34:44.816Z" }, "updateTime": { "type": "string", "description": "The time the connection was last updated.", "format": "date-time", - "example": "2023-07-13T21:34:44.816354Z" + "example": "2023-07-13T21:34:44.816Z" }, "authScheme": { "type": "string", @@ -34105,7 +34105,7 @@ "type": "string", "description": "The time the operation was created.", "format": "date-time", - "example": "2023-07-13T21:34:44.816354Z" + "example": "2023-07-13T21:34:44.816Z" } } } @@ -35786,7 +35786,7 @@ "type": "string", "description": "The time the operation was created.", "format": "date-time", - "example": "2023-07-13T21:34:44.816354Z" + "example": "2023-07-13T21:34:44.816Z" } } }, @@ -36058,7 +36058,7 @@ "timestamp": { "type": "string", "description": "The time the log was created.", - "example": "2023-07-13T21:34:44.816354Z" + "example": "2023-07-13T21:34:44.816Z" }, "message": { "type": "object", @@ -37137,6 +37137,12 @@ "x-go-type-skip-optional-pointer": true } } + }, + "keepAliveInterval": { + "type": "string", + "description": "How long between proactive token keep-alive refreshes for this provider.\nUses Go duration syntax (e.g. \"120h\" for 5 days). Token-manager adds a\nrandom stagger offset on top. If absent, defaults to 24h.\n", + "example": "120h", + "x-go-type-skip-optional-pointer": true } } }, @@ -38564,6 +38570,12 @@ "x-go-type-skip-optional-pointer": true } } + }, + "keepAliveInterval": { + "type": "string", + "description": "How long between proactive token keep-alive refreshes for this provider.\nUses Go duration syntax (e.g. \"120h\" for 5 days). Token-manager adds a\nrandom stagger offset on top. If absent, defaults to 24h.\n", + "example": "120h", + "x-go-type-skip-optional-pointer": true } } }, @@ -43139,13 +43151,13 @@ "type": "string", "description": "The time the group was created.", "format": "date-time", - "example": "2023-07-13T21:34:44.816354Z" + "example": "2023-07-13T21:34:44.816Z" }, "updateTime": { "type": "string", "description": "The time the group was last updated.", "format": "date-time", - "example": "2023-07-13T21:34:44.816354Z" + "example": "2023-07-13T21:34:44.816Z" } } }, @@ -43178,13 +43190,13 @@ "type": "string", "description": "The time the consumer was created.", "format": "date-time", - "example": "2023-07-13T21:34:44.816354Z" + "example": "2023-07-13T21:34:44.816Z" }, "updateTime": { "type": "string", "description": "The time the consumer was last updated.", "format": "date-time", - "example": "2023-07-13T21:34:44.816354Z" + "example": "2023-07-13T21:34:44.816Z" } } }, @@ -43202,13 +43214,13 @@ "type": "string", "description": "The time the connection was created.", "format": "date-time", - "example": "2023-07-13T21:34:44.816354Z" + "example": "2023-07-13T21:34:44.816Z" }, "updateTime": { "type": "string", "description": "The time the connection was last updated.", "format": "date-time", - "example": "2023-07-13T21:34:44.816354Z" + "example": "2023-07-13T21:34:44.816Z" }, "authScheme": { "type": "string", @@ -44203,13 +44215,13 @@ "type": "string", "description": "The time the group was created.", "format": "date-time", - "example": "2023-07-13T21:34:44.816354Z" + "example": "2023-07-13T21:34:44.816Z" }, "updateTime": { "type": "string", "description": "The time the group was last updated.", "format": "date-time", - "example": "2023-07-13T21:34:44.816354Z" + "example": "2023-07-13T21:34:44.816Z" } } }, @@ -44242,13 +44254,13 @@ "type": "string", "description": "The time the consumer was created.", "format": "date-time", - "example": "2023-07-13T21:34:44.816354Z" + "example": "2023-07-13T21:34:44.816Z" }, "updateTime": { "type": "string", "description": "The time the consumer was last updated.", "format": "date-time", - "example": "2023-07-13T21:34:44.816354Z" + "example": "2023-07-13T21:34:44.816Z" } } }, @@ -44266,13 +44278,13 @@ "type": "string", "description": "The time the connection was created.", "format": "date-time", - "example": "2023-07-13T21:34:44.816354Z" + "example": "2023-07-13T21:34:44.816Z" }, "updateTime": { "type": "string", "description": "The time the connection was last updated.", "format": "date-time", - "example": "2023-07-13T21:34:44.816354Z" + "example": "2023-07-13T21:34:44.816Z" }, "authScheme": { "type": "string", @@ -45398,13 +45410,13 @@ "type": "string", "description": "The time the group was created.", "format": "date-time", - "example": "2023-07-13T21:34:44.816354Z" + "example": "2023-07-13T21:34:44.816Z" }, "updateTime": { "type": "string", "description": "The time the group was last updated.", "format": "date-time", - "example": "2023-07-13T21:34:44.816354Z" + "example": "2023-07-13T21:34:44.816Z" } } }, @@ -45437,13 +45449,13 @@ "type": "string", "description": "The time the consumer was created.", "format": "date-time", - "example": "2023-07-13T21:34:44.816354Z" + "example": "2023-07-13T21:34:44.816Z" }, "updateTime": { "type": "string", "description": "The time the consumer was last updated.", "format": "date-time", - "example": "2023-07-13T21:34:44.816354Z" + "example": "2023-07-13T21:34:44.816Z" } } }, @@ -45461,13 +45473,13 @@ "type": "string", "description": "The time the connection was created.", "format": "date-time", - "example": "2023-07-13T21:34:44.816354Z" + "example": "2023-07-13T21:34:44.816Z" }, "updateTime": { "type": "string", "description": "The time the connection was last updated.", "format": "date-time", - "example": "2023-07-13T21:34:44.816354Z" + "example": "2023-07-13T21:34:44.816Z" }, "authScheme": { "type": "string", @@ -46524,13 +46536,13 @@ "type": "string", "description": "The time the group was created.", "format": "date-time", - "example": "2023-07-13T21:34:44.816354Z" + "example": "2023-07-13T21:34:44.816Z" }, "updateTime": { "type": "string", "description": "The time the group was last updated.", "format": "date-time", - "example": "2023-07-13T21:34:44.816354Z" + "example": "2023-07-13T21:34:44.816Z" } } }, @@ -46563,13 +46575,13 @@ "type": "string", "description": "The time the consumer was created.", "format": "date-time", - "example": "2023-07-13T21:34:44.816354Z" + "example": "2023-07-13T21:34:44.816Z" }, "updateTime": { "type": "string", "description": "The time the consumer was last updated.", "format": "date-time", - "example": "2023-07-13T21:34:44.816354Z" + "example": "2023-07-13T21:34:44.816Z" } } }, @@ -46587,13 +46599,13 @@ "type": "string", "description": "The time the connection was created.", "format": "date-time", - "example": "2023-07-13T21:34:44.816354Z" + "example": "2023-07-13T21:34:44.816Z" }, "updateTime": { "type": "string", "description": "The time the connection was last updated.", "format": "date-time", - "example": "2023-07-13T21:34:44.816354Z" + "example": "2023-07-13T21:34:44.816Z" }, "authScheme": { "type": "string", @@ -68450,13 +68462,13 @@ "type": "string", "description": "The time the group was created.", "format": "date-time", - "example": "2023-07-13T21:34:44.816354Z" + "example": "2023-07-13T21:34:44.816Z" }, "updateTime": { "type": "string", "description": "The time the group was last updated.", "format": "date-time", - "example": "2023-07-13T21:34:44.816354Z" + "example": "2023-07-13T21:34:44.816Z" } } }, @@ -68631,13 +68643,13 @@ "type": "string", "description": "The time the group was created.", "format": "date-time", - "example": "2023-07-13T21:34:44.816354Z" + "example": "2023-07-13T21:34:44.816Z" }, "updateTime": { "type": "string", "description": "The time the group was last updated.", "format": "date-time", - "example": "2023-07-13T21:34:44.816354Z" + "example": "2023-07-13T21:34:44.816Z" } } }, @@ -68670,13 +68682,13 @@ "type": "string", "description": "The time the consumer was created.", "format": "date-time", - "example": "2023-07-13T21:34:44.816354Z" + "example": "2023-07-13T21:34:44.816Z" }, "updateTime": { "type": "string", "description": "The time the consumer was last updated.", "format": "date-time", - "example": "2023-07-13T21:34:44.816354Z" + "example": "2023-07-13T21:34:44.816Z" } } }, @@ -68694,13 +68706,13 @@ "type": "string", "description": "The time the connection was created.", "format": "date-time", - "example": "2023-07-13T21:34:44.816354Z" + "example": "2023-07-13T21:34:44.816Z" }, "updateTime": { "type": "string", "description": "The time the connection was last updated.", "format": "date-time", - "example": "2023-07-13T21:34:44.816354Z" + "example": "2023-07-13T21:34:44.816Z" }, "authScheme": { "type": "string", @@ -72239,13 +72251,13 @@ "type": "string", "description": "The time the group was created.", "format": "date-time", - "example": "2023-07-13T21:34:44.816354Z" + "example": "2023-07-13T21:34:44.816Z" }, "updateTime": { "type": "string", "description": "The time the group was last updated.", "format": "date-time", - "example": "2023-07-13T21:34:44.816354Z" + "example": "2023-07-13T21:34:44.816Z" } } }, @@ -72278,13 +72290,13 @@ "type": "string", "description": "The time the consumer was created.", "format": "date-time", - "example": "2023-07-13T21:34:44.816354Z" + "example": "2023-07-13T21:34:44.816Z" }, "updateTime": { "type": "string", "description": "The time the consumer was last updated.", "format": "date-time", - "example": "2023-07-13T21:34:44.816354Z" + "example": "2023-07-13T21:34:44.816Z" } } }, @@ -72302,13 +72314,13 @@ "type": "string", "description": "The time the connection was created.", "format": "date-time", - "example": "2023-07-13T21:34:44.816354Z" + "example": "2023-07-13T21:34:44.816Z" }, "updateTime": { "type": "string", "description": "The time the connection was last updated.", "format": "date-time", - "example": "2023-07-13T21:34:44.816354Z" + "example": "2023-07-13T21:34:44.816Z" }, "authScheme": { "type": "string", @@ -73240,13 +73252,13 @@ "type": "string", "description": "The time the group was created.", "format": "date-time", - "example": "2023-07-13T21:34:44.816354Z" + "example": "2023-07-13T21:34:44.816Z" }, "updateTime": { "type": "string", "description": "The time the group was last updated.", "format": "date-time", - "example": "2023-07-13T21:34:44.816354Z" + "example": "2023-07-13T21:34:44.816Z" } } }, @@ -73279,13 +73291,13 @@ "type": "string", "description": "The time the consumer was created.", "format": "date-time", - "example": "2023-07-13T21:34:44.816354Z" + "example": "2023-07-13T21:34:44.816Z" }, "updateTime": { "type": "string", "description": "The time the consumer was last updated.", "format": "date-time", - "example": "2023-07-13T21:34:44.816354Z" + "example": "2023-07-13T21:34:44.816Z" } } }, @@ -73412,7 +73424,7 @@ "type": "string", "description": "The time the operation was created.", "format": "date-time", - "example": "2023-07-13T21:34:44.816354Z" + "example": "2023-07-13T21:34:44.816Z" } } }, @@ -73472,7 +73484,7 @@ "timestamp": { "type": "string", "description": "The time the log was created.", - "example": "2023-07-13T21:34:44.816354Z" + "example": "2023-07-13T21:34:44.816Z" }, "message": { "type": "object", diff --git a/catalog/catalog.yaml b/catalog/catalog.yaml index 6747a3f..dbbcfb7 100644 --- a/catalog/catalog.yaml +++ b/catalog/catalog.yaml @@ -258,6 +258,14 @@ components: duration: permanent accessTokenOpts: $ref: '#/components/schemas/AccessTokenOpts' + keepAliveInterval: + type: string + description: | + How long between proactive token keep-alive refreshes for this provider. + Uses Go duration syntax (e.g. "120h" for 5 days). Token-manager adds a + random stagger offset on top. If absent, defaults to 24h. + example: "120h" + x-go-type-skip-optional-pointer: true AccessTokenOpts: title: Oauth2 Access Token Options diff --git a/catalog/generated/catalog.json b/catalog/generated/catalog.json index 2437bfe..e9cc2e6 100644 --- a/catalog/generated/catalog.json +++ b/catalog/generated/catalog.json @@ -660,6 +660,12 @@ "x-go-type-skip-optional-pointer": true } } + }, + "keepAliveInterval": { + "type": "string", + "description": "How long between proactive token keep-alive refreshes for this provider.\nUses Go duration syntax (e.g. \"120h\" for 5 days). Token-manager adds a\nrandom stagger offset on top. If absent, defaults to 24h.\n", + "example": "120h", + "x-go-type-skip-optional-pointer": true } } }, @@ -1842,6 +1848,12 @@ "x-go-type-skip-optional-pointer": true } } + }, + "keepAliveInterval": { + "type": "string", + "description": "How long between proactive token keep-alive refreshes for this provider.\nUses Go duration syntax (e.g. \"120h\" for 5 days). Token-manager adds a\nrandom stagger offset on top. If absent, defaults to 24h.\n", + "example": "120h", + "x-go-type-skip-optional-pointer": true } } }, @@ -2936,7 +2948,7 @@ "properties": { "timestamp": { "type": "string", - "example": "2024-07-30T15:14:51-07:00", + "example": "2024-07-30T22:14:51.000Z", "description": "An RFC3339 formatted timestamp of when the catalog was generated.", "x-oapi-codegen-extra-tags": { "validate": "required" @@ -3175,6 +3187,12 @@ "x-go-type-skip-optional-pointer": true } } + }, + "keepAliveInterval": { + "type": "string", + "description": "How long between proactive token keep-alive refreshes for this provider.\nUses Go duration syntax (e.g. \"120h\" for 5 days). Token-manager adds a\nrandom stagger offset on top. If absent, defaults to 24h.\n", + "example": "120h", + "x-go-type-skip-optional-pointer": true } } }, @@ -4386,6 +4404,12 @@ "x-go-type-skip-optional-pointer": true } } + }, + "keepAliveInterval": { + "type": "string", + "description": "How long between proactive token keep-alive refreshes for this provider.\nUses Go duration syntax (e.g. \"120h\" for 5 days). Token-manager adds a\nrandom stagger offset on top. If absent, defaults to 24h.\n", + "example": "120h", + "x-go-type-skip-optional-pointer": true } } }, From 95db9bc12149d69b8a67e5c6a689a7518b5b17ac Mon Sep 17 00:00:00 2001 From: RajatPawar <18614743+RajatPawar@users.noreply.github.com> Date: Mon, 6 Jul 2026 11:42:14 -0700 Subject: [PATCH 2/2] update the name --- api/generated/api.json | 16 ++++++++-------- catalog/catalog.yaml | 11 +++++------ catalog/generated/catalog.json | 32 ++++++++++++++++---------------- 3 files changed, 29 insertions(+), 30 deletions(-) diff --git a/api/generated/api.json b/api/generated/api.json index a4cd709..3462c62 100644 --- a/api/generated/api.json +++ b/api/generated/api.json @@ -37138,10 +37138,10 @@ } } }, - "keepAliveInterval": { - "type": "string", - "description": "How long between proactive token keep-alive refreshes for this provider.\nUses Go duration syntax (e.g. \"120h\" for 5 days). Token-manager adds a\nrandom stagger offset on top. If absent, defaults to 24h.\n", - "example": "120h", + "keepAliveIntervalHours": { + "type": "integer", + "description": "How many hours between proactive token keep-alive refreshes for this provider.\nToken-manager adds a random stagger offset on top. If absent, defaults to 24.\n", + "example": 120, "x-go-type-skip-optional-pointer": true } } @@ -38571,10 +38571,10 @@ } } }, - "keepAliveInterval": { - "type": "string", - "description": "How long between proactive token keep-alive refreshes for this provider.\nUses Go duration syntax (e.g. \"120h\" for 5 days). Token-manager adds a\nrandom stagger offset on top. If absent, defaults to 24h.\n", - "example": "120h", + "keepAliveIntervalHours": { + "type": "integer", + "description": "How many hours between proactive token keep-alive refreshes for this provider.\nToken-manager adds a random stagger offset on top. If absent, defaults to 24.\n", + "example": 120, "x-go-type-skip-optional-pointer": true } } diff --git a/catalog/catalog.yaml b/catalog/catalog.yaml index dbbcfb7..5289ac4 100644 --- a/catalog/catalog.yaml +++ b/catalog/catalog.yaml @@ -258,13 +258,12 @@ components: duration: permanent accessTokenOpts: $ref: '#/components/schemas/AccessTokenOpts' - keepAliveInterval: - type: string + keepAliveIntervalHours: + type: integer description: | - How long between proactive token keep-alive refreshes for this provider. - Uses Go duration syntax (e.g. "120h" for 5 days). Token-manager adds a - random stagger offset on top. If absent, defaults to 24h. - example: "120h" + How many hours between proactive token keep-alive refreshes for this provider. + Token-manager adds a random stagger offset on top. If absent, defaults to 24. + example: 120 x-go-type-skip-optional-pointer: true AccessTokenOpts: diff --git a/catalog/generated/catalog.json b/catalog/generated/catalog.json index e9cc2e6..cad2d2f 100644 --- a/catalog/generated/catalog.json +++ b/catalog/generated/catalog.json @@ -661,10 +661,10 @@ } } }, - "keepAliveInterval": { - "type": "string", - "description": "How long between proactive token keep-alive refreshes for this provider.\nUses Go duration syntax (e.g. \"120h\" for 5 days). Token-manager adds a\nrandom stagger offset on top. If absent, defaults to 24h.\n", - "example": "120h", + "keepAliveIntervalHours": { + "type": "integer", + "description": "How many hours between proactive token keep-alive refreshes for this provider.\nToken-manager adds a random stagger offset on top. If absent, defaults to 24.\n", + "example": 120, "x-go-type-skip-optional-pointer": true } } @@ -1849,10 +1849,10 @@ } } }, - "keepAliveInterval": { - "type": "string", - "description": "How long between proactive token keep-alive refreshes for this provider.\nUses Go duration syntax (e.g. \"120h\" for 5 days). Token-manager adds a\nrandom stagger offset on top. If absent, defaults to 24h.\n", - "example": "120h", + "keepAliveIntervalHours": { + "type": "integer", + "description": "How many hours between proactive token keep-alive refreshes for this provider.\nToken-manager adds a random stagger offset on top. If absent, defaults to 24.\n", + "example": 120, "x-go-type-skip-optional-pointer": true } } @@ -3188,10 +3188,10 @@ } } }, - "keepAliveInterval": { - "type": "string", - "description": "How long between proactive token keep-alive refreshes for this provider.\nUses Go duration syntax (e.g. \"120h\" for 5 days). Token-manager adds a\nrandom stagger offset on top. If absent, defaults to 24h.\n", - "example": "120h", + "keepAliveIntervalHours": { + "type": "integer", + "description": "How many hours between proactive token keep-alive refreshes for this provider.\nToken-manager adds a random stagger offset on top. If absent, defaults to 24.\n", + "example": 120, "x-go-type-skip-optional-pointer": true } } @@ -4405,10 +4405,10 @@ } } }, - "keepAliveInterval": { - "type": "string", - "description": "How long between proactive token keep-alive refreshes for this provider.\nUses Go duration syntax (e.g. \"120h\" for 5 days). Token-manager adds a\nrandom stagger offset on top. If absent, defaults to 24h.\n", - "example": "120h", + "keepAliveIntervalHours": { + "type": "integer", + "description": "How many hours between proactive token keep-alive refreshes for this provider.\nToken-manager adds a random stagger offset on top. If absent, defaults to 24.\n", + "example": 120, "x-go-type-skip-optional-pointer": true } }