Skip to content

Commit 2b10eca

Browse files
authored
Merge pull request #15 from onepanelio/chore/update-build
chore: Update openapitools/openapi-generator-cli to 4.3.1
2 parents bb7ddf2 + d985842 commit 2b10eca

166 files changed

Lines changed: 3076 additions & 3119 deletions

File tree

Some content is hidden

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

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ endif
1414

1515
sdk: init
1616
# generate sdk
17-
docker run --rm -v ${PWD}/.build:/build openapitools/openapi-generator-cli \
17+
docker run --rm -v ${PWD}/.build:/build openapitools/openapi-generator-cli:v4.3.1 \
1818
generate -p packageName=onepanel.core.api,projectName=onepanel-sdk,packageVersion=$(version) -i /build/api.swagger.json -g python -o /build/
1919
rm .build/api.swagger.json
2020

README.md

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ Onepanel API
33

44
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
55

6-
- API version: v0.12.0
7-
- Package version: 0.12.0
6+
- API version: 0.13.0
7+
- Package version: v0.13.0
88
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
99
For more information, please visit [https://github.com/onepanelio/core](https://github.com/onepanelio/core)
1010

@@ -68,11 +68,11 @@ configuration = onepanel.core.api.Configuration(
6868
configuration = onepanel.core.api.Configuration(
6969
host = "http://localhost:8888",
7070
api_key = {
71-
'Bearer': 'YOUR_API_KEY'
71+
'authorization': 'YOUR_API_KEY'
7272
}
7373
)
7474
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
75-
# configuration.api_key_prefix['Bearer'] = 'Bearer'
75+
# configuration.api_key_prefix['authorization'] = 'Bearer'
7676

7777

7878
# Enter a context with an instance of the API client
@@ -128,6 +128,7 @@ Class | Method | HTTP request | Description
128128
*WorkflowServiceApi* | [**get_workflow_execution**](docs/WorkflowServiceApi.md#get_workflow_execution) | **GET** /apis/v1beta1/{namespace}/workflow_executions/{uid} |
129129
*WorkflowServiceApi* | [**get_workflow_execution_logs**](docs/WorkflowServiceApi.md#get_workflow_execution_logs) | **GET** /apis/v1beta1/{namespace}/workflow_executions/{uid}/pods/{podName}/containers/{containerName}/logs |
130130
*WorkflowServiceApi* | [**get_workflow_execution_metrics**](docs/WorkflowServiceApi.md#get_workflow_execution_metrics) | **GET** /apis/v1beta1/{namespace}/workflow_executions/{uid}/pods/{podName}/metrics |
131+
*WorkflowServiceApi* | [**get_workflow_execution_statistics_for_namespace**](docs/WorkflowServiceApi.md#get_workflow_execution_statistics_for_namespace) | **GET** /apis/v1beta1/{namespace}/workflow_executions/statistics |
131132
*WorkflowServiceApi* | [**list_files**](docs/WorkflowServiceApi.md#list_files) | **GET** /apis/v1beta1/{namespace}/workflow_executions/{uid}/files/{path} |
132133
*WorkflowServiceApi* | [**list_workflow_executions**](docs/WorkflowServiceApi.md#list_workflow_executions) | **GET** /apis/v1beta1/{namespace}/workflow_executions |
133134
*WorkflowServiceApi* | [**resubmit_workflow_execution**](docs/WorkflowServiceApi.md#resubmit_workflow_execution) | **PUT** /apis/v1beta1/{namespace}/workflow_executions/{uid}/resubmit |
@@ -146,9 +147,11 @@ Class | Method | HTTP request | Description
146147
*WorkspaceServiceApi* | [**create_workspace**](docs/WorkspaceServiceApi.md#create_workspace) | **POST** /apis/v1beta1/{namespace}/workspaces |
147148
*WorkspaceServiceApi* | [**delete_workspace**](docs/WorkspaceServiceApi.md#delete_workspace) | **DELETE** /apis/v1beta1/{namespace}/workspaces/{uid} |
148149
*WorkspaceServiceApi* | [**get_workspace**](docs/WorkspaceServiceApi.md#get_workspace) | **GET** /apis/v1beta1/{namespace}/workspaces/{uid} |
150+
*WorkspaceServiceApi* | [**get_workspace_statistics_for_namespace**](docs/WorkspaceServiceApi.md#get_workspace_statistics_for_namespace) | **GET** /apis/v1beta1/{namespace}/workspace/statistics |
149151
*WorkspaceServiceApi* | [**list_workspaces**](docs/WorkspaceServiceApi.md#list_workspaces) | **GET** /apis/v1beta1/{namespace}/workspaces |
150152
*WorkspaceServiceApi* | [**pause_workspace**](docs/WorkspaceServiceApi.md#pause_workspace) | **PUT** /apis/v1beta1/{namespace}/workspaces/{uid}/pause |
151153
*WorkspaceServiceApi* | [**resume_workspace**](docs/WorkspaceServiceApi.md#resume_workspace) | **PUT** /apis/v1beta1/{namespace}/workspaces/{uid}/resume |
154+
*WorkspaceServiceApi* | [**retry_last_workspace_action**](docs/WorkspaceServiceApi.md#retry_last_workspace_action) | **PUT** /apis/v1beta1/{namespace}/workspaces/{uid}/retry |
152155
*WorkspaceServiceApi* | [**update_workspace**](docs/WorkspaceServiceApi.md#update_workspace) | **PUT** /apis/v1beta1/{namespace}/workspaces/{uid} |
153156
*WorkspaceServiceApi* | [**update_workspace_status**](docs/WorkspaceServiceApi.md#update_workspace_status) | **PUT** /apis/v1beta1/{namespace}/workspaces/{uid}/status |
154157
*WorkspaceTemplateServiceApi* | [**archive_workspace_template**](docs/WorkspaceTemplateServiceApi.md#archive_workspace_template) | **PUT** /apis/v1beta1/{namespace}/workspace_templates/{uid}/archive |
@@ -175,6 +178,8 @@ Class | Method | HTTP request | Description
175178
- [GetConfigResponse](docs/GetConfigResponse.md)
176179
- [GetLabelsResponse](docs/GetLabelsResponse.md)
177180
- [GetWorkflowExecutionMetricsResponse](docs/GetWorkflowExecutionMetricsResponse.md)
181+
- [GetWorkflowExecutionStatisticsForNamespaceResponse](docs/GetWorkflowExecutionStatisticsForNamespaceResponse.md)
182+
- [GetWorkspaceStatisticsForNamespaceResponse](docs/GetWorkspaceStatisticsForNamespaceResponse.md)
178183
- [GoogleProtobufAny](docs/GoogleProtobufAny.md)
179184
- [GrpcGatewayRuntimeError](docs/GrpcGatewayRuntimeError.md)
180185
- [GrpcGatewayRuntimeStreamError](docs/GrpcGatewayRuntimeStreamError.md)
@@ -216,6 +221,7 @@ Class | Method | HTTP request | Description
216221
- [WorkflowExecutionStatus](docs/WorkflowExecutionStatus.md)
217222
- [WorkflowTemplate](docs/WorkflowTemplate.md)
218223
- [Workspace](docs/Workspace.md)
224+
- [WorkspaceStatisticReport](docs/WorkspaceStatisticReport.md)
219225
- [WorkspaceStatus](docs/WorkspaceStatus.md)
220226
- [WorkspaceTemplate](docs/WorkspaceTemplate.md)
221227

docs/AuthServiceApi.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,11 @@ configuration = onepanel.core.api.Configuration(
3737
configuration = onepanel.core.api.Configuration(
3838
host = "http://localhost:8888",
3939
api_key = {
40-
'Bearer': 'YOUR_API_KEY'
40+
'authorization': 'YOUR_API_KEY'
4141
}
4242
)
4343
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
44-
# configuration.api_key_prefix['Bearer'] = 'Bearer'
44+
# configuration.api_key_prefix['authorization'] = 'Bearer'
4545

4646
# Enter a context with an instance of the API client
4747
with onepanel.core.api.ApiClient(configuration) as api_client:
@@ -112,11 +112,11 @@ configuration = onepanel.core.api.Configuration(
112112
configuration = onepanel.core.api.Configuration(
113113
host = "http://localhost:8888",
114114
api_key = {
115-
'Bearer': 'YOUR_API_KEY'
115+
'authorization': 'YOUR_API_KEY'
116116
}
117117
)
118118
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
119-
# configuration.api_key_prefix['Bearer'] = 'Bearer'
119+
# configuration.api_key_prefix['authorization'] = 'Bearer'
120120

121121
# Enter a context with an instance of the API client
122122
with onepanel.core.api.ApiClient(configuration) as api_client:

docs/ConfigServiceApi.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,11 @@ configuration = onepanel.core.api.Configuration(
3636
configuration = onepanel.core.api.Configuration(
3737
host = "http://localhost:8888",
3838
api_key = {
39-
'Bearer': 'YOUR_API_KEY'
39+
'authorization': 'YOUR_API_KEY'
4040
}
4141
)
4242
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
43-
# configuration.api_key_prefix['Bearer'] = 'Bearer'
43+
# configuration.api_key_prefix['authorization'] = 'Bearer'
4444

4545
# Enter a context with an instance of the API client
4646
with onepanel.core.api.ApiClient(configuration) as api_client:

docs/CronWorkflowServiceApi.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,11 @@ configuration = onepanel.core.api.Configuration(
4141
configuration = onepanel.core.api.Configuration(
4242
host = "http://localhost:8888",
4343
api_key = {
44-
'Bearer': 'YOUR_API_KEY'
44+
'authorization': 'YOUR_API_KEY'
4545
}
4646
)
4747
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
48-
# configuration.api_key_prefix['Bearer'] = 'Bearer'
48+
# configuration.api_key_prefix['authorization'] = 'Bearer'
4949

5050
# Enter a context with an instance of the API client
5151
with onepanel.core.api.ApiClient(configuration) as api_client:
@@ -118,11 +118,11 @@ configuration = onepanel.core.api.Configuration(
118118
configuration = onepanel.core.api.Configuration(
119119
host = "http://localhost:8888",
120120
api_key = {
121-
'Bearer': 'YOUR_API_KEY'
121+
'authorization': 'YOUR_API_KEY'
122122
}
123123
)
124124
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
125-
# configuration.api_key_prefix['Bearer'] = 'Bearer'
125+
# configuration.api_key_prefix['authorization'] = 'Bearer'
126126

127127
# Enter a context with an instance of the API client
128128
with onepanel.core.api.ApiClient(configuration) as api_client:
@@ -195,11 +195,11 @@ configuration = onepanel.core.api.Configuration(
195195
configuration = onepanel.core.api.Configuration(
196196
host = "http://localhost:8888",
197197
api_key = {
198-
'Bearer': 'YOUR_API_KEY'
198+
'authorization': 'YOUR_API_KEY'
199199
}
200200
)
201201
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
202-
# configuration.api_key_prefix['Bearer'] = 'Bearer'
202+
# configuration.api_key_prefix['authorization'] = 'Bearer'
203203

204204
# Enter a context with an instance of the API client
205205
with onepanel.core.api.ApiClient(configuration) as api_client:
@@ -272,11 +272,11 @@ configuration = onepanel.core.api.Configuration(
272272
configuration = onepanel.core.api.Configuration(
273273
host = "http://localhost:8888",
274274
api_key = {
275-
'Bearer': 'YOUR_API_KEY'
275+
'authorization': 'YOUR_API_KEY'
276276
}
277277
)
278278
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
279-
# configuration.api_key_prefix['Bearer'] = 'Bearer'
279+
# configuration.api_key_prefix['authorization'] = 'Bearer'
280280

281281
# Enter a context with an instance of the API client
282282
with onepanel.core.api.ApiClient(configuration) as api_client:
@@ -353,11 +353,11 @@ configuration = onepanel.core.api.Configuration(
353353
configuration = onepanel.core.api.Configuration(
354354
host = "http://localhost:8888",
355355
api_key = {
356-
'Bearer': 'YOUR_API_KEY'
356+
'authorization': 'YOUR_API_KEY'
357357
}
358358
)
359359
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
360-
# configuration.api_key_prefix['Bearer'] = 'Bearer'
360+
# configuration.api_key_prefix['authorization'] = 'Bearer'
361361

362362
# Enter a context with an instance of the API client
363363
with onepanel.core.api.ApiClient(configuration) as api_client:
@@ -434,11 +434,11 @@ configuration = onepanel.core.api.Configuration(
434434
configuration = onepanel.core.api.Configuration(
435435
host = "http://localhost:8888",
436436
api_key = {
437-
'Bearer': 'YOUR_API_KEY'
437+
'authorization': 'YOUR_API_KEY'
438438
}
439439
)
440440
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
441-
# configuration.api_key_prefix['Bearer'] = 'Bearer'
441+
# configuration.api_key_prefix['authorization'] = 'Bearer'
442442

443443
# Enter a context with an instance of the API client
444444
with onepanel.core.api.ApiClient(configuration) as api_client:
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# GetWorkflowExecutionStatisticsForNamespaceResponse
2+
3+
## Properties
4+
Name | Type | Description | Notes
5+
------------ | ------------- | ------------- | -------------
6+
**stats** | [**WorkflowExecutionStatisticReport**](WorkflowExecutionStatisticReport.md) | | [optional]
7+
8+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
9+
10+
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# GetWorkspaceStatisticsForNamespaceResponse
2+
3+
## Properties
4+
Name | Type | Description | Notes
5+
------------ | ------------- | ------------- | -------------
6+
**stats** | [**WorkspaceStatisticReport**](WorkspaceStatisticReport.md) | | [optional]
7+
8+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
9+
10+

docs/LabelServiceApi.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,11 @@ configuration = onepanel.core.api.Configuration(
3939
configuration = onepanel.core.api.Configuration(
4040
host = "http://localhost:8888",
4141
api_key = {
42-
'Bearer': 'YOUR_API_KEY'
42+
'authorization': 'YOUR_API_KEY'
4343
}
4444
)
4545
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
46-
# configuration.api_key_prefix['Bearer'] = 'Bearer'
46+
# configuration.api_key_prefix['authorization'] = 'Bearer'
4747

4848
# Enter a context with an instance of the API client
4949
with onepanel.core.api.ApiClient(configuration) as api_client:
@@ -120,11 +120,11 @@ configuration = onepanel.core.api.Configuration(
120120
configuration = onepanel.core.api.Configuration(
121121
host = "http://localhost:8888",
122122
api_key = {
123-
'Bearer': 'YOUR_API_KEY'
123+
'authorization': 'YOUR_API_KEY'
124124
}
125125
)
126126
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
127-
# configuration.api_key_prefix['Bearer'] = 'Bearer'
127+
# configuration.api_key_prefix['authorization'] = 'Bearer'
128128

129129
# Enter a context with an instance of the API client
130130
with onepanel.core.api.ApiClient(configuration) as api_client:
@@ -201,11 +201,11 @@ configuration = onepanel.core.api.Configuration(
201201
configuration = onepanel.core.api.Configuration(
202202
host = "http://localhost:8888",
203203
api_key = {
204-
'Bearer': 'YOUR_API_KEY'
204+
'authorization': 'YOUR_API_KEY'
205205
}
206206
)
207207
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
208-
# configuration.api_key_prefix['Bearer'] = 'Bearer'
208+
# configuration.api_key_prefix['authorization'] = 'Bearer'
209209

210210
# Enter a context with an instance of the API client
211211
with onepanel.core.api.ApiClient(configuration) as api_client:
@@ -280,11 +280,11 @@ configuration = onepanel.core.api.Configuration(
280280
configuration = onepanel.core.api.Configuration(
281281
host = "http://localhost:8888",
282282
api_key = {
283-
'Bearer': 'YOUR_API_KEY'
283+
'authorization': 'YOUR_API_KEY'
284284
}
285285
)
286286
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
287-
# configuration.api_key_prefix['Bearer'] = 'Bearer'
287+
# configuration.api_key_prefix['authorization'] = 'Bearer'
288288

289289
# Enter a context with an instance of the API client
290290
with onepanel.core.api.ApiClient(configuration) as api_client:

docs/NamespaceServiceApi.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,11 @@ configuration = onepanel.core.api.Configuration(
3737
configuration = onepanel.core.api.Configuration(
3838
host = "http://localhost:8888",
3939
api_key = {
40-
'Bearer': 'YOUR_API_KEY'
40+
'authorization': 'YOUR_API_KEY'
4141
}
4242
)
4343
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
44-
# configuration.api_key_prefix['Bearer'] = 'Bearer'
44+
# configuration.api_key_prefix['authorization'] = 'Bearer'
4545

4646
# Enter a context with an instance of the API client
4747
with onepanel.core.api.ApiClient(configuration) as api_client:
@@ -112,11 +112,11 @@ configuration = onepanel.core.api.Configuration(
112112
configuration = onepanel.core.api.Configuration(
113113
host = "http://localhost:8888",
114114
api_key = {
115-
'Bearer': 'YOUR_API_KEY'
115+
'authorization': 'YOUR_API_KEY'
116116
}
117117
)
118118
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
119-
# configuration.api_key_prefix['Bearer'] = 'Bearer'
119+
# configuration.api_key_prefix['authorization'] = 'Bearer'
120120

121121
# Enter a context with an instance of the API client
122122
with onepanel.core.api.ApiClient(configuration) as api_client:

0 commit comments

Comments
 (0)