diff --git a/openapi/openapiv2.json b/openapi/openapiv2.json index 2f21bedcc..fee4fdf00 100644 --- a/openapi/openapiv2.json +++ b/openapi/openapiv2.json @@ -15864,6 +15864,15 @@ "v1StopBatchOperationResponse": { "type": "object" }, + "v1StorageDriverInfo": { + "type": "object", + "properties": { + "type": { + "type": "string", + "description": "The type of the driver, required." + } + } + }, "v1StructuredCalendarSpec": { "type": "object", "properties": { @@ -16889,6 +16898,14 @@ "$ref": "#/definitions/v1PluginInfo" }, "description": "Plugins currently in use by this SDK." + }, + "drivers": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/v1StorageDriverInfo" + }, + "description": "Storage drivers in use by this SDK." } }, "description": "Worker info message, contains information about the worker and its current state.\nAll information is provided by the worker itself." diff --git a/openapi/openapiv3.yaml b/openapi/openapiv3.yaml index c220f6773..e0283c283 100644 --- a/openapi/openapiv3.yaml +++ b/openapi/openapiv3.yaml @@ -14042,6 +14042,12 @@ components: StopBatchOperationResponse: type: object properties: {} + StorageDriverInfo: + type: object + properties: + type: + type: string + description: The type of the driver, required. StructuredCalendarSpec: type: object properties: @@ -15515,6 +15521,11 @@ components: items: $ref: '#/components/schemas/PluginInfo' description: Plugins currently in use by this SDK. + drivers: + type: array + items: + $ref: '#/components/schemas/StorageDriverInfo' + description: Storage drivers in use by this SDK. description: |- Worker info message, contains information about the worker and its current state. All information is provided by the worker itself. diff --git a/temporal/api/worker/v1/message.proto b/temporal/api/worker/v1/message.proto index 3df3aaa33..b36a01c1e 100644 --- a/temporal/api/worker/v1/message.proto +++ b/temporal/api/worker/v1/message.proto @@ -127,6 +127,9 @@ message WorkerHeartbeat { // Plugins currently in use by this SDK. repeated PluginInfo plugins = 23; + + // Storage drivers in use by this SDK. + repeated StorageDriverInfo drivers = 24; } message WorkerInfo { @@ -139,3 +142,8 @@ message PluginInfo { // The version of the plugin, may be empty. string version = 2; } + +message StorageDriverInfo { + // The type of the driver, required. + string type = 1; +}