@@ -4995,7 +4995,8 @@ paths:
4995
4995
application/json :
4996
4996
schema :
4997
4997
$ref : " #/components/schemas/ConnectorRolloutReadResponse"
4998
-
4998
+ " 404 " :
4999
+ $ref : " #/components/responses/NotFoundResponse"
4999
5000
" 422 " :
5000
5001
$ref : " #/components/responses/InvalidInputResponse"
5001
5002
@@ -5004,25 +5005,75 @@ paths:
5004
5005
tags :
5005
5006
- connector_rollout
5006
5007
5007
- /v1/connector_rollout/update :
5008
+ /v1/connector_rollout/start :
5008
5009
post :
5009
5010
requestBody :
5010
5011
content :
5011
5012
application/json :
5012
5013
schema :
5013
- $ref : " #/components/schemas/ConnectorRolloutUpdateRequestBody"
5014
+ $ref : " #/components/schemas/ConnectorRolloutStartRequestBody"
5015
+ responses :
5016
+ " 200 " :
5017
+ description : Started connector rollout object
5018
+ content :
5019
+ application/json :
5020
+ schema :
5021
+ $ref : " #/components/schemas/ConnectorRolloutStartResponse"
5022
+ " 404 " :
5023
+ $ref : " #/components/responses/NotFoundResponse"
5024
+ " 422 " :
5025
+ $ref : " #/components/responses/InvalidInputResponse"
5026
+
5027
+ summary : Start a connector rollout by ID. This will update the state of the rollout from INITIALIZED to WORKFLOW_STARTED, and add the Temporal run ID of the workflow to the rollout entry.
5028
+ operationId : startConnectorRollout
5029
+ tags :
5030
+ - connector_rollout
5031
+
5032
+ /v1/connector_rollout/rollout :
5033
+ post :
5034
+ requestBody :
5035
+ content :
5036
+ application/json :
5037
+ schema :
5038
+ $ref : " #/components/schemas/ConnectorRolloutRequestBody"
5014
5039
responses :
5015
5040
" 200 " :
5016
5041
description : Updated connector rollout object
5017
5042
content :
5018
5043
application/json :
5019
5044
schema :
5020
- $ref : " #/components/schemas/ConnectorRolloutUpdateResponse"
5045
+ $ref : " #/components/schemas/ConnectorRolloutResponse"
5046
+ " 404 " :
5047
+ $ref : " #/components/responses/NotFoundResponse"
5021
5048
" 422 " :
5022
5049
$ref : " #/components/responses/InvalidInputResponse"
5023
5050
5024
- summary : Update a connector rollout by ID
5025
- operationId : updateConnectorRollout
5051
+ summary : Roll out a release candidate. This will pin the actors to the release candidate version ID.
5052
+ operationId : doConnectorRollout
5053
+ tags :
5054
+ - connector_rollout
5055
+
5056
+ /v1/connector_rollout/finalize :
5057
+ post :
5058
+ requestBody :
5059
+ content :
5060
+ application/json :
5061
+ schema :
5062
+ $ref : " #/components/schemas/ConnectorRolloutFinalizeRequestBody"
5063
+ responses :
5064
+ " 200 " :
5065
+ description : Finalized connector rollout object
5066
+ content :
5067
+ application/json :
5068
+ schema :
5069
+ $ref : " #/components/schemas/ConnectorRolloutFinalizeResponse"
5070
+ " 404 " :
5071
+ $ref : " #/components/responses/NotFoundResponse"
5072
+ " 422 " :
5073
+ $ref : " #/components/responses/InvalidInputResponse"
5074
+
5075
+ summary : Finalize a connector rollout by ID. This will unpin all actors that have been pinned to the release candidate version.
5076
+ operationId : finalizeConnectorRollout
5026
5077
tags :
5027
5078
- connector_rollout
5028
5079
@@ -6978,10 +7029,18 @@ components:
6978
7029
# Connector Rollouts
6979
7030
ConnectorRolloutRead :
6980
7031
type : object
7032
+ required :
7033
+ - id
7034
+ - actor_definition_id
7035
+ - release_candidate_version_id
7036
+ - initial_version_id
7037
+ - state
6981
7038
properties :
6982
7039
id :
6983
7040
type : string
6984
7041
format : uuid
7042
+ workflow_run_id :
7043
+ type : string
6985
7044
actor_definition_id :
6986
7045
type : string
6987
7046
format : uuid
@@ -6997,19 +7056,23 @@ components:
6997
7056
type : integer
6998
7057
minimum : 0
6999
7058
maximum : 100
7059
+ format : int32
7000
7060
current_target_rollout_pct :
7001
7061
type : integer
7002
7062
minimum : 0
7003
7063
maximum : 100
7064
+ format : int32
7004
7065
final_target_rollout_pct :
7005
7066
type : integer
7006
7067
minimum : 0
7007
7068
maximum : 100
7069
+ format : int32
7008
7070
has_breaking_changes :
7009
7071
type : boolean
7010
7072
max_step_wait_time_mins :
7011
7073
type : integer
7012
7074
minimum : 0
7075
+ format : int32
7013
7076
updated_by :
7014
7077
type : string
7015
7078
format : uuid
@@ -7036,6 +7099,7 @@ components:
7036
7099
type : string
7037
7100
enum :
7038
7101
- initialized
7102
+ - workflow_started
7039
7103
- in_progress
7040
7104
- paused
7041
7105
- finalizing
@@ -7044,6 +7108,13 @@ components:
7044
7108
- failed_rolled_back
7045
7109
- canceled_rolled_back
7046
7110
7111
+ ConnectorRolloutStateTerminal :
7112
+ type : string
7113
+ enum :
7114
+ - succeeded
7115
+ - failed_rolled_back
7116
+ - canceled_rolled_back
7117
+
7047
7118
ConnectorRolloutStrategy :
7048
7119
type : string
7049
7120
enum :
@@ -7054,14 +7125,17 @@ components:
7054
7125
ConnectorRolloutListRequestBody :
7055
7126
type : object
7056
7127
required :
7057
- - sourceDefinitionId
7058
- - dockerImageTag
7128
+ - docker_repository
7129
+ - docker_image_tag
7130
+ - source_definition_id
7059
7131
properties :
7060
- sourceDefinitionId :
7132
+ docker_repository :
7061
7133
type : string
7062
- format : UUID
7063
- dockerImageTag :
7134
+ docker_image_tag :
7135
+ type : string
7136
+ source_definition_id :
7064
7137
type : string
7138
+ format : uuid
7065
7139
7066
7140
ConnectorRolloutListResponse :
7067
7141
type : object
@@ -7074,59 +7148,41 @@ components:
7074
7148
ConnectorRolloutCreateRequestBody :
7075
7149
type : object
7076
7150
required :
7077
- - id
7151
+ - docker_repository
7152
+ - docker_image_tag
7078
7153
- actor_definition_id
7079
- - release_candidate_version_id
7080
- - state
7081
- - initial_rollout_pct
7082
- - final_target_rollout_pct
7083
- - has_breaking_changes
7084
- - max_step_wait_time_mins
7085
- - expires_at
7086
7154
properties :
7087
- id :
7155
+ docker_repository :
7088
7156
type : string
7089
- format : uuid
7090
- actor_definition_id :
7157
+ docker_image_tag :
7091
7158
type : string
7092
- format : uuid
7093
- release_candidate_version_id :
7159
+ actor_definition_id :
7094
7160
type : string
7095
7161
format : uuid
7096
- state :
7097
- $ref : " #/components/schemas/ConnectorRolloutState"
7098
7162
initial_rollout_pct :
7099
7163
type : integer
7100
- minimum : 1
7101
- maximum : 100
7102
- current_target_rollout_pct :
7103
- type : integer
7164
+ format : int32
7104
7165
minimum : 1
7105
7166
maximum : 100
7106
7167
final_target_rollout_pct :
7107
7168
type : integer
7169
+ format : int32
7108
7170
minimum : 1
7109
7171
maximum : 100
7110
7172
has_breaking_changes :
7111
7173
type : boolean
7112
7174
max_step_wait_time_mins :
7113
7175
type : integer
7176
+ format : int32
7114
7177
minimum : 0
7115
- updated_by :
7116
- type : string
7117
- format : uuid
7118
- error_msg :
7119
- type : string
7120
- failed_reason :
7121
- type : string
7122
- rollout_strategy :
7123
- $ref : " #/components/schemas/ConnectorRolloutStrategy"
7124
7178
expires_at :
7125
7179
type : string
7126
7180
format : date-time
7127
7181
7128
7182
ConnectorRolloutCreateResponse :
7129
7183
type : object
7184
+ required :
7185
+ - data
7130
7186
properties :
7131
7187
data :
7132
7188
$ref : " #/components/schemas/ConnectorRolloutRead"
@@ -7142,24 +7198,89 @@ components:
7142
7198
7143
7199
ConnectorRolloutReadResponse :
7144
7200
type : object
7201
+ required :
7202
+ - data
7145
7203
properties :
7146
7204
data :
7147
7205
$ref : " #/components/schemas/ConnectorRolloutRead"
7148
7206
7149
- ConnectorRolloutUpdateRequestBody :
7207
+ ConnectorRolloutStartRequestBody :
7208
+ type : object
7209
+ required :
7210
+ - docker_repository
7211
+ - docker_image_tag
7212
+ - actor_definition_id
7213
+ - workflow_run_id
7214
+ - rollout_strategy
7215
+ properties :
7216
+ docker_repository :
7217
+ type : string
7218
+ docker_image_tag :
7219
+ type : string
7220
+ actor_definition_id :
7221
+ type : string
7222
+ format : uuid
7223
+ workflow_run_id :
7224
+ type : string
7225
+ rollout_strategy :
7226
+ $ref : " #/components/schemas/ConnectorRolloutStrategy"
7227
+
7228
+ ConnectorRolloutStartResponse :
7150
7229
type : object
7151
7230
required :
7152
- - id
7153
7231
- data
7232
+ properties :
7233
+ data :
7234
+ $ref : " #/components/schemas/ConnectorRolloutRead"
7235
+
7236
+ ConnectorRolloutRequestBody :
7237
+ type : object
7238
+ required :
7239
+ - id
7240
+ - actor_ids
7241
+ - rollout_strategy
7154
7242
properties :
7155
7243
id :
7156
7244
type : string
7157
7245
format : uuid
7246
+ actor_ids :
7247
+ type : array
7248
+ items :
7249
+ $ref : " #/components/schemas/ActorId"
7250
+ rollout_strategy :
7251
+ $ref : " #/components/schemas/ConnectorRolloutStrategy"
7252
+
7253
+ ConnectorRolloutResponse :
7254
+ type : object
7255
+ required :
7256
+ - data
7257
+ properties :
7158
7258
data :
7159
- $ref : " #/components/schemas/ConnectorRolloutCreateRequestBody"
7259
+ $ref : " #/components/schemas/ConnectorRolloutRead"
7260
+
7261
+ ConnectorRolloutFinalizeRequestBody :
7262
+ type : object
7263
+ required :
7264
+ - id
7265
+ - state
7266
+ - rollout_strategy
7267
+ properties :
7268
+ id :
7269
+ type : string
7270
+ format : uuid
7271
+ state :
7272
+ $ref : " #/components/schemas/ConnectorRolloutStateTerminal"
7273
+ error_msg :
7274
+ type : string
7275
+ failed_reason :
7276
+ type : string
7277
+ rollout_strategy :
7278
+ $ref : " #/components/schemas/ConnectorRolloutStrategy"
7160
7279
7161
- ConnectorRolloutUpdateResponse :
7280
+ ConnectorRolloutFinalizeResponse :
7162
7281
type : object
7282
+ required :
7283
+ - data
7163
7284
properties :
7164
7285
data :
7165
7286
$ref : " #/components/schemas/ConnectorRolloutRead"
0 commit comments