Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add start delay in workflow start options #376

Merged
merged 2 commits into from
Mar 21, 2024
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
109 changes: 57 additions & 52 deletions gen/iwfidl/api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -436,9 +436,9 @@ components:
example:
stringValue: stringValue
valueType: null
integerValue: 1
integerValue: 6
boolValue: true
doubleValue: 6.84685269835264
doubleValue: 7.457744773683766
stringArrayValue:
- stringArrayValue
- stringArrayValue
Expand Down Expand Up @@ -486,9 +486,9 @@ components:
WorkflowRetryPolicy:
example:
maximumAttempts: 1
initialIntervalSeconds: 4
initialIntervalSeconds: 7
maximumIntervalSeconds: 1
backoffCoefficient: 7.386282
backoffCoefficient: 1.2315135
properties:
initialIntervalSeconds:
type: integer
Expand Down Expand Up @@ -616,31 +616,32 @@ components:
type: object
WorkflowStartOptions:
example:
workflowStartDelaySeconds: 4
retryPolicy:
maximumAttempts: 1
initialIntervalSeconds: 4
initialIntervalSeconds: 7
maximumIntervalSeconds: 1
backoffCoefficient: 7.386282
backoffCoefficient: 1.2315135
workflowConfigOverride:
disableSystemSearchAttribute: true
continueAsNewThreshold: 7
continueAsNewPageSizeInBytes: 1
continueAsNewThreshold: 1
continueAsNewPageSizeInBytes: 4
idReusePolicy: null
searchAttributes:
- stringValue: stringValue
valueType: null
integerValue: 1
integerValue: 6
boolValue: true
doubleValue: 6.84685269835264
doubleValue: 7.457744773683766
stringArrayValue:
- stringArrayValue
- stringArrayValue
key: key
- stringValue: stringValue
valueType: null
integerValue: 1
integerValue: 6
boolValue: true
doubleValue: 6.84685269835264
doubleValue: 7.457744773683766
stringArrayValue:
- stringArrayValue
- stringArrayValue
Expand All @@ -653,6 +654,9 @@ components:
$ref: '#/components/schemas/WorkflowIDReusePolicy'
cronSchedule:
type: string
workflowStartDelaySeconds:
format: int32
type: integer
retryPolicy:
$ref: '#/components/schemas/WorkflowRetryPolicy'
searchAttributes:
Expand Down Expand Up @@ -818,31 +822,32 @@ components:
backoffCoefficient: 5.637377
iwfWorkflowType: iwfWorkflowType
workflowStartOptions:
workflowStartDelaySeconds: 4
retryPolicy:
maximumAttempts: 1
initialIntervalSeconds: 4
initialIntervalSeconds: 7
maximumIntervalSeconds: 1
backoffCoefficient: 7.386282
backoffCoefficient: 1.2315135
workflowConfigOverride:
disableSystemSearchAttribute: true
continueAsNewThreshold: 7
continueAsNewPageSizeInBytes: 1
continueAsNewThreshold: 1
continueAsNewPageSizeInBytes: 4
idReusePolicy: null
searchAttributes:
- stringValue: stringValue
valueType: null
integerValue: 1
integerValue: 6
boolValue: true
doubleValue: 6.84685269835264
doubleValue: 7.457744773683766
stringArrayValue:
- stringArrayValue
- stringArrayValue
key: key
- stringValue: stringValue
valueType: null
integerValue: 1
integerValue: 6
boolValue: true
doubleValue: 6.84685269835264
doubleValue: 7.457744773683766
stringArrayValue:
- stringArrayValue
- stringArrayValue
Expand Down Expand Up @@ -999,18 +1004,18 @@ components:
searchAttributes:
- stringValue: stringValue
valueType: null
integerValue: 1
integerValue: 6
boolValue: true
doubleValue: 6.84685269835264
doubleValue: 7.457744773683766
stringArrayValue:
- stringArrayValue
- stringArrayValue
key: key
- stringValue: stringValue
valueType: null
integerValue: 1
integerValue: 6
boolValue: true
doubleValue: 6.84685269835264
doubleValue: 7.457744773683766
stringArrayValue:
- stringArrayValue
- stringArrayValue
Expand Down Expand Up @@ -1267,18 +1272,18 @@ components:
searchAttributes:
- stringValue: stringValue
valueType: null
integerValue: 1
integerValue: 6
boolValue: true
doubleValue: 6.84685269835264
doubleValue: 7.457744773683766
stringArrayValue:
- stringArrayValue
- stringArrayValue
key: key
- stringValue: stringValue
valueType: null
integerValue: 1
integerValue: 6
boolValue: true
doubleValue: 6.84685269835264
doubleValue: 7.457744773683766
stringArrayValue:
- stringArrayValue
- stringArrayValue
Expand Down Expand Up @@ -1334,8 +1339,8 @@ components:
example:
workflowConfig:
disableSystemSearchAttribute: true
continueAsNewThreshold: 7
continueAsNewPageSizeInBytes: 1
continueAsNewThreshold: 1
continueAsNewPageSizeInBytes: 4
workflowRunId: workflowRunId
workflowId: workflowId
properties:
Expand Down Expand Up @@ -1430,18 +1435,18 @@ components:
searchAttributes:
- stringValue: stringValue
valueType: null
integerValue: 1
integerValue: 6
boolValue: true
doubleValue: 6.84685269835264
doubleValue: 7.457744773683766
stringArrayValue:
- stringArrayValue
- stringArrayValue
key: key
- stringValue: stringValue
valueType: null
integerValue: 1
integerValue: 6
boolValue: true
doubleValue: 6.84685269835264
doubleValue: 7.457744773683766
stringArrayValue:
- stringArrayValue
- stringArrayValue
Expand Down Expand Up @@ -1486,18 +1491,18 @@ components:
upsertSearchAttributes:
- stringValue: stringValue
valueType: null
integerValue: 1
integerValue: 6
boolValue: true
doubleValue: 6.84685269835264
doubleValue: 7.457744773683766
stringArrayValue:
- stringArrayValue
- stringArrayValue
key: key
- stringValue: stringValue
valueType: null
integerValue: 1
integerValue: 6
boolValue: true
doubleValue: 6.84685269835264
doubleValue: 7.457744773683766
stringArrayValue:
- stringArrayValue
- stringArrayValue
Expand Down Expand Up @@ -1705,18 +1710,18 @@ components:
upsertSearchAttributes:
- stringValue: stringValue
valueType: null
integerValue: 1
integerValue: 6
boolValue: true
doubleValue: 6.84685269835264
doubleValue: 7.457744773683766
stringArrayValue:
- stringArrayValue
- stringArrayValue
key: key
- stringValue: stringValue
valueType: null
integerValue: 1
integerValue: 6
boolValue: true
doubleValue: 6.84685269835264
doubleValue: 7.457744773683766
stringArrayValue:
- stringArrayValue
- stringArrayValue
Expand Down Expand Up @@ -1862,18 +1867,18 @@ components:
searchAttributes:
- stringValue: stringValue
valueType: null
integerValue: 1
integerValue: 6
boolValue: true
doubleValue: 6.84685269835264
doubleValue: 7.457744773683766
stringArrayValue:
- stringArrayValue
- stringArrayValue
key: key
- stringValue: stringValue
valueType: null
integerValue: 1
integerValue: 6
boolValue: true
doubleValue: 6.84685269835264
doubleValue: 7.457744773683766
stringArrayValue:
- stringArrayValue
- stringArrayValue
Expand Down Expand Up @@ -1923,18 +1928,18 @@ components:
upsertSearchAttributes:
- stringValue: stringValue
valueType: null
integerValue: 1
integerValue: 6
boolValue: true
doubleValue: 6.84685269835264
doubleValue: 7.457744773683766
stringArrayValue:
- stringArrayValue
- stringArrayValue
key: key
- stringValue: stringValue
valueType: null
integerValue: 1
integerValue: 6
boolValue: true
doubleValue: 6.84685269835264
doubleValue: 7.457744773683766
stringArrayValue:
- stringArrayValue
- stringArrayValue
Expand Down Expand Up @@ -2650,8 +2655,8 @@ components:
WorkflowConfig:
example:
disableSystemSearchAttribute: true
continueAsNewThreshold: 7
continueAsNewPageSizeInBytes: 1
continueAsNewThreshold: 1
continueAsNewPageSizeInBytes: 4
properties:
disableSystemSearchAttribute:
type: boolean
Expand Down
26 changes: 26 additions & 0 deletions gen/iwfidl/docs/WorkflowStartOptions.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**WorkflowIDReusePolicy** | Pointer to [**WorkflowIDReusePolicy**](WorkflowIDReusePolicy.md) | | [optional]
**CronSchedule** | Pointer to **string** | | [optional]
**WorkflowStartDelaySeconds** | Pointer to **int32** | | [optional]
**RetryPolicy** | Pointer to [**WorkflowRetryPolicy**](WorkflowRetryPolicy.md) | | [optional]
**SearchAttributes** | Pointer to [**[]SearchAttribute**](SearchAttribute.md) | | [optional]
**WorkflowConfigOverride** | Pointer to [**WorkflowConfig**](WorkflowConfig.md) | | [optional]
Expand Down Expand Up @@ -81,6 +82,31 @@ SetCronSchedule sets CronSchedule field to given value.

HasCronSchedule returns a boolean if a field has been set.

### GetWorkflowStartDelaySeconds

`func (o *WorkflowStartOptions) GetWorkflowStartDelaySeconds() int32`

GetWorkflowStartDelaySeconds returns the WorkflowStartDelaySeconds field if non-nil, zero value otherwise.

### GetWorkflowStartDelaySecondsOk

`func (o *WorkflowStartOptions) GetWorkflowStartDelaySecondsOk() (*int32, bool)`

GetWorkflowStartDelaySecondsOk returns a tuple with the WorkflowStartDelaySeconds field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.

### SetWorkflowStartDelaySeconds

`func (o *WorkflowStartOptions) SetWorkflowStartDelaySeconds(v int32)`

SetWorkflowStartDelaySeconds sets WorkflowStartDelaySeconds field to given value.

### HasWorkflowStartDelaySeconds

`func (o *WorkflowStartOptions) HasWorkflowStartDelaySeconds() bool`

HasWorkflowStartDelaySeconds returns a boolean if a field has been set.

### GetRetryPolicy

`func (o *WorkflowStartOptions) GetRetryPolicy() WorkflowRetryPolicy`
Expand Down
Loading
Loading