Skip to content

Commit a15574e

Browse files
committed
chore: upgrade openapi-generator-cli from v6.0.1 to v6.6.0
- Switch generatorName to python-prior to maintain compatibility with existing custom templates (python generator was replaced with python-experimental in v6.2.0) - Regenerate gooddata-api-client with the new generator version - Re-record all VCR test cassettes against latest backend - Bump afm-exec-api heap from 128m to 1G in docker-compose to prevent OOM during test runs - Add troubleshooting comment to export tests for future reference Relates to: STL-2347
1 parent eddc50a commit a15574e

File tree

383 files changed

+38280
-4122
lines changed

Some content is hidden

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

383 files changed

+38280
-4122
lines changed

.openapi-generator/configs/gooddata-api-client.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# (C) 2022 GoodData Corporation
2-
generatorName: python
2+
generatorName: python-prior
33
templateDir: /local/.openapi-generator/custom_templates
44
appName: "GoodData api client OpenAPI definition"
55
infoName: "GoodData (generated by OpenAPI Generator)"

docker-compose.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -397,6 +397,7 @@ services:
397397
condition: service_healthy
398398
environment:
399399
<<: [*java-opts, *quiver-env-vars]
400+
JAVA_OPTS: "${JAVA_OPTS:--Xmx1G --add-opens=java.base/sun.net=ALL-UNNAMED --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.nio=ALL-UNNAMED}"
400401
GRPC_CALCIQUE_HOST: calcique
401402
GRPC_CALCIQUE_PORT: 6577
402403
GRPC_METADATA_HOST: metadata-api

gooddata-api-client/.openapi-generator/FILES

Lines changed: 128 additions & 2 deletions
Large diffs are not rendered by default.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
6.1.0-SNAPSHOT
1+
6.6.0

gooddata-api-client/README.md

Lines changed: 108 additions & 7 deletions
Large diffs are not rendered by default.

gooddata-api-client/docs/AFM.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ Name | Type | Description | Notes
99
**filters** | [**[AFMFiltersInner]**](AFMFiltersInner.md) | Various filter types to filter the execution result. |
1010
**measures** | [**[MeasureItem]**](MeasureItem.md) | Metrics to be computed. |
1111
**aux_measures** | [**[MeasureItem]**](MeasureItem.md) | Metrics to be referenced from other AFM objects (e.g. filters) but not included in the result. | [optional]
12+
**measure_definition_overrides** | [**[MetricDefinitionOverride]**](MetricDefinitionOverride.md) | (EXPERIMENTAL) Override definitions of catalog metrics for this request. Allows substituting a catalog metric&#39;s MAQL definition without modifying the stored definition. | [optional]
1213
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]
1314

1415
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

gooddata-api-client/docs/AFMFiltersInner.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ Name | Type | Description | Notes
1010
**ranking_filter** | [**RankingFilterRankingFilter**](RankingFilterRankingFilter.md) | | [optional]
1111
**absolute_date_filter** | [**AbsoluteDateFilterAbsoluteDateFilter**](AbsoluteDateFilterAbsoluteDateFilter.md) | | [optional]
1212
**relative_date_filter** | [**RelativeDateFilterRelativeDateFilter**](RelativeDateFilterRelativeDateFilter.md) | | [optional]
13+
**all_time_date_filter** | [**AllTimeDateFilterAllTimeDateFilter**](AllTimeDateFilterAllTimeDateFilter.md) | | [optional]
1314
**negative_attribute_filter** | [**NegativeAttributeFilterNegativeAttributeFilter**](NegativeAttributeFilterNegativeAttributeFilter.md) | | [optional]
1415
**positive_attribute_filter** | [**PositiveAttributeFilterPositiveAttributeFilter**](PositiveAttributeFilterPositiveAttributeFilter.md) | | [optional]
1516
**match_attribute_filter** | [**MatchAttributeFilterMatchAttributeFilter**](MatchAttributeFilterMatchAttributeFilter.md) | | [optional]

gooddata-api-client/docs/AILakeApi.md

