Skip to content

Commit

Permalink
IWF-536: Update iwf-idl and replace deprecated workflow type error (#86)
Browse files Browse the repository at this point in the history
  • Loading branch information
stevo89519 authored Feb 4, 2025
1 parent 6ef106e commit 7a059b5
Show file tree
Hide file tree
Showing 28 changed files with 1,999 additions and 116 deletions.
10 changes: 10 additions & 0 deletions gen/iwfidl/.openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ api/openapi.yaml
api_default.go
client.go
configuration.go
docs/ChannelInfo.md
docs/ChannelRequestStatus.md
docs/CommandCombination.md
docs/CommandRequest.md
Expand All @@ -17,6 +18,7 @@ docs/EncodedObject.md
docs/ErrorResponse.md
docs/ErrorSubStatus.md
docs/ExecuteApiFailurePolicy.md
docs/ExecutingStateIdMode.md
docs/HealthInfo.md
docs/IDReusePolicy.md
docs/InterStateChannelCommand.md
Expand All @@ -40,6 +42,7 @@ docs/TimerStatus.md
docs/TriggerContinueAsNewRequest.md
docs/WaitUntilApiFailurePolicy.md
docs/WorkerErrorResponse.md
docs/WorkflowAlreadyStartedOptions.md
docs/WorkflowConditionalClose.md
docs/WorkflowConditionalCloseType.md
docs/WorkflowConfig.md
Expand All @@ -62,6 +65,8 @@ docs/WorkflowRpcResponse.md
docs/WorkflowSearchRequest.md
docs/WorkflowSearchResponse.md
docs/WorkflowSearchResponseEntry.md
docs/WorkflowSetDataObjectsRequest.md
docs/WorkflowSetSearchAttributesRequest.md
docs/WorkflowSignalRequest.md
docs/WorkflowSkipTimerRequest.md
docs/WorkflowStartOptions.md
Expand All @@ -82,6 +87,7 @@ docs/WorkflowWorkerRpcResponse.md
git_push.sh
go.mod
go.sum
model_channel_info.go
model_channel_request_status.go
model_command_combination.go
model_command_request.go
Expand All @@ -92,6 +98,7 @@ model_encoded_object.go
model_error_response.go
model_error_sub_status.go
model_execute_api_failure_policy.go
model_executing_state_id_mode.go
model_health_info.go
model_id_reuse_policy.go
model_inter_state_channel_command.go
Expand All @@ -115,6 +122,7 @@ model_timer_status.go
model_trigger_continue_as_new_request.go
model_wait_until_api_failure_policy.go
model_worker_error_response.go
model_workflow_already_started_options.go
model_workflow_conditional_close.go
model_workflow_conditional_close_type.go
model_workflow_config.go
Expand All @@ -137,6 +145,8 @@ model_workflow_rpc_response.go
model_workflow_search_request.go
model_workflow_search_response.go
model_workflow_search_response_entry.go
model_workflow_set_data_objects_request.go
model_workflow_set_search_attributes_request.go
model_workflow_signal_request.go
model_workflow_skip_timer_request.go
model_workflow_start_options.go
Expand Down
9 changes: 8 additions & 1 deletion gen/iwfidl/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,14 +78,16 @@ All URIs are relative to *http://petstore.swagger.io/v2*
Class | Method | HTTP request | Description
------------ | ------------- | ------------- | -------------
*DefaultApi* | [**ApiV1WorkflowConfigUpdatePost**](docs/DefaultApi.md#apiv1workflowconfigupdatepost) | **Post** /api/v1/workflow/config/update | update the config of a workflow
*DefaultApi* | [**ApiV1WorkflowDataobjectsGetPost**](docs/DefaultApi.md#apiv1workflowdataobjectsgetpost) | **Post** /api/v1/workflow/dataobjects/get | get workflow data objects
*DefaultApi* | [**ApiV1WorkflowDataobjectsGetPost**](docs/DefaultApi.md#apiv1workflowdataobjectsgetpost) | **Post** /api/v1/workflow/dataobjects/get | get workflow data objects aka data attributes
*DefaultApi* | [**ApiV1WorkflowDataobjectsSetPost**](docs/DefaultApi.md#apiv1workflowdataobjectssetpost) | **Post** /api/v1/workflow/dataobjects/set | set workflow data objects aka data attributes
*DefaultApi* | [**ApiV1WorkflowGetPost**](docs/DefaultApi.md#apiv1workflowgetpost) | **Post** /api/v1/workflow/get | get a workflow's status and results(if completed & requested)
*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
*DefaultApi* | [**ApiV1WorkflowInternalDumpPost**](docs/DefaultApi.md#apiv1workflowinternaldumppost) | **Post** /api/v1/workflow/internal/dump | dump internal info of a workflow
*DefaultApi* | [**ApiV1WorkflowResetPost**](docs/DefaultApi.md#apiv1workflowresetpost) | **Post** /api/v1/workflow/reset | reset a workflow
*DefaultApi* | [**ApiV1WorkflowRpcPost**](docs/DefaultApi.md#apiv1workflowrpcpost) | **Post** /api/v1/workflow/rpc | execute an RPC of a workflow
*DefaultApi* | [**ApiV1WorkflowSearchPost**](docs/DefaultApi.md#apiv1workflowsearchpost) | **Post** /api/v1/workflow/search | search for workflows by a search attribute query
*DefaultApi* | [**ApiV1WorkflowSearchattributesGetPost**](docs/DefaultApi.md#apiv1workflowsearchattributesgetpost) | **Post** /api/v1/workflow/searchattributes/get | get workflow search attributes
*DefaultApi* | [**ApiV1WorkflowSearchattributesSetPost**](docs/DefaultApi.md#apiv1workflowsearchattributessetpost) | **Post** /api/v1/workflow/searchattributes/set | set workflow search attributes
*DefaultApi* | [**ApiV1WorkflowSignalPost**](docs/DefaultApi.md#apiv1workflowsignalpost) | **Post** /api/v1/workflow/signal | signal a workflow
*DefaultApi* | [**ApiV1WorkflowStartPost**](docs/DefaultApi.md#apiv1workflowstartpost) | **Post** /api/v1/workflow/start | start a workflow
*DefaultApi* | [**ApiV1WorkflowStateDecidePost**](docs/DefaultApi.md#apiv1workflowstatedecidepost) | **Post** /api/v1/workflowState/decide | for invoking WorkflowState.execute API
Expand All @@ -100,6 +102,7 @@ Class | Method | HTTP request | Description

## Documentation For Models

- [ChannelInfo](docs/ChannelInfo.md)
- [ChannelRequestStatus](docs/ChannelRequestStatus.md)
- [CommandCombination](docs/CommandCombination.md)
- [CommandRequest](docs/CommandRequest.md)
Expand All @@ -110,6 +113,7 @@ Class | Method | HTTP request | Description
- [ErrorResponse](docs/ErrorResponse.md)
- [ErrorSubStatus](docs/ErrorSubStatus.md)
- [ExecuteApiFailurePolicy](docs/ExecuteApiFailurePolicy.md)
- [ExecutingStateIdMode](docs/ExecutingStateIdMode.md)
- [HealthInfo](docs/HealthInfo.md)
- [IDReusePolicy](docs/IDReusePolicy.md)
- [InterStateChannelCommand](docs/InterStateChannelCommand.md)
Expand All @@ -133,6 +137,7 @@ Class | Method | HTTP request | Description
- [TriggerContinueAsNewRequest](docs/TriggerContinueAsNewRequest.md)
- [WaitUntilApiFailurePolicy](docs/WaitUntilApiFailurePolicy.md)
- [WorkerErrorResponse](docs/WorkerErrorResponse.md)
- [WorkflowAlreadyStartedOptions](docs/WorkflowAlreadyStartedOptions.md)
- [WorkflowConditionalClose](docs/WorkflowConditionalClose.md)
- [WorkflowConditionalCloseType](docs/WorkflowConditionalCloseType.md)
- [WorkflowConfig](docs/WorkflowConfig.md)
Expand All @@ -155,6 +160,8 @@ Class | Method | HTTP request | Description
- [WorkflowSearchRequest](docs/WorkflowSearchRequest.md)
- [WorkflowSearchResponse](docs/WorkflowSearchResponse.md)
- [WorkflowSearchResponseEntry](docs/WorkflowSearchResponseEntry.md)
- [WorkflowSetDataObjectsRequest](docs/WorkflowSetDataObjectsRequest.md)
- [WorkflowSetSearchAttributesRequest](docs/WorkflowSetSearchAttributesRequest.md)
- [WorkflowSignalRequest](docs/WorkflowSignalRequest.md)
- [WorkflowSkipTimerRequest](docs/WorkflowSkipTimerRequest.md)
- [WorkflowStartOptions](docs/WorkflowStartOptions.md)
Expand Down
Loading

0 comments on commit 7a059b5

Please sign in to comment.