Skip to content

Commit

Permalink
IWF-158: Updating iwf-idl submodule; pinning openapi generator (#80)
Browse files Browse the repository at this point in the history
  • Loading branch information
stevo89519 authored Oct 3, 2024
1 parent 3effa87 commit 988f6dc
Show file tree
Hide file tree
Showing 48 changed files with 1,877 additions and 304 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ endef

idl-code-gen: #generate/refresh go clent code for idl, do this after update the idl file
rm -Rf ./gen ; true
openapi-generator generate -i iwf-idl/iwf-sdk.yaml -g go -o gen/iwfidl/ -p packageName=iwfidl -p generateInterfaces=true -p isGoSubmodule=false --git-user-id indeedeng --git-repo-id iwf-idl
java -jar openapi-generator-cli-6.6.0.jar generate -i iwf-idl/iwf-sdk.yaml -g go -o gen/iwfidl/ -p packageName=iwfidl -p generateInterfaces=true -p isGoSubmodule=false --git-user-id indeedeng --git-repo-id iwf-idl
rm ./gen/iwfidl/go.* ; rm -rf ./gen/iwfidl/test; gofmt -s -w gen; true

clean: ## Clean binaries and build folder
Expand Down
4 changes: 3 additions & 1 deletion gen/iwfidl/.openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ 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
Expand All @@ -37,6 +37,7 @@ docs/StateMovement.md
docs/TimerCommand.md
docs/TimerResult.md
docs/TimerStatus.md
docs/TriggerContinueAsNewRequest.md
docs/WaitUntilApiFailurePolicy.md
docs/WorkerErrorResponse.md
docs/WorkflowConditionalClose.md
Expand Down Expand Up @@ -111,6 +112,7 @@ model_state_movement.go
model_timer_command.go
model_timer_result.go
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_conditional_close.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 @@
7.0.1
6.6.0
38 changes: 20 additions & 18 deletions gen/iwfidl/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,24 +77,25 @@ 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* | [**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
*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* | [**ApiV1WorkflowTriggerContinueAsNewPost**](docs/DefaultApi.md#apiv1workflowtriggercontinueasnewpost) | **Post** /api/v1/workflow/triggerContinueAsNew | trigger ContinueAsNew for 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
Expand Down Expand Up @@ -129,6 +130,7 @@ Class | Method | HTTP request | Description
- [TimerCommand](docs/TimerCommand.md)
- [TimerResult](docs/TimerResult.md)
- [TimerStatus](docs/TimerStatus.md)
- [TriggerContinueAsNewRequest](docs/TriggerContinueAsNewRequest.md)
- [WaitUntilApiFailurePolicy](docs/WaitUntilApiFailurePolicy.md)
- [WorkerErrorResponse](docs/WorkerErrorResponse.md)
- [WorkflowConditionalClose](docs/WorkflowConditionalClose.md)
Expand Down
Loading

0 comments on commit 988f6dc

Please sign in to comment.