Lines changed: 242 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,13 @@ All URIs are relative to *http://localhost*
44

55
Method | HTTP request | Description
66
------------- | ------------- | -------------
7-
[**deprovision_ai_lake_database_instance**](AILakeApi.md#deprovision_ai_lake_database_instance) | **DELETE** /api/v1/ailake/database/instance/{instanceId} | (BETA) Delete an existing AILake Database instance
8-
[**get_ai_lake_database_instance**](AILakeApi.md#get_ai_lake_database_instance) | **GET** /api/v1/ailake/database/instance/{instanceId} | (BETA) Get the specified AILake Database instance
9-
[**get_ai_lake_operation**](AILakeApi.md#get_ai_lake_operation) | **GET** /api/v1/ailake/operation/{operationId} | (BETA) Get Long Running Operation details
10-
[**provision_ai_lake_database_instance**](AILakeApi.md#provision_ai_lake_database_instance) | **POST** /api/v1/ailake/database/instance | (BETA) Create a new AILake Database instance
7+
[**deprovision_ai_lake_database_instance**](AILakeApi.md#deprovision_ai_lake_database_instance) | **DELETE** /api/v1/ailake/database/instances/{instanceId} | (BETA) Delete an existing AILake Database instance
8+
[**get_ai_lake_database_instance**](AILakeApi.md#get_ai_lake_database_instance) | **GET** /api/v1/ailake/database/instances/{instanceId} | (BETA) Get the specified AILake Database instance
9+
[**get_ai_lake_operation**](AILakeApi.md#get_ai_lake_operation) | **GET** /api/v1/ailake/operations/{operationId} | (BETA) Get Long Running Operation details
10+
[**list_ai_lake_database_instances**](AILakeApi.md#list_ai_lake_database_instances) | **GET** /api/v1/ailake/database/instances | (BETA) List AI Lake Database instances
11+
[**list_ai_lake_services**](AILakeApi.md#list_ai_lake_services) | **GET** /api/v1/ailake/services | (BETA) List AI Lake services
12+
[**provision_ai_lake_database_instance**](AILakeApi.md#provision_ai_lake_database_instance) | **POST** /api/v1/ailake/database/instances | (BETA) Create a new AILake Database instance
13+
[**run_ai_lake_service_command**](AILakeApi.md#run_ai_lake_service_command) | **POST** /api/v1/ailake/services/{serviceId}/commands/{commandName}/run | (BETA) Run an AI Lake services command
1114

1215

1316
# **deprovision_ai_lake_database_instance**
@@ -221,6 +224,154 @@ No authorization required
221224

222225
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
223226

227+
# **list_ai_lake_database_instances**
228+
> ListDatabaseInstancesResponse list_ai_lake_database_instances()
229+
230+
(BETA) List AI Lake Database instances
231+
232+
(BETA) Lists database instances in the organization's AI Lake. Supports paging via size and offset query parameters. Use metaInclude=page to get total count.
233+
234+
### Example
235+
236+
237+
```python
238+
import time
239+
import gooddata_api_client
240+
from gooddata_api_client.api import ai_lake_api
241+
from gooddata_api_client.model.list_database_instances_response import ListDatabaseInstancesResponse
242+
from pprint import pprint
243+
# Defining the host is optional and defaults to http://localhost
244+
# See configuration.py for a list of all supported configuration parameters.
245+
configuration = gooddata_api_client.Configuration(
246+
host = "http://localhost"
247+
)
248+
249+
250+
# Enter a context with an instance of the API client
251+
with gooddata_api_client.ApiClient() as api_client:
252+
# Create an instance of the API class
253+
api_instance = ai_lake_api.AILakeApi(api_client)
254+
size = 50 # int | (optional) if omitted the server will use the default value of 50
255+
offset = 0 # int | (optional) if omitted the server will use the default value of 0
256+
meta_include = [
257+
"metaInclude_example",
258+
] # [str] | (optional)
259+
260+
# example passing only required values which don't have defaults set
261+
# and optional values
262+
try:
263+
# (BETA) List AI Lake Database instances
264+
api_response = api_instance.list_ai_lake_database_instances(size=size, offset=offset, meta_include=meta_include)
265+
pprint(api_response)
266+
except gooddata_api_client.ApiException as e:
267+
print("Exception when calling AILakeApi->list_ai_lake_database_instances: %s\n" % e)
268+
```
269+
270+
271+
### Parameters
272+
273+
Name | Type | Description | Notes
274+
------------- | ------------- | ------------- | -------------
275+
**size** | **int**| | [optional] if omitted the server will use the default value of 50
276+
**offset** | **int**| | [optional] if omitted the server will use the default value of 0
277+
**meta_include** | **[str]**| | [optional]
278+
279+
### Return type
280+
281+
[**ListDatabaseInstancesResponse**](ListDatabaseInstancesResponse.md)
282+
283+
### Authorization
284+
285+
No authorization required
286+
287+
### HTTP request headers
288+
289+
- **Content-Type**: Not defined
290+
- **Accept**: application/json
291+
292+
293+
### HTTP response details
294+
295+
| Status code | Description | Response headers |
296+
|-------------|-------------|------------------|
297+
**200** | AI Lake database instances successfully retrieved | - |
298+
299+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
300+
301+
# **list_ai_lake_services**
302+
> ListServicesResponse list_ai_lake_services()
303+
304+
(BETA) List AI Lake services
305+
306+
(BETA) Lists services configured for the organization's AI Lake. Returns only non-sensitive fields (id, name). Supports paging via size and offset query parameters. Use metaInclude=page to get total count.
307+
308+
### Example
309+
310+
311+
```python
312+
import time
313+
import gooddata_api_client
314+
from gooddata_api_client.api import ai_lake_api
315+
from gooddata_api_client.model.list_services_response import ListServicesResponse
316+
from pprint import pprint
317+
# Defining the host is optional and defaults to http://localhost
318+
# See configuration.py for a list of all supported configuration parameters.
319+
configuration = gooddata_api_client.Configuration(
320+
host = "http://localhost"
321+
)
322+
323+
324+
# Enter a context with an instance of the API client
325+
with gooddata_api_client.ApiClient() as api_client:
326+
# Create an instance of the API class
327+
api_instance = ai_lake_api.AILakeApi(api_client)
328+
size = 50 # int | (optional) if omitted the server will use the default value of 50
329+
offset = 0 # int | (optional) if omitted the server will use the default value of 0
330+
meta_include = [
331+
"metaInclude_example",
332+
] # [str] | (optional)
333+
334+
# example passing only required values which don't have defaults set
335+
# and optional values
336+
try:
337+
# (BETA) List AI Lake services
338+
api_response = api_instance.list_ai_lake_services(size=size, offset=offset, meta_include=meta_include)
339+
pprint(api_response)
340+
except gooddata_api_client.ApiException as e:
341+
print("Exception when calling AILakeApi->list_ai_lake_services: %s\n" % e)
342+
```
343+
344+
345+
### Parameters
346+
347+
Name | Type | Description | Notes
348+
------------- | ------------- | ------------- | -------------
349+
**size** | **int**| | [optional] if omitted the server will use the default value of 50
350+
**offset** | **int**| | [optional] if omitted the server will use the default value of 0
351+
**meta_include** | **[str]**| | [optional]
352+
353+
### Return type
354+
355+
[**ListServicesResponse**](ListServicesResponse.md)
356+
357+
### Authorization
358+
359+
No authorization required
360+
361+
### HTTP request headers
362+
363+
- **Content-Type**: Not defined
364+
- **Accept**: application/json
365+
366+
367+
### HTTP response details
368+
369+
| Status code | Description | Response headers |
370+
|-------------|-------------|------------------|
371+
**200** | AI Lake services successfully retrieved | - |
372+
373+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
374+
224375
# **provision_ai_lake_database_instance**
225376
> {str: (bool, date, datetime, dict, float, int, list, str, none_type)} provision_ai_lake_database_instance(provision_database_instance_request)
226377
@@ -304,3 +455,90 @@ No authorization required
304455

305456
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
306457

458+
# **run_ai_lake_service_command**
459+
> {str: (bool, date, datetime, dict, float, int, list, str, none_type)} run_ai_lake_service_command(service_id, command_name, run_service_command_request)
460+
461+
(BETA) Run an AI Lake services command
462+
463+
(BETA) Runs a specific AI Lake service command.
464+
465+
### Example
466+
467+
468+
```python
469+
import time
470+
import gooddata_api_client
471+
from gooddata_api_client.api import ai_lake_api
472+
from gooddata_api_client.model.run_service_command_request import RunServiceCommandRequest
473+
from pprint import pprint
474+
# Defining the host is optional and defaults to http://localhost
475+
# See configuration.py for a list of all supported configuration parameters.
476+
configuration = gooddata_api_client.Configuration(
477+
host = "http://localhost"
478+
)
479+
480+
481+
# Enter a context with an instance of the API client
482+
with gooddata_api_client.ApiClient() as api_client:
483+
# Create an instance of the API class
484+
api_instance = ai_lake_api.AILakeApi(api_client)
485+
service_id = "serviceId_example" # str |
486+
command_name = "commandName_example" # str |
487+
run_service_command_request = RunServiceCommandRequest(
488+
context={
489+
"key": "key_example",
490+
},
491+
payload=JsonNode(),
492+
) # RunServiceCommandRequest |
493+
operation_id = "operation-id_example" # str | (optional)
494+
495+
# example passing only required values which don't have defaults set
496+
try:
497+
# (BETA) Run an AI Lake services command
498+
api_response = api_instance.run_ai_lake_service_command(service_id, command_name, run_service_command_request)
499+
pprint(api_response)
500+
except gooddata_api_client.ApiException as e:
501+
print("Exception when calling AILakeApi->run_ai_lake_service_command: %s\n" % e)
502+
503+
# example passing only required values which don't have defaults set
504+
# and optional values
505+
try:
506+
# (BETA) Run an AI Lake services command
507+
api_response = api_instance.run_ai_lake_service_command(service_id, command_name, run_service_command_request, operation_id=operation_id)
508+
pprint(api_response)
509+
except gooddata_api_client.ApiException as e:
510+
print("Exception when calling AILakeApi->run_ai_lake_service_command: %s\n" % e)
511+
```
512+
513+
514+
### Parameters
515+
516+
Name | Type | Description | Notes
517+
------------- | ------------- | ------------- | -------------
518+
**service_id** | **str**| |
519+
**command_name** | **str**| |
520+
**run_service_command_request** | [**RunServiceCommandRequest**](RunServiceCommandRequest.md)| |
521+
**operation_id** | **str**| | [optional]
522+
523+
### Return type
524+
525+
**{str: (bool, date, datetime, dict, float, int, list, str, none_type)}**
526+
527+
### Authorization
528+
529+
No authorization required
530+
531+
### HTTP request headers
532+
533+
- **Content-Type**: application/json
534+
- **Accept**: application/json
535+
536+
537+
### HTTP response details
538+
539+
| Status code | Description | Response headers |
540+
|-------------|-------------|------------------|
541+
**202** | Accepted | * operation-id - Operation ID to use for polling. <br> * operation-location - Operation location URL that can be used for polling. <br> |
542+
543+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
544+

gooddata-api-client/docs/AbsoluteDateFilterAbsoluteDateFilter.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ Name | Type | Description | Notes
88
**_from** | **str** | |
99
**to** | **str** | |
1010
**apply_on_result** | **bool** | | [optional]
11+
**empty_value_handling** | **str** | Specifies how rows with empty (null/missing) date values should be handled. INCLUDE includes empty dates in addition to the date range restriction, EXCLUDE removes rows with empty dates (default), ONLY keeps only rows with empty dates. | [optional] if omitted the server will use the default value of "EXCLUDE"
1112
**local_identifier** | **str** | | [optional]
1213
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]
1314

0 commit comments

Comments
 (0)