Skip to content

Commit

Permalink
Revert "add cron schedule and workflow id reuse policy (#79)"
Browse files Browse the repository at this point in the history
This reverts commit 9a5c25e.
  • Loading branch information
longquanzheng committed Nov 15, 2022
1 parent 9a5c25e commit e9d319d
Show file tree
Hide file tree
Showing 13 changed files with 10 additions and 389 deletions.
2 changes: 0 additions & 2 deletions gen/iwfidl/.openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ docs/WorkflowSearchRequest.md
docs/WorkflowSearchResponse.md
docs/WorkflowSearchResponseEntry.md
docs/WorkflowSignalRequest.md
docs/WorkflowStartOptions.md
docs/WorkflowStartRequest.md
docs/WorkflowStartResponse.md
docs/WorkflowStateDecideRequest.md
Expand Down Expand Up @@ -84,7 +83,6 @@ model_workflow_search_request.go
model_workflow_search_response.go
model_workflow_search_response_entry.go
model_workflow_signal_request.go
model_workflow_start_options.go
model_workflow_start_request.go
model_workflow_start_response.go
model_workflow_state_decide_request.go
Expand Down
1 change: 0 additions & 1 deletion gen/iwfidl/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,6 @@ Class | Method | HTTP request | Description
- [WorkflowSearchResponse](docs/WorkflowSearchResponse.md)
- [WorkflowSearchResponseEntry](docs/WorkflowSearchResponseEntry.md)
- [WorkflowSignalRequest](docs/WorkflowSignalRequest.md)
- [WorkflowStartOptions](docs/WorkflowStartOptions.md)
- [WorkflowStartRequest](docs/WorkflowStartRequest.md)
- [WorkflowStartResponse](docs/WorkflowStartResponse.md)
- [WorkflowStateDecideRequest](docs/WorkflowStateDecideRequest.md)
Expand Down
20 changes: 0 additions & 20 deletions gen/iwfidl/api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -314,21 +314,6 @@ components:
commandCarryOverPolicy:
$ref: '#/components/schemas/CommandCarryOverPolicy'
type: object
WorkflowStartOptions:
example:
workflowIDReusePolicy: ALLOW_DUPLICATE_FAILED_ONLY
cronSchedule: cronSchedule
properties:
workflowIDReusePolicy:
enum:
- ALLOW_DUPLICATE_FAILED_ONLY
- ALLOW_DUPLICATE
- REJECT_DUPLICATE
- TERMINATE_IF_RUNNING
type: string
cronSchedule:
type: string
type: object
AttributesLoadingPolicy:
example:
attributeLoadingType: LOAD_ALL_WITHOUT_LOCKING
Expand Down Expand Up @@ -379,9 +364,6 @@ components:
- attributeKeys
- attributeKeys
iwfWorkflowType: iwfWorkflowType
workflowStartOptions:
workflowIDReusePolicy: ALLOW_DUPLICATE_FAILED_ONLY
cronSchedule: cronSchedule
iwfWorkerUrl: iwfWorkerUrl
workflowId: workflowId
stateInput:
Expand All @@ -402,8 +384,6 @@ components:
$ref: '#/components/schemas/EncodedObject'
stateOptions:
$ref: '#/components/schemas/WorkflowStateOptions'
workflowStartOptions:
$ref: '#/components/schemas/WorkflowStartOptions'
required:
- iwfWorkerUrl
- iwfWorkflowType
Expand Down
82 changes: 0 additions & 82 deletions gen/iwfidl/docs/WorkflowStartOptions.md

This file was deleted.

26 changes: 0 additions & 26 deletions gen/iwfidl/docs/WorkflowStartRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ Name | Type | Description | Notes
**StartStateId** | **string** | |
**StateInput** | Pointer to [**EncodedObject**](EncodedObject.md) | | [optional]
**StateOptions** | Pointer to [**WorkflowStateOptions**](WorkflowStateOptions.md) | | [optional]
**WorkflowStartOptions** | Pointer to [**WorkflowStartOptions**](WorkflowStartOptions.md) | | [optional]

## Methods

Expand Down Expand Up @@ -182,31 +181,6 @@ SetStateOptions sets StateOptions field to given value.

HasStateOptions returns a boolean if a field has been set.

### GetWorkflowStartOptions

`func (o *WorkflowStartRequest) GetWorkflowStartOptions() WorkflowStartOptions`

GetWorkflowStartOptions returns the WorkflowStartOptions field if non-nil, zero value otherwise.

### GetWorkflowStartOptionsOk

`func (o *WorkflowStartRequest) GetWorkflowStartOptionsOk() (*WorkflowStartOptions, bool)`

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

### SetWorkflowStartOptions

`func (o *WorkflowStartRequest) SetWorkflowStartOptions(v WorkflowStartOptions)`

SetWorkflowStartOptions sets WorkflowStartOptions field to given value.

### HasWorkflowStartOptions

`func (o *WorkflowStartRequest) HasWorkflowStartOptions() bool`

HasWorkflowStartOptions returns a boolean if a field has been set.


[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

Expand Down
151 changes: 0 additions & 151 deletions gen/iwfidl/model_workflow_start_options.go

This file was deleted.

36 changes: 0 additions & 36 deletions gen/iwfidl/model_workflow_start_request.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion iwf-idl
Submodule iwf-idl updated 2 files
+0 −76 CODE_OF_CONDUCT.md
+0 −14 iwf.yaml
Loading

0 comments on commit e9d319d

Please sign in to comment.