Skip to content

Commit 7a059b5

Browse files
authored
IWF-536: Update iwf-idl and replace deprecated workflow type error (#86)
1 parent 6ef106e commit 7a059b5

28 files changed

+1999
-116
lines changed

Diff for: gen/iwfidl/.openapi-generator/FILES

+10
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ api/openapi.yaml
66
api_default.go
77
client.go
88
configuration.go
9+
docs/ChannelInfo.md
910
docs/ChannelRequestStatus.md
1011
docs/CommandCombination.md
1112
docs/CommandRequest.md
@@ -17,6 +18,7 @@ docs/EncodedObject.md
1718
docs/ErrorResponse.md
1819
docs/ErrorSubStatus.md
1920
docs/ExecuteApiFailurePolicy.md
21+
docs/ExecutingStateIdMode.md
2022
docs/HealthInfo.md
2123
docs/IDReusePolicy.md
2224
docs/InterStateChannelCommand.md
@@ -40,6 +42,7 @@ docs/TimerStatus.md
4042
docs/TriggerContinueAsNewRequest.md
4143
docs/WaitUntilApiFailurePolicy.md
4244
docs/WorkerErrorResponse.md
45+
docs/WorkflowAlreadyStartedOptions.md
4346
docs/WorkflowConditionalClose.md
4447
docs/WorkflowConditionalCloseType.md
4548
docs/WorkflowConfig.md
@@ -62,6 +65,8 @@ docs/WorkflowRpcResponse.md
6265
docs/WorkflowSearchRequest.md
6366
docs/WorkflowSearchResponse.md
6467
docs/WorkflowSearchResponseEntry.md
68+
docs/WorkflowSetDataObjectsRequest.md
69+
docs/WorkflowSetSearchAttributesRequest.md
6570
docs/WorkflowSignalRequest.md
6671
docs/WorkflowSkipTimerRequest.md
6772
docs/WorkflowStartOptions.md
@@ -82,6 +87,7 @@ docs/WorkflowWorkerRpcResponse.md
8287
git_push.sh
8388
go.mod
8489
go.sum
90+
model_channel_info.go
8591
model_channel_request_status.go
8692
model_command_combination.go
8793
model_command_request.go
@@ -92,6 +98,7 @@ model_encoded_object.go
9298
model_error_response.go
9399
model_error_sub_status.go
94100
model_execute_api_failure_policy.go
101+
model_executing_state_id_mode.go
95102
model_health_info.go
96103
model_id_reuse_policy.go
97104
model_inter_state_channel_command.go
@@ -115,6 +122,7 @@ model_timer_status.go
115122
model_trigger_continue_as_new_request.go
116123
model_wait_until_api_failure_policy.go
117124
model_worker_error_response.go
125+
model_workflow_already_started_options.go
118126
model_workflow_conditional_close.go
119127
model_workflow_conditional_close_type.go
120128
model_workflow_config.go
@@ -137,6 +145,8 @@ model_workflow_rpc_response.go
137145
model_workflow_search_request.go
138146
model_workflow_search_response.go
139147
model_workflow_search_response_entry.go
148+
model_workflow_set_data_objects_request.go
149+
model_workflow_set_search_attributes_request.go
140150
model_workflow_signal_request.go
141151
model_workflow_skip_timer_request.go
142152
model_workflow_start_options.go

Diff for: gen/iwfidl/README.md

+8-1
Original file line numberDiff line numberDiff line change
@@ -78,14 +78,16 @@ All URIs are relative to *http://petstore.swagger.io/v2*
7878
Class | Method | HTTP request | Description
7979
------------ | ------------- | ------------- | -------------
8080
*DefaultApi* | [**ApiV1WorkflowConfigUpdatePost**](docs/DefaultApi.md#apiv1workflowconfigupdatepost) | **Post** /api/v1/workflow/config/update | update the config of a workflow
81-
*DefaultApi* | [**ApiV1WorkflowDataobjectsGetPost**](docs/DefaultApi.md#apiv1workflowdataobjectsgetpost) | **Post** /api/v1/workflow/dataobjects/get | get workflow data objects
81+
*DefaultApi* | [**ApiV1WorkflowDataobjectsGetPost**](docs/DefaultApi.md#apiv1workflowdataobjectsgetpost) | **Post** /api/v1/workflow/dataobjects/get | get workflow data objects aka data attributes
82+
*DefaultApi* | [**ApiV1WorkflowDataobjectsSetPost**](docs/DefaultApi.md#apiv1workflowdataobjectssetpost) | **Post** /api/v1/workflow/dataobjects/set | set workflow data objects aka data attributes
8283
*DefaultApi* | [**ApiV1WorkflowGetPost**](docs/DefaultApi.md#apiv1workflowgetpost) | **Post** /api/v1/workflow/get | get a workflow's status and results(if completed & requested)
8384
*DefaultApi* | [**ApiV1WorkflowGetWithWaitPost**](docs/DefaultApi.md#apiv1workflowgetwithwaitpost) | **Post** /api/v1/workflow/getWithWait | get a workflow's status and results(if completed & requested), wait if the workflow is still running
8485
*DefaultApi* | [**ApiV1WorkflowInternalDumpPost**](docs/DefaultApi.md#apiv1workflowinternaldumppost) | **Post** /api/v1/workflow/internal/dump | dump internal info of a workflow
8586
*DefaultApi* | [**ApiV1WorkflowResetPost**](docs/DefaultApi.md#apiv1workflowresetpost) | **Post** /api/v1/workflow/reset | reset a workflow
8687
*DefaultApi* | [**ApiV1WorkflowRpcPost**](docs/DefaultApi.md#apiv1workflowrpcpost) | **Post** /api/v1/workflow/rpc | execute an RPC of a workflow
8788
*DefaultApi* | [**ApiV1WorkflowSearchPost**](docs/DefaultApi.md#apiv1workflowsearchpost) | **Post** /api/v1/workflow/search | search for workflows by a search attribute query
8889
*DefaultApi* | [**ApiV1WorkflowSearchattributesGetPost**](docs/DefaultApi.md#apiv1workflowsearchattributesgetpost) | **Post** /api/v1/workflow/searchattributes/get | get workflow search attributes
90+
*DefaultApi* | [**ApiV1WorkflowSearchattributesSetPost**](docs/DefaultApi.md#apiv1workflowsearchattributessetpost) | **Post** /api/v1/workflow/searchattributes/set | set workflow search attributes
8991
*DefaultApi* | [**ApiV1WorkflowSignalPost**](docs/DefaultApi.md#apiv1workflowsignalpost) | **Post** /api/v1/workflow/signal | signal a workflow
9092
*DefaultApi* | [**ApiV1WorkflowStartPost**](docs/DefaultApi.md#apiv1workflowstartpost) | **Post** /api/v1/workflow/start | start a workflow
9193
*DefaultApi* | [**ApiV1WorkflowStateDecidePost**](docs/DefaultApi.md#apiv1workflowstatedecidepost) | **Post** /api/v1/workflowState/decide | for invoking WorkflowState.execute API
@@ -100,6 +102,7 @@ Class | Method | HTTP request | Description
100102

101103
## Documentation For Models
102104

105+
- [ChannelInfo](docs/ChannelInfo.md)
103106
- [ChannelRequestStatus](docs/ChannelRequestStatus.md)
104107
- [CommandCombination](docs/CommandCombination.md)
105108
- [CommandRequest](docs/CommandRequest.md)
@@ -110,6 +113,7 @@ Class | Method | HTTP request | Description
110113
- [ErrorResponse](docs/ErrorResponse.md)
111114
- [ErrorSubStatus](docs/ErrorSubStatus.md)
112115
- [ExecuteApiFailurePolicy](docs/ExecuteApiFailurePolicy.md)
116+
- [ExecutingStateIdMode](docs/ExecutingStateIdMode.md)
113117
- [HealthInfo](docs/HealthInfo.md)
114118
- [IDReusePolicy](docs/IDReusePolicy.md)
115119
- [InterStateChannelCommand](docs/InterStateChannelCommand.md)
@@ -133,6 +137,7 @@ Class | Method | HTTP request | Description
133137
- [TriggerContinueAsNewRequest](docs/TriggerContinueAsNewRequest.md)
134138
- [WaitUntilApiFailurePolicy](docs/WaitUntilApiFailurePolicy.md)
135139
- [WorkerErrorResponse](docs/WorkerErrorResponse.md)
140+
- [WorkflowAlreadyStartedOptions](docs/WorkflowAlreadyStartedOptions.md)
136141
- [WorkflowConditionalClose](docs/WorkflowConditionalClose.md)
137142
- [WorkflowConditionalCloseType](docs/WorkflowConditionalCloseType.md)
138143
- [WorkflowConfig](docs/WorkflowConfig.md)
@@ -155,6 +160,8 @@ Class | Method | HTTP request | Description
155160
- [WorkflowSearchRequest](docs/WorkflowSearchRequest.md)
156161
- [WorkflowSearchResponse](docs/WorkflowSearchResponse.md)
157162
- [WorkflowSearchResponseEntry](docs/WorkflowSearchResponseEntry.md)
163+
- [WorkflowSetDataObjectsRequest](docs/WorkflowSetDataObjectsRequest.md)
164+
- [WorkflowSetSearchAttributesRequest](docs/WorkflowSetSearchAttributesRequest.md)
158165
- [WorkflowSignalRequest](docs/WorkflowSignalRequest.md)
159166
- [WorkflowSkipTimerRequest](docs/WorkflowSkipTimerRequest.md)
160167
- [WorkflowStartOptions](docs/WorkflowStartOptions.md)

0 commit comments

Comments
 (0)