Skip to content

Commit

Permalink
Add execute API failure policy support (#71)
Browse files Browse the repository at this point in the history
  • Loading branch information
nakanaori committed Oct 16, 2023
1 parent 1adfb92 commit 02b964c
Show file tree
Hide file tree
Showing 43 changed files with 2,601 additions and 623 deletions.
18 changes: 13 additions & 5 deletions gen/iwfidl/.openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,17 @@ api_default.go
client.go
configuration.go
docs/ChannelRequestStatus.md
docs/CommandCarryOverPolicy.md
docs/CommandCarryOverType.md
docs/CommandCombination.md
docs/CommandRequest.md
docs/CommandResults.md
docs/CommandWaitingType.md
docs/Context.md
docs/DefaultApi.md
docs/DefaultAPI.md
docs/EncodedObject.md
docs/ErrorResponse.md
docs/ErrorSubStatus.md
docs/ExecuteApiFailurePolicy.md
docs/HealthInfo.md
docs/IDReusePolicy.md
docs/InterStateChannelCommand.md
docs/InterStateChannelPublishing.md
Expand All @@ -39,6 +39,8 @@ docs/TimerResult.md
docs/TimerStatus.md
docs/WaitUntilApiFailurePolicy.md
docs/WorkerErrorResponse.md
docs/WorkflowConditionalClose.md
docs/WorkflowConditionalCloseType.md
docs/WorkflowConfig.md
docs/WorkflowConfigUpdateRequest.md
docs/WorkflowDumpRequest.md
Expand Down Expand Up @@ -72,14 +74,14 @@ docs/WorkflowStateWaitUntilResponse.md
docs/WorkflowStatus.md
docs/WorkflowStopRequest.md
docs/WorkflowStopType.md
docs/WorkflowWaitForStateCompletionRequest.md
docs/WorkflowWaitForStateCompletionResponse.md
docs/WorkflowWorkerRpcRequest.md
docs/WorkflowWorkerRpcResponse.md
git_push.sh
go.mod
go.sum
model_channel_request_status.go
model_command_carry_over_policy.go
model_command_carry_over_type.go
model_command_combination.go
model_command_request.go
model_command_results.go
Expand All @@ -88,6 +90,8 @@ model_context.go
model_encoded_object.go
model_error_response.go
model_error_sub_status.go
model_execute_api_failure_policy.go
model_health_info.go
model_id_reuse_policy.go
model_inter_state_channel_command.go
model_inter_state_channel_publishing.go
Expand All @@ -109,6 +113,8 @@ model_timer_result.go
model_timer_status.go
model_wait_until_api_failure_policy.go
model_worker_error_response.go
model_workflow_conditional_close.go
model_workflow_conditional_close_type.go
model_workflow_config.go
model_workflow_config_update_request.go
model_workflow_dump_request.go
Expand Down Expand Up @@ -142,6 +148,8 @@ model_workflow_state_wait_until_response.go
model_workflow_status.go
model_workflow_stop_request.go
model_workflow_stop_type.go
model_workflow_wait_for_state_completion_request.go
model_workflow_wait_for_state_completion_response.go
model_workflow_worker_rpc_request.go
model_workflow_worker_rpc_response.go
response.go
Expand Down
2 changes: 1 addition & 1 deletion gen/iwfidl/.openapi-generator/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
6.6.0
7.0.1
42 changes: 24 additions & 18 deletions gen/iwfidl/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,29 +77,29 @@ 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* | [**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* | [**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
*DefaultApi* | [**ApiV1WorkflowStateStartPost**](docs/DefaultApi.md#apiv1workflowstatestartpost) | **Post** /api/v1/workflowState/start | for invoking WorkflowState.waitUntil API
*DefaultApi* | [**ApiV1WorkflowStopPost**](docs/DefaultApi.md#apiv1workflowstoppost) | **Post** /api/v1/workflow/stop | stop a workflow
*DefaultApi* | [**ApiV1WorkflowTimerSkipPost**](docs/DefaultApi.md#apiv1workflowtimerskippost) | **Post** /api/v1/workflow/timer/skip | skip the timer of a workflow
*DefaultApi* | [**ApiV1WorkflowWorkerRpcPost**](docs/DefaultApi.md#apiv1workflowworkerrpcpost) | **Post** /api/v1/workflowWorker/rpc | for invoking workflow RPC API in the worker
*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* | [**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* | [**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
*DefaultAPI* | [**ApiV1WorkflowStateStartPost**](docs/DefaultAPI.md#apiv1workflowstatestartpost) | **Post** /api/v1/workflowState/start | for invoking WorkflowState.waitUntil API
*DefaultAPI* | [**ApiV1WorkflowStopPost**](docs/DefaultAPI.md#apiv1workflowstoppost) | **Post** /api/v1/workflow/stop | stop a workflow
*DefaultAPI* | [**ApiV1WorkflowTimerSkipPost**](docs/DefaultAPI.md#apiv1workflowtimerskippost) | **Post** /api/v1/workflow/timer/skip | skip the timer of a workflow
*DefaultAPI* | [**ApiV1WorkflowWaitForStateCompletionPost**](docs/DefaultAPI.md#apiv1workflowwaitforstatecompletionpost) | **Post** /api/v1/workflow/waitForStateCompletion |
*DefaultAPI* | [**ApiV1WorkflowWorkerRpcPost**](docs/DefaultAPI.md#apiv1workflowworkerrpcpost) | **Post** /api/v1/workflowWorker/rpc | for invoking workflow RPC API in the worker
*DefaultAPI* | [**InfoHealthcheckGet**](docs/DefaultAPI.md#infohealthcheckget) | **Get** /info/healthcheck | return health info of the server


## Documentation For Models

- [ChannelRequestStatus](docs/ChannelRequestStatus.md)
- [CommandCarryOverPolicy](docs/CommandCarryOverPolicy.md)
- [CommandCarryOverType](docs/CommandCarryOverType.md)
- [CommandCombination](docs/CommandCombination.md)
- [CommandRequest](docs/CommandRequest.md)
- [CommandResults](docs/CommandResults.md)
Expand All @@ -108,6 +108,8 @@ Class | Method | HTTP request | Description
- [EncodedObject](docs/EncodedObject.md)
- [ErrorResponse](docs/ErrorResponse.md)
- [ErrorSubStatus](docs/ErrorSubStatus.md)
- [ExecuteApiFailurePolicy](docs/ExecuteApiFailurePolicy.md)
- [HealthInfo](docs/HealthInfo.md)
- [IDReusePolicy](docs/IDReusePolicy.md)
- [InterStateChannelCommand](docs/InterStateChannelCommand.md)
- [InterStateChannelPublishing](docs/InterStateChannelPublishing.md)
Expand All @@ -129,6 +131,8 @@ Class | Method | HTTP request | Description
- [TimerStatus](docs/TimerStatus.md)
- [WaitUntilApiFailurePolicy](docs/WaitUntilApiFailurePolicy.md)
- [WorkerErrorResponse](docs/WorkerErrorResponse.md)
- [WorkflowConditionalClose](docs/WorkflowConditionalClose.md)
- [WorkflowConditionalCloseType](docs/WorkflowConditionalCloseType.md)
- [WorkflowConfig](docs/WorkflowConfig.md)
- [WorkflowConfigUpdateRequest](docs/WorkflowConfigUpdateRequest.md)
- [WorkflowDumpRequest](docs/WorkflowDumpRequest.md)
Expand Down Expand Up @@ -162,6 +166,8 @@ Class | Method | HTTP request | Description
- [WorkflowStatus](docs/WorkflowStatus.md)
- [WorkflowStopRequest](docs/WorkflowStopRequest.md)
- [WorkflowStopType](docs/WorkflowStopType.md)
- [WorkflowWaitForStateCompletionRequest](docs/WorkflowWaitForStateCompletionRequest.md)
- [WorkflowWaitForStateCompletionResponse](docs/WorkflowWaitForStateCompletionResponse.md)
- [WorkflowWorkerRpcRequest](docs/WorkflowWorkerRpcRequest.md)
- [WorkflowWorkerRpcResponse](docs/WorkflowWorkerRpcResponse.md)

Expand Down
Loading

0 comments on commit 02b964c

Please sign in to comment.