From 902cb03b521038de1c8b9df103ca5a2341d51c63 Mon Sep 17 00:00:00 2001 From: Michael Youssef Date: Wed, 3 Dec 2025 08:53:49 -0800 Subject: [PATCH] Enable reading replicationEnabled --- buf.yaml | 2 -- openapi/openapiv2.json | 4 ++++ temporal/api/operatorservice/v1/request_response.proto | 2 ++ 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/buf.yaml b/buf.yaml index a9c432d1..51534eb8 100644 --- a/buf.yaml +++ b/buf.yaml @@ -16,8 +16,6 @@ breaking: - temporal/api/enums/v1/failed_cause.proto # TODO: remove this once the changes with WorkflowExecutionExtendedInfo.pause_info is merged - temporal/api/workflow/v1/message.proto - # TODO: remove this once is_replication_enabled -> enable_replication rename is merged - - temporal/api/operatorservice/v1/request_response.proto lint: use: - DEFAULT diff --git a/openapi/openapiv2.json b/openapi/openapiv2.json index 3f90a6a7..1638edc2 100644 --- a/openapi/openapiv2.json +++ b/openapi/openapiv2.json @@ -10642,6 +10642,10 @@ "isConnectionEnabled": { "type": "boolean", "description": "A flag to indicate if a connection is active." + }, + "isReplicationEnabled": { + "type": "boolean", + "description": "A flag to indicate if replication is enabled." } } }, diff --git a/temporal/api/operatorservice/v1/request_response.proto b/temporal/api/operatorservice/v1/request_response.proto index a4ff7be7..f4a74b33 100644 --- a/temporal/api/operatorservice/v1/request_response.proto +++ b/temporal/api/operatorservice/v1/request_response.proto @@ -109,6 +109,8 @@ message ClusterMetadata { int32 history_shard_count = 5; // A flag to indicate if a connection is active. bool is_connection_enabled = 6; + // A flag to indicate if replication is enabled. + bool is_replication_enabled = 8; } message GetNexusEndpointRequest {