Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
179 changes: 90 additions & 89 deletions go/proto/admin/v1/queue.pb.yarpc.go

Large diffs are not rendered by default.

333 changes: 167 additions & 166 deletions go/proto/admin/v1/replication.pb.yarpc.go

Large diffs are not rendered by default.

333 changes: 167 additions & 166 deletions go/proto/admin/v1/service.pb.yarpc.go

Large diffs are not rendered by default.

199 changes: 103 additions & 96 deletions go/proto/api/v1/common.pb.go

Large diffs are not rendered by default.

179 changes: 90 additions & 89 deletions go/proto/api/v1/common.pb.yarpc.go

Large diffs are not rendered by default.

179 changes: 90 additions & 89 deletions go/proto/api/v1/decision.pb.yarpc.go

Large diffs are not rendered by default.

161 changes: 81 additions & 80 deletions go/proto/api/v1/domain.pb.go

Large diffs are not rendered by default.

333 changes: 167 additions & 166 deletions go/proto/api/v1/domain.pb.yarpc.go

Large diffs are not rendered by default.

179 changes: 90 additions & 89 deletions go/proto/api/v1/history.pb.yarpc.go

Large diffs are not rendered by default.

179 changes: 90 additions & 89 deletions go/proto/api/v1/query.pb.yarpc.go

Large diffs are not rendered by default.

203 changes: 102 additions & 101 deletions go/proto/api/v1/service_domain.pb.go

Large diffs are not rendered by default.

521 changes: 261 additions & 260 deletions go/proto/api/v1/service_domain.pb.yarpc.go

Large diffs are not rendered by default.

179 changes: 90 additions & 89 deletions go/proto/api/v1/service_visibility.pb.yarpc.go

Large diffs are not rendered by default.

179 changes: 90 additions & 89 deletions go/proto/api/v1/service_worker.pb.yarpc.go

Large diffs are not rendered by default.

179 changes: 90 additions & 89 deletions go/proto/api/v1/service_workflow.pb.yarpc.go

Large diffs are not rendered by default.

179 changes: 90 additions & 89 deletions go/proto/api/v1/visibility.pb.yarpc.go

Large diffs are not rendered by default.

179 changes: 90 additions & 89 deletions go/proto/api/v1/workflow.pb.yarpc.go

Large diffs are not rendered by default.

9 changes: 6 additions & 3 deletions proto/uber/cadence/api/v1/common.proto
Original file line number Diff line number Diff line change
Expand Up @@ -138,23 +138,24 @@ message AsyncWorkflowConfiguration {

// todo (david.porter) to remove as this is no longer used
enum ActiveClusterSelectionStrategy {
option deprecated = true; // Deprecates the entire enum type
ACTIVE_CLUSTER_SELECTION_STRATEGY_INVALID = 0;
ACTIVE_CLUSTER_SELECTION_STRATEGY_REGION_STICKY = 1;
ACTIVE_CLUSTER_SELECTION_STRATEGY_EXTERNAL_ENTITY = 2;
}

message ActiveClusterSelectionPolicy {
ActiveClusterSelectionStrategy strategy = 1; // todo (david.porter) to remove
ActiveClusterSelectionStrategy strategy = 1 [deprecated = true]; // todo (david.porter) to remove

// todo (david.porter) to remove
oneof strategy_config {
// Sticky region config is applicable if strategy is ACTIVE_CLUSTER_SELECTION_STRATEGY_REGION_STICKY
// This is the default strategy for active-active domains and region would be set to receiver cluster's region if not specified.
ActiveClusterStickyRegionConfig active_cluster_sticky_region_config = 2;
ActiveClusterStickyRegionConfig active_cluster_sticky_region_config = 2 [deprecated = true];

// External entity config is applicable if strategy is ACTIVE_CLUSTER_SELECTION_STRATEGY_EXTERNAL_ENTITY
// External entity type must be one of the supported types in active cluster manager. Custom ones can be added by implementing the corresponding interface.
ActiveClusterExternalEntityConfig active_cluster_external_entity_config = 3;
ActiveClusterExternalEntityConfig active_cluster_external_entity_config = 3 [deprecated = true];
}
ClusterAttribute cluster_attribute = 4;
}
Expand All @@ -181,6 +182,7 @@ message ClusterAttribute {

// todo (david.porter) to remove as this is no longer used
message ActiveClusterStickyRegionConfig {
option deprecated = true;
string sticky_region = 1;
}

Expand All @@ -193,6 +195,7 @@ enum FailoverType {

// todo (david.porter) to remove as this is no longer used
message ActiveClusterExternalEntityConfig {
option deprecated = true;
string external_entity_type = 1;
string external_entity_key = 2;
}
Expand Down
2 changes: 1 addition & 1 deletion proto/uber/cadence/api/v1/domain.proto
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ enum ArchivalStatus {

// ActiveClusters contains the configuration of active-active domain's active clusters/regions
message ActiveClusters {
map<string, ActiveClusterInfo> region_to_cluster = 1; // todo (david.porter) to remove as this is no longer used
map<string, ActiveClusterInfo> region_to_cluster = 1 [deprecated = true]; // todo (david.porter) to remove as this is no longer used
map<string, ClusterAttributeScope> active_clusters_by_cluster_attribute = 2;
}

Expand Down
2 changes: 1 addition & 1 deletion proto/uber/cadence/api/v1/service_domain.proto
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ message RegisterDomainRequest {
string history_archival_uri = 11;
ArchivalStatus visibility_archival_status = 12;
string visibility_archival_uri = 13;
map<string, string> active_clusters_by_region = 14; // todo (david.porter) to remove as this is no longer used
map<string, string> active_clusters_by_region = 14 [deprecated = true]; // todo (david.porter) to remove as this is no longer used
ActiveClusters active_clusters = 15;
}

Expand Down