Skip to content

Commit 988f6dc

Browse files
authored
IWF-158: Updating iwf-idl submodule; pinning openapi generator (#80)
1 parent 3effa87 commit 988f6dc

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+1877
-304
lines changed

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ endef
120120

121121
idl-code-gen: #generate/refresh go clent code for idl, do this after update the idl file
122122
rm -Rf ./gen ; true
123-
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
123+
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
124124
rm ./gen/iwfidl/go.* ; rm -rf ./gen/iwfidl/test; gofmt -s -w gen; true
125125

126126
clean: ## Clean binaries and build folder

gen/iwfidl/.openapi-generator/FILES

+3-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ docs/CommandRequest.md
1212
docs/CommandResults.md
1313
docs/CommandWaitingType.md
1414
docs/Context.md
15-
docs/DefaultAPI.md
15+
docs/DefaultApi.md
1616
docs/EncodedObject.md
1717
docs/ErrorResponse.md
1818
docs/ErrorSubStatus.md
@@ -37,6 +37,7 @@ docs/StateMovement.md
3737
docs/TimerCommand.md
3838
docs/TimerResult.md
3939
docs/TimerStatus.md
40+
docs/TriggerContinueAsNewRequest.md
4041
docs/WaitUntilApiFailurePolicy.md
4142
docs/WorkerErrorResponse.md
4243
docs/WorkflowConditionalClose.md
@@ -111,6 +112,7 @@ model_state_movement.go
111112
model_timer_command.go
112113
model_timer_result.go
113114
model_timer_status.go
115+
model_trigger_continue_as_new_request.go
114116
model_wait_until_api_failure_policy.go
115117
model_worker_error_response.go
116118
model_workflow_conditional_close.go

gen/iwfidl/.openapi-generator/VERSION

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
7.0.1
1+
6.6.0

gen/iwfidl/README.md

+20-18
Original file line numberDiff line numberDiff line change
@@ -77,24 +77,25 @@ All URIs are relative to *http://petstore.swagger.io/v2*
7777

7878
Class | Method | HTTP request | Description
7979
------------ | ------------- | ------------- | -------------
80-
*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
82-
*DefaultAPI* | [**ApiV1WorkflowGetPost**](docs/DefaultAPI.md#apiv1workflowgetpost) | **Post** /api/v1/workflow/get | get a workflow's status and results(if completed & requested)
83-
*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
84-
*DefaultAPI* | [**ApiV1WorkflowInternalDumpPost**](docs/DefaultAPI.md#apiv1workflowinternaldumppost) | **Post** /api/v1/workflow/internal/dump | dump internal info of a workflow
85-
*DefaultAPI* | [**ApiV1WorkflowResetPost**](docs/DefaultAPI.md#apiv1workflowresetpost) | **Post** /api/v1/workflow/reset | reset a workflow
86-
*DefaultAPI* | [**ApiV1WorkflowRpcPost**](docs/DefaultAPI.md#apiv1workflowrpcpost) | **Post** /api/v1/workflow/rpc | execute an RPC of a workflow
87-
*DefaultAPI* | [**ApiV1WorkflowSearchPost**](docs/DefaultAPI.md#apiv1workflowsearchpost) | **Post** /api/v1/workflow/search | search for workflows by a search attribute query
88-
*DefaultAPI* | [**ApiV1WorkflowSearchattributesGetPost**](docs/DefaultAPI.md#apiv1workflowsearchattributesgetpost) | **Post** /api/v1/workflow/searchattributes/get | get workflow search attributes
89-
*DefaultAPI* | [**ApiV1WorkflowSignalPost**](docs/DefaultAPI.md#apiv1workflowsignalpost) | **Post** /api/v1/workflow/signal | signal a workflow
90-
*DefaultAPI* | [**ApiV1WorkflowStartPost**](docs/DefaultAPI.md#apiv1workflowstartpost) | **Post** /api/v1/workflow/start | start a workflow
91-
*DefaultAPI* | [**ApiV1WorkflowStateDecidePost**](docs/DefaultAPI.md#apiv1workflowstatedecidepost) | **Post** /api/v1/workflowState/decide | for invoking WorkflowState.execute API
92-
*DefaultAPI* | [**ApiV1WorkflowStateStartPost**](docs/DefaultAPI.md#apiv1workflowstatestartpost) | **Post** /api/v1/workflowState/start | for invoking WorkflowState.waitUntil API
93-
*DefaultAPI* | [**ApiV1WorkflowStopPost**](docs/DefaultAPI.md#apiv1workflowstoppost) | **Post** /api/v1/workflow/stop | stop a workflow
94-
*DefaultAPI* | [**ApiV1WorkflowTimerSkipPost**](docs/DefaultAPI.md#apiv1workflowtimerskippost) | **Post** /api/v1/workflow/timer/skip | skip the timer of a workflow
95-
*DefaultAPI* | [**ApiV1WorkflowWaitForStateCompletionPost**](docs/DefaultAPI.md#apiv1workflowwaitforstatecompletionpost) | **Post** /api/v1/workflow/waitForStateCompletion |
96-
*DefaultAPI* | [**ApiV1WorkflowWorkerRpcPost**](docs/DefaultAPI.md#apiv1workflowworkerrpcpost) | **Post** /api/v1/workflowWorker/rpc | for invoking workflow RPC API in the worker
97-
*DefaultAPI* | [**InfoHealthcheckGet**](docs/DefaultAPI.md#infohealthcheckget) | **Get** /info/healthcheck | return health info of the server
80+
*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
82+
*DefaultApi* | [**ApiV1WorkflowGetPost**](docs/DefaultApi.md#apiv1workflowgetpost) | **Post** /api/v1/workflow/get | get a workflow's status and results(if completed & requested)
83+
*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
84+
*DefaultApi* | [**ApiV1WorkflowInternalDumpPost**](docs/DefaultApi.md#apiv1workflowinternaldumppost) | **Post** /api/v1/workflow/internal/dump | dump internal info of a workflow
85+
*DefaultApi* | [**ApiV1WorkflowResetPost**](docs/DefaultApi.md#apiv1workflowresetpost) | **Post** /api/v1/workflow/reset | reset a workflow
86+
*DefaultApi* | [**ApiV1WorkflowRpcPost**](docs/DefaultApi.md#apiv1workflowrpcpost) | **Post** /api/v1/workflow/rpc | execute an RPC of a workflow
87+
*DefaultApi* | [**ApiV1WorkflowSearchPost**](docs/DefaultApi.md#apiv1workflowsearchpost) | **Post** /api/v1/workflow/search | search for workflows by a search attribute query
88+
*DefaultApi* | [**ApiV1WorkflowSearchattributesGetPost**](docs/DefaultApi.md#apiv1workflowsearchattributesgetpost) | **Post** /api/v1/workflow/searchattributes/get | get workflow search attributes
89+
*DefaultApi* | [**ApiV1WorkflowSignalPost**](docs/DefaultApi.md#apiv1workflowsignalpost) | **Post** /api/v1/workflow/signal | signal a workflow
90+
*DefaultApi* | [**ApiV1WorkflowStartPost**](docs/DefaultApi.md#apiv1workflowstartpost) | **Post** /api/v1/workflow/start | start a workflow
91+
*DefaultApi* | [**ApiV1WorkflowStateDecidePost**](docs/DefaultApi.md#apiv1workflowstatedecidepost) | **Post** /api/v1/workflowState/decide | for invoking WorkflowState.execute API
92+
*DefaultApi* | [**ApiV1WorkflowStateStartPost**](docs/DefaultApi.md#apiv1workflowstatestartpost) | **Post** /api/v1/workflowState/start | for invoking WorkflowState.waitUntil API
93+
*DefaultApi* | [**ApiV1WorkflowStopPost**](docs/DefaultApi.md#apiv1workflowstoppost) | **Post** /api/v1/workflow/stop | stop a workflow
94+
*DefaultApi* | [**ApiV1WorkflowTimerSkipPost**](docs/DefaultApi.md#apiv1workflowtimerskippost) | **Post** /api/v1/workflow/timer/skip | skip the timer of a workflow
95+
*DefaultApi* | [**ApiV1WorkflowTriggerContinueAsNewPost**](docs/DefaultApi.md#apiv1workflowtriggercontinueasnewpost) | **Post** /api/v1/workflow/triggerContinueAsNew | trigger ContinueAsNew for a workflow
96+
*DefaultApi* | [**ApiV1WorkflowWaitForStateCompletionPost**](docs/DefaultApi.md#apiv1workflowwaitforstatecompletionpost) | **Post** /api/v1/workflow/waitForStateCompletion |
97+
*DefaultApi* | [**ApiV1WorkflowWorkerRpcPost**](docs/DefaultApi.md#apiv1workflowworkerrpcpost) | **Post** /api/v1/workflowWorker/rpc | for invoking workflow RPC API in the worker
98+
*DefaultApi* | [**InfoHealthcheckGet**](docs/DefaultApi.md#infohealthcheckget) | **Get** /info/healthcheck | return health info of the server
9899

99100

100101
## Documentation For Models
@@ -129,6 +130,7 @@ Class | Method | HTTP request | Description
129130
- [TimerCommand](docs/TimerCommand.md)
130131
- [TimerResult](docs/TimerResult.md)
131132
- [TimerStatus](docs/TimerStatus.md)
133+
- [TriggerContinueAsNewRequest](docs/TriggerContinueAsNewRequest.md)
132134
- [WaitUntilApiFailurePolicy](docs/WaitUntilApiFailurePolicy.md)
133135
- [WorkerErrorResponse](docs/WorkerErrorResponse.md)
134136
- [WorkflowConditionalClose](docs/WorkflowConditionalClose.md)

0 commit comments

Comments
 (0)