From 20ff1af5ce7e0b0bba9bde64e0655b1b8af014d5 Mon Sep 17 00:00:00 2001 From: hkad98 Date: Mon, 14 Nov 2022 15:21:24 +0100 Subject: [PATCH 1/2] Regenerate clients for upcoming release --- gooddata-afm-client/.openapi-generator/FILES | 2 + gooddata-afm-client/README.md | 1 + gooddata-afm-client/docs/AttributeFormat.md | 13 + .../docs/AttributeHeaderOutAttributeHeader.md | 1 + gooddata-afm-client/docs/ElementsResponse.md | 2 + .../model/attribute_format.py | 276 +++++++++++++ .../attribute_header_out_attribute_header.py | 6 + .../model/elements_response.py | 27 ++ .../gooddata_afm_client/models/__init__.py | 1 + gooddata-api-client/.openapi-generator/FILES | 4 + gooddata-api-client/README.md | 2 + gooddata-api-client/docs/AttributeFormat.md | 13 + .../docs/AttributeHeaderOutAttributeHeader.md | 1 + gooddata-api-client/docs/ElementsResponse.md | 2 + gooddata-api-client/docs/LayoutApi.md | 8 +- gooddata-api-client/docs/TestQueryDuration.md | 14 + gooddata-api-client/docs/TestResponse.md | 1 + .../model/attribute_format.py | 276 +++++++++++++ .../attribute_header_out_attribute_header.py | 6 + .../model/declarative_data_source.py | 2 + .../model/declarative_label.py | 2 + .../model/elements_response.py | 27 ++ ...i_data_source_identifier_out_attributes.py | 2 + .../json_api_data_source_in_attributes.py | 2 + .../json_api_data_source_out_attributes.py | 2 + .../json_api_data_source_patch_attributes.py | 2 + .../model/json_api_label_out_attributes.py | 2 + .../model/test_definition_request.py | 2 + .../model/test_query_duration.py | 274 ++++++++++++ .../model/test_response.py | 10 + .../gooddata_api_client/models/__init__.py | 2 + .../execute_compute_table_all_columns.yaml | 4 +- .../execute_compute_table_metrics_only.yaml | 4 +- ...ompute_table_with_reduced_granularity.yaml | 4 +- .../fixtures/execute_insight_all_columns.yaml | 8 +- .../execute_insight_some_columns.yaml | 8 +- .../import_compute_without_restrictions.yaml | 158 +++---- .../import_insights_without_restrictions.yaml | 158 +++---- gooddata-metadata-client/docs/LayoutApi.md | 8 +- .../model/declarative_data_source.py | 2 + .../model/declarative_label.py | 2 + ...i_data_source_identifier_out_attributes.py | 2 + .../json_api_data_source_in_attributes.py | 2 + .../json_api_data_source_out_attributes.py | 2 + .../json_api_data_source_patch_attributes.py | 2 + .../model/json_api_label_out_attributes.py | 2 + ...ame_for_exec_def_bytes_limits_failure.yaml | 8 +- ...or_exec_def_dimensions_limits_failure.yaml | 8 +- .../dataframe_for_exec_def_one_dim1.yaml | 26 +- .../dataframe_for_exec_def_one_dim2.yaml | 26 +- .../dataframe_for_exec_def_totals1.yaml | 14 +- .../dataframe_for_exec_def_totals2.yaml | 14 +- .../dataframe_for_exec_def_totals3.yaml | 14 +- .../dataframe_for_exec_def_totals4.yaml | 14 +- .../dataframe_for_exec_def_two_dim1.yaml | 20 +- .../dataframe_for_exec_def_two_dim2.yaml | 18 +- .../dataframe_for_exec_def_two_dim3.yaml | 14 +- .../fixtures/dataframe_for_insight.yaml | 48 +-- .../fixtures/dataframe_for_insight_date.yaml | 60 +-- .../dataframe_for_insight_no_index.yaml | 48 +-- .../fixtures/dataframe_for_items.yaml | 44 +- .../dataframe_for_items_no_index.yaml | 44 +- .../fixtures/empty_indexed_dataframe.yaml | 44 +- .../fixtures/empty_not_indexed_dataframe.yaml | 44 +- ...ulti_index_filtered_metrics_and_label.yaml | 44 +- ...ndex_filtered_metrics_and_label_reuse.yaml | 44 +- .../fixtures/multi_index_metrics.yaml | 44 +- .../multi_index_metrics_and_label.yaml | 44 +- ...t_indexed_filtered_metrics_and_labels.yaml | 44 +- .../fixtures/not_indexed_metrics.yaml | 44 +- .../not_indexed_metrics_and_labels.yaml | 44 +- ...mple_index_filtered_metrics_and_label.yaml | 44 +- .../fixtures/simple_index_metrics.yaml | 44 +- .../simple_index_metrics_and_label.yaml | 44 +- .../simple_index_metrics_no_duplicate.yaml | 44 +- .../fixtures/multi_index_filtered_series.yaml | 44 +- .../fixtures/multi_index_metric_series.yaml | 44 +- .../not_indexed_filtered_metric_series.yaml | 88 ++-- .../fixtures/not_indexed_label_series.yaml | 44 +- ...indexed_label_series_with_granularity.yaml | 44 +- .../fixtures/not_indexed_metric_series.yaml | 44 +- ...ndexed_metric_series_with_granularity.yaml | 44 +- .../simple_index_filtered_series.yaml | 44 +- .../fixtures/simple_index_label_series.yaml | 44 +- .../fixtures/simple_index_metric_series.yaml | 44 +- gooddata-scan-client/.openapi-generator/FILES | 2 + gooddata-scan-client/README.md | 1 + .../docs/TestQueryDuration.md | 14 + gooddata-scan-client/docs/TestResponse.md | 1 + .../model/test_definition_request.py | 2 + .../model/test_query_duration.py | 274 ++++++++++++ .../model/test_response.py | 10 + .../gooddata_scan_client/models/__init__.py | 1 + .../fixtures/data_sources/bigquery.yaml | 2 +- .../declarative_data_sources.yaml | 24 +- ...load_and_put_declarative_data_sources.yaml | 2 +- ...t_declarative_data_sources_connection.yaml | 4 +- .../demo_register_upload_notification.yaml | 4 +- ...tore_and_load_and_put_declarative_pdm.yaml | 8 +- .../demo_store_declarative_data_sources.yaml | 4 +- .../demo_test_declarative_data_sources.yaml | 4 +- .../catalog/fixtures/data_sources/dremio.yaml | 2 +- .../fixtures/data_sources/greenplum.yaml | 324 --------------- .../catalog/fixtures/data_sources/patch.yaml | 2 +- .../fixtures/data_sources/redshift.yaml | 2 +- .../fixtures/data_sources/snowflake.yaml | 2 +- .../data_sources/test_create_update.yaml | 2 +- .../fixtures/data_sources/vertica.yaml | 2 +- .../fixtures/organization/organization.yaml | 2 +- .../fixtures/organization/update_name.yaml | 18 +- .../organization/update_oidc_settings.yaml | 8 +- .../fixtures/users/create_delete_user.yaml | 24 +- .../users/create_delete_user_group.yaml | 2 +- .../load_and_put_declarative_user_groups.yaml | 2 +- .../users/load_and_put_declarative_users.yaml | 2 +- ...and_put_declarative_users_user_groups.yaml | 2 +- .../fixtures/users/put_declarative_users.yaml | 22 +- .../users/store_declarative_user_groups.yaml | 4 +- .../users/store_declarative_users.yaml | 4 +- .../store_declarative_users_user_groups.yaml | 4 +- .../catalog/fixtures/users/update_user.yaml | 24 +- .../workspace_content/demo_catalog.yaml | 390 +++++++++--------- .../demo_catalog_availability.yaml | 390 +++++++++--------- .../demo_catalog_list_metrics.yaml | 254 ++++++------ .../demo_get_dependent_entities_graph.yaml | 264 ++++++------ ...and_modify_ds_and_put_declarative_ldm.yaml | 2 +- ...d_and_put_declarative_analytics_model.yaml | 4 +- .../demo_load_and_put_declarative_ldm.yaml | 4 +- .../demo_put_declarative_analytics_model.yaml | 2 +- .../demo_put_declarative_ldm.yaml | 2 +- ...emo_store_declarative_analytics_model.yaml | 4 +- .../demo_store_declarative_ldm.yaml | 4 +- .../workspaces/demo_create_workspace.yaml | 2 +- .../workspaces/demo_delete_workspace.yaml | 2 +- ...mo_load_and_put_declarative_workspace.yaml | 2 +- ...ut_declarative_workspace_data_filters.yaml | 2 +- ...o_load_and_put_declarative_workspaces.yaml | 2 +- .../demo_put_declarative_workspace.yaml | 2 +- .../demo_store_declarative_workspace.yaml | 4 +- ...re_declarative_workspace_data_filters.yaml | 4 +- .../demo_store_declarative_workspaces.yaml | 4 +- .../table_with_attribute_and_metric.yaml | 4 +- ...able_with_attribute_metric_and_filter.yaml | 4 +- .../fixtures/table_with_just_attribute.yaml | 4 +- .../fixtures/table_with_just_metric.yaml | 4 +- schemas/gooddata-afm-client.json | 44 ++ schemas/gooddata-api-client.json | 110 ++++- schemas/gooddata-metadata-client.json | 30 +- schemas/gooddata-scan-client.json | 36 +- 149 files changed, 3181 insertions(+), 2037 deletions(-) create mode 100644 gooddata-afm-client/docs/AttributeFormat.md create mode 100644 gooddata-afm-client/gooddata_afm_client/model/attribute_format.py create mode 100644 gooddata-api-client/docs/AttributeFormat.md create mode 100644 gooddata-api-client/docs/TestQueryDuration.md create mode 100644 gooddata-api-client/gooddata_api_client/model/attribute_format.py create mode 100644 gooddata-api-client/gooddata_api_client/model/test_query_duration.py create mode 100644 gooddata-scan-client/docs/TestQueryDuration.md create mode 100644 gooddata-scan-client/gooddata_scan_client/model/test_query_duration.py delete mode 100644 gooddata-sdk/tests/catalog/fixtures/data_sources/greenplum.yaml diff --git a/gooddata-afm-client/.openapi-generator/FILES b/gooddata-afm-client/.openapi-generator/FILES index 1a0b1c5c5..b7091ba69 100644 --- a/gooddata-afm-client/.openapi-generator/FILES +++ b/gooddata-afm-client/.openapi-generator/FILES @@ -26,6 +26,7 @@ docs/ArithmeticMeasureDefinitionArithmeticMeasure.md docs/AttributeExecutionResultHeader.md docs/AttributeFilter.md docs/AttributeFilterElements.md +docs/AttributeFormat.md docs/AttributeHeaderOut.md docs/AttributeHeaderOutAttributeHeader.md docs/AttributeItem.md @@ -131,6 +132,7 @@ gooddata_afm_client/model/arithmetic_measure_definition_arithmetic_measure.py gooddata_afm_client/model/attribute_execution_result_header.py gooddata_afm_client/model/attribute_filter.py gooddata_afm_client/model/attribute_filter_elements.py +gooddata_afm_client/model/attribute_format.py gooddata_afm_client/model/attribute_header_out.py gooddata_afm_client/model/attribute_header_out_attribute_header.py gooddata_afm_client/model/attribute_item.py diff --git a/gooddata-afm-client/README.md b/gooddata-afm-client/README.md index e32c4aa37..9638644d2 100644 --- a/gooddata-afm-client/README.md +++ b/gooddata-afm-client/README.md @@ -138,6 +138,7 @@ Class | Method | HTTP request | Description - [AttributeExecutionResultHeader](docs/AttributeExecutionResultHeader.md) - [AttributeFilter](docs/AttributeFilter.md) - [AttributeFilterElements](docs/AttributeFilterElements.md) + - [AttributeFormat](docs/AttributeFormat.md) - [AttributeHeaderOut](docs/AttributeHeaderOut.md) - [AttributeHeaderOutAttributeHeader](docs/AttributeHeaderOutAttributeHeader.md) - [AttributeItem](docs/AttributeItem.md) diff --git a/gooddata-afm-client/docs/AttributeFormat.md b/gooddata-afm-client/docs/AttributeFormat.md new file mode 100644 index 000000000..c43ac7318 --- /dev/null +++ b/gooddata-afm-client/docs/AttributeFormat.md @@ -0,0 +1,13 @@ +# AttributeFormat + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**locale** | **str** | Format locale | +**pattern** | **str** | Format pattern | +**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] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/gooddata-afm-client/docs/AttributeHeaderOutAttributeHeader.md b/gooddata-afm-client/docs/AttributeHeaderOutAttributeHeader.md index e8d42afbf..e077a1423 100644 --- a/gooddata-afm-client/docs/AttributeHeaderOutAttributeHeader.md +++ b/gooddata-afm-client/docs/AttributeHeaderOutAttributeHeader.md @@ -10,6 +10,7 @@ Name | Type | Description | Notes **label_name** | **str** | | **local_identifier** | **str** | | **primary_label** | [**RestApiIdentifier**](RestApiIdentifier.md) | | +**format** | [**AttributeFormat**](AttributeFormat.md) | | [optional] **granularity** | **str** | | [optional] **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] diff --git a/gooddata-afm-client/docs/ElementsResponse.md b/gooddata-afm-client/docs/ElementsResponse.md index a5bd134bb..289b7d7d7 100644 --- a/gooddata-afm-client/docs/ElementsResponse.md +++ b/gooddata-afm-client/docs/ElementsResponse.md @@ -8,6 +8,8 @@ Name | Type | Description | Notes **elements** | [**[Element]**](Element.md) | List of returned elements. | **paging** | [**Paging**](Paging.md) | | **primary_label** | [**RestApiIdentifier**](RestApiIdentifier.md) | | +**format** | [**AttributeFormat**](AttributeFormat.md) | | [optional] +**granularity** | **str** | Granularity of requested label in case of date attribute | [optional] **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] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/gooddata-afm-client/gooddata_afm_client/model/attribute_format.py b/gooddata-afm-client/gooddata_afm_client/model/attribute_format.py new file mode 100644 index 000000000..a9bb9c626 --- /dev/null +++ b/gooddata-afm-client/gooddata_afm_client/model/attribute_format.py @@ -0,0 +1,276 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: v0 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_afm_client.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from gooddata_afm_client.exceptions import ApiAttributeError + + + +class AttributeFormat(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + return { + 'locale': (str,), # noqa: E501 + 'pattern': (str,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'locale': 'locale', # noqa: E501 + 'pattern': 'pattern', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, locale, pattern, *args, **kwargs): # noqa: E501 + """AttributeFormat - a model defined in OpenAPI + + Args: + locale (str): Format locale + pattern (str): Format pattern + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', True) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.locale = locale + self.pattern = pattern + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, locale, pattern, *args, **kwargs): # noqa: E501 + """AttributeFormat - a model defined in OpenAPI + + Args: + locale (str): Format locale + pattern (str): Format pattern + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.locale = locale + self.pattern = pattern + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/gooddata-afm-client/gooddata_afm_client/model/attribute_header_out_attribute_header.py b/gooddata-afm-client/gooddata_afm_client/model/attribute_header_out_attribute_header.py index 792b70fe8..2a22cde6b 100644 --- a/gooddata-afm-client/gooddata_afm_client/model/attribute_header_out_attribute_header.py +++ b/gooddata-afm-client/gooddata_afm_client/model/attribute_header_out_attribute_header.py @@ -31,7 +31,9 @@ def lazy_import(): + from gooddata_afm_client.model.attribute_format import AttributeFormat from gooddata_afm_client.model.rest_api_identifier import RestApiIdentifier + globals()['AttributeFormat'] = AttributeFormat globals()['RestApiIdentifier'] = RestApiIdentifier @@ -116,6 +118,7 @@ def openapi_types(): 'label_name': (str,), # noqa: E501 'local_identifier': (str,), # noqa: E501 'primary_label': (RestApiIdentifier,), # noqa: E501 + 'format': (AttributeFormat,), # noqa: E501 'granularity': (str,), # noqa: E501 } @@ -131,6 +134,7 @@ def discriminator(): 'label_name': 'labelName', # noqa: E501 'local_identifier': 'localIdentifier', # noqa: E501 'primary_label': 'primaryLabel', # noqa: E501 + 'format': 'format', # noqa: E501 'granularity': 'granularity', # noqa: E501 } @@ -183,6 +187,7 @@ def _from_openapi_data(cls, attribute, attribute_name, label, label_name, local_ Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) + format (AttributeFormat): [optional] # noqa: E501 granularity (str): [optional] # noqa: E501 """ @@ -283,6 +288,7 @@ def __init__(self, attribute, attribute_name, label, label_name, local_identifie Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) + format (AttributeFormat): [optional] # noqa: E501 granularity (str): [optional] # noqa: E501 """ diff --git a/gooddata-afm-client/gooddata_afm_client/model/elements_response.py b/gooddata-afm-client/gooddata_afm_client/model/elements_response.py index cc06c0a32..35098fa51 100644 --- a/gooddata-afm-client/gooddata_afm_client/model/elements_response.py +++ b/gooddata-afm-client/gooddata_afm_client/model/elements_response.py @@ -31,9 +31,11 @@ def lazy_import(): + from gooddata_afm_client.model.attribute_format import AttributeFormat from gooddata_afm_client.model.element import Element from gooddata_afm_client.model.paging import Paging from gooddata_afm_client.model.rest_api_identifier import RestApiIdentifier + globals()['AttributeFormat'] = AttributeFormat globals()['Element'] = Element globals()['Paging'] = Paging globals()['RestApiIdentifier'] = RestApiIdentifier @@ -64,6 +66,23 @@ class ElementsResponse(ModelNormal): """ allowed_values = { + ('granularity',): { + 'MINUTE': "MINUTE", + 'HOUR': "HOUR", + 'DAY': "DAY", + 'WEEK': "WEEK", + 'MONTH': "MONTH", + 'QUARTER': "QUARTER", + 'YEAR': "YEAR", + 'MINUTE_OF_HOUR': "MINUTE_OF_HOUR", + 'HOUR_OF_DAY': "HOUR_OF_DAY", + 'DAY_OF_WEEK': "DAY_OF_WEEK", + 'DAY_OF_MONTH': "DAY_OF_MONTH", + 'DAY_OF_YEAR': "DAY_OF_YEAR", + 'WEEK_OF_YEAR': "WEEK_OF_YEAR", + 'MONTH_OF_YEAR': "MONTH_OF_YEAR", + 'QUARTER_OF_YEAR': "QUARTER_OF_YEAR", + }, } validations = { @@ -95,6 +114,8 @@ def openapi_types(): 'elements': ([Element],), # noqa: E501 'paging': (Paging,), # noqa: E501 'primary_label': (RestApiIdentifier,), # noqa: E501 + 'format': (AttributeFormat,), # noqa: E501 + 'granularity': (str,), # noqa: E501 } @cached_property @@ -106,6 +127,8 @@ def discriminator(): 'elements': 'elements', # noqa: E501 'paging': 'paging', # noqa: E501 'primary_label': 'primaryLabel', # noqa: E501 + 'format': 'format', # noqa: E501 + 'granularity': 'granularity', # noqa: E501 } read_only_vars = { @@ -154,6 +177,8 @@ def _from_openapi_data(cls, elements, paging, primary_label, *args, **kwargs): Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) + format (AttributeFormat): [optional] # noqa: E501 + granularity (str): Granularity of requested label in case of date attribute. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -247,6 +272,8 @@ def __init__(self, elements, paging, primary_label, *args, **kwargs): # noqa: E Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) + format (AttributeFormat): [optional] # noqa: E501 + granularity (str): Granularity of requested label in case of date attribute. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/gooddata-afm-client/gooddata_afm_client/models/__init__.py b/gooddata-afm-client/gooddata_afm_client/models/__init__.py index 92296fc80..094f84f50 100644 --- a/gooddata-afm-client/gooddata_afm_client/models/__init__.py +++ b/gooddata-afm-client/gooddata_afm_client/models/__init__.py @@ -34,6 +34,7 @@ from gooddata_afm_client.model.attribute_execution_result_header import AttributeExecutionResultHeader from gooddata_afm_client.model.attribute_filter import AttributeFilter from gooddata_afm_client.model.attribute_filter_elements import AttributeFilterElements +from gooddata_afm_client.model.attribute_format import AttributeFormat from gooddata_afm_client.model.attribute_header_out import AttributeHeaderOut from gooddata_afm_client.model.attribute_header_out_attribute_header import AttributeHeaderOutAttributeHeader from gooddata_afm_client.model.attribute_item import AttributeItem diff --git a/gooddata-api-client/.openapi-generator/FILES b/gooddata-api-client/.openapi-generator/FILES index e7f0cd7f3..71acbdfc6 100644 --- a/gooddata-api-client/.openapi-generator/FILES +++ b/gooddata-api-client/.openapi-generator/FILES @@ -28,6 +28,7 @@ docs/AssigneeIdentifier.md docs/AttributeExecutionResultHeader.md docs/AttributeFilter.md docs/AttributeFilterElements.md +docs/AttributeFormat.md docs/AttributeHeaderOut.md docs/AttributeHeaderOutAttributeHeader.md docs/AttributeItem.md @@ -467,6 +468,7 @@ docs/TableWarning.md docs/TabularExportRequest.md docs/TabularExportResult.md docs/TestDefinitionRequest.md +docs/TestQueryDuration.md docs/TestRequest.md docs/TestResponse.md docs/Total.md @@ -512,6 +514,7 @@ gooddata_api_client/model/assignee_identifier.py gooddata_api_client/model/attribute_execution_result_header.py gooddata_api_client/model/attribute_filter.py gooddata_api_client/model/attribute_filter_elements.py +gooddata_api_client/model/attribute_format.py gooddata_api_client/model/attribute_header_out.py gooddata_api_client/model/attribute_header_out_attribute_header.py gooddata_api_client/model/attribute_item.py @@ -949,6 +952,7 @@ gooddata_api_client/model/table_warning.py gooddata_api_client/model/tabular_export_request.py gooddata_api_client/model/tabular_export_result.py gooddata_api_client/model/test_definition_request.py +gooddata_api_client/model/test_query_duration.py gooddata_api_client/model/test_request.py gooddata_api_client/model/test_response.py gooddata_api_client/model/total.py diff --git a/gooddata-api-client/README.md b/gooddata-api-client/README.md index 8fd7b893e..6a14b5d4f 100644 --- a/gooddata-api-client/README.md +++ b/gooddata-api-client/README.md @@ -313,6 +313,7 @@ Class | Method | HTTP request | Description - [AttributeExecutionResultHeader](docs/AttributeExecutionResultHeader.md) - [AttributeFilter](docs/AttributeFilter.md) - [AttributeFilterElements](docs/AttributeFilterElements.md) + - [AttributeFormat](docs/AttributeFormat.md) - [AttributeHeaderOut](docs/AttributeHeaderOut.md) - [AttributeHeaderOutAttributeHeader](docs/AttributeHeaderOutAttributeHeader.md) - [AttributeItem](docs/AttributeItem.md) @@ -750,6 +751,7 @@ Class | Method | HTTP request | Description - [TabularExportRequest](docs/TabularExportRequest.md) - [TabularExportResult](docs/TabularExportResult.md) - [TestDefinitionRequest](docs/TestDefinitionRequest.md) + - [TestQueryDuration](docs/TestQueryDuration.md) - [TestRequest](docs/TestRequest.md) - [TestResponse](docs/TestResponse.md) - [Total](docs/Total.md) diff --git a/gooddata-api-client/docs/AttributeFormat.md b/gooddata-api-client/docs/AttributeFormat.md new file mode 100644 index 000000000..c43ac7318 --- /dev/null +++ b/gooddata-api-client/docs/AttributeFormat.md @@ -0,0 +1,13 @@ +# AttributeFormat + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**locale** | **str** | Format locale | +**pattern** | **str** | Format pattern | +**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] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/gooddata-api-client/docs/AttributeHeaderOutAttributeHeader.md b/gooddata-api-client/docs/AttributeHeaderOutAttributeHeader.md index e8d42afbf..e077a1423 100644 --- a/gooddata-api-client/docs/AttributeHeaderOutAttributeHeader.md +++ b/gooddata-api-client/docs/AttributeHeaderOutAttributeHeader.md @@ -10,6 +10,7 @@ Name | Type | Description | Notes **label_name** | **str** | | **local_identifier** | **str** | | **primary_label** | [**RestApiIdentifier**](RestApiIdentifier.md) | | +**format** | [**AttributeFormat**](AttributeFormat.md) | | [optional] **granularity** | **str** | | [optional] **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] diff --git a/gooddata-api-client/docs/ElementsResponse.md b/gooddata-api-client/docs/ElementsResponse.md index a5bd134bb..289b7d7d7 100644 --- a/gooddata-api-client/docs/ElementsResponse.md +++ b/gooddata-api-client/docs/ElementsResponse.md @@ -8,6 +8,8 @@ Name | Type | Description | Notes **elements** | [**[Element]**](Element.md) | List of returned elements. | **paging** | [**Paging**](Paging.md) | | **primary_label** | [**RestApiIdentifier**](RestApiIdentifier.md) | | +**format** | [**AttributeFormat**](AttributeFormat.md) | | [optional] +**granularity** | **str** | Granularity of requested label in case of date attribute | [optional] **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] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/gooddata-api-client/docs/LayoutApi.md b/gooddata-api-client/docs/LayoutApi.md index 6f849507d..a52372989 100644 --- a/gooddata-api-client/docs/LayoutApi.md +++ b/gooddata-api-client/docs/LayoutApi.md @@ -1293,7 +1293,7 @@ with gooddata_api_client.ApiClient() as api_client: source_column="customer_name", tags=["Customers"], title="Customer name", - value_type="TEXT" | "HYPERLINK" | "GEO", + value_type="TEXT" | "HYPERLINK" | "GEO" | "GEO_LONGITUDE" | "GEO_LATITUDE", ), ], sort_column="customer_name", @@ -1558,7 +1558,7 @@ with gooddata_api_client.ApiClient() as api_client: source_column="customer_name", tags=["Customers"], title="Customer name", - value_type="TEXT" | "HYPERLINK" | "GEO", + value_type="TEXT" | "HYPERLINK" | "GEO" | "GEO_LONGITUDE" | "GEO_LATITUDE", ), ], sort_column="customer_name", @@ -1931,7 +1931,7 @@ with gooddata_api_client.ApiClient() as api_client: source_column="customer_name", tags=["Customers"], title="Customer name", - value_type="TEXT" | "HYPERLINK" | "GEO", + value_type="TEXT" | "HYPERLINK" | "GEO" | "GEO_LONGITUDE" | "GEO_LATITUDE", ), ], sort_column="customer_name", @@ -2460,7 +2460,7 @@ with gooddata_api_client.ApiClient() as api_client: source_column="customer_name", tags=["Customers"], title="Customer name", - value_type="TEXT" | "HYPERLINK" | "GEO", + value_type="TEXT" | "HYPERLINK" | "GEO" | "GEO_LONGITUDE" | "GEO_LATITUDE", ), ], sort_column="customer_name", diff --git a/gooddata-api-client/docs/TestQueryDuration.md b/gooddata-api-client/docs/TestQueryDuration.md new file mode 100644 index 000000000..f7d9eee93 --- /dev/null +++ b/gooddata-api-client/docs/TestQueryDuration.md @@ -0,0 +1,14 @@ +# TestQueryDuration + +A structure containing duration of the test queries run on a data source. It is omitted if an error happens. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**simple_select** | **int** | Field containing duration of a test select query on a data source. In milliseconds. | +**create_cache_table** | **int** | Field containing duration of a test 'create table as select' query on a datasource. In milliseconds. The field is omitted if a data source doesn't support caching. | [optional] +**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] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/gooddata-api-client/docs/TestResponse.md b/gooddata-api-client/docs/TestResponse.md index 70f73b19a..1bc06923c 100644 --- a/gooddata-api-client/docs/TestResponse.md +++ b/gooddata-api-client/docs/TestResponse.md @@ -7,6 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **successful** | **bool** | A flag indicating whether test passed or not. | **error** | **str** | Field containing more details in case of a failure. Details are available to a privileged user only. | [optional] +**query_duration_millis** | [**TestQueryDuration**](TestQueryDuration.md) | | [optional] **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] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/gooddata-api-client/gooddata_api_client/model/attribute_format.py b/gooddata-api-client/gooddata_api_client/model/attribute_format.py new file mode 100644 index 000000000..9f244c9de --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/attribute_format.py @@ -0,0 +1,276 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: v0 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_api_client.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from gooddata_api_client.exceptions import ApiAttributeError + + + +class AttributeFormat(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + return { + 'locale': (str,), # noqa: E501 + 'pattern': (str,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'locale': 'locale', # noqa: E501 + 'pattern': 'pattern', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, locale, pattern, *args, **kwargs): # noqa: E501 + """AttributeFormat - a model defined in OpenAPI + + Args: + locale (str): Format locale + pattern (str): Format pattern + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', True) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.locale = locale + self.pattern = pattern + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, locale, pattern, *args, **kwargs): # noqa: E501 + """AttributeFormat - a model defined in OpenAPI + + Args: + locale (str): Format locale + pattern (str): Format pattern + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.locale = locale + self.pattern = pattern + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/gooddata-api-client/gooddata_api_client/model/attribute_header_out_attribute_header.py b/gooddata-api-client/gooddata_api_client/model/attribute_header_out_attribute_header.py index 64965e89c..94ed7ab5b 100644 --- a/gooddata-api-client/gooddata_api_client/model/attribute_header_out_attribute_header.py +++ b/gooddata-api-client/gooddata_api_client/model/attribute_header_out_attribute_header.py @@ -31,7 +31,9 @@ def lazy_import(): + from gooddata_api_client.model.attribute_format import AttributeFormat from gooddata_api_client.model.rest_api_identifier import RestApiIdentifier + globals()['AttributeFormat'] = AttributeFormat globals()['RestApiIdentifier'] = RestApiIdentifier @@ -116,6 +118,7 @@ def openapi_types(): 'label_name': (str,), # noqa: E501 'local_identifier': (str,), # noqa: E501 'primary_label': (RestApiIdentifier,), # noqa: E501 + 'format': (AttributeFormat,), # noqa: E501 'granularity': (str,), # noqa: E501 } @@ -131,6 +134,7 @@ def discriminator(): 'label_name': 'labelName', # noqa: E501 'local_identifier': 'localIdentifier', # noqa: E501 'primary_label': 'primaryLabel', # noqa: E501 + 'format': 'format', # noqa: E501 'granularity': 'granularity', # noqa: E501 } @@ -183,6 +187,7 @@ def _from_openapi_data(cls, attribute, attribute_name, label, label_name, local_ Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) + format (AttributeFormat): [optional] # noqa: E501 granularity (str): [optional] # noqa: E501 """ @@ -283,6 +288,7 @@ def __init__(self, attribute, attribute_name, label, label_name, local_identifie Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) + format (AttributeFormat): [optional] # noqa: E501 granularity (str): [optional] # noqa: E501 """ diff --git a/gooddata-api-client/gooddata_api_client/model/declarative_data_source.py b/gooddata-api-client/gooddata_api_client/model/declarative_data_source.py index 07d184625..29ac7d850 100644 --- a/gooddata-api-client/gooddata_api_client/model/declarative_data_source.py +++ b/gooddata-api-client/gooddata_api_client/model/declarative_data_source.py @@ -76,6 +76,8 @@ class DeclarativeDataSource(ModelNormal): 'DREMIO': "DREMIO", 'DRILL': "DRILL", 'GREENPLUM': "GREENPLUM", + 'AZURESQL': "AZURESQL", + 'SYNAPSESQL': "SYNAPSESQL", }, } diff --git a/gooddata-api-client/gooddata_api_client/model/declarative_label.py b/gooddata-api-client/gooddata_api_client/model/declarative_label.py index 3f5460d0f..3a21456ce 100644 --- a/gooddata-api-client/gooddata_api_client/model/declarative_label.py +++ b/gooddata-api-client/gooddata_api_client/model/declarative_label.py @@ -60,6 +60,8 @@ class DeclarativeLabel(ModelNormal): 'TEXT': "TEXT", 'HYPERLINK': "HYPERLINK", 'GEO': "GEO", + 'GEO_LONGITUDE': "GEO_LONGITUDE", + 'GEO_LATITUDE': "GEO_LATITUDE", }, } diff --git a/gooddata-api-client/gooddata_api_client/model/elements_response.py b/gooddata-api-client/gooddata_api_client/model/elements_response.py index cfc18996f..d95b8d678 100644 --- a/gooddata-api-client/gooddata_api_client/model/elements_response.py +++ b/gooddata-api-client/gooddata_api_client/model/elements_response.py @@ -31,9 +31,11 @@ def lazy_import(): + from gooddata_api_client.model.attribute_format import AttributeFormat from gooddata_api_client.model.element import Element from gooddata_api_client.model.paging import Paging from gooddata_api_client.model.rest_api_identifier import RestApiIdentifier + globals()['AttributeFormat'] = AttributeFormat globals()['Element'] = Element globals()['Paging'] = Paging globals()['RestApiIdentifier'] = RestApiIdentifier @@ -64,6 +66,23 @@ class ElementsResponse(ModelNormal): """ allowed_values = { + ('granularity',): { + 'MINUTE': "MINUTE", + 'HOUR': "HOUR", + 'DAY': "DAY", + 'WEEK': "WEEK", + 'MONTH': "MONTH", + 'QUARTER': "QUARTER", + 'YEAR': "YEAR", + 'MINUTE_OF_HOUR': "MINUTE_OF_HOUR", + 'HOUR_OF_DAY': "HOUR_OF_DAY", + 'DAY_OF_WEEK': "DAY_OF_WEEK", + 'DAY_OF_MONTH': "DAY_OF_MONTH", + 'DAY_OF_YEAR': "DAY_OF_YEAR", + 'WEEK_OF_YEAR': "WEEK_OF_YEAR", + 'MONTH_OF_YEAR': "MONTH_OF_YEAR", + 'QUARTER_OF_YEAR': "QUARTER_OF_YEAR", + }, } validations = { @@ -95,6 +114,8 @@ def openapi_types(): 'elements': ([Element],), # noqa: E501 'paging': (Paging,), # noqa: E501 'primary_label': (RestApiIdentifier,), # noqa: E501 + 'format': (AttributeFormat,), # noqa: E501 + 'granularity': (str,), # noqa: E501 } @cached_property @@ -106,6 +127,8 @@ def discriminator(): 'elements': 'elements', # noqa: E501 'paging': 'paging', # noqa: E501 'primary_label': 'primaryLabel', # noqa: E501 + 'format': 'format', # noqa: E501 + 'granularity': 'granularity', # noqa: E501 } read_only_vars = { @@ -154,6 +177,8 @@ def _from_openapi_data(cls, elements, paging, primary_label, *args, **kwargs): Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) + format (AttributeFormat): [optional] # noqa: E501 + granularity (str): Granularity of requested label in case of date attribute. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -247,6 +272,8 @@ def __init__(self, elements, paging, primary_label, *args, **kwargs): # noqa: E Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) + format (AttributeFormat): [optional] # noqa: E501 + granularity (str): Granularity of requested label in case of date attribute. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_data_source_identifier_out_attributes.py b/gooddata-api-client/gooddata_api_client/model/json_api_data_source_identifier_out_attributes.py index a72652a56..ad287cbfd 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_data_source_identifier_out_attributes.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_data_source_identifier_out_attributes.py @@ -68,6 +68,8 @@ class JsonApiDataSourceIdentifierOutAttributes(ModelNormal): 'DREMIO': "DREMIO", 'DRILL': "DRILL", 'GREENPLUM': "GREENPLUM", + 'AZURESQL': "AZURESQL", + 'SYNAPSESQL': "SYNAPSESQL", }, } diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_data_source_in_attributes.py b/gooddata-api-client/gooddata_api_client/model/json_api_data_source_in_attributes.py index cd5a794bb..65141e319 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_data_source_in_attributes.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_data_source_in_attributes.py @@ -72,6 +72,8 @@ class JsonApiDataSourceInAttributes(ModelNormal): 'DREMIO': "DREMIO", 'DRILL': "DRILL", 'GREENPLUM': "GREENPLUM", + 'AZURESQL': "AZURESQL", + 'SYNAPSESQL': "SYNAPSESQL", }, } diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_data_source_out_attributes.py b/gooddata-api-client/gooddata_api_client/model/json_api_data_source_out_attributes.py index a6bd67bd4..ba7114f91 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_data_source_out_attributes.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_data_source_out_attributes.py @@ -72,6 +72,8 @@ class JsonApiDataSourceOutAttributes(ModelNormal): 'DREMIO': "DREMIO", 'DRILL': "DRILL", 'GREENPLUM': "GREENPLUM", + 'AZURESQL': "AZURESQL", + 'SYNAPSESQL': "SYNAPSESQL", }, } diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_data_source_patch_attributes.py b/gooddata-api-client/gooddata_api_client/model/json_api_data_source_patch_attributes.py index 677b3b66f..31d46a16c 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_data_source_patch_attributes.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_data_source_patch_attributes.py @@ -72,6 +72,8 @@ class JsonApiDataSourcePatchAttributes(ModelNormal): 'DREMIO': "DREMIO", 'DRILL': "DRILL", 'GREENPLUM': "GREENPLUM", + 'AZURESQL': "AZURESQL", + 'SYNAPSESQL': "SYNAPSESQL", }, } diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_label_out_attributes.py b/gooddata-api-client/gooddata_api_client/model/json_api_label_out_attributes.py index 572add4ec..9ba2e308e 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_label_out_attributes.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_label_out_attributes.py @@ -60,6 +60,8 @@ class JsonApiLabelOutAttributes(ModelNormal): 'TEXT': "TEXT", 'HYPERLINK': "HYPERLINK", 'GEO': "GEO", + 'GEO_LONGITUDE': "GEO_LONGITUDE", + 'GEO_LATITUDE': "GEO_LATITUDE", }, } diff --git a/gooddata-api-client/gooddata_api_client/model/test_definition_request.py b/gooddata-api-client/gooddata_api_client/model/test_definition_request.py index 557b853d7..85b9a308a 100644 --- a/gooddata-api-client/gooddata_api_client/model/test_definition_request.py +++ b/gooddata-api-client/gooddata_api_client/model/test_definition_request.py @@ -72,6 +72,8 @@ class TestDefinitionRequest(ModelNormal): 'DREMIO': "DREMIO", 'DRILL': "DRILL", 'GREENPLUM': "GREENPLUM", + 'AZURESQL': "AZURESQL", + 'SYNAPSESQL': "SYNAPSESQL", }, } diff --git a/gooddata-api-client/gooddata_api_client/model/test_query_duration.py b/gooddata-api-client/gooddata_api_client/model/test_query_duration.py new file mode 100644 index 000000000..efb2fb413 --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/test_query_duration.py @@ -0,0 +1,274 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: v0 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_api_client.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from gooddata_api_client.exceptions import ApiAttributeError + + + +class TestQueryDuration(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + return { + 'simple_select': (int,), # noqa: E501 + 'create_cache_table': (int,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'simple_select': 'simpleSelect', # noqa: E501 + 'create_cache_table': 'createCacheTable', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, simple_select, *args, **kwargs): # noqa: E501 + """TestQueryDuration - a model defined in OpenAPI + + Args: + simple_select (int): Field containing duration of a test select query on a data source. In milliseconds. + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + create_cache_table (int): Field containing duration of a test 'create table as select' query on a datasource. In milliseconds. The field is omitted if a data source doesn't support caching.. [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', True) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.simple_select = simple_select + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, simple_select, *args, **kwargs): # noqa: E501 + """TestQueryDuration - a model defined in OpenAPI + + Args: + simple_select (int): Field containing duration of a test select query on a data source. In milliseconds. + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + create_cache_table (int): Field containing duration of a test 'create table as select' query on a datasource. In milliseconds. The field is omitted if a data source doesn't support caching.. [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.simple_select = simple_select + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/gooddata-api-client/gooddata_api_client/model/test_response.py b/gooddata-api-client/gooddata_api_client/model/test_response.py index 8edc40afb..5f27b1b02 100644 --- a/gooddata-api-client/gooddata_api_client/model/test_response.py +++ b/gooddata-api-client/gooddata_api_client/model/test_response.py @@ -30,6 +30,10 @@ from gooddata_api_client.exceptions import ApiAttributeError +def lazy_import(): + from gooddata_api_client.model.test_query_duration import TestQueryDuration + globals()['TestQueryDuration'] = TestQueryDuration + class TestResponse(ModelNormal): """NOTE: This class is auto generated by OpenAPI Generator. @@ -67,6 +71,7 @@ def additional_properties_type(): This must be a method because a model may have properties that are of type self, this must run after the class is loaded """ + lazy_import() return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 _nullable = False @@ -81,9 +86,11 @@ def openapi_types(): openapi_types (dict): The key is attribute name and the value is attribute type. """ + lazy_import() return { 'successful': (bool,), # noqa: E501 'error': (str,), # noqa: E501 + 'query_duration_millis': (TestQueryDuration,), # noqa: E501 } @cached_property @@ -94,6 +101,7 @@ def discriminator(): attribute_map = { 'successful': 'successful', # noqa: E501 'error': 'error', # noqa: E501 + 'query_duration_millis': 'queryDurationMillis', # noqa: E501 } read_only_vars = { @@ -141,6 +149,7 @@ def _from_openapi_data(cls, successful, *args, **kwargs): # noqa: E501 through its discriminator because we passed in _visited_composed_classes = (Animal,) error (str): Field containing more details in case of a failure. Details are available to a privileged user only.. [optional] # noqa: E501 + query_duration_millis (TestQueryDuration): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -231,6 +240,7 @@ def __init__(self, successful, *args, **kwargs): # noqa: E501 through its discriminator because we passed in _visited_composed_classes = (Animal,) error (str): Field containing more details in case of a failure. Details are available to a privileged user only.. [optional] # noqa: E501 + query_duration_millis (TestQueryDuration): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/gooddata-api-client/gooddata_api_client/models/__init__.py b/gooddata-api-client/gooddata_api_client/models/__init__.py index 9598cf57f..09f400415 100644 --- a/gooddata-api-client/gooddata_api_client/models/__init__.py +++ b/gooddata-api-client/gooddata_api_client/models/__init__.py @@ -36,6 +36,7 @@ from gooddata_api_client.model.attribute_execution_result_header import AttributeExecutionResultHeader from gooddata_api_client.model.attribute_filter import AttributeFilter from gooddata_api_client.model.attribute_filter_elements import AttributeFilterElements +from gooddata_api_client.model.attribute_format import AttributeFormat from gooddata_api_client.model.attribute_header_out import AttributeHeaderOut from gooddata_api_client.model.attribute_header_out_attribute_header import AttributeHeaderOutAttributeHeader from gooddata_api_client.model.attribute_item import AttributeItem @@ -473,6 +474,7 @@ from gooddata_api_client.model.tabular_export_request import TabularExportRequest from gooddata_api_client.model.tabular_export_result import TabularExportResult from gooddata_api_client.model.test_definition_request import TestDefinitionRequest +from gooddata_api_client.model.test_query_duration import TestQueryDuration from gooddata_api_client.model.test_request import TestRequest from gooddata_api_client.model.test_response import TestResponse from gooddata_api_client.model.total import Total diff --git a/gooddata-fdw/tests/execute/fixtures/execute_compute_table_all_columns.yaml b/gooddata-fdw/tests/execute/fixtures/execute_compute_table_all_columns.yaml index 805109cb4..a7fc51748 100644 --- a/gooddata-fdw/tests/execute/fixtures/execute_compute_table_all_columns.yaml +++ b/gooddata-fdw/tests/execute/fixtures/execute_compute_table_all_columns.yaml @@ -178,10 +178,10 @@ interactions: name: Revenue localIdentifier: dim_1 links: - executionResult: 291d0a2480dbdfb81a2b99ec57c7ac97c022943c + executionResult: a6d16aa778db97a4c93b6ad498489b6c0d549e18 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/291d0a2480dbdfb81a2b99ec57c7ac97c022943c?offset=0%2C0&limit=512%2C256 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/a6d16aa778db97a4c93b6ad498489b6c0d549e18?offset=0%2C0&limit=512%2C256 body: null headers: Accept: diff --git a/gooddata-fdw/tests/execute/fixtures/execute_compute_table_metrics_only.yaml b/gooddata-fdw/tests/execute/fixtures/execute_compute_table_metrics_only.yaml index 6937f1fce..fefedb6ce 100644 --- a/gooddata-fdw/tests/execute/fixtures/execute_compute_table_metrics_only.yaml +++ b/gooddata-fdw/tests/execute/fixtures/execute_compute_table_metrics_only.yaml @@ -134,10 +134,10 @@ interactions: name: Revenue localIdentifier: dim_0 links: - executionResult: b505e8394ba7b6e5a0bb7aa5331d22eb0e403faa + executionResult: e1cd7d5aef4ffac8d7adff9786bee2e4f6a04f37 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/b505e8394ba7b6e5a0bb7aa5331d22eb0e403faa?offset=0&limit=256 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/e1cd7d5aef4ffac8d7adff9786bee2e4f6a04f37?offset=0&limit=256 body: null headers: Accept: diff --git a/gooddata-fdw/tests/execute/fixtures/execute_compute_table_with_reduced_granularity.yaml b/gooddata-fdw/tests/execute/fixtures/execute_compute_table_with_reduced_granularity.yaml index c9b99c13d..c06f6e79f 100644 --- a/gooddata-fdw/tests/execute/fixtures/execute_compute_table_with_reduced_granularity.yaml +++ b/gooddata-fdw/tests/execute/fixtures/execute_compute_table_with_reduced_granularity.yaml @@ -135,10 +135,10 @@ interactions: name: Revenue localIdentifier: dim_1 links: - executionResult: 22a3b1218e272c4ed70aeeaf86d5f72ecb6cd64f + executionResult: 02ab392fce50b19b5c1bfe387a49da8be50a2aa3 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/22a3b1218e272c4ed70aeeaf86d5f72ecb6cd64f?offset=0%2C0&limit=512%2C256 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/02ab392fce50b19b5c1bfe387a49da8be50a2aa3?offset=0%2C0&limit=512%2C256 body: null headers: Accept: diff --git a/gooddata-fdw/tests/execute/fixtures/execute_insight_all_columns.yaml b/gooddata-fdw/tests/execute/fixtures/execute_insight_all_columns.yaml index 1ec199dea..9d1e75311 100644 --- a/gooddata-fdw/tests/execute/fixtures/execute_insight_all_columns.yaml +++ b/gooddata-fdw/tests/execute/fixtures/execute_insight_all_columns.yaml @@ -185,12 +185,12 @@ interactions: type: fact labels: data: - - id: product_name - type: label - id: products.category type: label - id: customer_name type: label + - id: product_name + type: label included: - id: quantity type: fact @@ -447,10 +447,10 @@ interactions: name: Revenue localIdentifier: dim_1 links: - executionResult: cf3d6660f9c3d5fb5c8e4fabdebadccf751fa899 + executionResult: d958ec25d29a11ac62d68383c40cd5de891dda0d - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/cf3d6660f9c3d5fb5c8e4fabdebadccf751fa899?offset=0%2C0&limit=512%2C256 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/d958ec25d29a11ac62d68383c40cd5de891dda0d?offset=0%2C0&limit=512%2C256 body: null headers: Accept: diff --git a/gooddata-fdw/tests/execute/fixtures/execute_insight_some_columns.yaml b/gooddata-fdw/tests/execute/fixtures/execute_insight_some_columns.yaml index 1ec199dea..9d1e75311 100644 --- a/gooddata-fdw/tests/execute/fixtures/execute_insight_some_columns.yaml +++ b/gooddata-fdw/tests/execute/fixtures/execute_insight_some_columns.yaml @@ -185,12 +185,12 @@ interactions: type: fact labels: data: - - id: product_name - type: label - id: products.category type: label - id: customer_name type: label + - id: product_name + type: label included: - id: quantity type: fact @@ -447,10 +447,10 @@ interactions: name: Revenue localIdentifier: dim_1 links: - executionResult: cf3d6660f9c3d5fb5c8e4fabdebadccf751fa899 + executionResult: d958ec25d29a11ac62d68383c40cd5de891dda0d - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/cf3d6660f9c3d5fb5c8e4fabdebadccf751fa899?offset=0%2C0&limit=512%2C256 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/d958ec25d29a11ac62d68383c40cd5de891dda0d?offset=0%2C0&limit=512%2C256 body: null headers: Accept: diff --git a/gooddata-fdw/tests/import_foreign_schema/fixtures/import_compute_without_restrictions.yaml b/gooddata-fdw/tests/import_foreign_schema/fixtures/import_compute_without_restrictions.yaml index 8b85ef411..1316e8469 100644 --- a/gooddata-fdw/tests/import_foreign_schema/fixtures/import_compute_without_restrictions.yaml +++ b/gooddata-fdw/tests/import_foreign_schema/fixtures/import_compute_without_restrictions.yaml @@ -984,6 +984,65 @@ interactions: body: string: data: + - id: campaign_channels + type: dataset + attributes: + title: Campaign channels + description: Campaign channels + tags: + - Campaign channels + grain: + - id: campaign_channel_id + type: attribute + referenceProperties: + - identifier: + id: campaigns + type: dataset + multivalue: false + sourceColumns: + - campaign_id + dataSourceTableId: demo-test-ds:campaign_channels + areRelationsValid: true + type: NORMAL + relationships: + attributes: + data: + - id: campaign_channel_id + type: attribute + - id: campaign_channels.category + type: attribute + - id: type + type: attribute + facts: + data: + - id: spend + type: fact + - id: budget + type: fact + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaign_channels + - id: campaigns + type: dataset + attributes: + title: Campaigns + description: Campaigns + tags: + - Campaigns + grain: + - id: campaign_id + type: attribute + dataSourceTableId: demo-test-ds:campaigns + areRelationsValid: true + type: NORMAL + relationships: + attributes: + data: + - id: campaign_name + type: attribute + - id: campaign_id + type: attribute + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaigns - id: customers type: dataset attributes: @@ -1022,17 +1081,17 @@ interactions: type: attribute referenceProperties: - identifier: - id: customers + id: campaigns type: dataset multivalue: false sourceColumns: - - customer_id + - campaign_id - identifier: - id: campaigns + id: date type: dataset multivalue: false sourceColumns: - - campaign_id + - date - identifier: id: products type: dataset @@ -1040,11 +1099,11 @@ interactions: sourceColumns: - product_id - identifier: - id: date + id: customers type: dataset multivalue: false sourceColumns: - - date + - customer_id dataSourceTableId: demo-test-ds:order_lines areRelationsValid: true type: NORMAL @@ -1101,97 +1160,38 @@ interactions: relationships: attributes: data: - - id: date.quarter + - id: date.month type: attribute - - id: date.dayOfWeek + - id: date.minuteOfHour type: attribute - - id: date.quarterOfYear + - id: date.dayOfYear type: attribute - - id: date.day + - id: date.hourOfDay type: attribute - - id: date.week + - id: date.quarter type: attribute - - id: date.hour + - id: date.monthOfYear type: attribute - - id: date.hourOfDay + - id: date.minute type: attribute - - id: date.minuteOfHour + - id: date.quarterOfYear type: attribute - - id: date.dayOfYear + - id: date.week type: attribute - id: date.dayOfMonth type: attribute - - id: date.weekOfYear - type: attribute - - id: date.month - type: attribute - id: date.year type: attribute - - id: date.minute - type: attribute - - id: date.monthOfYear - type: attribute - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date - - id: campaign_channels - type: dataset - attributes: - title: Campaign channels - description: Campaign channels - tags: - - Campaign channels - grain: - - id: campaign_channel_id - type: attribute - referenceProperties: - - identifier: - id: campaigns - type: dataset - multivalue: false - sourceColumns: - - campaign_id - dataSourceTableId: demo-test-ds:campaign_channels - areRelationsValid: true - type: NORMAL - relationships: - attributes: - data: - - id: campaign_channel_id - type: attribute - - id: campaign_channels.category + - id: date.hour type: attribute - - id: type + - id: date.day type: attribute - facts: - data: - - id: spend - type: fact - - id: budget - type: fact - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaign_channels - - id: campaigns - type: dataset - attributes: - title: Campaigns - description: Campaigns - tags: - - Campaigns - grain: - - id: campaign_id - type: attribute - dataSourceTableId: demo-test-ds:campaigns - areRelationsValid: true - type: NORMAL - relationships: - attributes: - data: - - id: campaign_name + - id: date.weekOfYear type: attribute - - id: campaign_id + - id: date.dayOfWeek type: attribute links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaigns + self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date included: - id: product_id type: attribute diff --git a/gooddata-fdw/tests/import_foreign_schema/fixtures/import_insights_without_restrictions.yaml b/gooddata-fdw/tests/import_foreign_schema/fixtures/import_insights_without_restrictions.yaml index 32b751fac..992ab2287 100644 --- a/gooddata-fdw/tests/import_foreign_schema/fixtures/import_insights_without_restrictions.yaml +++ b/gooddata-fdw/tests/import_foreign_schema/fixtures/import_insights_without_restrictions.yaml @@ -984,6 +984,65 @@ interactions: body: string: data: + - id: campaign_channels + type: dataset + attributes: + title: Campaign channels + description: Campaign channels + tags: + - Campaign channels + grain: + - id: campaign_channel_id + type: attribute + referenceProperties: + - identifier: + id: campaigns + type: dataset + multivalue: false + sourceColumns: + - campaign_id + dataSourceTableId: demo-test-ds:campaign_channels + areRelationsValid: true + type: NORMAL + relationships: + attributes: + data: + - id: campaign_channel_id + type: attribute + - id: campaign_channels.category + type: attribute + - id: type + type: attribute + facts: + data: + - id: spend + type: fact + - id: budget + type: fact + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaign_channels + - id: campaigns + type: dataset + attributes: + title: Campaigns + description: Campaigns + tags: + - Campaigns + grain: + - id: campaign_id + type: attribute + dataSourceTableId: demo-test-ds:campaigns + areRelationsValid: true + type: NORMAL + relationships: + attributes: + data: + - id: campaign_name + type: attribute + - id: campaign_id + type: attribute + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaigns - id: customers type: dataset attributes: @@ -1022,17 +1081,17 @@ interactions: type: attribute referenceProperties: - identifier: - id: customers + id: campaigns type: dataset multivalue: false sourceColumns: - - customer_id + - campaign_id - identifier: - id: campaigns + id: date type: dataset multivalue: false sourceColumns: - - campaign_id + - date - identifier: id: products type: dataset @@ -1040,11 +1099,11 @@ interactions: sourceColumns: - product_id - identifier: - id: date + id: customers type: dataset multivalue: false sourceColumns: - - date + - customer_id dataSourceTableId: demo-test-ds:order_lines areRelationsValid: true type: NORMAL @@ -1101,97 +1160,38 @@ interactions: relationships: attributes: data: - - id: date.quarter + - id: date.month type: attribute - - id: date.dayOfWeek + - id: date.minuteOfHour type: attribute - - id: date.quarterOfYear + - id: date.dayOfYear type: attribute - - id: date.day + - id: date.hourOfDay type: attribute - - id: date.week + - id: date.quarter type: attribute - - id: date.hour + - id: date.monthOfYear type: attribute - - id: date.hourOfDay + - id: date.minute type: attribute - - id: date.minuteOfHour + - id: date.quarterOfYear type: attribute - - id: date.dayOfYear + - id: date.week type: attribute - id: date.dayOfMonth type: attribute - - id: date.weekOfYear - type: attribute - - id: date.month - type: attribute - id: date.year type: attribute - - id: date.minute - type: attribute - - id: date.monthOfYear - type: attribute - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date - - id: campaign_channels - type: dataset - attributes: - title: Campaign channels - description: Campaign channels - tags: - - Campaign channels - grain: - - id: campaign_channel_id - type: attribute - referenceProperties: - - identifier: - id: campaigns - type: dataset - multivalue: false - sourceColumns: - - campaign_id - dataSourceTableId: demo-test-ds:campaign_channels - areRelationsValid: true - type: NORMAL - relationships: - attributes: - data: - - id: campaign_channel_id - type: attribute - - id: campaign_channels.category + - id: date.hour type: attribute - - id: type + - id: date.day type: attribute - facts: - data: - - id: spend - type: fact - - id: budget - type: fact - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaign_channels - - id: campaigns - type: dataset - attributes: - title: Campaigns - description: Campaigns - tags: - - Campaigns - grain: - - id: campaign_id - type: attribute - dataSourceTableId: demo-test-ds:campaigns - areRelationsValid: true - type: NORMAL - relationships: - attributes: - data: - - id: campaign_name + - id: date.weekOfYear type: attribute - - id: campaign_id + - id: date.dayOfWeek type: attribute links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaigns + self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date included: - id: product_id type: attribute diff --git a/gooddata-metadata-client/docs/LayoutApi.md b/gooddata-metadata-client/docs/LayoutApi.md index adddf8977..20c417bda 100644 --- a/gooddata-metadata-client/docs/LayoutApi.md +++ b/gooddata-metadata-client/docs/LayoutApi.md @@ -1293,7 +1293,7 @@ with gooddata_metadata_client.ApiClient() as api_client: source_column="customer_name", tags=["Customers"], title="Customer name", - value_type="TEXT" | "HYPERLINK" | "GEO", + value_type="TEXT" | "HYPERLINK" | "GEO" | "GEO_LONGITUDE" | "GEO_LATITUDE", ), ], sort_column="customer_name", @@ -1558,7 +1558,7 @@ with gooddata_metadata_client.ApiClient() as api_client: source_column="customer_name", tags=["Customers"], title="Customer name", - value_type="TEXT" | "HYPERLINK" | "GEO", + value_type="TEXT" | "HYPERLINK" | "GEO" | "GEO_LONGITUDE" | "GEO_LATITUDE", ), ], sort_column="customer_name", @@ -1931,7 +1931,7 @@ with gooddata_metadata_client.ApiClient() as api_client: source_column="customer_name", tags=["Customers"], title="Customer name", - value_type="TEXT" | "HYPERLINK" | "GEO", + value_type="TEXT" | "HYPERLINK" | "GEO" | "GEO_LONGITUDE" | "GEO_LATITUDE", ), ], sort_column="customer_name", @@ -2460,7 +2460,7 @@ with gooddata_metadata_client.ApiClient() as api_client: source_column="customer_name", tags=["Customers"], title="Customer name", - value_type="TEXT" | "HYPERLINK" | "GEO", + value_type="TEXT" | "HYPERLINK" | "GEO" | "GEO_LONGITUDE" | "GEO_LATITUDE", ), ], sort_column="customer_name", diff --git a/gooddata-metadata-client/gooddata_metadata_client/model/declarative_data_source.py b/gooddata-metadata-client/gooddata_metadata_client/model/declarative_data_source.py index def7a6295..e0d7d50a3 100644 --- a/gooddata-metadata-client/gooddata_metadata_client/model/declarative_data_source.py +++ b/gooddata-metadata-client/gooddata_metadata_client/model/declarative_data_source.py @@ -76,6 +76,8 @@ class DeclarativeDataSource(ModelNormal): 'DREMIO': "DREMIO", 'DRILL': "DRILL", 'GREENPLUM': "GREENPLUM", + 'AZURESQL': "AZURESQL", + 'SYNAPSESQL': "SYNAPSESQL", }, } diff --git a/gooddata-metadata-client/gooddata_metadata_client/model/declarative_label.py b/gooddata-metadata-client/gooddata_metadata_client/model/declarative_label.py index 3729b1144..127c6b45d 100644 --- a/gooddata-metadata-client/gooddata_metadata_client/model/declarative_label.py +++ b/gooddata-metadata-client/gooddata_metadata_client/model/declarative_label.py @@ -60,6 +60,8 @@ class DeclarativeLabel(ModelNormal): 'TEXT': "TEXT", 'HYPERLINK': "HYPERLINK", 'GEO': "GEO", + 'GEO_LONGITUDE': "GEO_LONGITUDE", + 'GEO_LATITUDE': "GEO_LATITUDE", }, } diff --git a/gooddata-metadata-client/gooddata_metadata_client/model/json_api_data_source_identifier_out_attributes.py b/gooddata-metadata-client/gooddata_metadata_client/model/json_api_data_source_identifier_out_attributes.py index c4a0df562..54d0acbc1 100644 --- a/gooddata-metadata-client/gooddata_metadata_client/model/json_api_data_source_identifier_out_attributes.py +++ b/gooddata-metadata-client/gooddata_metadata_client/model/json_api_data_source_identifier_out_attributes.py @@ -68,6 +68,8 @@ class JsonApiDataSourceIdentifierOutAttributes(ModelNormal): 'DREMIO': "DREMIO", 'DRILL': "DRILL", 'GREENPLUM': "GREENPLUM", + 'AZURESQL': "AZURESQL", + 'SYNAPSESQL': "SYNAPSESQL", }, } diff --git a/gooddata-metadata-client/gooddata_metadata_client/model/json_api_data_source_in_attributes.py b/gooddata-metadata-client/gooddata_metadata_client/model/json_api_data_source_in_attributes.py index c592378b1..d8934bafe 100644 --- a/gooddata-metadata-client/gooddata_metadata_client/model/json_api_data_source_in_attributes.py +++ b/gooddata-metadata-client/gooddata_metadata_client/model/json_api_data_source_in_attributes.py @@ -72,6 +72,8 @@ class JsonApiDataSourceInAttributes(ModelNormal): 'DREMIO': "DREMIO", 'DRILL': "DRILL", 'GREENPLUM': "GREENPLUM", + 'AZURESQL': "AZURESQL", + 'SYNAPSESQL': "SYNAPSESQL", }, } diff --git a/gooddata-metadata-client/gooddata_metadata_client/model/json_api_data_source_out_attributes.py b/gooddata-metadata-client/gooddata_metadata_client/model/json_api_data_source_out_attributes.py index f5937fad5..4c2657646 100644 --- a/gooddata-metadata-client/gooddata_metadata_client/model/json_api_data_source_out_attributes.py +++ b/gooddata-metadata-client/gooddata_metadata_client/model/json_api_data_source_out_attributes.py @@ -72,6 +72,8 @@ class JsonApiDataSourceOutAttributes(ModelNormal): 'DREMIO': "DREMIO", 'DRILL': "DRILL", 'GREENPLUM': "GREENPLUM", + 'AZURESQL': "AZURESQL", + 'SYNAPSESQL': "SYNAPSESQL", }, } diff --git a/gooddata-metadata-client/gooddata_metadata_client/model/json_api_data_source_patch_attributes.py b/gooddata-metadata-client/gooddata_metadata_client/model/json_api_data_source_patch_attributes.py index 776678ec0..1dd15793a 100644 --- a/gooddata-metadata-client/gooddata_metadata_client/model/json_api_data_source_patch_attributes.py +++ b/gooddata-metadata-client/gooddata_metadata_client/model/json_api_data_source_patch_attributes.py @@ -72,6 +72,8 @@ class JsonApiDataSourcePatchAttributes(ModelNormal): 'DREMIO': "DREMIO", 'DRILL': "DRILL", 'GREENPLUM': "GREENPLUM", + 'AZURESQL': "AZURESQL", + 'SYNAPSESQL': "SYNAPSESQL", }, } diff --git a/gooddata-metadata-client/gooddata_metadata_client/model/json_api_label_out_attributes.py b/gooddata-metadata-client/gooddata_metadata_client/model/json_api_label_out_attributes.py index 0d8ea511e..a160ee13c 100644 --- a/gooddata-metadata-client/gooddata_metadata_client/model/json_api_label_out_attributes.py +++ b/gooddata-metadata-client/gooddata_metadata_client/model/json_api_label_out_attributes.py @@ -60,6 +60,8 @@ class JsonApiLabelOutAttributes(ModelNormal): 'TEXT': "TEXT", 'HYPERLINK': "HYPERLINK", 'GEO': "GEO", + 'GEO_LONGITUDE': "GEO_LONGITUDE", + 'GEO_LATITUDE': "GEO_LATITUDE", }, } diff --git a/gooddata-pandas/tests/dataframe/fixtures/dataframe_for_exec_def_bytes_limits_failure.yaml b/gooddata-pandas/tests/dataframe/fixtures/dataframe_for_exec_def_bytes_limits_failure.yaml index d1b5f826b..e7a118595 100644 --- a/gooddata-pandas/tests/dataframe/fixtures/dataframe_for_exec_def_bytes_limits_failure.yaml +++ b/gooddata-pandas/tests/dataframe/fixtures/dataframe_for_exec_def_bytes_limits_failure.yaml @@ -175,10 +175,10 @@ interactions: name: Order Amount localIdentifier: dim_1 links: - executionResult: 526c8e8a10e8e7363ffb95f57a7269421b08b814 + executionResult: 104f6f8537437503a072fd1c1afec098cadcc644 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/526c8e8a10e8e7363ffb95f57a7269421b08b814/metadata + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/104f6f8537437503a072fd1c1afec098cadcc644/metadata body: null headers: Accept: @@ -338,7 +338,7 @@ interactions: name: Order Amount localIdentifier: dim_1 links: - executionResult: 526c8e8a10e8e7363ffb95f57a7269421b08b814 + executionResult: 104f6f8537437503a072fd1c1afec098cadcc644 resultSpec: dimensions: - localIdentifier: dim_0 @@ -355,7 +355,7 @@ interactions: resultSize: 7077 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/526c8e8a10e8e7363ffb95f57a7269421b08b814?offset=0%2C0&limit=100%2C100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/104f6f8537437503a072fd1c1afec098cadcc644?offset=0%2C0&limit=100%2C100 body: null headers: Accept: diff --git a/gooddata-pandas/tests/dataframe/fixtures/dataframe_for_exec_def_dimensions_limits_failure.yaml b/gooddata-pandas/tests/dataframe/fixtures/dataframe_for_exec_def_dimensions_limits_failure.yaml index d1b5f826b..e7a118595 100644 --- a/gooddata-pandas/tests/dataframe/fixtures/dataframe_for_exec_def_dimensions_limits_failure.yaml +++ b/gooddata-pandas/tests/dataframe/fixtures/dataframe_for_exec_def_dimensions_limits_failure.yaml @@ -175,10 +175,10 @@ interactions: name: Order Amount localIdentifier: dim_1 links: - executionResult: 526c8e8a10e8e7363ffb95f57a7269421b08b814 + executionResult: 104f6f8537437503a072fd1c1afec098cadcc644 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/526c8e8a10e8e7363ffb95f57a7269421b08b814/metadata + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/104f6f8537437503a072fd1c1afec098cadcc644/metadata body: null headers: Accept: @@ -338,7 +338,7 @@ interactions: name: Order Amount localIdentifier: dim_1 links: - executionResult: 526c8e8a10e8e7363ffb95f57a7269421b08b814 + executionResult: 104f6f8537437503a072fd1c1afec098cadcc644 resultSpec: dimensions: - localIdentifier: dim_0 @@ -355,7 +355,7 @@ interactions: resultSize: 7077 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/526c8e8a10e8e7363ffb95f57a7269421b08b814?offset=0%2C0&limit=100%2C100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/104f6f8537437503a072fd1c1afec098cadcc644?offset=0%2C0&limit=100%2C100 body: null headers: Accept: diff --git a/gooddata-pandas/tests/dataframe/fixtures/dataframe_for_exec_def_one_dim1.yaml b/gooddata-pandas/tests/dataframe/fixtures/dataframe_for_exec_def_one_dim1.yaml index 809e8b86a..acc81eb89 100644 --- a/gooddata-pandas/tests/dataframe/fixtures/dataframe_for_exec_def_one_dim1.yaml +++ b/gooddata-pandas/tests/dataframe/fixtures/dataframe_for_exec_def_one_dim1.yaml @@ -171,10 +171,10 @@ interactions: name: Order Amount localIdentifier: dim_0 links: - executionResult: 92613cfd865f7df6f311159987f46706cf41f158 + executionResult: 3fb44d8324031ecf2de81eb7f336ac4014cbf669 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/92613cfd865f7df6f311159987f46706cf41f158/metadata + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/3fb44d8324031ecf2de81eb7f336ac4014cbf669/metadata body: null headers: Accept: @@ -332,7 +332,7 @@ interactions: name: Order Amount localIdentifier: dim_0 links: - executionResult: 92613cfd865f7df6f311159987f46706cf41f158 + executionResult: 3fb44d8324031ecf2de81eb7f336ac4014cbf669 resultSpec: dimensions: - localIdentifier: dim_0 @@ -346,7 +346,7 @@ interactions: resultSize: 34875 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/92613cfd865f7df6f311159987f46706cf41f158?offset=0&limit=100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/3fb44d8324031ecf2de81eb7f336ac4014cbf669?offset=0&limit=100 body: null headers: Accept: @@ -1630,7 +1630,7 @@ interactions: - 364 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/92613cfd865f7df6f311159987f46706cf41f158?offset=100&limit=100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/3fb44d8324031ecf2de81eb7f336ac4014cbf669?offset=100&limit=100 body: null headers: Accept: @@ -2914,7 +2914,7 @@ interactions: - 364 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/92613cfd865f7df6f311159987f46706cf41f158?offset=200&limit=100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/3fb44d8324031ecf2de81eb7f336ac4014cbf669?offset=200&limit=100 body: null headers: Accept: @@ -4198,7 +4198,7 @@ interactions: - 364 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/92613cfd865f7df6f311159987f46706cf41f158?offset=300&limit=100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/3fb44d8324031ecf2de81eb7f336ac4014cbf669?offset=300&limit=100 body: null headers: Accept: @@ -5050,7 +5050,7 @@ interactions: - 364 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/92613cfd865f7df6f311159987f46706cf41f158/metadata + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/3fb44d8324031ecf2de81eb7f336ac4014cbf669/metadata body: null headers: Accept: @@ -5208,7 +5208,7 @@ interactions: name: Order Amount localIdentifier: dim_0 links: - executionResult: 92613cfd865f7df6f311159987f46706cf41f158 + executionResult: 3fb44d8324031ecf2de81eb7f336ac4014cbf669 resultSpec: dimensions: - localIdentifier: dim_0 @@ -5222,7 +5222,7 @@ interactions: resultSize: 34875 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/92613cfd865f7df6f311159987f46706cf41f158?offset=0&limit=100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/3fb44d8324031ecf2de81eb7f336ac4014cbf669?offset=0&limit=100 body: null headers: Accept: @@ -6506,7 +6506,7 @@ interactions: - 364 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/92613cfd865f7df6f311159987f46706cf41f158?offset=100&limit=100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/3fb44d8324031ecf2de81eb7f336ac4014cbf669?offset=100&limit=100 body: null headers: Accept: @@ -7790,7 +7790,7 @@ interactions: - 364 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/92613cfd865f7df6f311159987f46706cf41f158?offset=200&limit=100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/3fb44d8324031ecf2de81eb7f336ac4014cbf669?offset=200&limit=100 body: null headers: Accept: @@ -9074,7 +9074,7 @@ interactions: - 364 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/92613cfd865f7df6f311159987f46706cf41f158?offset=300&limit=100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/3fb44d8324031ecf2de81eb7f336ac4014cbf669?offset=300&limit=100 body: null headers: Accept: diff --git a/gooddata-pandas/tests/dataframe/fixtures/dataframe_for_exec_def_one_dim2.yaml b/gooddata-pandas/tests/dataframe/fixtures/dataframe_for_exec_def_one_dim2.yaml index 96ae1b3ab..019b2a979 100644 --- a/gooddata-pandas/tests/dataframe/fixtures/dataframe_for_exec_def_one_dim2.yaml +++ b/gooddata-pandas/tests/dataframe/fixtures/dataframe_for_exec_def_one_dim2.yaml @@ -175,10 +175,10 @@ interactions: name: Order Amount localIdentifier: dim_1 links: - executionResult: 1e2f637d10f665b0e2a5ada884fefeaa69aca278 + executionResult: ebb19364d86e0c367dd9c465230538b65877ae52 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/1e2f637d10f665b0e2a5ada884fefeaa69aca278/metadata + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/ebb19364d86e0c367dd9c465230538b65877ae52/metadata body: null headers: Accept: @@ -338,7 +338,7 @@ interactions: name: Order Amount localIdentifier: dim_1 links: - executionResult: 1e2f637d10f665b0e2a5ada884fefeaa69aca278 + executionResult: ebb19364d86e0c367dd9c465230538b65877ae52 resultSpec: dimensions: - localIdentifier: dim_0 @@ -355,7 +355,7 @@ interactions: resultSize: 34890 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/1e2f637d10f665b0e2a5ada884fefeaa69aca278?offset=0%2C0&limit=100%2C100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/ebb19364d86e0c367dd9c465230538b65877ae52?offset=0%2C0&limit=100%2C100 body: null headers: Accept: @@ -1643,7 +1643,7 @@ interactions: - 364 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/1e2f637d10f665b0e2a5ada884fefeaa69aca278?offset=0%2C100&limit=100%2C100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/ebb19364d86e0c367dd9c465230538b65877ae52?offset=0%2C100&limit=100%2C100 body: null headers: Accept: @@ -2931,7 +2931,7 @@ interactions: - 364 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/1e2f637d10f665b0e2a5ada884fefeaa69aca278?offset=0%2C200&limit=100%2C100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/ebb19364d86e0c367dd9c465230538b65877ae52?offset=0%2C200&limit=100%2C100 body: null headers: Accept: @@ -4219,7 +4219,7 @@ interactions: - 364 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/1e2f637d10f665b0e2a5ada884fefeaa69aca278?offset=0%2C300&limit=100%2C100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/ebb19364d86e0c367dd9c465230538b65877ae52?offset=0%2C300&limit=100%2C100 body: null headers: Accept: @@ -5075,7 +5075,7 @@ interactions: - 364 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/1e2f637d10f665b0e2a5ada884fefeaa69aca278/metadata + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/ebb19364d86e0c367dd9c465230538b65877ae52/metadata body: null headers: Accept: @@ -5235,7 +5235,7 @@ interactions: name: Order Amount localIdentifier: dim_1 links: - executionResult: 1e2f637d10f665b0e2a5ada884fefeaa69aca278 + executionResult: ebb19364d86e0c367dd9c465230538b65877ae52 resultSpec: dimensions: - localIdentifier: dim_0 @@ -5252,7 +5252,7 @@ interactions: resultSize: 34890 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/1e2f637d10f665b0e2a5ada884fefeaa69aca278?offset=0%2C0&limit=100%2C100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/ebb19364d86e0c367dd9c465230538b65877ae52?offset=0%2C0&limit=100%2C100 body: null headers: Accept: @@ -6540,7 +6540,7 @@ interactions: - 364 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/1e2f637d10f665b0e2a5ada884fefeaa69aca278?offset=0%2C100&limit=100%2C100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/ebb19364d86e0c367dd9c465230538b65877ae52?offset=0%2C100&limit=100%2C100 body: null headers: Accept: @@ -7828,7 +7828,7 @@ interactions: - 364 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/1e2f637d10f665b0e2a5ada884fefeaa69aca278?offset=0%2C200&limit=100%2C100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/ebb19364d86e0c367dd9c465230538b65877ae52?offset=0%2C200&limit=100%2C100 body: null headers: Accept: @@ -9116,7 +9116,7 @@ interactions: - 364 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/1e2f637d10f665b0e2a5ada884fefeaa69aca278?offset=0%2C300&limit=100%2C100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/ebb19364d86e0c367dd9c465230538b65877ae52?offset=0%2C300&limit=100%2C100 body: null headers: Accept: diff --git a/gooddata-pandas/tests/dataframe/fixtures/dataframe_for_exec_def_totals1.yaml b/gooddata-pandas/tests/dataframe/fixtures/dataframe_for_exec_def_totals1.yaml index 83d6c515d..665331f7f 100644 --- a/gooddata-pandas/tests/dataframe/fixtures/dataframe_for_exec_def_totals1.yaml +++ b/gooddata-pandas/tests/dataframe/fixtures/dataframe_for_exec_def_totals1.yaml @@ -194,10 +194,10 @@ interactions: name: Order Amount localIdentifier: dim_1 links: - executionResult: 5181c982fbbf6cdf80054f92037d72f252f66547 + executionResult: 67ffb553be8b060e2be91b11db433f87ef67bcca - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/5181c982fbbf6cdf80054f92037d72f252f66547/metadata + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/67ffb553be8b060e2be91b11db433f87ef67bcca/metadata body: null headers: Accept: @@ -357,7 +357,7 @@ interactions: name: Order Amount localIdentifier: dim_1 links: - executionResult: 5181c982fbbf6cdf80054f92037d72f252f66547 + executionResult: 67ffb553be8b060e2be91b11db433f87ef67bcca resultSpec: dimensions: - localIdentifier: dim_0 @@ -392,7 +392,7 @@ interactions: resultSize: 11108 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/5181c982fbbf6cdf80054f92037d72f252f66547?offset=0%2C0&limit=100%2C100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/67ffb553be8b060e2be91b11db433f87ef67bcca?offset=0%2C0&limit=100%2C100 body: null headers: Accept: @@ -1846,7 +1846,7 @@ interactions: - 96 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/5181c982fbbf6cdf80054f92037d72f252f66547/metadata + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/67ffb553be8b060e2be91b11db433f87ef67bcca/metadata body: null headers: Accept: @@ -2006,7 +2006,7 @@ interactions: name: Order Amount localIdentifier: dim_1 links: - executionResult: 5181c982fbbf6cdf80054f92037d72f252f66547 + executionResult: 67ffb553be8b060e2be91b11db433f87ef67bcca resultSpec: dimensions: - localIdentifier: dim_0 @@ -2041,7 +2041,7 @@ interactions: resultSize: 11108 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/5181c982fbbf6cdf80054f92037d72f252f66547?offset=0%2C0&limit=100%2C100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/67ffb553be8b060e2be91b11db433f87ef67bcca?offset=0%2C0&limit=100%2C100 body: null headers: Accept: diff --git a/gooddata-pandas/tests/dataframe/fixtures/dataframe_for_exec_def_totals2.yaml b/gooddata-pandas/tests/dataframe/fixtures/dataframe_for_exec_def_totals2.yaml index 1fb97f9a4..8778e3063 100644 --- a/gooddata-pandas/tests/dataframe/fixtures/dataframe_for_exec_def_totals2.yaml +++ b/gooddata-pandas/tests/dataframe/fixtures/dataframe_for_exec_def_totals2.yaml @@ -192,10 +192,10 @@ interactions: name: Order Amount localIdentifier: dim_1 links: - executionResult: 9ddde844043814d1b9b469ef95459018f6d8bfc4 + executionResult: 0f328d38837195df7243b4f9c4d81ba4073d2b66 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/9ddde844043814d1b9b469ef95459018f6d8bfc4/metadata + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/0f328d38837195df7243b4f9c4d81ba4073d2b66/metadata body: null headers: Accept: @@ -355,7 +355,7 @@ interactions: name: Order Amount localIdentifier: dim_1 links: - executionResult: 9ddde844043814d1b9b469ef95459018f6d8bfc4 + executionResult: 0f328d38837195df7243b4f9c4d81ba4073d2b66 resultSpec: dimensions: - localIdentifier: dim_0 @@ -388,7 +388,7 @@ interactions: resultSize: 12234 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/9ddde844043814d1b9b469ef95459018f6d8bfc4?offset=0%2C0&limit=100%2C100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/0f328d38837195df7243b4f9c4d81ba4073d2b66?offset=0%2C0&limit=100%2C100 body: null headers: Accept: @@ -2897,7 +2897,7 @@ interactions: - 96 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/9ddde844043814d1b9b469ef95459018f6d8bfc4/metadata + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/0f328d38837195df7243b4f9c4d81ba4073d2b66/metadata body: null headers: Accept: @@ -3057,7 +3057,7 @@ interactions: name: Order Amount localIdentifier: dim_1 links: - executionResult: 9ddde844043814d1b9b469ef95459018f6d8bfc4 + executionResult: 0f328d38837195df7243b4f9c4d81ba4073d2b66 resultSpec: dimensions: - localIdentifier: dim_0 @@ -3090,7 +3090,7 @@ interactions: resultSize: 12234 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/9ddde844043814d1b9b469ef95459018f6d8bfc4?offset=0%2C0&limit=100%2C100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/0f328d38837195df7243b4f9c4d81ba4073d2b66?offset=0%2C0&limit=100%2C100 body: null headers: Accept: diff --git a/gooddata-pandas/tests/dataframe/fixtures/dataframe_for_exec_def_totals3.yaml b/gooddata-pandas/tests/dataframe/fixtures/dataframe_for_exec_def_totals3.yaml index ebb9547bc..80770d719 100644 --- a/gooddata-pandas/tests/dataframe/fixtures/dataframe_for_exec_def_totals3.yaml +++ b/gooddata-pandas/tests/dataframe/fixtures/dataframe_for_exec_def_totals3.yaml @@ -194,10 +194,10 @@ interactions: type: label localIdentifier: dim_1 links: - executionResult: e73c7f66e2f4df26d86143222f2feb2b5195ac10 + executionResult: e5c54ecadf9b9a75866181f7c4c152cfacf99dce - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/e73c7f66e2f4df26d86143222f2feb2b5195ac10/metadata + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/e5c54ecadf9b9a75866181f7c4c152cfacf99dce/metadata body: null headers: Accept: @@ -357,7 +357,7 @@ interactions: type: label localIdentifier: dim_1 links: - executionResult: e73c7f66e2f4df26d86143222f2feb2b5195ac10 + executionResult: e5c54ecadf9b9a75866181f7c4c152cfacf99dce resultSpec: dimensions: - localIdentifier: dim_0 @@ -392,7 +392,7 @@ interactions: resultSize: 11840 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/e73c7f66e2f4df26d86143222f2feb2b5195ac10?offset=0%2C0&limit=100%2C100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/e5c54ecadf9b9a75866181f7c4c152cfacf99dce?offset=0%2C0&limit=100%2C100 body: null headers: Accept: @@ -1846,7 +1846,7 @@ interactions: - 4 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/e73c7f66e2f4df26d86143222f2feb2b5195ac10/metadata + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/e5c54ecadf9b9a75866181f7c4c152cfacf99dce/metadata body: null headers: Accept: @@ -2006,7 +2006,7 @@ interactions: type: label localIdentifier: dim_1 links: - executionResult: e73c7f66e2f4df26d86143222f2feb2b5195ac10 + executionResult: e5c54ecadf9b9a75866181f7c4c152cfacf99dce resultSpec: dimensions: - localIdentifier: dim_0 @@ -2041,7 +2041,7 @@ interactions: resultSize: 11840 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/e73c7f66e2f4df26d86143222f2feb2b5195ac10?offset=0%2C0&limit=100%2C100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/e5c54ecadf9b9a75866181f7c4c152cfacf99dce?offset=0%2C0&limit=100%2C100 body: null headers: Accept: diff --git a/gooddata-pandas/tests/dataframe/fixtures/dataframe_for_exec_def_totals4.yaml b/gooddata-pandas/tests/dataframe/fixtures/dataframe_for_exec_def_totals4.yaml index 66692ebb9..c26e5ab91 100644 --- a/gooddata-pandas/tests/dataframe/fixtures/dataframe_for_exec_def_totals4.yaml +++ b/gooddata-pandas/tests/dataframe/fixtures/dataframe_for_exec_def_totals4.yaml @@ -192,10 +192,10 @@ interactions: type: label localIdentifier: dim_1 links: - executionResult: 9da81a85c749eb1b13a09ddfec054abb9a78da60 + executionResult: 54f22a93bdbf640cd62d55dad6e0856b8f6126bf - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/9da81a85c749eb1b13a09ddfec054abb9a78da60/metadata + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/54f22a93bdbf640cd62d55dad6e0856b8f6126bf/metadata body: null headers: Accept: @@ -355,7 +355,7 @@ interactions: type: label localIdentifier: dim_1 links: - executionResult: 9da81a85c749eb1b13a09ddfec054abb9a78da60 + executionResult: 54f22a93bdbf640cd62d55dad6e0856b8f6126bf resultSpec: dimensions: - localIdentifier: dim_0 @@ -388,7 +388,7 @@ interactions: resultSize: 12888 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/9da81a85c749eb1b13a09ddfec054abb9a78da60?offset=0%2C0&limit=100%2C100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/54f22a93bdbf640cd62d55dad6e0856b8f6126bf?offset=0%2C0&limit=100%2C100 body: null headers: Accept: @@ -2897,7 +2897,7 @@ interactions: - 17 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/9da81a85c749eb1b13a09ddfec054abb9a78da60/metadata + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/54f22a93bdbf640cd62d55dad6e0856b8f6126bf/metadata body: null headers: Accept: @@ -3057,7 +3057,7 @@ interactions: type: label localIdentifier: dim_1 links: - executionResult: 9da81a85c749eb1b13a09ddfec054abb9a78da60 + executionResult: 54f22a93bdbf640cd62d55dad6e0856b8f6126bf resultSpec: dimensions: - localIdentifier: dim_0 @@ -3090,7 +3090,7 @@ interactions: resultSize: 12888 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/9da81a85c749eb1b13a09ddfec054abb9a78da60?offset=0%2C0&limit=100%2C100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/54f22a93bdbf640cd62d55dad6e0856b8f6126bf?offset=0%2C0&limit=100%2C100 body: null headers: Accept: diff --git a/gooddata-pandas/tests/dataframe/fixtures/dataframe_for_exec_def_two_dim1.yaml b/gooddata-pandas/tests/dataframe/fixtures/dataframe_for_exec_def_two_dim1.yaml index 7b79efb29..0a22f71c2 100644 --- a/gooddata-pandas/tests/dataframe/fixtures/dataframe_for_exec_def_two_dim1.yaml +++ b/gooddata-pandas/tests/dataframe/fixtures/dataframe_for_exec_def_two_dim1.yaml @@ -175,10 +175,10 @@ interactions: name: Order Amount localIdentifier: dim_1 links: - executionResult: 526c8e8a10e8e7363ffb95f57a7269421b08b814 + executionResult: 104f6f8537437503a072fd1c1afec098cadcc644 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/526c8e8a10e8e7363ffb95f57a7269421b08b814/metadata + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/104f6f8537437503a072fd1c1afec098cadcc644/metadata body: null headers: Accept: @@ -338,7 +338,7 @@ interactions: name: Order Amount localIdentifier: dim_1 links: - executionResult: 526c8e8a10e8e7363ffb95f57a7269421b08b814 + executionResult: 104f6f8537437503a072fd1c1afec098cadcc644 resultSpec: dimensions: - localIdentifier: dim_0 @@ -355,7 +355,7 @@ interactions: resultSize: 7077 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/526c8e8a10e8e7363ffb95f57a7269421b08b814?offset=0%2C0&limit=100%2C100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/104f6f8537437503a072fd1c1afec098cadcc644?offset=0%2C0&limit=100%2C100 body: null headers: Accept: @@ -1155,7 +1155,7 @@ interactions: - 8 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/526c8e8a10e8e7363ffb95f57a7269421b08b814/metadata + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/104f6f8537437503a072fd1c1afec098cadcc644/metadata body: null headers: Accept: @@ -1315,7 +1315,7 @@ interactions: name: Order Amount localIdentifier: dim_1 links: - executionResult: 526c8e8a10e8e7363ffb95f57a7269421b08b814 + executionResult: 104f6f8537437503a072fd1c1afec098cadcc644 resultSpec: dimensions: - localIdentifier: dim_0 @@ -1332,7 +1332,7 @@ interactions: resultSize: 7077 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/526c8e8a10e8e7363ffb95f57a7269421b08b814?offset=0%2C0&limit=100%2C100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/104f6f8537437503a072fd1c1afec098cadcc644?offset=0%2C0&limit=100%2C100 body: null headers: Accept: @@ -2132,7 +2132,7 @@ interactions: - 8 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/526c8e8a10e8e7363ffb95f57a7269421b08b814/metadata + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/104f6f8537437503a072fd1c1afec098cadcc644/metadata body: null headers: Accept: @@ -2292,7 +2292,7 @@ interactions: name: Order Amount localIdentifier: dim_1 links: - executionResult: 526c8e8a10e8e7363ffb95f57a7269421b08b814 + executionResult: 104f6f8537437503a072fd1c1afec098cadcc644 resultSpec: dimensions: - localIdentifier: dim_0 @@ -2309,7 +2309,7 @@ interactions: resultSize: 7077 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/526c8e8a10e8e7363ffb95f57a7269421b08b814?offset=0%2C0&limit=100%2C100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/104f6f8537437503a072fd1c1afec098cadcc644?offset=0%2C0&limit=100%2C100 body: null headers: Accept: diff --git a/gooddata-pandas/tests/dataframe/fixtures/dataframe_for_exec_def_two_dim2.yaml b/gooddata-pandas/tests/dataframe/fixtures/dataframe_for_exec_def_two_dim2.yaml index 508475958..65b21d700 100644 --- a/gooddata-pandas/tests/dataframe/fixtures/dataframe_for_exec_def_two_dim2.yaml +++ b/gooddata-pandas/tests/dataframe/fixtures/dataframe_for_exec_def_two_dim2.yaml @@ -175,10 +175,10 @@ interactions: name: Order Amount localIdentifier: dim_1 links: - executionResult: 7ffa1c4567af7c522a41a0a95bf42d714b82067f + executionResult: cf000c8f3c20a867e1c8197dac33e62f90bae604 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/7ffa1c4567af7c522a41a0a95bf42d714b82067f/metadata + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/cf000c8f3c20a867e1c8197dac33e62f90bae604/metadata body: null headers: Accept: @@ -338,7 +338,7 @@ interactions: name: Order Amount localIdentifier: dim_1 links: - executionResult: 7ffa1c4567af7c522a41a0a95bf42d714b82067f + executionResult: cf000c8f3c20a867e1c8197dac33e62f90bae604 resultSpec: dimensions: - localIdentifier: dim_0 @@ -355,7 +355,7 @@ interactions: resultSize: 19290 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/7ffa1c4567af7c522a41a0a95bf42d714b82067f?offset=0%2C0&limit=100%2C100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/cf000c8f3c20a867e1c8197dac33e62f90bae604?offset=0%2C0&limit=100%2C100 body: null headers: Accept: @@ -1547,7 +1547,7 @@ interactions: - 2 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/7ffa1c4567af7c522a41a0a95bf42d714b82067f?offset=100%2C0&limit=100%2C100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/cf000c8f3c20a867e1c8197dac33e62f90bae604?offset=100%2C0&limit=100%2C100 body: null headers: Accept: @@ -2541,7 +2541,7 @@ interactions: - 2 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/7ffa1c4567af7c522a41a0a95bf42d714b82067f/metadata + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/cf000c8f3c20a867e1c8197dac33e62f90bae604/metadata body: null headers: Accept: @@ -2701,7 +2701,7 @@ interactions: name: Order Amount localIdentifier: dim_1 links: - executionResult: 7ffa1c4567af7c522a41a0a95bf42d714b82067f + executionResult: cf000c8f3c20a867e1c8197dac33e62f90bae604 resultSpec: dimensions: - localIdentifier: dim_0 @@ -2718,7 +2718,7 @@ interactions: resultSize: 19290 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/7ffa1c4567af7c522a41a0a95bf42d714b82067f?offset=0%2C0&limit=100%2C100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/cf000c8f3c20a867e1c8197dac33e62f90bae604?offset=0%2C0&limit=100%2C100 body: null headers: Accept: @@ -3910,7 +3910,7 @@ interactions: - 2 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/7ffa1c4567af7c522a41a0a95bf42d714b82067f?offset=100%2C0&limit=100%2C100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/cf000c8f3c20a867e1c8197dac33e62f90bae604?offset=100%2C0&limit=100%2C100 body: null headers: Accept: diff --git a/gooddata-pandas/tests/dataframe/fixtures/dataframe_for_exec_def_two_dim3.yaml b/gooddata-pandas/tests/dataframe/fixtures/dataframe_for_exec_def_two_dim3.yaml index fd97821b3..28fce76cf 100644 --- a/gooddata-pandas/tests/dataframe/fixtures/dataframe_for_exec_def_two_dim3.yaml +++ b/gooddata-pandas/tests/dataframe/fixtures/dataframe_for_exec_def_two_dim3.yaml @@ -175,10 +175,10 @@ interactions: name: Order Amount localIdentifier: dim_1 links: - executionResult: 399727321b4c955ae594570e971b9cae4013b1ff + executionResult: ae24cfeb97f138e1fbd7633bec01ef2c7494107c - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/399727321b4c955ae594570e971b9cae4013b1ff/metadata + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/ae24cfeb97f138e1fbd7633bec01ef2c7494107c/metadata body: null headers: Accept: @@ -338,7 +338,7 @@ interactions: name: Order Amount localIdentifier: dim_1 links: - executionResult: 399727321b4c955ae594570e971b9cae4013b1ff + executionResult: ae24cfeb97f138e1fbd7633bec01ef2c7494107c resultSpec: dimensions: - localIdentifier: dim_0 @@ -355,7 +355,7 @@ interactions: resultSize: 9786 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/399727321b4c955ae594570e971b9cae4013b1ff?offset=0%2C0&limit=100%2C100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/ae24cfeb97f138e1fbd7633bec01ef2c7494107c?offset=0%2C0&limit=100%2C100 body: null headers: Accept: @@ -1607,7 +1607,7 @@ interactions: - 96 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/399727321b4c955ae594570e971b9cae4013b1ff/metadata + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/ae24cfeb97f138e1fbd7633bec01ef2c7494107c/metadata body: null headers: Accept: @@ -1767,7 +1767,7 @@ interactions: name: Order Amount localIdentifier: dim_1 links: - executionResult: 399727321b4c955ae594570e971b9cae4013b1ff + executionResult: ae24cfeb97f138e1fbd7633bec01ef2c7494107c resultSpec: dimensions: - localIdentifier: dim_0 @@ -1784,7 +1784,7 @@ interactions: resultSize: 9786 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/399727321b4c955ae594570e971b9cae4013b1ff?offset=0%2C0&limit=100%2C100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/ae24cfeb97f138e1fbd7633bec01ef2c7494107c?offset=0%2C0&limit=100%2C100 body: null headers: Accept: diff --git a/gooddata-pandas/tests/dataframe/fixtures/dataframe_for_insight.yaml b/gooddata-pandas/tests/dataframe/fixtures/dataframe_for_insight.yaml index a2f4d5267..70858ac09 100644 --- a/gooddata-pandas/tests/dataframe/fixtures/dataframe_for_insight.yaml +++ b/gooddata-pandas/tests/dataframe/fixtures/dataframe_for_insight.yaml @@ -185,12 +185,12 @@ interactions: type: fact labels: data: - - id: product_name - type: label - id: products.category type: label - id: customer_name type: label + - id: product_name + type: label included: - id: quantity type: fact @@ -447,7 +447,7 @@ interactions: type: label localIdentifier: dim_1 links: - executionResult: 6f08a8028052b391af4882856aa74ef36deff1fa + executionResult: ed4c6d86f33200c8e79f309191dea509988b1033 - request: method: GET uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels&page=0&size=500 @@ -1527,17 +1527,17 @@ interactions: type: attribute referenceProperties: - identifier: - id: customers + id: campaigns type: dataset multivalue: false sourceColumns: - - customer_id + - campaign_id - identifier: - id: campaigns + id: date type: dataset multivalue: false sourceColumns: - - campaign_id + - date - identifier: id: products type: dataset @@ -1545,11 +1545,11 @@ interactions: sourceColumns: - product_id - identifier: - id: date + id: customers type: dataset multivalue: false sourceColumns: - - date + - customer_id dataSourceTableId: demo-test-ds:order_lines areRelationsValid: true type: NORMAL @@ -1606,35 +1606,35 @@ interactions: relationships: attributes: data: - - id: date.quarter + - id: date.month type: attribute - - id: date.dayOfWeek + - id: date.minuteOfHour type: attribute - - id: date.quarterOfYear + - id: date.dayOfYear type: attribute - - id: date.day + - id: date.hourOfDay type: attribute - - id: date.week + - id: date.quarter type: attribute - - id: date.hour + - id: date.monthOfYear type: attribute - - id: date.hourOfDay + - id: date.minute type: attribute - - id: date.minuteOfHour + - id: date.quarterOfYear type: attribute - - id: date.dayOfYear + - id: date.week type: attribute - id: date.dayOfMonth type: attribute - - id: date.weekOfYear + - id: date.year type: attribute - - id: date.month + - id: date.hour type: attribute - - id: date.year + - id: date.day type: attribute - - id: date.minute + - id: date.weekOfYear type: attribute - - id: date.monthOfYear + - id: date.dayOfWeek type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date @@ -2312,7 +2312,7 @@ interactions: next: http://localhost:3000/api/v1/entities/workspaces/demo/metrics?page=1&size=500 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/6f08a8028052b391af4882856aa74ef36deff1fa?offset=0%2C0&limit=4%2C1000 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/ed4c6d86f33200c8e79f309191dea509988b1033?offset=0%2C0&limit=4%2C1000 body: null headers: Accept: diff --git a/gooddata-pandas/tests/dataframe/fixtures/dataframe_for_insight_date.yaml b/gooddata-pandas/tests/dataframe/fixtures/dataframe_for_insight_date.yaml index 9ed23deff..5f594bca1 100644 --- a/gooddata-pandas/tests/dataframe/fixtures/dataframe_for_insight_date.yaml +++ b/gooddata-pandas/tests/dataframe/fixtures/dataframe_for_insight_date.yaml @@ -346,7 +346,7 @@ interactions: type: label localIdentifier: dim_1 links: - executionResult: 8c94c8fc568ebe95dc2cd0494109159b461d836f + executionResult: c31dd41dab344b6f78e6af2c35adf69a2a9eb406 - request: method: GET uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels&page=0&size=500 @@ -1426,17 +1426,17 @@ interactions: type: attribute referenceProperties: - identifier: - id: customers + id: campaigns type: dataset multivalue: false sourceColumns: - - customer_id + - campaign_id - identifier: - id: campaigns + id: date type: dataset multivalue: false sourceColumns: - - campaign_id + - date - identifier: id: products type: dataset @@ -1444,11 +1444,11 @@ interactions: sourceColumns: - product_id - identifier: - id: date + id: customers type: dataset multivalue: false sourceColumns: - - date + - customer_id dataSourceTableId: demo-test-ds:order_lines areRelationsValid: true type: NORMAL @@ -1505,35 +1505,35 @@ interactions: relationships: attributes: data: - - id: date.quarter + - id: date.month type: attribute - - id: date.dayOfWeek + - id: date.minuteOfHour type: attribute - - id: date.quarterOfYear + - id: date.dayOfYear type: attribute - - id: date.day + - id: date.hourOfDay type: attribute - - id: date.week + - id: date.quarter type: attribute - - id: date.hour + - id: date.monthOfYear type: attribute - - id: date.hourOfDay + - id: date.minute type: attribute - - id: date.minuteOfHour + - id: date.quarterOfYear type: attribute - - id: date.dayOfYear + - id: date.week type: attribute - id: date.dayOfMonth type: attribute - - id: date.weekOfYear + - id: date.year type: attribute - - id: date.month + - id: date.hour type: attribute - - id: date.year + - id: date.day type: attribute - - id: date.minute + - id: date.weekOfYear type: attribute - - id: date.monthOfYear + - id: date.dayOfWeek type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date @@ -2211,7 +2211,7 @@ interactions: next: http://localhost:3000/api/v1/entities/workspaces/demo/metrics?page=1&size=500 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/8c94c8fc568ebe95dc2cd0494109159b461d836f?offset=0%2C0&limit=2%2C1000 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/c31dd41dab344b6f78e6af2c35adf69a2a9eb406?offset=0%2C0&limit=2%2C1000 body: null headers: Accept: @@ -2234,7 +2234,7 @@ interactions: Connection: - keep-alive Content-Length: - - '1409' + - '1418' Content-Security-Policy: - 'default-src ''self'' *.wistia.com *.wistia.net; script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' *.wistia.com *.wistia.net src.litix.io matomo.anywhere.gooddata.com @@ -2279,8 +2279,7 @@ interactions: body: string: data: - - - 56.0 - - 88.0 + - - 88.0 - 65.0 - 61.0 - 70.0 @@ -2291,8 +2290,8 @@ interactions: - 95.0 - 110.0 - 91.0 - - - 170.1824 - - 178.174875 + - 59.0 + - - 178.174875 - 174.79036363636362 - 150.10735849056604 - 110.63396825396825 @@ -2303,6 +2302,7 @@ interactions: - 167.58869047619046 - 237.2503 - 154.40761904761905 + - 307.9370909090909 dimensionHeaders: - headerGroups: - headers: @@ -2312,9 +2312,6 @@ interactions: measureIndex: 1 - headerGroups: - headers: - - attributeHeader: - labelValue: 2021-11 - primaryLabelValue: 2021-11 - attributeHeader: labelValue: 2021-12 primaryLabelValue: 2021-12 @@ -2348,6 +2345,9 @@ interactions: - attributeHeader: labelValue: 2022-10 primaryLabelValue: 2022-10 + - attributeHeader: + labelValue: 2022-11 + primaryLabelValue: 2022-11 grandTotals: [] paging: count: diff --git a/gooddata-pandas/tests/dataframe/fixtures/dataframe_for_insight_no_index.yaml b/gooddata-pandas/tests/dataframe/fixtures/dataframe_for_insight_no_index.yaml index a2f4d5267..70858ac09 100644 --- a/gooddata-pandas/tests/dataframe/fixtures/dataframe_for_insight_no_index.yaml +++ b/gooddata-pandas/tests/dataframe/fixtures/dataframe_for_insight_no_index.yaml @@ -185,12 +185,12 @@ interactions: type: fact labels: data: - - id: product_name - type: label - id: products.category type: label - id: customer_name type: label + - id: product_name + type: label included: - id: quantity type: fact @@ -447,7 +447,7 @@ interactions: type: label localIdentifier: dim_1 links: - executionResult: 6f08a8028052b391af4882856aa74ef36deff1fa + executionResult: ed4c6d86f33200c8e79f309191dea509988b1033 - request: method: GET uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels&page=0&size=500 @@ -1527,17 +1527,17 @@ interactions: type: attribute referenceProperties: - identifier: - id: customers + id: campaigns type: dataset multivalue: false sourceColumns: - - customer_id + - campaign_id - identifier: - id: campaigns + id: date type: dataset multivalue: false sourceColumns: - - campaign_id + - date - identifier: id: products type: dataset @@ -1545,11 +1545,11 @@ interactions: sourceColumns: - product_id - identifier: - id: date + id: customers type: dataset multivalue: false sourceColumns: - - date + - customer_id dataSourceTableId: demo-test-ds:order_lines areRelationsValid: true type: NORMAL @@ -1606,35 +1606,35 @@ interactions: relationships: attributes: data: - - id: date.quarter + - id: date.month type: attribute - - id: date.dayOfWeek + - id: date.minuteOfHour type: attribute - - id: date.quarterOfYear + - id: date.dayOfYear type: attribute - - id: date.day + - id: date.hourOfDay type: attribute - - id: date.week + - id: date.quarter type: attribute - - id: date.hour + - id: date.monthOfYear type: attribute - - id: date.hourOfDay + - id: date.minute type: attribute - - id: date.minuteOfHour + - id: date.quarterOfYear type: attribute - - id: date.dayOfYear + - id: date.week type: attribute - id: date.dayOfMonth type: attribute - - id: date.weekOfYear + - id: date.year type: attribute - - id: date.month + - id: date.hour type: attribute - - id: date.year + - id: date.day type: attribute - - id: date.minute + - id: date.weekOfYear type: attribute - - id: date.monthOfYear + - id: date.dayOfWeek type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date @@ -2312,7 +2312,7 @@ interactions: next: http://localhost:3000/api/v1/entities/workspaces/demo/metrics?page=1&size=500 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/6f08a8028052b391af4882856aa74ef36deff1fa?offset=0%2C0&limit=4%2C1000 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/ed4c6d86f33200c8e79f309191dea509988b1033?offset=0%2C0&limit=4%2C1000 body: null headers: Accept: diff --git a/gooddata-pandas/tests/dataframe/fixtures/dataframe_for_items.yaml b/gooddata-pandas/tests/dataframe/fixtures/dataframe_for_items.yaml index 6d1ebbe70..6cb6246b6 100644 --- a/gooddata-pandas/tests/dataframe/fixtures/dataframe_for_items.yaml +++ b/gooddata-pandas/tests/dataframe/fixtures/dataframe_for_items.yaml @@ -155,7 +155,7 @@ interactions: type: label localIdentifier: dim_1 links: - executionResult: e164f18dc97810a2291b9de359c293347b75ad74 + executionResult: 8720cee8d87cc4cbc39915c4dfa9353d8c2985ee - request: method: GET uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels&page=0&size=500 @@ -1235,17 +1235,17 @@ interactions: type: attribute referenceProperties: - identifier: - id: customers + id: campaigns type: dataset multivalue: false sourceColumns: - - customer_id + - campaign_id - identifier: - id: campaigns + id: date type: dataset multivalue: false sourceColumns: - - campaign_id + - date - identifier: id: products type: dataset @@ -1253,11 +1253,11 @@ interactions: sourceColumns: - product_id - identifier: - id: date + id: customers type: dataset multivalue: false sourceColumns: - - date + - customer_id dataSourceTableId: demo-test-ds:order_lines areRelationsValid: true type: NORMAL @@ -1314,35 +1314,35 @@ interactions: relationships: attributes: data: - - id: date.quarter + - id: date.month type: attribute - - id: date.dayOfWeek + - id: date.minuteOfHour type: attribute - - id: date.quarterOfYear + - id: date.dayOfYear type: attribute - - id: date.day + - id: date.hourOfDay type: attribute - - id: date.week + - id: date.quarter type: attribute - - id: date.hour + - id: date.monthOfYear type: attribute - - id: date.hourOfDay + - id: date.minute type: attribute - - id: date.minuteOfHour + - id: date.quarterOfYear type: attribute - - id: date.dayOfYear + - id: date.week type: attribute - id: date.dayOfMonth type: attribute - - id: date.weekOfYear + - id: date.year type: attribute - - id: date.month + - id: date.hour type: attribute - - id: date.year + - id: date.day type: attribute - - id: date.minute + - id: date.weekOfYear type: attribute - - id: date.monthOfYear + - id: date.dayOfWeek type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date @@ -2020,7 +2020,7 @@ interactions: next: http://localhost:3000/api/v1/entities/workspaces/demo/metrics?page=1&size=500 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/e164f18dc97810a2291b9de359c293347b75ad74?offset=0%2C0&limit=2%2C1000 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/8720cee8d87cc4cbc39915c4dfa9353d8c2985ee?offset=0%2C0&limit=2%2C1000 body: null headers: Accept: diff --git a/gooddata-pandas/tests/dataframe/fixtures/dataframe_for_items_no_index.yaml b/gooddata-pandas/tests/dataframe/fixtures/dataframe_for_items_no_index.yaml index 6d1ebbe70..6cb6246b6 100644 --- a/gooddata-pandas/tests/dataframe/fixtures/dataframe_for_items_no_index.yaml +++ b/gooddata-pandas/tests/dataframe/fixtures/dataframe_for_items_no_index.yaml @@ -155,7 +155,7 @@ interactions: type: label localIdentifier: dim_1 links: - executionResult: e164f18dc97810a2291b9de359c293347b75ad74 + executionResult: 8720cee8d87cc4cbc39915c4dfa9353d8c2985ee - request: method: GET uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels&page=0&size=500 @@ -1235,17 +1235,17 @@ interactions: type: attribute referenceProperties: - identifier: - id: customers + id: campaigns type: dataset multivalue: false sourceColumns: - - customer_id + - campaign_id - identifier: - id: campaigns + id: date type: dataset multivalue: false sourceColumns: - - campaign_id + - date - identifier: id: products type: dataset @@ -1253,11 +1253,11 @@ interactions: sourceColumns: - product_id - identifier: - id: date + id: customers type: dataset multivalue: false sourceColumns: - - date + - customer_id dataSourceTableId: demo-test-ds:order_lines areRelationsValid: true type: NORMAL @@ -1314,35 +1314,35 @@ interactions: relationships: attributes: data: - - id: date.quarter + - id: date.month type: attribute - - id: date.dayOfWeek + - id: date.minuteOfHour type: attribute - - id: date.quarterOfYear + - id: date.dayOfYear type: attribute - - id: date.day + - id: date.hourOfDay type: attribute - - id: date.week + - id: date.quarter type: attribute - - id: date.hour + - id: date.monthOfYear type: attribute - - id: date.hourOfDay + - id: date.minute type: attribute - - id: date.minuteOfHour + - id: date.quarterOfYear type: attribute - - id: date.dayOfYear + - id: date.week type: attribute - id: date.dayOfMonth type: attribute - - id: date.weekOfYear + - id: date.year type: attribute - - id: date.month + - id: date.hour type: attribute - - id: date.year + - id: date.day type: attribute - - id: date.minute + - id: date.weekOfYear type: attribute - - id: date.monthOfYear + - id: date.dayOfWeek type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date @@ -2020,7 +2020,7 @@ interactions: next: http://localhost:3000/api/v1/entities/workspaces/demo/metrics?page=1&size=500 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/e164f18dc97810a2291b9de359c293347b75ad74?offset=0%2C0&limit=2%2C1000 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/8720cee8d87cc4cbc39915c4dfa9353d8c2985ee?offset=0%2C0&limit=2%2C1000 body: null headers: Accept: diff --git a/gooddata-pandas/tests/dataframe/fixtures/empty_indexed_dataframe.yaml b/gooddata-pandas/tests/dataframe/fixtures/empty_indexed_dataframe.yaml index 40e52e9bc..0c929961f 100644 --- a/gooddata-pandas/tests/dataframe/fixtures/empty_indexed_dataframe.yaml +++ b/gooddata-pandas/tests/dataframe/fixtures/empty_indexed_dataframe.yaml @@ -136,7 +136,7 @@ interactions: type: label localIdentifier: dim_1 links: - executionResult: 03a3eba179a039c449c1527a9f75a0b803775bad + executionResult: 10c3157998cca106ef098388ac01fa815dd25beb - request: method: GET uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels&page=0&size=500 @@ -1216,17 +1216,17 @@ interactions: type: attribute referenceProperties: - identifier: - id: customers + id: campaigns type: dataset multivalue: false sourceColumns: - - customer_id + - campaign_id - identifier: - id: campaigns + id: date type: dataset multivalue: false sourceColumns: - - campaign_id + - date - identifier: id: products type: dataset @@ -1234,11 +1234,11 @@ interactions: sourceColumns: - product_id - identifier: - id: date + id: customers type: dataset multivalue: false sourceColumns: - - date + - customer_id dataSourceTableId: demo-test-ds:order_lines areRelationsValid: true type: NORMAL @@ -1295,35 +1295,35 @@ interactions: relationships: attributes: data: - - id: date.quarter + - id: date.month type: attribute - - id: date.dayOfWeek + - id: date.minuteOfHour type: attribute - - id: date.quarterOfYear + - id: date.dayOfYear type: attribute - - id: date.day + - id: date.hourOfDay type: attribute - - id: date.week + - id: date.quarter type: attribute - - id: date.hour + - id: date.monthOfYear type: attribute - - id: date.hourOfDay + - id: date.minute type: attribute - - id: date.minuteOfHour + - id: date.quarterOfYear type: attribute - - id: date.dayOfYear + - id: date.week type: attribute - id: date.dayOfMonth type: attribute - - id: date.weekOfYear + - id: date.year type: attribute - - id: date.month + - id: date.hour type: attribute - - id: date.year + - id: date.day type: attribute - - id: date.minute + - id: date.weekOfYear type: attribute - - id: date.monthOfYear + - id: date.dayOfWeek type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date @@ -2001,7 +2001,7 @@ interactions: next: http://localhost:3000/api/v1/entities/workspaces/demo/metrics?page=1&size=500 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/03a3eba179a039c449c1527a9f75a0b803775bad?offset=0%2C0&limit=2%2C1000 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/10c3157998cca106ef098388ac01fa815dd25beb?offset=0%2C0&limit=2%2C1000 body: null headers: Accept: diff --git a/gooddata-pandas/tests/dataframe/fixtures/empty_not_indexed_dataframe.yaml b/gooddata-pandas/tests/dataframe/fixtures/empty_not_indexed_dataframe.yaml index 40e52e9bc..0c929961f 100644 --- a/gooddata-pandas/tests/dataframe/fixtures/empty_not_indexed_dataframe.yaml +++ b/gooddata-pandas/tests/dataframe/fixtures/empty_not_indexed_dataframe.yaml @@ -136,7 +136,7 @@ interactions: type: label localIdentifier: dim_1 links: - executionResult: 03a3eba179a039c449c1527a9f75a0b803775bad + executionResult: 10c3157998cca106ef098388ac01fa815dd25beb - request: method: GET uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels&page=0&size=500 @@ -1216,17 +1216,17 @@ interactions: type: attribute referenceProperties: - identifier: - id: customers + id: campaigns type: dataset multivalue: false sourceColumns: - - customer_id + - campaign_id - identifier: - id: campaigns + id: date type: dataset multivalue: false sourceColumns: - - campaign_id + - date - identifier: id: products type: dataset @@ -1234,11 +1234,11 @@ interactions: sourceColumns: - product_id - identifier: - id: date + id: customers type: dataset multivalue: false sourceColumns: - - date + - customer_id dataSourceTableId: demo-test-ds:order_lines areRelationsValid: true type: NORMAL @@ -1295,35 +1295,35 @@ interactions: relationships: attributes: data: - - id: date.quarter + - id: date.month type: attribute - - id: date.dayOfWeek + - id: date.minuteOfHour type: attribute - - id: date.quarterOfYear + - id: date.dayOfYear type: attribute - - id: date.day + - id: date.hourOfDay type: attribute - - id: date.week + - id: date.quarter type: attribute - - id: date.hour + - id: date.monthOfYear type: attribute - - id: date.hourOfDay + - id: date.minute type: attribute - - id: date.minuteOfHour + - id: date.quarterOfYear type: attribute - - id: date.dayOfYear + - id: date.week type: attribute - id: date.dayOfMonth type: attribute - - id: date.weekOfYear + - id: date.year type: attribute - - id: date.month + - id: date.hour type: attribute - - id: date.year + - id: date.day type: attribute - - id: date.minute + - id: date.weekOfYear type: attribute - - id: date.monthOfYear + - id: date.dayOfWeek type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date @@ -2001,7 +2001,7 @@ interactions: next: http://localhost:3000/api/v1/entities/workspaces/demo/metrics?page=1&size=500 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/03a3eba179a039c449c1527a9f75a0b803775bad?offset=0%2C0&limit=2%2C1000 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/10c3157998cca106ef098388ac01fa815dd25beb?offset=0%2C0&limit=2%2C1000 body: null headers: Accept: diff --git a/gooddata-pandas/tests/dataframe/fixtures/multi_index_filtered_metrics_and_label.yaml b/gooddata-pandas/tests/dataframe/fixtures/multi_index_filtered_metrics_and_label.yaml index e7e869c36..2124c8983 100644 --- a/gooddata-pandas/tests/dataframe/fixtures/multi_index_filtered_metrics_and_label.yaml +++ b/gooddata-pandas/tests/dataframe/fixtures/multi_index_filtered_metrics_and_label.yaml @@ -189,7 +189,7 @@ interactions: type: label localIdentifier: dim_1 links: - executionResult: cfab6006a21a2f31a5556a8d9862c824417ffe30 + executionResult: 8b20dfe576c0b339faf9aa8e17b29d6c44258b17 - request: method: GET uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels&page=0&size=500 @@ -1269,17 +1269,17 @@ interactions: type: attribute referenceProperties: - identifier: - id: customers + id: campaigns type: dataset multivalue: false sourceColumns: - - customer_id + - campaign_id - identifier: - id: campaigns + id: date type: dataset multivalue: false sourceColumns: - - campaign_id + - date - identifier: id: products type: dataset @@ -1287,11 +1287,11 @@ interactions: sourceColumns: - product_id - identifier: - id: date + id: customers type: dataset multivalue: false sourceColumns: - - date + - customer_id dataSourceTableId: demo-test-ds:order_lines areRelationsValid: true type: NORMAL @@ -1348,35 +1348,35 @@ interactions: relationships: attributes: data: - - id: date.quarter + - id: date.month type: attribute - - id: date.dayOfWeek + - id: date.minuteOfHour type: attribute - - id: date.quarterOfYear + - id: date.dayOfYear type: attribute - - id: date.day + - id: date.hourOfDay type: attribute - - id: date.week + - id: date.quarter type: attribute - - id: date.hour + - id: date.monthOfYear type: attribute - - id: date.hourOfDay + - id: date.minute type: attribute - - id: date.minuteOfHour + - id: date.quarterOfYear type: attribute - - id: date.dayOfYear + - id: date.week type: attribute - id: date.dayOfMonth type: attribute - - id: date.weekOfYear + - id: date.year type: attribute - - id: date.month + - id: date.hour type: attribute - - id: date.year + - id: date.day type: attribute - - id: date.minute + - id: date.weekOfYear type: attribute - - id: date.monthOfYear + - id: date.dayOfWeek type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date @@ -2054,7 +2054,7 @@ interactions: next: http://localhost:3000/api/v1/entities/workspaces/demo/metrics?page=1&size=500 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/cfab6006a21a2f31a5556a8d9862c824417ffe30?offset=0%2C0&limit=2%2C1000 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/8b20dfe576c0b339faf9aa8e17b29d6c44258b17?offset=0%2C0&limit=2%2C1000 body: null headers: Accept: diff --git a/gooddata-pandas/tests/dataframe/fixtures/multi_index_filtered_metrics_and_label_reuse.yaml b/gooddata-pandas/tests/dataframe/fixtures/multi_index_filtered_metrics_and_label_reuse.yaml index c97c46dc6..d61171a44 100644 --- a/gooddata-pandas/tests/dataframe/fixtures/multi_index_filtered_metrics_and_label_reuse.yaml +++ b/gooddata-pandas/tests/dataframe/fixtures/multi_index_filtered_metrics_and_label_reuse.yaml @@ -164,7 +164,7 @@ interactions: type: label localIdentifier: dim_1 links: - executionResult: 6bfe88d92f79053ae4d9e56666c985817a7d07f1 + executionResult: c9bb4dce5f22fe9f59a9671ef5d7510469a85c3e - request: method: GET uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels&page=0&size=500 @@ -1244,17 +1244,17 @@ interactions: type: attribute referenceProperties: - identifier: - id: customers + id: campaigns type: dataset multivalue: false sourceColumns: - - customer_id + - campaign_id - identifier: - id: campaigns + id: date type: dataset multivalue: false sourceColumns: - - campaign_id + - date - identifier: id: products type: dataset @@ -1262,11 +1262,11 @@ interactions: sourceColumns: - product_id - identifier: - id: date + id: customers type: dataset multivalue: false sourceColumns: - - date + - customer_id dataSourceTableId: demo-test-ds:order_lines areRelationsValid: true type: NORMAL @@ -1323,35 +1323,35 @@ interactions: relationships: attributes: data: - - id: date.quarter + - id: date.month type: attribute - - id: date.dayOfWeek + - id: date.minuteOfHour type: attribute - - id: date.quarterOfYear + - id: date.dayOfYear type: attribute - - id: date.day + - id: date.hourOfDay type: attribute - - id: date.week + - id: date.quarter type: attribute - - id: date.hour + - id: date.monthOfYear type: attribute - - id: date.hourOfDay + - id: date.minute type: attribute - - id: date.minuteOfHour + - id: date.quarterOfYear type: attribute - - id: date.dayOfYear + - id: date.week type: attribute - id: date.dayOfMonth type: attribute - - id: date.weekOfYear + - id: date.year type: attribute - - id: date.month + - id: date.hour type: attribute - - id: date.year + - id: date.day type: attribute - - id: date.minute + - id: date.weekOfYear type: attribute - - id: date.monthOfYear + - id: date.dayOfWeek type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date @@ -2029,7 +2029,7 @@ interactions: next: http://localhost:3000/api/v1/entities/workspaces/demo/metrics?page=1&size=500 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/6bfe88d92f79053ae4d9e56666c985817a7d07f1?offset=0%2C0&limit=2%2C1000 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/c9bb4dce5f22fe9f59a9671ef5d7510469a85c3e?offset=0%2C0&limit=2%2C1000 body: null headers: Accept: diff --git a/gooddata-pandas/tests/dataframe/fixtures/multi_index_metrics.yaml b/gooddata-pandas/tests/dataframe/fixtures/multi_index_metrics.yaml index 7089db0cb..1f7a5f888 100644 --- a/gooddata-pandas/tests/dataframe/fixtures/multi_index_metrics.yaml +++ b/gooddata-pandas/tests/dataframe/fixtures/multi_index_metrics.yaml @@ -156,7 +156,7 @@ interactions: type: label localIdentifier: dim_1 links: - executionResult: f289a80678729b36340c55bbbd6a54dcb1e45dcd + executionResult: d82d98cc48cee0ed35d7b31645dea0d34ba21c5a - request: method: GET uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels&page=0&size=500 @@ -1236,17 +1236,17 @@ interactions: type: attribute referenceProperties: - identifier: - id: customers + id: campaigns type: dataset multivalue: false sourceColumns: - - customer_id + - campaign_id - identifier: - id: campaigns + id: date type: dataset multivalue: false sourceColumns: - - campaign_id + - date - identifier: id: products type: dataset @@ -1254,11 +1254,11 @@ interactions: sourceColumns: - product_id - identifier: - id: date + id: customers type: dataset multivalue: false sourceColumns: - - date + - customer_id dataSourceTableId: demo-test-ds:order_lines areRelationsValid: true type: NORMAL @@ -1315,35 +1315,35 @@ interactions: relationships: attributes: data: - - id: date.quarter + - id: date.month type: attribute - - id: date.dayOfWeek + - id: date.minuteOfHour type: attribute - - id: date.quarterOfYear + - id: date.dayOfYear type: attribute - - id: date.day + - id: date.hourOfDay type: attribute - - id: date.week + - id: date.quarter type: attribute - - id: date.hour + - id: date.monthOfYear type: attribute - - id: date.hourOfDay + - id: date.minute type: attribute - - id: date.minuteOfHour + - id: date.quarterOfYear type: attribute - - id: date.dayOfYear + - id: date.week type: attribute - id: date.dayOfMonth type: attribute - - id: date.weekOfYear + - id: date.year type: attribute - - id: date.month + - id: date.hour type: attribute - - id: date.year + - id: date.day type: attribute - - id: date.minute + - id: date.weekOfYear type: attribute - - id: date.monthOfYear + - id: date.dayOfWeek type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date @@ -2021,7 +2021,7 @@ interactions: next: http://localhost:3000/api/v1/entities/workspaces/demo/metrics?page=1&size=500 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/f289a80678729b36340c55bbbd6a54dcb1e45dcd?offset=0%2C0&limit=2%2C1000 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/d82d98cc48cee0ed35d7b31645dea0d34ba21c5a?offset=0%2C0&limit=2%2C1000 body: null headers: Accept: diff --git a/gooddata-pandas/tests/dataframe/fixtures/multi_index_metrics_and_label.yaml b/gooddata-pandas/tests/dataframe/fixtures/multi_index_metrics_and_label.yaml index f63d537ae..9abfd5bad 100644 --- a/gooddata-pandas/tests/dataframe/fixtures/multi_index_metrics_and_label.yaml +++ b/gooddata-pandas/tests/dataframe/fixtures/multi_index_metrics_and_label.yaml @@ -176,7 +176,7 @@ interactions: type: label localIdentifier: dim_1 links: - executionResult: c1dc5fd5419dee5fa6b521f43b60067cfd9afbf0 + executionResult: 6cf8f8fc8169cf310bfe7f99bd2947552a8bbe78 - request: method: GET uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels&page=0&size=500 @@ -1256,17 +1256,17 @@ interactions: type: attribute referenceProperties: - identifier: - id: customers + id: campaigns type: dataset multivalue: false sourceColumns: - - customer_id + - campaign_id - identifier: - id: campaigns + id: date type: dataset multivalue: false sourceColumns: - - campaign_id + - date - identifier: id: products type: dataset @@ -1274,11 +1274,11 @@ interactions: sourceColumns: - product_id - identifier: - id: date + id: customers type: dataset multivalue: false sourceColumns: - - date + - customer_id dataSourceTableId: demo-test-ds:order_lines areRelationsValid: true type: NORMAL @@ -1335,35 +1335,35 @@ interactions: relationships: attributes: data: - - id: date.quarter + - id: date.month type: attribute - - id: date.dayOfWeek + - id: date.minuteOfHour type: attribute - - id: date.quarterOfYear + - id: date.dayOfYear type: attribute - - id: date.day + - id: date.hourOfDay type: attribute - - id: date.week + - id: date.quarter type: attribute - - id: date.hour + - id: date.monthOfYear type: attribute - - id: date.hourOfDay + - id: date.minute type: attribute - - id: date.minuteOfHour + - id: date.quarterOfYear type: attribute - - id: date.dayOfYear + - id: date.week type: attribute - id: date.dayOfMonth type: attribute - - id: date.weekOfYear + - id: date.year type: attribute - - id: date.month + - id: date.hour type: attribute - - id: date.year + - id: date.day type: attribute - - id: date.minute + - id: date.weekOfYear type: attribute - - id: date.monthOfYear + - id: date.dayOfWeek type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date @@ -2041,7 +2041,7 @@ interactions: next: http://localhost:3000/api/v1/entities/workspaces/demo/metrics?page=1&size=500 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/c1dc5fd5419dee5fa6b521f43b60067cfd9afbf0?offset=0%2C0&limit=2%2C1000 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/6cf8f8fc8169cf310bfe7f99bd2947552a8bbe78?offset=0%2C0&limit=2%2C1000 body: null headers: Accept: diff --git a/gooddata-pandas/tests/dataframe/fixtures/not_indexed_filtered_metrics_and_labels.yaml b/gooddata-pandas/tests/dataframe/fixtures/not_indexed_filtered_metrics_and_labels.yaml index a90cae0cf..b283bc0e9 100644 --- a/gooddata-pandas/tests/dataframe/fixtures/not_indexed_filtered_metrics_and_labels.yaml +++ b/gooddata-pandas/tests/dataframe/fixtures/not_indexed_filtered_metrics_and_labels.yaml @@ -144,7 +144,7 @@ interactions: type: label localIdentifier: dim_1 links: - executionResult: 66ca79d5442e847334f885e435b82646162c922e + executionResult: d0254e928816f9cc73626da2fdee69819112c6aa - request: method: GET uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels&page=0&size=500 @@ -1224,17 +1224,17 @@ interactions: type: attribute referenceProperties: - identifier: - id: customers + id: campaigns type: dataset multivalue: false sourceColumns: - - customer_id + - campaign_id - identifier: - id: campaigns + id: date type: dataset multivalue: false sourceColumns: - - campaign_id + - date - identifier: id: products type: dataset @@ -1242,11 +1242,11 @@ interactions: sourceColumns: - product_id - identifier: - id: date + id: customers type: dataset multivalue: false sourceColumns: - - date + - customer_id dataSourceTableId: demo-test-ds:order_lines areRelationsValid: true type: NORMAL @@ -1303,35 +1303,35 @@ interactions: relationships: attributes: data: - - id: date.quarter + - id: date.month type: attribute - - id: date.dayOfWeek + - id: date.minuteOfHour type: attribute - - id: date.quarterOfYear + - id: date.dayOfYear type: attribute - - id: date.day + - id: date.hourOfDay type: attribute - - id: date.week + - id: date.quarter type: attribute - - id: date.hour + - id: date.monthOfYear type: attribute - - id: date.hourOfDay + - id: date.minute type: attribute - - id: date.minuteOfHour + - id: date.quarterOfYear type: attribute - - id: date.dayOfYear + - id: date.week type: attribute - id: date.dayOfMonth type: attribute - - id: date.weekOfYear + - id: date.year type: attribute - - id: date.month + - id: date.hour type: attribute - - id: date.year + - id: date.day type: attribute - - id: date.minute + - id: date.weekOfYear type: attribute - - id: date.monthOfYear + - id: date.dayOfWeek type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date @@ -2009,7 +2009,7 @@ interactions: next: http://localhost:3000/api/v1/entities/workspaces/demo/metrics?page=1&size=500 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/66ca79d5442e847334f885e435b82646162c922e?offset=0%2C0&limit=2%2C1000 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/d0254e928816f9cc73626da2fdee69819112c6aa?offset=0%2C0&limit=2%2C1000 body: null headers: Accept: diff --git a/gooddata-pandas/tests/dataframe/fixtures/not_indexed_metrics.yaml b/gooddata-pandas/tests/dataframe/fixtures/not_indexed_metrics.yaml index 6366fc6b3..c0ca3771c 100644 --- a/gooddata-pandas/tests/dataframe/fixtures/not_indexed_metrics.yaml +++ b/gooddata-pandas/tests/dataframe/fixtures/not_indexed_metrics.yaml @@ -112,7 +112,7 @@ interactions: name: '# of Orders' localIdentifier: dim_0 links: - executionResult: bb2e945fc88ab16955810e3aa74ae9527dc0e60f + executionResult: 30de6f0a2f5d2142d3fcbe1f3ea0da758de36b15 - request: method: GET uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels&page=0&size=500 @@ -1192,17 +1192,17 @@ interactions: type: attribute referenceProperties: - identifier: - id: customers + id: campaigns type: dataset multivalue: false sourceColumns: - - customer_id + - campaign_id - identifier: - id: campaigns + id: date type: dataset multivalue: false sourceColumns: - - campaign_id + - date - identifier: id: products type: dataset @@ -1210,11 +1210,11 @@ interactions: sourceColumns: - product_id - identifier: - id: date + id: customers type: dataset multivalue: false sourceColumns: - - date + - customer_id dataSourceTableId: demo-test-ds:order_lines areRelationsValid: true type: NORMAL @@ -1271,35 +1271,35 @@ interactions: relationships: attributes: data: - - id: date.quarter + - id: date.month type: attribute - - id: date.dayOfWeek + - id: date.minuteOfHour type: attribute - - id: date.quarterOfYear + - id: date.dayOfYear type: attribute - - id: date.day + - id: date.hourOfDay type: attribute - - id: date.week + - id: date.quarter type: attribute - - id: date.hour + - id: date.monthOfYear type: attribute - - id: date.hourOfDay + - id: date.minute type: attribute - - id: date.minuteOfHour + - id: date.quarterOfYear type: attribute - - id: date.dayOfYear + - id: date.week type: attribute - id: date.dayOfMonth type: attribute - - id: date.weekOfYear + - id: date.year type: attribute - - id: date.month + - id: date.hour type: attribute - - id: date.year + - id: date.day type: attribute - - id: date.minute + - id: date.weekOfYear type: attribute - - id: date.monthOfYear + - id: date.dayOfWeek type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date @@ -1977,7 +1977,7 @@ interactions: next: http://localhost:3000/api/v1/entities/workspaces/demo/metrics?page=1&size=500 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/bb2e945fc88ab16955810e3aa74ae9527dc0e60f?offset=0&limit=2 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/30de6f0a2f5d2142d3fcbe1f3ea0da758de36b15?offset=0&limit=2 body: null headers: Accept: diff --git a/gooddata-pandas/tests/dataframe/fixtures/not_indexed_metrics_and_labels.yaml b/gooddata-pandas/tests/dataframe/fixtures/not_indexed_metrics_and_labels.yaml index 38139ff8e..5266bc4cf 100644 --- a/gooddata-pandas/tests/dataframe/fixtures/not_indexed_metrics_and_labels.yaml +++ b/gooddata-pandas/tests/dataframe/fixtures/not_indexed_metrics_and_labels.yaml @@ -136,7 +136,7 @@ interactions: type: label localIdentifier: dim_1 links: - executionResult: a6280b20801b0f5e3eb41f147e22e6d331fb4181 + executionResult: 3b6df89addd33b32bb4969f54e51eba5aaf752eb - request: method: GET uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels&page=0&size=500 @@ -1216,17 +1216,17 @@ interactions: type: attribute referenceProperties: - identifier: - id: customers + id: campaigns type: dataset multivalue: false sourceColumns: - - customer_id + - campaign_id - identifier: - id: campaigns + id: date type: dataset multivalue: false sourceColumns: - - campaign_id + - date - identifier: id: products type: dataset @@ -1234,11 +1234,11 @@ interactions: sourceColumns: - product_id - identifier: - id: date + id: customers type: dataset multivalue: false sourceColumns: - - date + - customer_id dataSourceTableId: demo-test-ds:order_lines areRelationsValid: true type: NORMAL @@ -1295,35 +1295,35 @@ interactions: relationships: attributes: data: - - id: date.quarter + - id: date.month type: attribute - - id: date.dayOfWeek + - id: date.minuteOfHour type: attribute - - id: date.quarterOfYear + - id: date.dayOfYear type: attribute - - id: date.day + - id: date.hourOfDay type: attribute - - id: date.week + - id: date.quarter type: attribute - - id: date.hour + - id: date.monthOfYear type: attribute - - id: date.hourOfDay + - id: date.minute type: attribute - - id: date.minuteOfHour + - id: date.quarterOfYear type: attribute - - id: date.dayOfYear + - id: date.week type: attribute - id: date.dayOfMonth type: attribute - - id: date.weekOfYear + - id: date.year type: attribute - - id: date.month + - id: date.hour type: attribute - - id: date.year + - id: date.day type: attribute - - id: date.minute + - id: date.weekOfYear type: attribute - - id: date.monthOfYear + - id: date.dayOfWeek type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date @@ -2001,7 +2001,7 @@ interactions: next: http://localhost:3000/api/v1/entities/workspaces/demo/metrics?page=1&size=500 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/a6280b20801b0f5e3eb41f147e22e6d331fb4181?offset=0%2C0&limit=2%2C1000 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/3b6df89addd33b32bb4969f54e51eba5aaf752eb?offset=0%2C0&limit=2%2C1000 body: null headers: Accept: diff --git a/gooddata-pandas/tests/dataframe/fixtures/simple_index_filtered_metrics_and_label.yaml b/gooddata-pandas/tests/dataframe/fixtures/simple_index_filtered_metrics_and_label.yaml index cad357bef..fdd3415c8 100644 --- a/gooddata-pandas/tests/dataframe/fixtures/simple_index_filtered_metrics_and_label.yaml +++ b/gooddata-pandas/tests/dataframe/fixtures/simple_index_filtered_metrics_and_label.yaml @@ -191,7 +191,7 @@ interactions: type: label localIdentifier: dim_1 links: - executionResult: e64da965189157e70c0ee9935aa473844d76985f + executionResult: 3c3a2631b217e8567d94f3cd1756499d178692a8 - request: method: GET uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels&page=0&size=500 @@ -1271,17 +1271,17 @@ interactions: type: attribute referenceProperties: - identifier: - id: customers + id: campaigns type: dataset multivalue: false sourceColumns: - - customer_id + - campaign_id - identifier: - id: campaigns + id: date type: dataset multivalue: false sourceColumns: - - campaign_id + - date - identifier: id: products type: dataset @@ -1289,11 +1289,11 @@ interactions: sourceColumns: - product_id - identifier: - id: date + id: customers type: dataset multivalue: false sourceColumns: - - date + - customer_id dataSourceTableId: demo-test-ds:order_lines areRelationsValid: true type: NORMAL @@ -1350,35 +1350,35 @@ interactions: relationships: attributes: data: - - id: date.quarter + - id: date.month type: attribute - - id: date.dayOfWeek + - id: date.minuteOfHour type: attribute - - id: date.quarterOfYear + - id: date.dayOfYear type: attribute - - id: date.day + - id: date.hourOfDay type: attribute - - id: date.week + - id: date.quarter type: attribute - - id: date.hour + - id: date.monthOfYear type: attribute - - id: date.hourOfDay + - id: date.minute type: attribute - - id: date.minuteOfHour + - id: date.quarterOfYear type: attribute - - id: date.dayOfYear + - id: date.week type: attribute - id: date.dayOfMonth type: attribute - - id: date.weekOfYear + - id: date.year type: attribute - - id: date.month + - id: date.hour type: attribute - - id: date.year + - id: date.day type: attribute - - id: date.minute + - id: date.weekOfYear type: attribute - - id: date.monthOfYear + - id: date.dayOfWeek type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date @@ -2056,7 +2056,7 @@ interactions: next: http://localhost:3000/api/v1/entities/workspaces/demo/metrics?page=1&size=500 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/e64da965189157e70c0ee9935aa473844d76985f?offset=0%2C0&limit=2%2C1000 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/3c3a2631b217e8567d94f3cd1756499d178692a8?offset=0%2C0&limit=2%2C1000 body: null headers: Accept: diff --git a/gooddata-pandas/tests/dataframe/fixtures/simple_index_metrics.yaml b/gooddata-pandas/tests/dataframe/fixtures/simple_index_metrics.yaml index dc4df4b37..e937acfc5 100644 --- a/gooddata-pandas/tests/dataframe/fixtures/simple_index_metrics.yaml +++ b/gooddata-pandas/tests/dataframe/fixtures/simple_index_metrics.yaml @@ -143,7 +143,7 @@ interactions: type: label localIdentifier: dim_1 links: - executionResult: 75e524764b6b8a109f2beae03a072ccea5778961 + executionResult: e9c3496f25a170d46e57ee05922f05de035d2402 - request: method: GET uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels&page=0&size=500 @@ -1223,17 +1223,17 @@ interactions: type: attribute referenceProperties: - identifier: - id: customers + id: campaigns type: dataset multivalue: false sourceColumns: - - customer_id + - campaign_id - identifier: - id: campaigns + id: date type: dataset multivalue: false sourceColumns: - - campaign_id + - date - identifier: id: products type: dataset @@ -1241,11 +1241,11 @@ interactions: sourceColumns: - product_id - identifier: - id: date + id: customers type: dataset multivalue: false sourceColumns: - - date + - customer_id dataSourceTableId: demo-test-ds:order_lines areRelationsValid: true type: NORMAL @@ -1302,35 +1302,35 @@ interactions: relationships: attributes: data: - - id: date.quarter + - id: date.month type: attribute - - id: date.dayOfWeek + - id: date.minuteOfHour type: attribute - - id: date.quarterOfYear + - id: date.dayOfYear type: attribute - - id: date.day + - id: date.hourOfDay type: attribute - - id: date.week + - id: date.quarter type: attribute - - id: date.hour + - id: date.monthOfYear type: attribute - - id: date.hourOfDay + - id: date.minute type: attribute - - id: date.minuteOfHour + - id: date.quarterOfYear type: attribute - - id: date.dayOfYear + - id: date.week type: attribute - id: date.dayOfMonth type: attribute - - id: date.weekOfYear + - id: date.year type: attribute - - id: date.month + - id: date.hour type: attribute - - id: date.year + - id: date.day type: attribute - - id: date.minute + - id: date.weekOfYear type: attribute - - id: date.monthOfYear + - id: date.dayOfWeek type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date @@ -2008,7 +2008,7 @@ interactions: next: http://localhost:3000/api/v1/entities/workspaces/demo/metrics?page=1&size=500 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/75e524764b6b8a109f2beae03a072ccea5778961?offset=0%2C0&limit=1%2C1000 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/e9c3496f25a170d46e57ee05922f05de035d2402?offset=0%2C0&limit=1%2C1000 body: null headers: Accept: diff --git a/gooddata-pandas/tests/dataframe/fixtures/simple_index_metrics_and_label.yaml b/gooddata-pandas/tests/dataframe/fixtures/simple_index_metrics_and_label.yaml index c372eff76..bd4250c0d 100644 --- a/gooddata-pandas/tests/dataframe/fixtures/simple_index_metrics_and_label.yaml +++ b/gooddata-pandas/tests/dataframe/fixtures/simple_index_metrics_and_label.yaml @@ -134,7 +134,7 @@ interactions: type: label localIdentifier: dim_1 links: - executionResult: 147dc618dc031c5a28ed11b56c0a7be1e4d84589 + executionResult: 02929b17758c4a128647a3e080e44796a4574653 - request: method: GET uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels&page=0&size=500 @@ -1214,17 +1214,17 @@ interactions: type: attribute referenceProperties: - identifier: - id: customers + id: campaigns type: dataset multivalue: false sourceColumns: - - customer_id + - campaign_id - identifier: - id: campaigns + id: date type: dataset multivalue: false sourceColumns: - - campaign_id + - date - identifier: id: products type: dataset @@ -1232,11 +1232,11 @@ interactions: sourceColumns: - product_id - identifier: - id: date + id: customers type: dataset multivalue: false sourceColumns: - - date + - customer_id dataSourceTableId: demo-test-ds:order_lines areRelationsValid: true type: NORMAL @@ -1293,35 +1293,35 @@ interactions: relationships: attributes: data: - - id: date.quarter + - id: date.month type: attribute - - id: date.dayOfWeek + - id: date.minuteOfHour type: attribute - - id: date.quarterOfYear + - id: date.dayOfYear type: attribute - - id: date.day + - id: date.hourOfDay type: attribute - - id: date.week + - id: date.quarter type: attribute - - id: date.hour + - id: date.monthOfYear type: attribute - - id: date.hourOfDay + - id: date.minute type: attribute - - id: date.minuteOfHour + - id: date.quarterOfYear type: attribute - - id: date.dayOfYear + - id: date.week type: attribute - id: date.dayOfMonth type: attribute - - id: date.weekOfYear + - id: date.year type: attribute - - id: date.month + - id: date.hour type: attribute - - id: date.year + - id: date.day type: attribute - - id: date.minute + - id: date.weekOfYear type: attribute - - id: date.monthOfYear + - id: date.dayOfWeek type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date @@ -1999,7 +1999,7 @@ interactions: next: http://localhost:3000/api/v1/entities/workspaces/demo/metrics?page=1&size=500 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/147dc618dc031c5a28ed11b56c0a7be1e4d84589?offset=0%2C0&limit=2%2C1000 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/02929b17758c4a128647a3e080e44796a4574653?offset=0%2C0&limit=2%2C1000 body: null headers: Accept: diff --git a/gooddata-pandas/tests/dataframe/fixtures/simple_index_metrics_no_duplicate.yaml b/gooddata-pandas/tests/dataframe/fixtures/simple_index_metrics_no_duplicate.yaml index c372eff76..bd4250c0d 100644 --- a/gooddata-pandas/tests/dataframe/fixtures/simple_index_metrics_no_duplicate.yaml +++ b/gooddata-pandas/tests/dataframe/fixtures/simple_index_metrics_no_duplicate.yaml @@ -134,7 +134,7 @@ interactions: type: label localIdentifier: dim_1 links: - executionResult: 147dc618dc031c5a28ed11b56c0a7be1e4d84589 + executionResult: 02929b17758c4a128647a3e080e44796a4574653 - request: method: GET uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels&page=0&size=500 @@ -1214,17 +1214,17 @@ interactions: type: attribute referenceProperties: - identifier: - id: customers + id: campaigns type: dataset multivalue: false sourceColumns: - - customer_id + - campaign_id - identifier: - id: campaigns + id: date type: dataset multivalue: false sourceColumns: - - campaign_id + - date - identifier: id: products type: dataset @@ -1232,11 +1232,11 @@ interactions: sourceColumns: - product_id - identifier: - id: date + id: customers type: dataset multivalue: false sourceColumns: - - date + - customer_id dataSourceTableId: demo-test-ds:order_lines areRelationsValid: true type: NORMAL @@ -1293,35 +1293,35 @@ interactions: relationships: attributes: data: - - id: date.quarter + - id: date.month type: attribute - - id: date.dayOfWeek + - id: date.minuteOfHour type: attribute - - id: date.quarterOfYear + - id: date.dayOfYear type: attribute - - id: date.day + - id: date.hourOfDay type: attribute - - id: date.week + - id: date.quarter type: attribute - - id: date.hour + - id: date.monthOfYear type: attribute - - id: date.hourOfDay + - id: date.minute type: attribute - - id: date.minuteOfHour + - id: date.quarterOfYear type: attribute - - id: date.dayOfYear + - id: date.week type: attribute - id: date.dayOfMonth type: attribute - - id: date.weekOfYear + - id: date.year type: attribute - - id: date.month + - id: date.hour type: attribute - - id: date.year + - id: date.day type: attribute - - id: date.minute + - id: date.weekOfYear type: attribute - - id: date.monthOfYear + - id: date.dayOfWeek type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date @@ -1999,7 +1999,7 @@ interactions: next: http://localhost:3000/api/v1/entities/workspaces/demo/metrics?page=1&size=500 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/147dc618dc031c5a28ed11b56c0a7be1e4d84589?offset=0%2C0&limit=2%2C1000 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/02929b17758c4a128647a3e080e44796a4574653?offset=0%2C0&limit=2%2C1000 body: null headers: Accept: diff --git a/gooddata-pandas/tests/series/fixtures/multi_index_filtered_series.yaml b/gooddata-pandas/tests/series/fixtures/multi_index_filtered_series.yaml index 33e26c998..2afb2efee 100644 --- a/gooddata-pandas/tests/series/fixtures/multi_index_filtered_series.yaml +++ b/gooddata-pandas/tests/series/fixtures/multi_index_filtered_series.yaml @@ -151,7 +151,7 @@ interactions: type: label localIdentifier: dim_1 links: - executionResult: 9c711d83537ccd82bde208df93a8ed317cb84279 + executionResult: 7c0689dc0c122a8c80fce42bd1098ac5e8a1e3bb - request: method: GET uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels&page=0&size=500 @@ -1231,17 +1231,17 @@ interactions: type: attribute referenceProperties: - identifier: - id: customers + id: campaigns type: dataset multivalue: false sourceColumns: - - customer_id + - campaign_id - identifier: - id: campaigns + id: date type: dataset multivalue: false sourceColumns: - - campaign_id + - date - identifier: id: products type: dataset @@ -1249,11 +1249,11 @@ interactions: sourceColumns: - product_id - identifier: - id: date + id: customers type: dataset multivalue: false sourceColumns: - - date + - customer_id dataSourceTableId: demo-test-ds:order_lines areRelationsValid: true type: NORMAL @@ -1310,35 +1310,35 @@ interactions: relationships: attributes: data: - - id: date.quarter + - id: date.month type: attribute - - id: date.dayOfWeek + - id: date.minuteOfHour type: attribute - - id: date.quarterOfYear + - id: date.dayOfYear type: attribute - - id: date.day + - id: date.hourOfDay type: attribute - - id: date.week + - id: date.quarter type: attribute - - id: date.hour + - id: date.monthOfYear type: attribute - - id: date.hourOfDay + - id: date.minute type: attribute - - id: date.minuteOfHour + - id: date.quarterOfYear type: attribute - - id: date.dayOfYear + - id: date.week type: attribute - id: date.dayOfMonth type: attribute - - id: date.weekOfYear + - id: date.year type: attribute - - id: date.month + - id: date.hour type: attribute - - id: date.year + - id: date.day type: attribute - - id: date.minute + - id: date.weekOfYear type: attribute - - id: date.monthOfYear + - id: date.dayOfWeek type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date @@ -2016,7 +2016,7 @@ interactions: next: http://localhost:3000/api/v1/entities/workspaces/demo/metrics?page=1&size=500 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/9c711d83537ccd82bde208df93a8ed317cb84279?offset=0%2C0&limit=1%2C1000 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/7c0689dc0c122a8c80fce42bd1098ac5e8a1e3bb?offset=0%2C0&limit=1%2C1000 body: null headers: Accept: diff --git a/gooddata-pandas/tests/series/fixtures/multi_index_metric_series.yaml b/gooddata-pandas/tests/series/fixtures/multi_index_metric_series.yaml index dc4df4b37..e937acfc5 100644 --- a/gooddata-pandas/tests/series/fixtures/multi_index_metric_series.yaml +++ b/gooddata-pandas/tests/series/fixtures/multi_index_metric_series.yaml @@ -143,7 +143,7 @@ interactions: type: label localIdentifier: dim_1 links: - executionResult: 75e524764b6b8a109f2beae03a072ccea5778961 + executionResult: e9c3496f25a170d46e57ee05922f05de035d2402 - request: method: GET uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels&page=0&size=500 @@ -1223,17 +1223,17 @@ interactions: type: attribute referenceProperties: - identifier: - id: customers + id: campaigns type: dataset multivalue: false sourceColumns: - - customer_id + - campaign_id - identifier: - id: campaigns + id: date type: dataset multivalue: false sourceColumns: - - campaign_id + - date - identifier: id: products type: dataset @@ -1241,11 +1241,11 @@ interactions: sourceColumns: - product_id - identifier: - id: date + id: customers type: dataset multivalue: false sourceColumns: - - date + - customer_id dataSourceTableId: demo-test-ds:order_lines areRelationsValid: true type: NORMAL @@ -1302,35 +1302,35 @@ interactions: relationships: attributes: data: - - id: date.quarter + - id: date.month type: attribute - - id: date.dayOfWeek + - id: date.minuteOfHour type: attribute - - id: date.quarterOfYear + - id: date.dayOfYear type: attribute - - id: date.day + - id: date.hourOfDay type: attribute - - id: date.week + - id: date.quarter type: attribute - - id: date.hour + - id: date.monthOfYear type: attribute - - id: date.hourOfDay + - id: date.minute type: attribute - - id: date.minuteOfHour + - id: date.quarterOfYear type: attribute - - id: date.dayOfYear + - id: date.week type: attribute - id: date.dayOfMonth type: attribute - - id: date.weekOfYear + - id: date.year type: attribute - - id: date.month + - id: date.hour type: attribute - - id: date.year + - id: date.day type: attribute - - id: date.minute + - id: date.weekOfYear type: attribute - - id: date.monthOfYear + - id: date.dayOfWeek type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date @@ -2008,7 +2008,7 @@ interactions: next: http://localhost:3000/api/v1/entities/workspaces/demo/metrics?page=1&size=500 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/75e524764b6b8a109f2beae03a072ccea5778961?offset=0%2C0&limit=1%2C1000 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/e9c3496f25a170d46e57ee05922f05de035d2402?offset=0%2C0&limit=1%2C1000 body: null headers: Accept: diff --git a/gooddata-pandas/tests/series/fixtures/not_indexed_filtered_metric_series.yaml b/gooddata-pandas/tests/series/fixtures/not_indexed_filtered_metric_series.yaml index 0ac2614d8..877afb243 100644 --- a/gooddata-pandas/tests/series/fixtures/not_indexed_filtered_metric_series.yaml +++ b/gooddata-pandas/tests/series/fixtures/not_indexed_filtered_metric_series.yaml @@ -99,7 +99,7 @@ interactions: - localIdentifier: 27c4b665b9d047b1a66a149714f1c596 localIdentifier: dim_0 links: - executionResult: 80722e9a97f9208da237e3bfd20106a2fc172e6f + executionResult: 8243f720a3bcf169200339d0cacef34e655d7c48 - request: method: GET uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels&page=0&size=500 @@ -1179,17 +1179,17 @@ interactions: type: attribute referenceProperties: - identifier: - id: customers + id: campaigns type: dataset multivalue: false sourceColumns: - - customer_id + - campaign_id - identifier: - id: campaigns + id: date type: dataset multivalue: false sourceColumns: - - campaign_id + - date - identifier: id: products type: dataset @@ -1197,11 +1197,11 @@ interactions: sourceColumns: - product_id - identifier: - id: date + id: customers type: dataset multivalue: false sourceColumns: - - date + - customer_id dataSourceTableId: demo-test-ds:order_lines areRelationsValid: true type: NORMAL @@ -1258,35 +1258,35 @@ interactions: relationships: attributes: data: - - id: date.quarter + - id: date.month type: attribute - - id: date.dayOfWeek + - id: date.minuteOfHour type: attribute - - id: date.quarterOfYear + - id: date.dayOfYear type: attribute - - id: date.day + - id: date.hourOfDay type: attribute - - id: date.week + - id: date.quarter type: attribute - - id: date.hour + - id: date.monthOfYear type: attribute - - id: date.hourOfDay + - id: date.minute type: attribute - - id: date.minuteOfHour + - id: date.quarterOfYear type: attribute - - id: date.dayOfYear + - id: date.week type: attribute - id: date.dayOfMonth type: attribute - - id: date.weekOfYear + - id: date.year type: attribute - - id: date.month + - id: date.hour type: attribute - - id: date.year + - id: date.day type: attribute - - id: date.minute + - id: date.weekOfYear type: attribute - - id: date.monthOfYear + - id: date.dayOfWeek type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date @@ -1964,7 +1964,7 @@ interactions: next: http://localhost:3000/api/v1/entities/workspaces/demo/metrics?page=1&size=500 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/80722e9a97f9208da237e3bfd20106a2fc172e6f?offset=0&limit=1 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/8243f720a3bcf169200339d0cacef34e655d7c48?offset=0&limit=1 body: null headers: Accept: @@ -2151,7 +2151,7 @@ interactions: - localIdentifier: 27c4b665b9d047b1a66a149714f1c596 localIdentifier: dim_0 links: - executionResult: dcec4c8f27504e195eef008a09f4971c4fcbc1db + executionResult: bd34b134083d6d40979b85a23f1784c222f07224 - request: method: GET uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels&page=0&size=500 @@ -3231,17 +3231,17 @@ interactions: type: attribute referenceProperties: - identifier: - id: customers + id: campaigns type: dataset multivalue: false sourceColumns: - - customer_id + - campaign_id - identifier: - id: campaigns + id: date type: dataset multivalue: false sourceColumns: - - campaign_id + - date - identifier: id: products type: dataset @@ -3249,11 +3249,11 @@ interactions: sourceColumns: - product_id - identifier: - id: date + id: customers type: dataset multivalue: false sourceColumns: - - date + - customer_id dataSourceTableId: demo-test-ds:order_lines areRelationsValid: true type: NORMAL @@ -3310,35 +3310,35 @@ interactions: relationships: attributes: data: - - id: date.quarter + - id: date.month type: attribute - - id: date.dayOfWeek + - id: date.minuteOfHour type: attribute - - id: date.quarterOfYear + - id: date.dayOfYear type: attribute - - id: date.day + - id: date.hourOfDay type: attribute - - id: date.week + - id: date.quarter type: attribute - - id: date.hour + - id: date.monthOfYear type: attribute - - id: date.hourOfDay + - id: date.minute type: attribute - - id: date.minuteOfHour + - id: date.quarterOfYear type: attribute - - id: date.dayOfYear + - id: date.week type: attribute - id: date.dayOfMonth type: attribute - - id: date.weekOfYear + - id: date.year type: attribute - - id: date.month + - id: date.hour type: attribute - - id: date.year + - id: date.day type: attribute - - id: date.minute + - id: date.weekOfYear type: attribute - - id: date.monthOfYear + - id: date.dayOfWeek type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date @@ -4016,7 +4016,7 @@ interactions: next: http://localhost:3000/api/v1/entities/workspaces/demo/metrics?page=1&size=500 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/dcec4c8f27504e195eef008a09f4971c4fcbc1db?offset=0&limit=1 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/bd34b134083d6d40979b85a23f1784c222f07224?offset=0&limit=1 body: null headers: Accept: diff --git a/gooddata-pandas/tests/series/fixtures/not_indexed_label_series.yaml b/gooddata-pandas/tests/series/fixtures/not_indexed_label_series.yaml index 275d54bb1..8c6be31c4 100644 --- a/gooddata-pandas/tests/series/fixtures/not_indexed_label_series.yaml +++ b/gooddata-pandas/tests/series/fixtures/not_indexed_label_series.yaml @@ -106,7 +106,7 @@ interactions: type: label localIdentifier: dim_0 links: - executionResult: 3e53e22a37ad888851a1ba0fff89d278f3c53ddb + executionResult: 3747a561d414e33c9129ed1a2f0448545acaba91 - request: method: GET uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels&page=0&size=500 @@ -1186,17 +1186,17 @@ interactions: type: attribute referenceProperties: - identifier: - id: customers + id: campaigns type: dataset multivalue: false sourceColumns: - - customer_id + - campaign_id - identifier: - id: campaigns + id: date type: dataset multivalue: false sourceColumns: - - campaign_id + - date - identifier: id: products type: dataset @@ -1204,11 +1204,11 @@ interactions: sourceColumns: - product_id - identifier: - id: date + id: customers type: dataset multivalue: false sourceColumns: - - date + - customer_id dataSourceTableId: demo-test-ds:order_lines areRelationsValid: true type: NORMAL @@ -1265,35 +1265,35 @@ interactions: relationships: attributes: data: - - id: date.quarter + - id: date.month type: attribute - - id: date.dayOfWeek + - id: date.minuteOfHour type: attribute - - id: date.quarterOfYear + - id: date.dayOfYear type: attribute - - id: date.day + - id: date.hourOfDay type: attribute - - id: date.week + - id: date.quarter type: attribute - - id: date.hour + - id: date.monthOfYear type: attribute - - id: date.hourOfDay + - id: date.minute type: attribute - - id: date.minuteOfHour + - id: date.quarterOfYear type: attribute - - id: date.dayOfYear + - id: date.week type: attribute - id: date.dayOfMonth type: attribute - - id: date.weekOfYear + - id: date.year type: attribute - - id: date.month + - id: date.hour type: attribute - - id: date.year + - id: date.day type: attribute - - id: date.minute + - id: date.weekOfYear type: attribute - - id: date.monthOfYear + - id: date.dayOfWeek type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date @@ -1971,7 +1971,7 @@ interactions: next: http://localhost:3000/api/v1/entities/workspaces/demo/metrics?page=1&size=500 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/3e53e22a37ad888851a1ba0fff89d278f3c53ddb?offset=0&limit=1000 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/3747a561d414e33c9129ed1a2f0448545acaba91?offset=0&limit=1000 body: null headers: Accept: diff --git a/gooddata-pandas/tests/series/fixtures/not_indexed_label_series_with_granularity.yaml b/gooddata-pandas/tests/series/fixtures/not_indexed_label_series_with_granularity.yaml index bf7f4f753..b52c1b66d 100644 --- a/gooddata-pandas/tests/series/fixtures/not_indexed_label_series_with_granularity.yaml +++ b/gooddata-pandas/tests/series/fixtures/not_indexed_label_series_with_granularity.yaml @@ -126,7 +126,7 @@ interactions: type: label localIdentifier: dim_0 links: - executionResult: 1e6fd5a630705716a1122d1221b3002d819b89ac + executionResult: 59c649cae2361f4d7b689fc244b2c56364118f96 - request: method: GET uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels&page=0&size=500 @@ -1206,17 +1206,17 @@ interactions: type: attribute referenceProperties: - identifier: - id: customers + id: campaigns type: dataset multivalue: false sourceColumns: - - customer_id + - campaign_id - identifier: - id: campaigns + id: date type: dataset multivalue: false sourceColumns: - - campaign_id + - date - identifier: id: products type: dataset @@ -1224,11 +1224,11 @@ interactions: sourceColumns: - product_id - identifier: - id: date + id: customers type: dataset multivalue: false sourceColumns: - - date + - customer_id dataSourceTableId: demo-test-ds:order_lines areRelationsValid: true type: NORMAL @@ -1285,35 +1285,35 @@ interactions: relationships: attributes: data: - - id: date.quarter + - id: date.month type: attribute - - id: date.dayOfWeek + - id: date.minuteOfHour type: attribute - - id: date.quarterOfYear + - id: date.dayOfYear type: attribute - - id: date.day + - id: date.hourOfDay type: attribute - - id: date.week + - id: date.quarter type: attribute - - id: date.hour + - id: date.monthOfYear type: attribute - - id: date.hourOfDay + - id: date.minute type: attribute - - id: date.minuteOfHour + - id: date.quarterOfYear type: attribute - - id: date.dayOfYear + - id: date.week type: attribute - id: date.dayOfMonth type: attribute - - id: date.weekOfYear + - id: date.year type: attribute - - id: date.month + - id: date.hour type: attribute - - id: date.year + - id: date.day type: attribute - - id: date.minute + - id: date.weekOfYear type: attribute - - id: date.monthOfYear + - id: date.dayOfWeek type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date @@ -1991,7 +1991,7 @@ interactions: next: http://localhost:3000/api/v1/entities/workspaces/demo/metrics?page=1&size=500 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/1e6fd5a630705716a1122d1221b3002d819b89ac?offset=0&limit=1000 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/59c649cae2361f4d7b689fc244b2c56364118f96?offset=0&limit=1000 body: null headers: Accept: diff --git a/gooddata-pandas/tests/series/fixtures/not_indexed_metric_series.yaml b/gooddata-pandas/tests/series/fixtures/not_indexed_metric_series.yaml index 6f1c78ba7..5b53372ce 100644 --- a/gooddata-pandas/tests/series/fixtures/not_indexed_metric_series.yaml +++ b/gooddata-pandas/tests/series/fixtures/not_indexed_metric_series.yaml @@ -99,7 +99,7 @@ interactions: - localIdentifier: 27c4b665b9d047b1a66a149714f1c596 localIdentifier: dim_0 links: - executionResult: 80722e9a97f9208da237e3bfd20106a2fc172e6f + executionResult: 8243f720a3bcf169200339d0cacef34e655d7c48 - request: method: GET uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels&page=0&size=500 @@ -1179,17 +1179,17 @@ interactions: type: attribute referenceProperties: - identifier: - id: customers + id: campaigns type: dataset multivalue: false sourceColumns: - - customer_id + - campaign_id - identifier: - id: campaigns + id: date type: dataset multivalue: false sourceColumns: - - campaign_id + - date - identifier: id: products type: dataset @@ -1197,11 +1197,11 @@ interactions: sourceColumns: - product_id - identifier: - id: date + id: customers type: dataset multivalue: false sourceColumns: - - date + - customer_id dataSourceTableId: demo-test-ds:order_lines areRelationsValid: true type: NORMAL @@ -1258,35 +1258,35 @@ interactions: relationships: attributes: data: - - id: date.quarter + - id: date.month type: attribute - - id: date.dayOfWeek + - id: date.minuteOfHour type: attribute - - id: date.quarterOfYear + - id: date.dayOfYear type: attribute - - id: date.day + - id: date.hourOfDay type: attribute - - id: date.week + - id: date.quarter type: attribute - - id: date.hour + - id: date.monthOfYear type: attribute - - id: date.hourOfDay + - id: date.minute type: attribute - - id: date.minuteOfHour + - id: date.quarterOfYear type: attribute - - id: date.dayOfYear + - id: date.week type: attribute - id: date.dayOfMonth type: attribute - - id: date.weekOfYear + - id: date.year type: attribute - - id: date.month + - id: date.hour type: attribute - - id: date.year + - id: date.day type: attribute - - id: date.minute + - id: date.weekOfYear type: attribute - - id: date.monthOfYear + - id: date.dayOfWeek type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date @@ -1964,7 +1964,7 @@ interactions: next: http://localhost:3000/api/v1/entities/workspaces/demo/metrics?page=1&size=500 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/80722e9a97f9208da237e3bfd20106a2fc172e6f?offset=0&limit=1 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/8243f720a3bcf169200339d0cacef34e655d7c48?offset=0&limit=1 body: null headers: Accept: diff --git a/gooddata-pandas/tests/series/fixtures/not_indexed_metric_series_with_granularity.yaml b/gooddata-pandas/tests/series/fixtures/not_indexed_metric_series_with_granularity.yaml index a21f075a5..97e9ea79e 100644 --- a/gooddata-pandas/tests/series/fixtures/not_indexed_metric_series_with_granularity.yaml +++ b/gooddata-pandas/tests/series/fixtures/not_indexed_metric_series_with_granularity.yaml @@ -123,7 +123,7 @@ interactions: type: label localIdentifier: dim_1 links: - executionResult: 53e6e5f774dbda0928072e808cde42e4d47dfab1 + executionResult: d36da6af8b42ed022dc1e98868ff360c7acc0282 - request: method: GET uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels&page=0&size=500 @@ -1203,17 +1203,17 @@ interactions: type: attribute referenceProperties: - identifier: - id: customers + id: campaigns type: dataset multivalue: false sourceColumns: - - customer_id + - campaign_id - identifier: - id: campaigns + id: date type: dataset multivalue: false sourceColumns: - - campaign_id + - date - identifier: id: products type: dataset @@ -1221,11 +1221,11 @@ interactions: sourceColumns: - product_id - identifier: - id: date + id: customers type: dataset multivalue: false sourceColumns: - - date + - customer_id dataSourceTableId: demo-test-ds:order_lines areRelationsValid: true type: NORMAL @@ -1282,35 +1282,35 @@ interactions: relationships: attributes: data: - - id: date.quarter + - id: date.month type: attribute - - id: date.dayOfWeek + - id: date.minuteOfHour type: attribute - - id: date.quarterOfYear + - id: date.dayOfYear type: attribute - - id: date.day + - id: date.hourOfDay type: attribute - - id: date.week + - id: date.quarter type: attribute - - id: date.hour + - id: date.monthOfYear type: attribute - - id: date.hourOfDay + - id: date.minute type: attribute - - id: date.minuteOfHour + - id: date.quarterOfYear type: attribute - - id: date.dayOfYear + - id: date.week type: attribute - id: date.dayOfMonth type: attribute - - id: date.weekOfYear + - id: date.year type: attribute - - id: date.month + - id: date.hour type: attribute - - id: date.year + - id: date.day type: attribute - - id: date.minute + - id: date.weekOfYear type: attribute - - id: date.monthOfYear + - id: date.dayOfWeek type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date @@ -1988,7 +1988,7 @@ interactions: next: http://localhost:3000/api/v1/entities/workspaces/demo/metrics?page=1&size=500 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/53e6e5f774dbda0928072e808cde42e4d47dfab1?offset=0%2C0&limit=1%2C1000 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/d36da6af8b42ed022dc1e98868ff360c7acc0282?offset=0%2C0&limit=1%2C1000 body: null headers: Accept: diff --git a/gooddata-pandas/tests/series/fixtures/simple_index_filtered_series.yaml b/gooddata-pandas/tests/series/fixtures/simple_index_filtered_series.yaml index 1aebb8bcd..ecc3ea489 100644 --- a/gooddata-pandas/tests/series/fixtures/simple_index_filtered_series.yaml +++ b/gooddata-pandas/tests/series/fixtures/simple_index_filtered_series.yaml @@ -142,7 +142,7 @@ interactions: type: label localIdentifier: dim_0 links: - executionResult: 3f73df6c42376a33fd2826b0e3cd0e1e89dabe09 + executionResult: 5326ad25892aac4e08f7e5512c816808c43f2958 - request: method: GET uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels&page=0&size=500 @@ -1222,17 +1222,17 @@ interactions: type: attribute referenceProperties: - identifier: - id: customers + id: campaigns type: dataset multivalue: false sourceColumns: - - customer_id + - campaign_id - identifier: - id: campaigns + id: date type: dataset multivalue: false sourceColumns: - - campaign_id + - date - identifier: id: products type: dataset @@ -1240,11 +1240,11 @@ interactions: sourceColumns: - product_id - identifier: - id: date + id: customers type: dataset multivalue: false sourceColumns: - - date + - customer_id dataSourceTableId: demo-test-ds:order_lines areRelationsValid: true type: NORMAL @@ -1301,35 +1301,35 @@ interactions: relationships: attributes: data: - - id: date.quarter + - id: date.month type: attribute - - id: date.dayOfWeek + - id: date.minuteOfHour type: attribute - - id: date.quarterOfYear + - id: date.dayOfYear type: attribute - - id: date.day + - id: date.hourOfDay type: attribute - - id: date.week + - id: date.quarter type: attribute - - id: date.hour + - id: date.monthOfYear type: attribute - - id: date.hourOfDay + - id: date.minute type: attribute - - id: date.minuteOfHour + - id: date.quarterOfYear type: attribute - - id: date.dayOfYear + - id: date.week type: attribute - id: date.dayOfMonth type: attribute - - id: date.weekOfYear + - id: date.year type: attribute - - id: date.month + - id: date.hour type: attribute - - id: date.year + - id: date.day type: attribute - - id: date.minute + - id: date.weekOfYear type: attribute - - id: date.monthOfYear + - id: date.dayOfWeek type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date @@ -2007,7 +2007,7 @@ interactions: next: http://localhost:3000/api/v1/entities/workspaces/demo/metrics?page=1&size=500 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/3f73df6c42376a33fd2826b0e3cd0e1e89dabe09?offset=0&limit=1000 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/5326ad25892aac4e08f7e5512c816808c43f2958?offset=0&limit=1000 body: null headers: Accept: diff --git a/gooddata-pandas/tests/series/fixtures/simple_index_label_series.yaml b/gooddata-pandas/tests/series/fixtures/simple_index_label_series.yaml index 275d54bb1..8c6be31c4 100644 --- a/gooddata-pandas/tests/series/fixtures/simple_index_label_series.yaml +++ b/gooddata-pandas/tests/series/fixtures/simple_index_label_series.yaml @@ -106,7 +106,7 @@ interactions: type: label localIdentifier: dim_0 links: - executionResult: 3e53e22a37ad888851a1ba0fff89d278f3c53ddb + executionResult: 3747a561d414e33c9129ed1a2f0448545acaba91 - request: method: GET uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels&page=0&size=500 @@ -1186,17 +1186,17 @@ interactions: type: attribute referenceProperties: - identifier: - id: customers + id: campaigns type: dataset multivalue: false sourceColumns: - - customer_id + - campaign_id - identifier: - id: campaigns + id: date type: dataset multivalue: false sourceColumns: - - campaign_id + - date - identifier: id: products type: dataset @@ -1204,11 +1204,11 @@ interactions: sourceColumns: - product_id - identifier: - id: date + id: customers type: dataset multivalue: false sourceColumns: - - date + - customer_id dataSourceTableId: demo-test-ds:order_lines areRelationsValid: true type: NORMAL @@ -1265,35 +1265,35 @@ interactions: relationships: attributes: data: - - id: date.quarter + - id: date.month type: attribute - - id: date.dayOfWeek + - id: date.minuteOfHour type: attribute - - id: date.quarterOfYear + - id: date.dayOfYear type: attribute - - id: date.day + - id: date.hourOfDay type: attribute - - id: date.week + - id: date.quarter type: attribute - - id: date.hour + - id: date.monthOfYear type: attribute - - id: date.hourOfDay + - id: date.minute type: attribute - - id: date.minuteOfHour + - id: date.quarterOfYear type: attribute - - id: date.dayOfYear + - id: date.week type: attribute - id: date.dayOfMonth type: attribute - - id: date.weekOfYear + - id: date.year type: attribute - - id: date.month + - id: date.hour type: attribute - - id: date.year + - id: date.day type: attribute - - id: date.minute + - id: date.weekOfYear type: attribute - - id: date.monthOfYear + - id: date.dayOfWeek type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date @@ -1971,7 +1971,7 @@ interactions: next: http://localhost:3000/api/v1/entities/workspaces/demo/metrics?page=1&size=500 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/3e53e22a37ad888851a1ba0fff89d278f3c53ddb?offset=0&limit=1000 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/3747a561d414e33c9129ed1a2f0448545acaba91?offset=0&limit=1000 body: null headers: Accept: diff --git a/gooddata-pandas/tests/series/fixtures/simple_index_metric_series.yaml b/gooddata-pandas/tests/series/fixtures/simple_index_metric_series.yaml index a21f075a5..97e9ea79e 100644 --- a/gooddata-pandas/tests/series/fixtures/simple_index_metric_series.yaml +++ b/gooddata-pandas/tests/series/fixtures/simple_index_metric_series.yaml @@ -123,7 +123,7 @@ interactions: type: label localIdentifier: dim_1 links: - executionResult: 53e6e5f774dbda0928072e808cde42e4d47dfab1 + executionResult: d36da6af8b42ed022dc1e98868ff360c7acc0282 - request: method: GET uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels&page=0&size=500 @@ -1203,17 +1203,17 @@ interactions: type: attribute referenceProperties: - identifier: - id: customers + id: campaigns type: dataset multivalue: false sourceColumns: - - customer_id + - campaign_id - identifier: - id: campaigns + id: date type: dataset multivalue: false sourceColumns: - - campaign_id + - date - identifier: id: products type: dataset @@ -1221,11 +1221,11 @@ interactions: sourceColumns: - product_id - identifier: - id: date + id: customers type: dataset multivalue: false sourceColumns: - - date + - customer_id dataSourceTableId: demo-test-ds:order_lines areRelationsValid: true type: NORMAL @@ -1282,35 +1282,35 @@ interactions: relationships: attributes: data: - - id: date.quarter + - id: date.month type: attribute - - id: date.dayOfWeek + - id: date.minuteOfHour type: attribute - - id: date.quarterOfYear + - id: date.dayOfYear type: attribute - - id: date.day + - id: date.hourOfDay type: attribute - - id: date.week + - id: date.quarter type: attribute - - id: date.hour + - id: date.monthOfYear type: attribute - - id: date.hourOfDay + - id: date.minute type: attribute - - id: date.minuteOfHour + - id: date.quarterOfYear type: attribute - - id: date.dayOfYear + - id: date.week type: attribute - id: date.dayOfMonth type: attribute - - id: date.weekOfYear + - id: date.year type: attribute - - id: date.month + - id: date.hour type: attribute - - id: date.year + - id: date.day type: attribute - - id: date.minute + - id: date.weekOfYear type: attribute - - id: date.monthOfYear + - id: date.dayOfWeek type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date @@ -1988,7 +1988,7 @@ interactions: next: http://localhost:3000/api/v1/entities/workspaces/demo/metrics?page=1&size=500 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/53e6e5f774dbda0928072e808cde42e4d47dfab1?offset=0%2C0&limit=1%2C1000 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/d36da6af8b42ed022dc1e98868ff360c7acc0282?offset=0%2C0&limit=1%2C1000 body: null headers: Accept: diff --git a/gooddata-scan-client/.openapi-generator/FILES b/gooddata-scan-client/.openapi-generator/FILES index 717bf7b87..6fae219b0 100644 --- a/gooddata-scan-client/.openapi-generator/FILES +++ b/gooddata-scan-client/.openapi-generator/FILES @@ -11,6 +11,7 @@ docs/ScanRequest.md docs/ScanResultPdm.md docs/TableWarning.md docs/TestDefinitionRequest.md +docs/TestQueryDuration.md docs/TestRequest.md docs/TestResponse.md gooddata_scan_client/__init__.py @@ -31,6 +32,7 @@ gooddata_scan_client/model/scan_request.py gooddata_scan_client/model/scan_result_pdm.py gooddata_scan_client/model/table_warning.py gooddata_scan_client/model/test_definition_request.py +gooddata_scan_client/model/test_query_duration.py gooddata_scan_client/model/test_request.py gooddata_scan_client/model/test_response.py gooddata_scan_client/model_utils.py diff --git a/gooddata-scan-client/README.md b/gooddata-scan-client/README.md index 99c2141b5..5234a2dcd 100644 --- a/gooddata-scan-client/README.md +++ b/gooddata-scan-client/README.md @@ -102,6 +102,7 @@ Class | Method | HTTP request | Description - [ScanResultPdm](docs/ScanResultPdm.md) - [TableWarning](docs/TableWarning.md) - [TestDefinitionRequest](docs/TestDefinitionRequest.md) + - [TestQueryDuration](docs/TestQueryDuration.md) - [TestRequest](docs/TestRequest.md) - [TestResponse](docs/TestResponse.md) diff --git a/gooddata-scan-client/docs/TestQueryDuration.md b/gooddata-scan-client/docs/TestQueryDuration.md new file mode 100644 index 000000000..f7d9eee93 --- /dev/null +++ b/gooddata-scan-client/docs/TestQueryDuration.md @@ -0,0 +1,14 @@ +# TestQueryDuration + +A structure containing duration of the test queries run on a data source. It is omitted if an error happens. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**simple_select** | **int** | Field containing duration of a test select query on a data source. In milliseconds. | +**create_cache_table** | **int** | Field containing duration of a test 'create table as select' query on a datasource. In milliseconds. The field is omitted if a data source doesn't support caching. | [optional] +**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] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/gooddata-scan-client/docs/TestResponse.md b/gooddata-scan-client/docs/TestResponse.md index 70f73b19a..1bc06923c 100644 --- a/gooddata-scan-client/docs/TestResponse.md +++ b/gooddata-scan-client/docs/TestResponse.md @@ -7,6 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **successful** | **bool** | A flag indicating whether test passed or not. | **error** | **str** | Field containing more details in case of a failure. Details are available to a privileged user only. | [optional] +**query_duration_millis** | [**TestQueryDuration**](TestQueryDuration.md) | | [optional] **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] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/gooddata-scan-client/gooddata_scan_client/model/test_definition_request.py b/gooddata-scan-client/gooddata_scan_client/model/test_definition_request.py index d8eadd1e8..7334630a2 100644 --- a/gooddata-scan-client/gooddata_scan_client/model/test_definition_request.py +++ b/gooddata-scan-client/gooddata_scan_client/model/test_definition_request.py @@ -72,6 +72,8 @@ class TestDefinitionRequest(ModelNormal): 'DREMIO': "DREMIO", 'DRILL': "DRILL", 'GREENPLUM': "GREENPLUM", + 'AZURESQL': "AZURESQL", + 'SYNAPSESQL': "SYNAPSESQL", }, } diff --git a/gooddata-scan-client/gooddata_scan_client/model/test_query_duration.py b/gooddata-scan-client/gooddata_scan_client/model/test_query_duration.py new file mode 100644 index 000000000..aa2abfcbe --- /dev/null +++ b/gooddata-scan-client/gooddata_scan_client/model/test_query_duration.py @@ -0,0 +1,274 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: v0 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_scan_client.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from gooddata_scan_client.exceptions import ApiAttributeError + + + +class TestQueryDuration(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + return { + 'simple_select': (int,), # noqa: E501 + 'create_cache_table': (int,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'simple_select': 'simpleSelect', # noqa: E501 + 'create_cache_table': 'createCacheTable', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, simple_select, *args, **kwargs): # noqa: E501 + """TestQueryDuration - a model defined in OpenAPI + + Args: + simple_select (int): Field containing duration of a test select query on a data source. In milliseconds. + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + create_cache_table (int): Field containing duration of a test 'create table as select' query on a datasource. In milliseconds. The field is omitted if a data source doesn't support caching.. [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', True) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.simple_select = simple_select + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, simple_select, *args, **kwargs): # noqa: E501 + """TestQueryDuration - a model defined in OpenAPI + + Args: + simple_select (int): Field containing duration of a test select query on a data source. In milliseconds. + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + create_cache_table (int): Field containing duration of a test 'create table as select' query on a datasource. In milliseconds. The field is omitted if a data source doesn't support caching.. [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.simple_select = simple_select + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/gooddata-scan-client/gooddata_scan_client/model/test_response.py b/gooddata-scan-client/gooddata_scan_client/model/test_response.py index 6abcdfdf7..b1250144f 100644 --- a/gooddata-scan-client/gooddata_scan_client/model/test_response.py +++ b/gooddata-scan-client/gooddata_scan_client/model/test_response.py @@ -30,6 +30,10 @@ from gooddata_scan_client.exceptions import ApiAttributeError +def lazy_import(): + from gooddata_scan_client.model.test_query_duration import TestQueryDuration + globals()['TestQueryDuration'] = TestQueryDuration + class TestResponse(ModelNormal): """NOTE: This class is auto generated by OpenAPI Generator. @@ -67,6 +71,7 @@ def additional_properties_type(): This must be a method because a model may have properties that are of type self, this must run after the class is loaded """ + lazy_import() return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 _nullable = False @@ -81,9 +86,11 @@ def openapi_types(): openapi_types (dict): The key is attribute name and the value is attribute type. """ + lazy_import() return { 'successful': (bool,), # noqa: E501 'error': (str,), # noqa: E501 + 'query_duration_millis': (TestQueryDuration,), # noqa: E501 } @cached_property @@ -94,6 +101,7 @@ def discriminator(): attribute_map = { 'successful': 'successful', # noqa: E501 'error': 'error', # noqa: E501 + 'query_duration_millis': 'queryDurationMillis', # noqa: E501 } read_only_vars = { @@ -141,6 +149,7 @@ def _from_openapi_data(cls, successful, *args, **kwargs): # noqa: E501 through its discriminator because we passed in _visited_composed_classes = (Animal,) error (str): Field containing more details in case of a failure. Details are available to a privileged user only.. [optional] # noqa: E501 + query_duration_millis (TestQueryDuration): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -231,6 +240,7 @@ def __init__(self, successful, *args, **kwargs): # noqa: E501 through its discriminator because we passed in _visited_composed_classes = (Animal,) error (str): Field containing more details in case of a failure. Details are available to a privileged user only.. [optional] # noqa: E501 + query_duration_millis (TestQueryDuration): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/gooddata-scan-client/gooddata_scan_client/models/__init__.py b/gooddata-scan-client/gooddata_scan_client/models/__init__.py index f013bec36..abdb18e7f 100644 --- a/gooddata-scan-client/gooddata_scan_client/models/__init__.py +++ b/gooddata-scan-client/gooddata_scan_client/models/__init__.py @@ -19,5 +19,6 @@ from gooddata_scan_client.model.scan_result_pdm import ScanResultPdm from gooddata_scan_client.model.table_warning import TableWarning from gooddata_scan_client.model.test_definition_request import TestDefinitionRequest +from gooddata_scan_client.model.test_query_duration import TestQueryDuration from gooddata_scan_client.model.test_request import TestRequest from gooddata_scan_client.model.test_response import TestResponse diff --git a/gooddata-sdk/tests/catalog/fixtures/data_sources/bigquery.yaml b/gooddata-sdk/tests/catalog/fixtures/data_sources/bigquery.yaml index 7ff6c4b32..a9a64a1c3 100644 --- a/gooddata-sdk/tests/catalog/fixtures/data_sources/bigquery.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/data_sources/bigquery.yaml @@ -75,7 +75,7 @@ interactions: to access it. status: 404 title: Not Found - traceId: be0a4603b60d088b + traceId: 5cda4f39cb839e9c - request: method: POST uri: http://localhost:3000/api/v1/entities/dataSources diff --git a/gooddata-sdk/tests/catalog/fixtures/data_sources/declarative_data_sources.yaml b/gooddata-sdk/tests/catalog/fixtures/data_sources/declarative_data_sources.yaml index 919f1d2c4..fc09c6311 100644 --- a/gooddata-sdk/tests/catalog/fixtures/data_sources/declarative_data_sources.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/data_sources/declarative_data_sources.yaml @@ -26,7 +26,7 @@ interactions: Connection: - keep-alive Content-Length: - - '2682' + - '2561' Content-Security-Policy: - 'default-src ''self'' *.wistia.com *.wistia.net; script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' *.wistia.com *.wistia.net src.litix.io matomo.anywhere.gooddata.com @@ -196,15 +196,7 @@ interactions: - demo - products type: TABLE - permissions: - - assignee: - id: demo2 - type: user - name: MANAGE - - assignee: - id: demoGroup - type: userGroup - name: USE + permissions: [] schema: demo type: POSTGRESQL url: jdbc:postgresql://localhost:5432/demo @@ -234,7 +226,7 @@ interactions: Connection: - keep-alive Content-Length: - - '2682' + - '2561' Content-Security-Policy: - 'default-src ''self'' *.wistia.com *.wistia.net; script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' *.wistia.com *.wistia.net src.litix.io matomo.anywhere.gooddata.com @@ -403,15 +395,7 @@ interactions: - demo - products type: TABLE - permissions: - - assignee: - id: demo2 - type: user - name: MANAGE - - assignee: - id: demoGroup - type: userGroup - name: USE + permissions: [] schema: demo type: POSTGRESQL url: jdbc:postgresql://localhost:5432/demo diff --git a/gooddata-sdk/tests/catalog/fixtures/data_sources/demo_load_and_put_declarative_data_sources.yaml b/gooddata-sdk/tests/catalog/fixtures/data_sources/demo_load_and_put_declarative_data_sources.yaml index 0daf075e3..b5f73cea4 100644 --- a/gooddata-sdk/tests/catalog/fixtures/data_sources/demo_load_and_put_declarative_data_sources.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/data_sources/demo_load_and_put_declarative_data_sources.yaml @@ -210,7 +210,7 @@ interactions: attributes: name: Default Organization hostname: localhost - oauthClientId: 6d3ab384-9250-4c1e-956f-954018d69291 + oauthClientId: 3a57cbba-7657-4dbe-bc00-00ddc20d20fa links: self: http://localhost:3000/api/v1/entities/admin/organizations/default - request: diff --git a/gooddata-sdk/tests/catalog/fixtures/data_sources/demo_put_declarative_data_sources_connection.yaml b/gooddata-sdk/tests/catalog/fixtures/data_sources/demo_put_declarative_data_sources_connection.yaml index 36d2e2468..d16b8d81a 100644 --- a/gooddata-sdk/tests/catalog/fixtures/data_sources/demo_put_declarative_data_sources_connection.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/data_sources/demo_put_declarative_data_sources_connection.yaml @@ -241,7 +241,7 @@ interactions: Connection: - keep-alive Content-Length: - - '19' + - '60' Content-Security-Policy: - 'default-src ''self'' *.wistia.com *.wistia.net; script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' *.wistia.com *.wistia.net src.litix.io matomo.anywhere.gooddata.com @@ -285,6 +285,8 @@ interactions: - 1 ; mode=block body: string: + queryDurationMillis: + simpleSelect: 8 successful: true - request: method: PUT diff --git a/gooddata-sdk/tests/catalog/fixtures/data_sources/demo_register_upload_notification.yaml b/gooddata-sdk/tests/catalog/fixtures/data_sources/demo_register_upload_notification.yaml index 2cd2064ad..950520ad5 100644 --- a/gooddata-sdk/tests/catalog/fixtures/data_sources/demo_register_upload_notification.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/data_sources/demo_register_upload_notification.yaml @@ -428,7 +428,7 @@ interactions: name: '# of Active Customers' localIdentifier: dim_0 links: - executionResult: 6ceba43d1e85ed9d167daa57500b3915b8ba856a + executionResult: 9e3ead65471dd31d2d84f40fecace6364ba84201 - request: method: POST uri: http://localhost:3000/api/v1/actions/dataSources/demo-test-ds/uploadNotification @@ -594,4 +594,4 @@ interactions: name: '# of Active Customers' localIdentifier: dim_0 links: - executionResult: d451abe15f205851b9a573a3665b5229fcfced32 + executionResult: a859ffc8535ac9db3ba128ede71e689e36ea5d21 diff --git a/gooddata-sdk/tests/catalog/fixtures/data_sources/demo_store_and_load_and_put_declarative_pdm.yaml b/gooddata-sdk/tests/catalog/fixtures/data_sources/demo_store_and_load_and_put_declarative_pdm.yaml index f83ccbb56..51d16cc91 100644 --- a/gooddata-sdk/tests/catalog/fixtures/data_sources/demo_store_and_load_and_put_declarative_pdm.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/data_sources/demo_store_and_load_and_put_declarative_pdm.yaml @@ -332,7 +332,7 @@ interactions: attributes: name: Default Organization hostname: localhost - oauthClientId: 6d3ab384-9250-4c1e-956f-954018d69291 + oauthClientId: 3a57cbba-7657-4dbe-bc00-00ddc20d20fa links: self: http://localhost:3000/api/v1/entities/admin/organizations/default - request: @@ -665,7 +665,7 @@ interactions: attributes: name: Default Organization hostname: localhost - oauthClientId: 6d3ab384-9250-4c1e-956f-954018d69291 + oauthClientId: 3a57cbba-7657-4dbe-bc00-00ddc20d20fa links: self: http://localhost:3000/api/v1/entities/admin/organizations/default - request: @@ -808,7 +808,7 @@ interactions: attributes: name: Default Organization hostname: localhost - oauthClientId: 6d3ab384-9250-4c1e-956f-954018d69291 + oauthClientId: 3a57cbba-7657-4dbe-bc00-00ddc20d20fa links: self: http://localhost:3000/api/v1/entities/admin/organizations/default - request: @@ -1139,6 +1139,6 @@ interactions: attributes: name: Default Organization hostname: localhost - oauthClientId: 6d3ab384-9250-4c1e-956f-954018d69291 + oauthClientId: 3a57cbba-7657-4dbe-bc00-00ddc20d20fa links: self: http://localhost:3000/api/v1/entities/admin/organizations/default diff --git a/gooddata-sdk/tests/catalog/fixtures/data_sources/demo_store_declarative_data_sources.yaml b/gooddata-sdk/tests/catalog/fixtures/data_sources/demo_store_declarative_data_sources.yaml index f64ab3510..32305ba2c 100644 --- a/gooddata-sdk/tests/catalog/fixtures/data_sources/demo_store_declarative_data_sources.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/data_sources/demo_store_declarative_data_sources.yaml @@ -556,7 +556,7 @@ interactions: attributes: name: Default Organization hostname: localhost - oauthClientId: 6d3ab384-9250-4c1e-956f-954018d69291 + oauthClientId: 3a57cbba-7657-4dbe-bc00-00ddc20d20fa links: self: http://localhost:3000/api/v1/entities/admin/organizations/default - request: @@ -699,6 +699,6 @@ interactions: attributes: name: Default Organization hostname: localhost - oauthClientId: 6d3ab384-9250-4c1e-956f-954018d69291 + oauthClientId: 3a57cbba-7657-4dbe-bc00-00ddc20d20fa links: self: http://localhost:3000/api/v1/entities/admin/organizations/default diff --git a/gooddata-sdk/tests/catalog/fixtures/data_sources/demo_test_declarative_data_sources.yaml b/gooddata-sdk/tests/catalog/fixtures/data_sources/demo_test_declarative_data_sources.yaml index dcb06c503..6c2e0d1c0 100644 --- a/gooddata-sdk/tests/catalog/fixtures/data_sources/demo_test_declarative_data_sources.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/data_sources/demo_test_declarative_data_sources.yaml @@ -319,7 +319,7 @@ interactions: Connection: - keep-alive Content-Length: - - '19' + - '60' Content-Security-Policy: - 'default-src ''self'' *.wistia.com *.wistia.net; script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' *.wistia.com *.wistia.net src.litix.io matomo.anywhere.gooddata.com @@ -363,4 +363,6 @@ interactions: - 1 ; mode=block body: string: + queryDurationMillis: + simpleSelect: 4 successful: true diff --git a/gooddata-sdk/tests/catalog/fixtures/data_sources/dremio.yaml b/gooddata-sdk/tests/catalog/fixtures/data_sources/dremio.yaml index 9f6c20d74..68e4072c9 100644 --- a/gooddata-sdk/tests/catalog/fixtures/data_sources/dremio.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/data_sources/dremio.yaml @@ -75,7 +75,7 @@ interactions: to access it. status: 404 title: Not Found - traceId: 7c3579869e4c9dfd + traceId: 5b70499ee671db1d - request: method: POST uri: http://localhost:3000/api/v1/entities/dataSources diff --git a/gooddata-sdk/tests/catalog/fixtures/data_sources/greenplum.yaml b/gooddata-sdk/tests/catalog/fixtures/data_sources/greenplum.yaml deleted file mode 100644 index 809f10032..000000000 --- a/gooddata-sdk/tests/catalog/fixtures/data_sources/greenplum.yaml +++ /dev/null @@ -1,324 +0,0 @@ -# (C) 2022 GoodData Corporation -version: 1 -interactions: - - request: - method: GET - uri: http://localhost:3000/api/v1/entities/dataSources/test - body: null - headers: - Accept: - - application/vnd.gooddata.api+json - X-GDC-VALIDATE-RELATIONS: - - 'true' - X-Requested-With: - - XMLHttpRequest - response: - status: - code: 404 - message: Not Found - headers: - Access-Control-Allow-Credentials: - - 'true' - Access-Control-Expose-Headers: - - Content-Disposition, Content-Length, Content-Range, Set-Cookie - Cache-Control: - - no-cache, no-store, max-age=0, must-revalidate - Connection: - - keep-alive - Content-Length: - - '156' - Content-Security-Policy: - - 'default-src ''self'' *.wistia.com *.wistia.net; script-src ''self'' ''unsafe-inline'' - ''unsafe-eval'' *.wistia.com *.wistia.net src.litix.io matomo.anywhere.gooddata.com - code.jquery.com unpkg.com cdn.jsdelivr.net cdnjs.cloudflare.com; img-src - ''self'' data: blob: *.wistia.com *.wistia.net embedwistia-a.akamaihd.net - privacy-policy.truste.com www.gooddata.com; style-src ''self'' ''unsafe-inline'' - fonts.googleapis.com cdn.jsdelivr.net fast.fonts.net; font-src ''self'' - data: fonts.gstatic.com *.alicdn.com *.wistia.com cdn.jsdelivr.net info.gooddata.com; - frame-src ''self''; object-src ''none''; worker-src ''self'' blob:; child-src - blob:; connect-src ''self'' *.tiles.mapbox.com *.mapbox.com *.litix.io - *.wistia.com embedwistia-a.akamaihd.net matomo.anywhere.gooddata.com; - media-src ''self'' blob: data: *.wistia.com *.wistia.net embedwistia-a.akamaihd.net' - Content-Type: - - application/problem+json - Date: &id001 - - PLACEHOLDER - Expires: - - '0' - GoodData-Deployment: - - aio - Permission-Policy: - - geolocation 'none'; midi 'none'; sync-xhr 'none'; microphone 'none'; camera - 'none'; magnetometer 'none'; gyroscope 'none'; fullscreen 'none'; payment - 'none'; - Pragma: - - no-cache - Referrer-Policy: - - no-referrer - Server: - - nginx - Set-Cookie: - - SPRING_REDIRECT_URI=; Path=/; Max-Age=0; Expires=Thu, 01 Jan 1970 00:00:00 - GMT; HttpOnly; SameSite=Lax - Vary: - - Origin - - Access-Control-Request-Method - - Access-Control-Request-Headers - X-Content-Type-Options: - - nosniff - X-GDC-TRACE-ID: *id001 - X-XSS-Protection: - - 1 ; mode=block - body: - string: - detail: The requested endpoint does not exist or you do not have permission - to access it. - status: 404 - title: Not Found - traceId: 3029c42fe23a365b - - request: - method: POST - uri: http://localhost:3000/api/v1/entities/dataSources - body: - data: - attributes: - name: Test - schema: demo - type: GREENPLUM - username: demouser - password: demopass - url: jdbc:postgresql://greenplum:5432/demo?autosave=true - enableCaching: true - cachePath: - - cache_schema - id: test - type: dataSource - headers: - Accept: - - application/vnd.gooddata.api+json - Content-Type: - - application/vnd.gooddata.api+json - X-GDC-VALIDATE-RELATIONS: - - 'true' - X-Requested-With: - - XMLHttpRequest - response: - status: - code: 201 - message: Created - headers: - Access-Control-Allow-Credentials: - - 'true' - Access-Control-Expose-Headers: - - Content-Disposition, Content-Length, Content-Range, Set-Cookie - Cache-Control: - - no-cache, no-store, max-age=0, must-revalidate - Connection: - - keep-alive - Content-Length: - - '312' - Content-Security-Policy: - - 'default-src ''self'' *.wistia.com *.wistia.net; script-src ''self'' ''unsafe-inline'' - ''unsafe-eval'' *.wistia.com *.wistia.net src.litix.io matomo.anywhere.gooddata.com - code.jquery.com unpkg.com cdn.jsdelivr.net cdnjs.cloudflare.com; img-src - ''self'' data: blob: *.wistia.com *.wistia.net embedwistia-a.akamaihd.net - privacy-policy.truste.com www.gooddata.com; style-src ''self'' ''unsafe-inline'' - fonts.googleapis.com cdn.jsdelivr.net fast.fonts.net; font-src ''self'' - data: fonts.gstatic.com *.alicdn.com *.wistia.com cdn.jsdelivr.net info.gooddata.com; - frame-src ''self''; object-src ''none''; worker-src ''self'' blob:; child-src - blob:; connect-src ''self'' *.tiles.mapbox.com *.mapbox.com *.litix.io - *.wistia.com embedwistia-a.akamaihd.net matomo.anywhere.gooddata.com; - media-src ''self'' blob: data: *.wistia.com *.wistia.net embedwistia-a.akamaihd.net' - Content-Type: - - application/vnd.gooddata.api+json - Date: *id001 - Expires: - - '0' - GoodData-Deployment: - - aio - Permission-Policy: - - geolocation 'none'; midi 'none'; sync-xhr 'none'; microphone 'none'; camera - 'none'; magnetometer 'none'; gyroscope 'none'; fullscreen 'none'; payment - 'none'; - Pragma: - - no-cache - Referrer-Policy: - - no-referrer - Server: - - nginx - Set-Cookie: - - SPRING_REDIRECT_URI=; Path=/; Max-Age=0; Expires=Thu, 01 Jan 1970 00:00:00 - GMT; HttpOnly; SameSite=Lax - Vary: - - Origin - - Access-Control-Request-Method - - Access-Control-Request-Headers - X-Content-Type-Options: - - nosniff - X-GDC-TRACE-ID: *id001 - X-XSS-Protection: - - 1 ; mode=block - body: - string: - data: - id: test - type: dataSource - attributes: - url: jdbc:postgresql://greenplum:5432/demo?autosave=true - username: demouser - enableCaching: true - cachePath: - - cache_schema - name: Test - type: GREENPLUM - schema: demo - links: - self: http://localhost:3000/api/v1/entities/dataSources/test - - request: - method: GET - uri: http://localhost:3000/api/v1/entities/dataSources/test - body: null - headers: - Accept: - - application/vnd.gooddata.api+json - X-GDC-VALIDATE-RELATIONS: - - 'true' - X-Requested-With: - - XMLHttpRequest - response: - status: - code: 200 - message: OK - headers: - Access-Control-Allow-Credentials: - - 'true' - Access-Control-Expose-Headers: - - Content-Disposition, Content-Length, Content-Range, Set-Cookie - Cache-Control: - - no-cache, no-store, max-age=0, must-revalidate - Connection: - - keep-alive - Content-Length: - - '312' - Content-Security-Policy: - - 'default-src ''self'' *.wistia.com *.wistia.net; script-src ''self'' ''unsafe-inline'' - ''unsafe-eval'' *.wistia.com *.wistia.net src.litix.io matomo.anywhere.gooddata.com - code.jquery.com unpkg.com cdn.jsdelivr.net cdnjs.cloudflare.com; img-src - ''self'' data: blob: *.wistia.com *.wistia.net embedwistia-a.akamaihd.net - privacy-policy.truste.com www.gooddata.com; style-src ''self'' ''unsafe-inline'' - fonts.googleapis.com cdn.jsdelivr.net fast.fonts.net; font-src ''self'' - data: fonts.gstatic.com *.alicdn.com *.wistia.com cdn.jsdelivr.net info.gooddata.com; - frame-src ''self''; object-src ''none''; worker-src ''self'' blob:; child-src - blob:; connect-src ''self'' *.tiles.mapbox.com *.mapbox.com *.litix.io - *.wistia.com embedwistia-a.akamaihd.net matomo.anywhere.gooddata.com; - media-src ''self'' blob: data: *.wistia.com *.wistia.net embedwistia-a.akamaihd.net' - Content-Type: - - application/vnd.gooddata.api+json - Date: *id001 - Expires: - - '0' - GoodData-Deployment: - - aio - Permission-Policy: - - geolocation 'none'; midi 'none'; sync-xhr 'none'; microphone 'none'; camera - 'none'; magnetometer 'none'; gyroscope 'none'; fullscreen 'none'; payment - 'none'; - Pragma: - - no-cache - Referrer-Policy: - - no-referrer - Server: - - nginx - Set-Cookie: - - SPRING_REDIRECT_URI=; Path=/; Max-Age=0; Expires=Thu, 01 Jan 1970 00:00:00 - GMT; HttpOnly; SameSite=Lax - Vary: - - Origin - - Access-Control-Request-Method - - Access-Control-Request-Headers - X-Content-Type-Options: - - nosniff - X-GDC-TRACE-ID: *id001 - X-XSS-Protection: - - 1 ; mode=block - body: - string: - data: - id: test - type: dataSource - attributes: - url: jdbc:postgresql://greenplum:5432/demo?autosave=true - username: demouser - enableCaching: true - cachePath: - - cache_schema - name: Test - type: GREENPLUM - schema: demo - links: - self: http://localhost:3000/api/v1/entities/dataSources/test - - request: - method: DELETE - uri: http://localhost:3000/api/v1/entities/dataSources/test - body: null - headers: - X-GDC-VALIDATE-RELATIONS: - - 'true' - X-Requested-With: - - XMLHttpRequest - response: - status: - code: 204 - message: No Content - headers: - Access-Control-Allow-Credentials: - - 'true' - Access-Control-Expose-Headers: - - Content-Disposition, Content-Length, Content-Range, Set-Cookie - Cache-Control: - - no-cache, no-store, max-age=0, must-revalidate - Connection: - - keep-alive - Content-Security-Policy: - - 'default-src ''self'' *.wistia.com *.wistia.net; script-src ''self'' ''unsafe-inline'' - ''unsafe-eval'' *.wistia.com *.wistia.net src.litix.io matomo.anywhere.gooddata.com - code.jquery.com unpkg.com cdn.jsdelivr.net cdnjs.cloudflare.com; img-src - ''self'' data: blob: *.wistia.com *.wistia.net embedwistia-a.akamaihd.net - privacy-policy.truste.com www.gooddata.com; style-src ''self'' ''unsafe-inline'' - fonts.googleapis.com cdn.jsdelivr.net fast.fonts.net; font-src ''self'' - data: fonts.gstatic.com *.alicdn.com *.wistia.com cdn.jsdelivr.net info.gooddata.com; - frame-src ''self''; object-src ''none''; worker-src ''self'' blob:; child-src - blob:; connect-src ''self'' *.tiles.mapbox.com *.mapbox.com *.litix.io - *.wistia.com embedwistia-a.akamaihd.net matomo.anywhere.gooddata.com; - media-src ''self'' blob: data: *.wistia.com *.wistia.net embedwistia-a.akamaihd.net' - Content-Type: - - application/vnd.gooddata.api+json - Date: *id001 - Expires: - - '0' - GoodData-Deployment: - - aio - Permission-Policy: - - geolocation 'none'; midi 'none'; sync-xhr 'none'; microphone 'none'; camera - 'none'; magnetometer 'none'; gyroscope 'none'; fullscreen 'none'; payment - 'none'; - Pragma: - - no-cache - Referrer-Policy: - - no-referrer - Server: - - nginx - Set-Cookie: - - SPRING_REDIRECT_URI=; Path=/; Max-Age=0; Expires=Thu, 01 Jan 1970 00:00:00 - GMT; HttpOnly; SameSite=Lax - Vary: - - Origin - - Access-Control-Request-Method - - Access-Control-Request-Headers - X-Content-Type-Options: - - nosniff - X-GDC-TRACE-ID: *id001 - X-XSS-Protection: - - 1 ; mode=block - body: - string: '' diff --git a/gooddata-sdk/tests/catalog/fixtures/data_sources/patch.yaml b/gooddata-sdk/tests/catalog/fixtures/data_sources/patch.yaml index d71aa68bd..be4aefdfe 100644 --- a/gooddata-sdk/tests/catalog/fixtures/data_sources/patch.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/data_sources/patch.yaml @@ -159,7 +159,7 @@ interactions: to access it. status: 404 title: Not Found - traceId: 0fa7e7dfce5dec38 + traceId: c594a1936c6803c3 - request: method: POST uri: http://localhost:3000/api/v1/entities/dataSources diff --git a/gooddata-sdk/tests/catalog/fixtures/data_sources/redshift.yaml b/gooddata-sdk/tests/catalog/fixtures/data_sources/redshift.yaml index f6aba9d63..482e7b6ef 100644 --- a/gooddata-sdk/tests/catalog/fixtures/data_sources/redshift.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/data_sources/redshift.yaml @@ -75,7 +75,7 @@ interactions: to access it. status: 404 title: Not Found - traceId: 77c9aef771def06f + traceId: 606655ee5c22e09a - request: method: POST uri: http://localhost:3000/api/v1/entities/dataSources diff --git a/gooddata-sdk/tests/catalog/fixtures/data_sources/snowflake.yaml b/gooddata-sdk/tests/catalog/fixtures/data_sources/snowflake.yaml index 2f5e949e5..66cc28e74 100644 --- a/gooddata-sdk/tests/catalog/fixtures/data_sources/snowflake.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/data_sources/snowflake.yaml @@ -75,7 +75,7 @@ interactions: to access it. status: 404 title: Not Found - traceId: ff4d5c15c0b3da5a + traceId: 411de1532d0185f1 - request: method: POST uri: http://localhost:3000/api/v1/entities/dataSources diff --git a/gooddata-sdk/tests/catalog/fixtures/data_sources/test_create_update.yaml b/gooddata-sdk/tests/catalog/fixtures/data_sources/test_create_update.yaml index 4d2f2f0d5..ee0dcc154 100644 --- a/gooddata-sdk/tests/catalog/fixtures/data_sources/test_create_update.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/data_sources/test_create_update.yaml @@ -159,7 +159,7 @@ interactions: to access it. status: 404 title: Not Found - traceId: a259ed0c136c4158 + traceId: a19b461400b0c7ae - request: method: POST uri: http://localhost:3000/api/v1/entities/dataSources diff --git a/gooddata-sdk/tests/catalog/fixtures/data_sources/vertica.yaml b/gooddata-sdk/tests/catalog/fixtures/data_sources/vertica.yaml index 8b4b1cdc9..a7374a284 100644 --- a/gooddata-sdk/tests/catalog/fixtures/data_sources/vertica.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/data_sources/vertica.yaml @@ -75,7 +75,7 @@ interactions: to access it. status: 404 title: Not Found - traceId: ac6f5d742a4a835d + traceId: f113b884256a6c80 - request: method: POST uri: http://localhost:3000/api/v1/entities/dataSources diff --git a/gooddata-sdk/tests/catalog/fixtures/organization/organization.yaml b/gooddata-sdk/tests/catalog/fixtures/organization/organization.yaml index a54832fc5..5b1251316 100644 --- a/gooddata-sdk/tests/catalog/fixtures/organization/organization.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/organization/organization.yaml @@ -142,6 +142,6 @@ interactions: attributes: name: Default Organization hostname: localhost - oauthClientId: c25c941a-3135-411c-816c-e1c0b8fa486f + oauthClientId: 3a57cbba-7657-4dbe-bc00-00ddc20d20fa links: self: http://localhost:3000/api/v1/entities/admin/organizations/default diff --git a/gooddata-sdk/tests/catalog/fixtures/organization/update_name.yaml b/gooddata-sdk/tests/catalog/fixtures/organization/update_name.yaml index 726a89cd3..7da3aaf6e 100644 --- a/gooddata-sdk/tests/catalog/fixtures/organization/update_name.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/organization/update_name.yaml @@ -142,7 +142,7 @@ interactions: attributes: name: Default Organization hostname: localhost - oauthClientId: 6d3ab384-9250-4c1e-956f-954018d69291 + oauthClientId: cd3baebd-ae96-417e-89e0-a5ea40e0ece4 links: self: http://localhost:3000/api/v1/entities/admin/organizations/default - request: @@ -285,7 +285,7 @@ interactions: attributes: name: Default Organization hostname: localhost - oauthClientId: 6d3ab384-9250-4c1e-956f-954018d69291 + oauthClientId: cd3baebd-ae96-417e-89e0-a5ea40e0ece4 links: self: http://localhost:3000/api/v1/entities/admin/organizations/default - request: @@ -298,7 +298,7 @@ interactions: attributes: name: test_organization hostname: localhost - oauthClientId: 6d3ab384-9250-4c1e-956f-954018d69291 + oauthClientId: cd3baebd-ae96-417e-89e0-a5ea40e0ece4 headers: Accept: - application/vnd.gooddata.api+json @@ -372,7 +372,7 @@ interactions: attributes: name: test_organization hostname: localhost - oauthClientId: 6d3ab384-9250-4c1e-956f-954018d69291 + oauthClientId: cd3baebd-ae96-417e-89e0-a5ea40e0ece4 links: self: http://localhost:3000/api/v1/entities/admin/organizations/default - request: @@ -515,7 +515,7 @@ interactions: attributes: name: test_organization hostname: localhost - oauthClientId: 6d3ab384-9250-4c1e-956f-954018d69291 + oauthClientId: cd3baebd-ae96-417e-89e0-a5ea40e0ece4 links: self: http://localhost:3000/api/v1/entities/admin/organizations/default - request: @@ -658,7 +658,7 @@ interactions: attributes: name: test_organization hostname: localhost - oauthClientId: 6d3ab384-9250-4c1e-956f-954018d69291 + oauthClientId: cd3baebd-ae96-417e-89e0-a5ea40e0ece4 links: self: http://localhost:3000/api/v1/entities/admin/organizations/default - request: @@ -671,7 +671,7 @@ interactions: attributes: name: Default Organization hostname: localhost - oauthClientId: 6d3ab384-9250-4c1e-956f-954018d69291 + oauthClientId: cd3baebd-ae96-417e-89e0-a5ea40e0ece4 headers: Accept: - application/vnd.gooddata.api+json @@ -745,7 +745,7 @@ interactions: attributes: name: Default Organization hostname: localhost - oauthClientId: 6d3ab384-9250-4c1e-956f-954018d69291 + oauthClientId: cd3baebd-ae96-417e-89e0-a5ea40e0ece4 links: self: http://localhost:3000/api/v1/entities/admin/organizations/default - request: @@ -888,6 +888,6 @@ interactions: attributes: name: Default Organization hostname: localhost - oauthClientId: 6d3ab384-9250-4c1e-956f-954018d69291 + oauthClientId: cd3baebd-ae96-417e-89e0-a5ea40e0ece4 links: self: http://localhost:3000/api/v1/entities/admin/organizations/default diff --git a/gooddata-sdk/tests/catalog/fixtures/organization/update_oidc_settings.yaml b/gooddata-sdk/tests/catalog/fixtures/organization/update_oidc_settings.yaml index 5a0df0648..40d06aba3 100644 --- a/gooddata-sdk/tests/catalog/fixtures/organization/update_oidc_settings.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/organization/update_oidc_settings.yaml @@ -142,7 +142,7 @@ interactions: attributes: name: Default Organization hostname: localhost - oauthClientId: c25c941a-3135-411c-816c-e1c0b8fa486f + oauthClientId: 3a57cbba-7657-4dbe-bc00-00ddc20d20fa links: self: http://localhost:3000/api/v1/entities/admin/organizations/default - request: @@ -285,7 +285,7 @@ interactions: attributes: name: Default Organization hostname: localhost - oauthClientId: c25c941a-3135-411c-816c-e1c0b8fa486f + oauthClientId: 3a57cbba-7657-4dbe-bc00-00ddc20d20fa links: self: http://localhost:3000/api/v1/entities/admin/organizations/default - request: @@ -749,7 +749,7 @@ interactions: attributes: name: Default Organization hostname: localhost - oauthClientId: 6d3ab384-9250-4c1e-956f-954018d69291 + oauthClientId: cd3baebd-ae96-417e-89e0-a5ea40e0ece4 links: self: http://localhost:3000/api/v1/entities/admin/organizations/default - request: @@ -892,6 +892,6 @@ interactions: attributes: name: Default Organization hostname: localhost - oauthClientId: 6d3ab384-9250-4c1e-956f-954018d69291 + oauthClientId: cd3baebd-ae96-417e-89e0-a5ea40e0ece4 links: self: http://localhost:3000/api/v1/entities/admin/organizations/default diff --git a/gooddata-sdk/tests/catalog/fixtures/users/create_delete_user.yaml b/gooddata-sdk/tests/catalog/fixtures/users/create_delete_user.yaml index 82ee1b01e..ad5e9a640 100644 --- a/gooddata-sdk/tests/catalog/fixtures/users/create_delete_user.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/users/create_delete_user.yaml @@ -191,7 +191,7 @@ interactions: to access it. status: 404 title: Not Found - traceId: 60922c78859c6f7f + traceId: 1bdb54b3d8f28d8a - request: method: POST uri: http://localhost:3000/api/v1/entities/users @@ -437,6 +437,17 @@ interactions: body: string: data: + - id: newUser + type: user + attributes: + authenticationId: newUser_auth_id + relationships: + userGroups: + data: + - id: demoGroup + type: userGroup + links: + self: http://localhost:3000/api/v1/entities/users/newUser - id: admin type: user attributes: {} @@ -469,17 +480,6 @@ interactions: type: userGroup links: self: http://localhost:3000/api/v1/entities/users/demo2 - - id: newUser - type: user - attributes: - authenticationId: newUser_auth_id - relationships: - userGroups: - data: - - id: demoGroup - type: userGroup - links: - self: http://localhost:3000/api/v1/entities/users/newUser included: - id: adminGroup type: userGroup diff --git a/gooddata-sdk/tests/catalog/fixtures/users/create_delete_user_group.yaml b/gooddata-sdk/tests/catalog/fixtures/users/create_delete_user_group.yaml index 537218fd3..4d8fe2924 100644 --- a/gooddata-sdk/tests/catalog/fixtures/users/create_delete_user_group.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/users/create_delete_user_group.yaml @@ -189,7 +189,7 @@ interactions: to access it. status: 404 title: Not Found - traceId: b621e435c7aa93c1 + traceId: 15010efdd94e5115 - request: method: POST uri: http://localhost:3000/api/v1/entities/userGroups diff --git a/gooddata-sdk/tests/catalog/fixtures/users/load_and_put_declarative_user_groups.yaml b/gooddata-sdk/tests/catalog/fixtures/users/load_and_put_declarative_user_groups.yaml index 765d14f19..5379a1ba4 100644 --- a/gooddata-sdk/tests/catalog/fixtures/users/load_and_put_declarative_user_groups.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/users/load_and_put_declarative_user_groups.yaml @@ -559,7 +559,7 @@ interactions: attributes: name: Default Organization hostname: localhost - oauthClientId: 6d3ab384-9250-4c1e-956f-954018d69291 + oauthClientId: cd3baebd-ae96-417e-89e0-a5ea40e0ece4 links: self: http://localhost:3000/api/v1/entities/admin/organizations/default - request: diff --git a/gooddata-sdk/tests/catalog/fixtures/users/load_and_put_declarative_users.yaml b/gooddata-sdk/tests/catalog/fixtures/users/load_and_put_declarative_users.yaml index 3e6376377..61e151a94 100644 --- a/gooddata-sdk/tests/catalog/fixtures/users/load_and_put_declarative_users.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/users/load_and_put_declarative_users.yaml @@ -410,7 +410,7 @@ interactions: attributes: name: Default Organization hostname: localhost - oauthClientId: 6d3ab384-9250-4c1e-956f-954018d69291 + oauthClientId: cd3baebd-ae96-417e-89e0-a5ea40e0ece4 links: self: http://localhost:3000/api/v1/entities/admin/organizations/default - request: diff --git a/gooddata-sdk/tests/catalog/fixtures/users/load_and_put_declarative_users_user_groups.yaml b/gooddata-sdk/tests/catalog/fixtures/users/load_and_put_declarative_users_user_groups.yaml index be526cb1a..668978058 100644 --- a/gooddata-sdk/tests/catalog/fixtures/users/load_and_put_declarative_users_user_groups.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/users/load_and_put_declarative_users_user_groups.yaml @@ -490,7 +490,7 @@ interactions: attributes: name: Default Organization hostname: localhost - oauthClientId: 6d3ab384-9250-4c1e-956f-954018d69291 + oauthClientId: cd3baebd-ae96-417e-89e0-a5ea40e0ece4 links: self: http://localhost:3000/api/v1/entities/admin/organizations/default - request: diff --git a/gooddata-sdk/tests/catalog/fixtures/users/put_declarative_users.yaml b/gooddata-sdk/tests/catalog/fixtures/users/put_declarative_users.yaml index 7c4d38eba..063e70ee2 100644 --- a/gooddata-sdk/tests/catalog/fixtures/users/put_declarative_users.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/users/put_declarative_users.yaml @@ -159,6 +159,17 @@ interactions: body: string: data: + - id: demo2 + type: user + attributes: + authenticationId: CiRlNTJmYzg3YS04YTUyLTQxYmItYTk5NC00NjQ2YzhhNTRkMjQSBWxvY2Fs + relationships: + userGroups: + data: + - id: demoGroup + type: userGroup + links: + self: http://localhost:3000/api/v1/entities/users/demo2 - id: admin type: user attributes: {} @@ -180,17 +191,6 @@ interactions: type: userGroup links: self: http://localhost:3000/api/v1/entities/users/demo - - id: demo2 - type: user - attributes: - authenticationId: CiRlNTJmYzg3YS04YTUyLTQxYmItYTk5NC00NjQ2YzhhNTRkMjQSBWxvY2Fs - relationships: - userGroups: - data: - - id: demoGroup - type: userGroup - links: - self: http://localhost:3000/api/v1/entities/users/demo2 included: - id: adminGroup type: userGroup diff --git a/gooddata-sdk/tests/catalog/fixtures/users/store_declarative_user_groups.yaml b/gooddata-sdk/tests/catalog/fixtures/users/store_declarative_user_groups.yaml index 54f3ec813..57705edef 100644 --- a/gooddata-sdk/tests/catalog/fixtures/users/store_declarative_user_groups.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/users/store_declarative_user_groups.yaml @@ -302,7 +302,7 @@ interactions: attributes: name: Default Organization hostname: localhost - oauthClientId: 6d3ab384-9250-4c1e-956f-954018d69291 + oauthClientId: cd3baebd-ae96-417e-89e0-a5ea40e0ece4 links: self: http://localhost:3000/api/v1/entities/admin/organizations/default - request: @@ -445,6 +445,6 @@ interactions: attributes: name: Default Organization hostname: localhost - oauthClientId: 6d3ab384-9250-4c1e-956f-954018d69291 + oauthClientId: cd3baebd-ae96-417e-89e0-a5ea40e0ece4 links: self: http://localhost:3000/api/v1/entities/admin/organizations/default diff --git a/gooddata-sdk/tests/catalog/fixtures/users/store_declarative_users.yaml b/gooddata-sdk/tests/catalog/fixtures/users/store_declarative_users.yaml index 01ade3988..804f53ad0 100644 --- a/gooddata-sdk/tests/catalog/fixtures/users/store_declarative_users.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/users/store_declarative_users.yaml @@ -316,7 +316,7 @@ interactions: attributes: name: Default Organization hostname: localhost - oauthClientId: 6d3ab384-9250-4c1e-956f-954018d69291 + oauthClientId: cd3baebd-ae96-417e-89e0-a5ea40e0ece4 links: self: http://localhost:3000/api/v1/entities/admin/organizations/default - request: @@ -459,6 +459,6 @@ interactions: attributes: name: Default Organization hostname: localhost - oauthClientId: 6d3ab384-9250-4c1e-956f-954018d69291 + oauthClientId: cd3baebd-ae96-417e-89e0-a5ea40e0ece4 links: self: http://localhost:3000/api/v1/entities/admin/organizations/default diff --git a/gooddata-sdk/tests/catalog/fixtures/users/store_declarative_users_user_groups.yaml b/gooddata-sdk/tests/catalog/fixtures/users/store_declarative_users_user_groups.yaml index e6ae60721..ac8174901 100644 --- a/gooddata-sdk/tests/catalog/fixtures/users/store_declarative_users_user_groups.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/users/store_declarative_users_user_groups.yaml @@ -338,7 +338,7 @@ interactions: attributes: name: Default Organization hostname: localhost - oauthClientId: 6d3ab384-9250-4c1e-956f-954018d69291 + oauthClientId: cd3baebd-ae96-417e-89e0-a5ea40e0ece4 links: self: http://localhost:3000/api/v1/entities/admin/organizations/default - request: @@ -481,6 +481,6 @@ interactions: attributes: name: Default Organization hostname: localhost - oauthClientId: 6d3ab384-9250-4c1e-956f-954018d69291 + oauthClientId: cd3baebd-ae96-417e-89e0-a5ea40e0ece4 links: self: http://localhost:3000/api/v1/entities/admin/organizations/default diff --git a/gooddata-sdk/tests/catalog/fixtures/users/update_user.yaml b/gooddata-sdk/tests/catalog/fixtures/users/update_user.yaml index 1c5591b36..49cb057f8 100644 --- a/gooddata-sdk/tests/catalog/fixtures/users/update_user.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/users/update_user.yaml @@ -498,7 +498,7 @@ interactions: to access it. status: 404 title: Not Found - traceId: 6f4198dafad48843 + traceId: f3cd784dc3a74f21 - request: method: POST uri: http://localhost:3000/api/v1/entities/users @@ -657,6 +657,17 @@ interactions: body: string: data: + - id: demo2 + type: user + attributes: + authenticationId: CiRlNTJmYzg3YS04YTUyLTQxYmItYTk5NC00NjQ2YzhhNTRkMjQSBWxvY2Fs + relationships: + userGroups: + data: + - id: demoGroup + type: userGroup + links: + self: http://localhost:3000/api/v1/entities/users/demo2 - id: admin type: user attributes: {} @@ -678,17 +689,6 @@ interactions: type: userGroup links: self: http://localhost:3000/api/v1/entities/users/demo - - id: demo2 - type: user - attributes: - authenticationId: CiRlNTJmYzg3YS04YTUyLTQxYmItYTk5NC00NjQ2YzhhNTRkMjQSBWxvY2Fs - relationships: - userGroups: - data: - - id: demoGroup - type: userGroup - links: - self: http://localhost:3000/api/v1/entities/users/demo2 included: - id: adminGroup type: userGroup diff --git a/gooddata-sdk/tests/catalog/fixtures/workspace_content/demo_catalog.yaml b/gooddata-sdk/tests/catalog/fixtures/workspace_content/demo_catalog.yaml index 63025fe6b..1316e8469 100644 --- a/gooddata-sdk/tests/catalog/fixtures/workspace_content/demo_catalog.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/workspace_content/demo_catalog.yaml @@ -1021,6 +1021,54 @@ interactions: type: fact links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaign_channels + - id: campaigns + type: dataset + attributes: + title: Campaigns + description: Campaigns + tags: + - Campaigns + grain: + - id: campaign_id + type: attribute + dataSourceTableId: demo-test-ds:campaigns + areRelationsValid: true + type: NORMAL + relationships: + attributes: + data: + - id: campaign_name + type: attribute + - id: campaign_id + type: attribute + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaigns + - id: customers + type: dataset + attributes: + title: Customers + description: Customers + tags: + - Customers + grain: + - id: customer_id + type: attribute + dataSourceTableId: demo-test-ds:customers + areRelationsValid: true + type: NORMAL + relationships: + attributes: + data: + - id: region + type: attribute + - id: state + type: attribute + - id: customer_id + type: attribute + - id: customer_name + type: attribute + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/customers - id: order_lines type: dataset attributes: @@ -1033,17 +1081,17 @@ interactions: type: attribute referenceProperties: - identifier: - id: customers + id: campaigns type: dataset multivalue: false sourceColumns: - - customer_id + - campaign_id - identifier: - id: campaigns + id: date type: dataset multivalue: false sourceColumns: - - campaign_id + - date - identifier: id: products type: dataset @@ -1051,11 +1099,11 @@ interactions: sourceColumns: - product_id - identifier: - id: date + id: customers type: dataset multivalue: false sourceColumns: - - date + - customer_id dataSourceTableId: demo-test-ds:order_lines areRelationsValid: true type: NORMAL @@ -1076,32 +1124,6 @@ interactions: type: fact links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/order_lines - - id: customers - type: dataset - attributes: - title: Customers - description: Customers - tags: - - Customers - grain: - - id: customer_id - type: attribute - dataSourceTableId: demo-test-ds:customers - areRelationsValid: true - type: NORMAL - relationships: - attributes: - data: - - id: region - type: attribute - - id: state - type: attribute - - id: customer_id - type: attribute - - id: customer_name - type: attribute - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/customers - id: products type: dataset attributes: @@ -1138,60 +1160,38 @@ interactions: relationships: attributes: data: - - id: date.dayOfWeek - type: attribute - - id: date.quarter + - id: date.month type: attribute - - id: date.quarterOfYear + - id: date.minuteOfHour type: attribute - - id: date.day + - id: date.dayOfYear type: attribute - - id: date.week + - id: date.hourOfDay type: attribute - - id: date.hour + - id: date.quarter type: attribute - - id: date.hourOfDay + - id: date.monthOfYear type: attribute - - id: date.dayOfYear + - id: date.minute type: attribute - - id: date.minuteOfHour + - id: date.quarterOfYear type: attribute - - id: date.weekOfYear + - id: date.week type: attribute - id: date.dayOfMonth type: attribute - - id: date.month - type: attribute - id: date.year type: attribute - - id: date.monthOfYear + - id: date.hour type: attribute - - id: date.minute + - id: date.day type: attribute - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date - - id: campaigns - type: dataset - attributes: - title: Campaigns - description: Campaigns - tags: - - Campaigns - grain: - - id: campaign_id - type: attribute - dataSourceTableId: demo-test-ds:campaigns - areRelationsValid: true - type: NORMAL - relationships: - attributes: - data: - - id: campaign_name + - id: date.weekOfYear type: attribute - - id: campaign_id + - id: date.dayOfWeek type: attribute links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaigns + self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date included: - id: product_id type: attribute @@ -1606,133 +1606,6 @@ interactions: body: string: data: - - id: percent_revenue_per_product - type: metric - attributes: - title: '% Revenue per Product' - areRelationsValid: true - content: - format: '#,##0.0%' - maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL - {attribute/product_id}) - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/percent_revenue_per_product - - id: revenue - type: metric - attributes: - title: Revenue - description: '' - areRelationsValid: true - content: - format: $#,##0 - maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} - IN ("Returned", "Canceled")) - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/revenue - - id: revenue-clothing - type: metric - attributes: - title: Revenue (Clothing) - areRelationsValid: true - content: - format: $#,##0 - maql: SELECT {metric/revenue} WHERE {label/products.category} IN - ("Clothing") - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/revenue-clothing - - id: revenue-electronic - type: metric - attributes: - title: Revenue (Electronic) - areRelationsValid: true - content: - format: $#,##0 - maql: SELECT {metric/revenue} WHERE {label/products.category} IN - ( "Electronics") - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/revenue-electronic - - id: revenue-home - type: metric - attributes: - title: Revenue (Home) - areRelationsValid: true - content: - format: $#,##0 - maql: SELECT {metric/revenue} WHERE {label/products.category} IN - ("Home") - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/revenue-home - - id: revenue-outdoor - type: metric - attributes: - title: Revenue (Outdoor) - areRelationsValid: true - content: - format: $#,##0 - maql: SELECT {metric/revenue} WHERE {label/products.category} IN - ("Outdoor") - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/revenue-outdoor - - id: revenue_per_customer - type: metric - attributes: - title: Revenue per Customer - areRelationsValid: true - content: - format: $#,##0.0 - maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/revenue_per_customer - - id: revenue_per_dollar_spent - type: metric - attributes: - title: Revenue per Dollar Spent - areRelationsValid: true - content: - format: $#,##0.0 - maql: SELECT {metric/revenue} / {metric/campaign_spend} - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/revenue_per_dollar_spent - - id: revenue_top_10 - type: metric - attributes: - title: Revenue / Top 10 - areRelationsValid: true - content: - format: $#,##0 - maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/revenue_top_10 - - id: revenue_top_10_percent - type: metric - attributes: - title: Revenue / Top 10% - areRelationsValid: true - content: - format: $#,##0 - maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/revenue_top_10_percent - - id: total_revenue - type: metric - attributes: - title: Total Revenue - areRelationsValid: true - content: - format: $#,##0 - maql: SELECT {metric/revenue} BY ALL OTHER - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/total_revenue - - id: total_revenue-no_filters - type: metric - attributes: - title: Total Revenue (No Filters) - areRelationsValid: true - content: - format: $#,##0 - maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/total_revenue-no_filters - id: amount_of_active_customers type: metric attributes: @@ -1861,6 +1734,133 @@ interactions: ALL OTHER) links: self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/percent_revenue_in_category + - id: percent_revenue_per_product + type: metric + attributes: + title: '% Revenue per Product' + areRelationsValid: true + content: + format: '#,##0.0%' + maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL + {attribute/product_id}) + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/percent_revenue_per_product + - id: revenue + type: metric + attributes: + title: Revenue + description: '' + areRelationsValid: true + content: + format: $#,##0 + maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} + IN ("Returned", "Canceled")) + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/revenue + - id: revenue-clothing + type: metric + attributes: + title: Revenue (Clothing) + areRelationsValid: true + content: + format: $#,##0 + maql: SELECT {metric/revenue} WHERE {label/products.category} IN + ("Clothing") + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/revenue-clothing + - id: revenue-electronic + type: metric + attributes: + title: Revenue (Electronic) + areRelationsValid: true + content: + format: $#,##0 + maql: SELECT {metric/revenue} WHERE {label/products.category} IN + ( "Electronics") + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/revenue-electronic + - id: revenue-home + type: metric + attributes: + title: Revenue (Home) + areRelationsValid: true + content: + format: $#,##0 + maql: SELECT {metric/revenue} WHERE {label/products.category} IN + ("Home") + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/revenue-home + - id: revenue-outdoor + type: metric + attributes: + title: Revenue (Outdoor) + areRelationsValid: true + content: + format: $#,##0 + maql: SELECT {metric/revenue} WHERE {label/products.category} IN + ("Outdoor") + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/revenue-outdoor + - id: revenue_per_customer + type: metric + attributes: + title: Revenue per Customer + areRelationsValid: true + content: + format: $#,##0.0 + maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/revenue_per_customer + - id: revenue_per_dollar_spent + type: metric + attributes: + title: Revenue per Dollar Spent + areRelationsValid: true + content: + format: $#,##0.0 + maql: SELECT {metric/revenue} / {metric/campaign_spend} + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/revenue_per_dollar_spent + - id: revenue_top_10 + type: metric + attributes: + title: Revenue / Top 10 + areRelationsValid: true + content: + format: $#,##0 + maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/revenue_top_10 + - id: revenue_top_10_percent + type: metric + attributes: + title: Revenue / Top 10% + areRelationsValid: true + content: + format: $#,##0 + maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/revenue_top_10_percent + - id: total_revenue + type: metric + attributes: + title: Total Revenue + areRelationsValid: true + content: + format: $#,##0 + maql: SELECT {metric/revenue} BY ALL OTHER + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/total_revenue + - id: total_revenue-no_filters + type: metric + attributes: + title: Total Revenue (No Filters) + areRelationsValid: true + content: + format: $#,##0 + maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/total_revenue-no_filters links: self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics?page=0&size=500 next: http://localhost:3000/api/v1/entities/workspaces/demo/metrics?page=1&size=500 diff --git a/gooddata-sdk/tests/catalog/fixtures/workspace_content/demo_catalog_availability.yaml b/gooddata-sdk/tests/catalog/fixtures/workspace_content/demo_catalog_availability.yaml index 77585a80d..a9274b668 100644 --- a/gooddata-sdk/tests/catalog/fixtures/workspace_content/demo_catalog_availability.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/workspace_content/demo_catalog_availability.yaml @@ -1021,6 +1021,54 @@ interactions: type: fact links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaign_channels + - id: campaigns + type: dataset + attributes: + title: Campaigns + description: Campaigns + tags: + - Campaigns + grain: + - id: campaign_id + type: attribute + dataSourceTableId: demo-test-ds:campaigns + areRelationsValid: true + type: NORMAL + relationships: + attributes: + data: + - id: campaign_name + type: attribute + - id: campaign_id + type: attribute + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaigns + - id: customers + type: dataset + attributes: + title: Customers + description: Customers + tags: + - Customers + grain: + - id: customer_id + type: attribute + dataSourceTableId: demo-test-ds:customers + areRelationsValid: true + type: NORMAL + relationships: + attributes: + data: + - id: region + type: attribute + - id: state + type: attribute + - id: customer_id + type: attribute + - id: customer_name + type: attribute + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/customers - id: order_lines type: dataset attributes: @@ -1033,17 +1081,17 @@ interactions: type: attribute referenceProperties: - identifier: - id: customers + id: campaigns type: dataset multivalue: false sourceColumns: - - customer_id + - campaign_id - identifier: - id: campaigns + id: date type: dataset multivalue: false sourceColumns: - - campaign_id + - date - identifier: id: products type: dataset @@ -1051,11 +1099,11 @@ interactions: sourceColumns: - product_id - identifier: - id: date + id: customers type: dataset multivalue: false sourceColumns: - - date + - customer_id dataSourceTableId: demo-test-ds:order_lines areRelationsValid: true type: NORMAL @@ -1076,32 +1124,6 @@ interactions: type: fact links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/order_lines - - id: customers - type: dataset - attributes: - title: Customers - description: Customers - tags: - - Customers - grain: - - id: customer_id - type: attribute - dataSourceTableId: demo-test-ds:customers - areRelationsValid: true - type: NORMAL - relationships: - attributes: - data: - - id: region - type: attribute - - id: state - type: attribute - - id: customer_id - type: attribute - - id: customer_name - type: attribute - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/customers - id: products type: dataset attributes: @@ -1138,60 +1160,38 @@ interactions: relationships: attributes: data: - - id: date.dayOfWeek - type: attribute - - id: date.quarter + - id: date.month type: attribute - - id: date.quarterOfYear + - id: date.minuteOfHour type: attribute - - id: date.day + - id: date.dayOfYear type: attribute - - id: date.week + - id: date.hourOfDay type: attribute - - id: date.hour + - id: date.quarter type: attribute - - id: date.hourOfDay + - id: date.monthOfYear type: attribute - - id: date.dayOfYear + - id: date.minute type: attribute - - id: date.minuteOfHour + - id: date.quarterOfYear type: attribute - - id: date.weekOfYear + - id: date.week type: attribute - id: date.dayOfMonth type: attribute - - id: date.month - type: attribute - id: date.year type: attribute - - id: date.monthOfYear + - id: date.hour type: attribute - - id: date.minute + - id: date.day type: attribute - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date - - id: campaigns - type: dataset - attributes: - title: Campaigns - description: Campaigns - tags: - - Campaigns - grain: - - id: campaign_id - type: attribute - dataSourceTableId: demo-test-ds:campaigns - areRelationsValid: true - type: NORMAL - relationships: - attributes: - data: - - id: campaign_name + - id: date.weekOfYear type: attribute - - id: campaign_id + - id: date.dayOfWeek type: attribute links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaigns + self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date included: - id: product_id type: attribute @@ -1606,133 +1606,6 @@ interactions: body: string: data: - - id: percent_revenue_per_product - type: metric - attributes: - title: '% Revenue per Product' - areRelationsValid: true - content: - format: '#,##0.0%' - maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL - {attribute/product_id}) - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/percent_revenue_per_product - - id: revenue - type: metric - attributes: - title: Revenue - description: '' - areRelationsValid: true - content: - format: $#,##0 - maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} - IN ("Returned", "Canceled")) - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/revenue - - id: revenue-clothing - type: metric - attributes: - title: Revenue (Clothing) - areRelationsValid: true - content: - format: $#,##0 - maql: SELECT {metric/revenue} WHERE {label/products.category} IN - ("Clothing") - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/revenue-clothing - - id: revenue-electronic - type: metric - attributes: - title: Revenue (Electronic) - areRelationsValid: true - content: - format: $#,##0 - maql: SELECT {metric/revenue} WHERE {label/products.category} IN - ( "Electronics") - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/revenue-electronic - - id: revenue-home - type: metric - attributes: - title: Revenue (Home) - areRelationsValid: true - content: - format: $#,##0 - maql: SELECT {metric/revenue} WHERE {label/products.category} IN - ("Home") - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/revenue-home - - id: revenue-outdoor - type: metric - attributes: - title: Revenue (Outdoor) - areRelationsValid: true - content: - format: $#,##0 - maql: SELECT {metric/revenue} WHERE {label/products.category} IN - ("Outdoor") - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/revenue-outdoor - - id: revenue_per_customer - type: metric - attributes: - title: Revenue per Customer - areRelationsValid: true - content: - format: $#,##0.0 - maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/revenue_per_customer - - id: revenue_per_dollar_spent - type: metric - attributes: - title: Revenue per Dollar Spent - areRelationsValid: true - content: - format: $#,##0.0 - maql: SELECT {metric/revenue} / {metric/campaign_spend} - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/revenue_per_dollar_spent - - id: revenue_top_10 - type: metric - attributes: - title: Revenue / Top 10 - areRelationsValid: true - content: - format: $#,##0 - maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/revenue_top_10 - - id: revenue_top_10_percent - type: metric - attributes: - title: Revenue / Top 10% - areRelationsValid: true - content: - format: $#,##0 - maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/revenue_top_10_percent - - id: total_revenue - type: metric - attributes: - title: Total Revenue - areRelationsValid: true - content: - format: $#,##0 - maql: SELECT {metric/revenue} BY ALL OTHER - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/total_revenue - - id: total_revenue-no_filters - type: metric - attributes: - title: Total Revenue (No Filters) - areRelationsValid: true - content: - format: $#,##0 - maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/total_revenue-no_filters - id: amount_of_active_customers type: metric attributes: @@ -1861,6 +1734,133 @@ interactions: ALL OTHER) links: self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/percent_revenue_in_category + - id: percent_revenue_per_product + type: metric + attributes: + title: '% Revenue per Product' + areRelationsValid: true + content: + format: '#,##0.0%' + maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL + {attribute/product_id}) + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/percent_revenue_per_product + - id: revenue + type: metric + attributes: + title: Revenue + description: '' + areRelationsValid: true + content: + format: $#,##0 + maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} + IN ("Returned", "Canceled")) + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/revenue + - id: revenue-clothing + type: metric + attributes: + title: Revenue (Clothing) + areRelationsValid: true + content: + format: $#,##0 + maql: SELECT {metric/revenue} WHERE {label/products.category} IN + ("Clothing") + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/revenue-clothing + - id: revenue-electronic + type: metric + attributes: + title: Revenue (Electronic) + areRelationsValid: true + content: + format: $#,##0 + maql: SELECT {metric/revenue} WHERE {label/products.category} IN + ( "Electronics") + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/revenue-electronic + - id: revenue-home + type: metric + attributes: + title: Revenue (Home) + areRelationsValid: true + content: + format: $#,##0 + maql: SELECT {metric/revenue} WHERE {label/products.category} IN + ("Home") + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/revenue-home + - id: revenue-outdoor + type: metric + attributes: + title: Revenue (Outdoor) + areRelationsValid: true + content: + format: $#,##0 + maql: SELECT {metric/revenue} WHERE {label/products.category} IN + ("Outdoor") + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/revenue-outdoor + - id: revenue_per_customer + type: metric + attributes: + title: Revenue per Customer + areRelationsValid: true + content: + format: $#,##0.0 + maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/revenue_per_customer + - id: revenue_per_dollar_spent + type: metric + attributes: + title: Revenue per Dollar Spent + areRelationsValid: true + content: + format: $#,##0.0 + maql: SELECT {metric/revenue} / {metric/campaign_spend} + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/revenue_per_dollar_spent + - id: revenue_top_10 + type: metric + attributes: + title: Revenue / Top 10 + areRelationsValid: true + content: + format: $#,##0 + maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/revenue_top_10 + - id: revenue_top_10_percent + type: metric + attributes: + title: Revenue / Top 10% + areRelationsValid: true + content: + format: $#,##0 + maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/revenue_top_10_percent + - id: total_revenue + type: metric + attributes: + title: Total Revenue + areRelationsValid: true + content: + format: $#,##0 + maql: SELECT {metric/revenue} BY ALL OTHER + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/total_revenue + - id: total_revenue-no_filters + type: metric + attributes: + title: Total Revenue (No Filters) + areRelationsValid: true + content: + format: $#,##0 + maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/total_revenue-no_filters links: self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics?page=0&size=500 next: http://localhost:3000/api/v1/entities/workspaces/demo/metrics?page=1&size=500 diff --git a/gooddata-sdk/tests/catalog/fixtures/workspace_content/demo_catalog_list_metrics.yaml b/gooddata-sdk/tests/catalog/fixtures/workspace_content/demo_catalog_list_metrics.yaml index f7a5bac2a..fee4c47a9 100644 --- a/gooddata-sdk/tests/catalog/fixtures/workspace_content/demo_catalog_list_metrics.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/workspace_content/demo_catalog_list_metrics.yaml @@ -72,133 +72,6 @@ interactions: body: string: data: - - id: percent_revenue_per_product - type: metric - attributes: - title: '% Revenue per Product' - areRelationsValid: true - content: - format: '#,##0.0%' - maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL - {attribute/product_id}) - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/percent_revenue_per_product - - id: revenue - type: metric - attributes: - title: Revenue - description: '' - areRelationsValid: true - content: - format: $#,##0 - maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} - IN ("Returned", "Canceled")) - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/revenue - - id: revenue-clothing - type: metric - attributes: - title: Revenue (Clothing) - areRelationsValid: true - content: - format: $#,##0 - maql: SELECT {metric/revenue} WHERE {label/products.category} IN - ("Clothing") - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/revenue-clothing - - id: revenue-electronic - type: metric - attributes: - title: Revenue (Electronic) - areRelationsValid: true - content: - format: $#,##0 - maql: SELECT {metric/revenue} WHERE {label/products.category} IN - ( "Electronics") - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/revenue-electronic - - id: revenue-home - type: metric - attributes: - title: Revenue (Home) - areRelationsValid: true - content: - format: $#,##0 - maql: SELECT {metric/revenue} WHERE {label/products.category} IN - ("Home") - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/revenue-home - - id: revenue-outdoor - type: metric - attributes: - title: Revenue (Outdoor) - areRelationsValid: true - content: - format: $#,##0 - maql: SELECT {metric/revenue} WHERE {label/products.category} IN - ("Outdoor") - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/revenue-outdoor - - id: revenue_per_customer - type: metric - attributes: - title: Revenue per Customer - areRelationsValid: true - content: - format: $#,##0.0 - maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/revenue_per_customer - - id: revenue_per_dollar_spent - type: metric - attributes: - title: Revenue per Dollar Spent - areRelationsValid: true - content: - format: $#,##0.0 - maql: SELECT {metric/revenue} / {metric/campaign_spend} - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/revenue_per_dollar_spent - - id: revenue_top_10 - type: metric - attributes: - title: Revenue / Top 10 - areRelationsValid: true - content: - format: $#,##0 - maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/revenue_top_10 - - id: revenue_top_10_percent - type: metric - attributes: - title: Revenue / Top 10% - areRelationsValid: true - content: - format: $#,##0 - maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/revenue_top_10_percent - - id: total_revenue - type: metric - attributes: - title: Total Revenue - areRelationsValid: true - content: - format: $#,##0 - maql: SELECT {metric/revenue} BY ALL OTHER - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/total_revenue - - id: total_revenue-no_filters - type: metric - attributes: - title: Total Revenue (No Filters) - areRelationsValid: true - content: - format: $#,##0 - maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/total_revenue-no_filters - id: amount_of_active_customers type: metric attributes: @@ -327,6 +200,133 @@ interactions: ALL OTHER) links: self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/percent_revenue_in_category + - id: percent_revenue_per_product + type: metric + attributes: + title: '% Revenue per Product' + areRelationsValid: true + content: + format: '#,##0.0%' + maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL + {attribute/product_id}) + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/percent_revenue_per_product + - id: revenue + type: metric + attributes: + title: Revenue + description: '' + areRelationsValid: true + content: + format: $#,##0 + maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} + IN ("Returned", "Canceled")) + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/revenue + - id: revenue-clothing + type: metric + attributes: + title: Revenue (Clothing) + areRelationsValid: true + content: + format: $#,##0 + maql: SELECT {metric/revenue} WHERE {label/products.category} IN + ("Clothing") + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/revenue-clothing + - id: revenue-electronic + type: metric + attributes: + title: Revenue (Electronic) + areRelationsValid: true + content: + format: $#,##0 + maql: SELECT {metric/revenue} WHERE {label/products.category} IN + ( "Electronics") + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/revenue-electronic + - id: revenue-home + type: metric + attributes: + title: Revenue (Home) + areRelationsValid: true + content: + format: $#,##0 + maql: SELECT {metric/revenue} WHERE {label/products.category} IN + ("Home") + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/revenue-home + - id: revenue-outdoor + type: metric + attributes: + title: Revenue (Outdoor) + areRelationsValid: true + content: + format: $#,##0 + maql: SELECT {metric/revenue} WHERE {label/products.category} IN + ("Outdoor") + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/revenue-outdoor + - id: revenue_per_customer + type: metric + attributes: + title: Revenue per Customer + areRelationsValid: true + content: + format: $#,##0.0 + maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/revenue_per_customer + - id: revenue_per_dollar_spent + type: metric + attributes: + title: Revenue per Dollar Spent + areRelationsValid: true + content: + format: $#,##0.0 + maql: SELECT {metric/revenue} / {metric/campaign_spend} + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/revenue_per_dollar_spent + - id: revenue_top_10 + type: metric + attributes: + title: Revenue / Top 10 + areRelationsValid: true + content: + format: $#,##0 + maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/revenue_top_10 + - id: revenue_top_10_percent + type: metric + attributes: + title: Revenue / Top 10% + areRelationsValid: true + content: + format: $#,##0 + maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/revenue_top_10_percent + - id: total_revenue + type: metric + attributes: + title: Total Revenue + areRelationsValid: true + content: + format: $#,##0 + maql: SELECT {metric/revenue} BY ALL OTHER + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/total_revenue + - id: total_revenue-no_filters + type: metric + attributes: + title: Total Revenue (No Filters) + areRelationsValid: true + content: + format: $#,##0 + maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/total_revenue-no_filters links: self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics?page=0&size=500 next: http://localhost:3000/api/v1/entities/workspaces/demo/metrics?page=1&size=500 diff --git a/gooddata-sdk/tests/catalog/fixtures/workspace_content/demo_get_dependent_entities_graph.yaml b/gooddata-sdk/tests/catalog/fixtures/workspace_content/demo_get_dependent_entities_graph.yaml index f8b064f4e..08af4e277 100644 --- a/gooddata-sdk/tests/catalog/fixtures/workspace_content/demo_get_dependent_entities_graph.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/workspace_content/demo_get_dependent_entities_graph.yaml @@ -97,10 +97,6 @@ interactions: type: attribute - id: revenue_per_customer type: metric - - - id: customer_id - type: attribute - - id: amount_of_active_customers - type: metric - - id: customer_id type: attribute - id: customers @@ -113,6 +109,10 @@ interactions: type: attribute - id: percent_revenue_from_top_10_customers type: metric + - - id: customer_id + type: attribute + - id: amount_of_active_customers + type: metric - - id: customer_name type: attribute - id: customers @@ -173,14 +173,14 @@ interactions: type: attribute - id: date type: dataset - - - id: date.year - type: attribute - - id: date - type: dataset - - id: date.year type: attribute - id: product_revenue_comparison-over_previous_period type: visualizationObject + - - id: date.year + type: attribute + - id: date + type: dataset - - id: order_id type: attribute - id: order_lines @@ -203,7 +203,7 @@ interactions: type: dataset - - id: product_id type: attribute - - id: percent_revenue_from_top_10_percent_products + - id: percent_revenue_per_product type: metric - - id: product_id type: attribute @@ -211,12 +211,12 @@ interactions: type: metric - - id: product_id type: attribute - - id: products - type: dataset + - id: percent_revenue_from_top_10_percent_products + type: metric - - id: product_id type: attribute - - id: percent_revenue_per_product - type: metric + - id: products + type: dataset - - id: product_name type: attribute - id: products @@ -247,40 +247,40 @@ interactions: type: analyticalDashboard - - id: campaigns type: dataset - - id: order_lines + - id: campaign_channels type: dataset - - id: campaigns type: dataset - - id: campaign_channels + - id: order_lines type: dataset - - id: customers type: dataset - id: order_lines type: dataset - - - id: date - type: dataset - - id: customers_trend - type: visualizationObject - - id: date type: dataset - id: product_and_category type: analyticalDashboard - - id: date type: dataset - - id: revenue_trend - type: visualizationObject + - id: order_lines + type: dataset - - id: date type: dataset - id: product_revenue_comparison-over_previous_period type: visualizationObject - - id: date type: dataset - - id: revenue_by_category_trend + - id: customers_trend type: visualizationObject - - id: date type: dataset - - id: order_lines + - id: revenue_trend + type: visualizationObject + - - id: date type: dataset + - id: revenue_by_category_trend + type: visualizationObject - - id: date type: dataset - id: percentage_of_customers_by_region @@ -293,38 +293,38 @@ interactions: type: fact - id: campaign_channels type: dataset - - - id: price - type: fact - - id: order_lines - type: dataset - - id: price type: fact - id: order_amount type: metric - - id: price type: fact - - id: revenue_and_quantity_by_product_and_category - type: visualizationObject - - - id: quantity - type: fact - id: order_lines type: dataset + - - id: price + type: fact + - id: revenue_and_quantity_by_product_and_category + type: visualizationObject - - id: quantity type: fact - id: order_amount type: metric + - - id: quantity + type: fact + - id: order_lines + type: dataset - - id: quantity type: fact - id: revenue_and_quantity_by_product_and_category type: visualizationObject - - - id: spend - type: fact - - id: campaign_spend - type: metric - - id: spend type: fact - id: campaign_channels type: dataset + - - id: spend + type: fact + - id: campaign_spend + type: metric - - id: campaign_name_filter type: filterContext - id: dashboard_plugin @@ -353,14 +353,14 @@ interactions: type: label - id: campaign_id type: attribute - - - id: campaign_name - type: label - - id: campaign_spend - type: visualizationObject - - id: campaign_name type: label - id: campaign_name_filter type: filterContext + - - id: campaign_name + type: label + - id: campaign_spend + type: visualizationObject - - id: campaign_name type: label - id: campaign_name @@ -373,14 +373,14 @@ interactions: type: label - id: customer_id type: attribute - - - id: customer_name - type: label - - id: customer_name - type: attribute - - id: customer_name type: label - id: percent_revenue_per_product_by_customer_and_category type: visualizationObject + - - id: customer_name + type: label + - id: customer_name + type: attribute - - id: customer_name type: label - id: revenue_and_quantity_by_product_and_category @@ -427,19 +427,19 @@ interactions: type: visualizationObject - - id: date.month type: label - - id: revenue_trend + - id: revenue_by_category_trend type: visualizationObject - - - id: date.month - type: label - - id: date.month - type: attribute - - id: date.month type: label - id: percentage_of_customers_by_region type: visualizationObject - - id: date.month type: label - - id: revenue_by_category_trend + - id: date.month + type: attribute + - - id: date.month + type: label + - id: revenue_trend type: visualizationObject - - id: date.monthOfYear type: label @@ -495,15 +495,15 @@ interactions: type: attribute - - id: product_name type: label - - id: product_name - type: attribute + - id: product_categories_pie_chart + type: visualizationObject - - id: product_name type: label - - id: top_10_products + - id: product_saleability type: visualizationObject - - id: product_name type: label - - id: product_breakdown + - id: top_10_products type: visualizationObject - - id: product_name type: label @@ -511,55 +511,51 @@ interactions: type: visualizationObject - - id: product_name type: label - - id: product_saleability + - id: revenue_and_quantity_by_product_and_category type: visualizationObject - - id: product_name type: label - - id: revenue_by_product + - id: percent_revenue_per_product_by_customer_and_category type: visualizationObject - - id: product_name type: label - - id: revenue_and_quantity_by_product_and_category + - id: product_breakdown type: visualizationObject - - id: product_name type: label - - id: product_categories_pie_chart + - id: revenue_by_product type: visualizationObject - - id: product_name type: label - - id: percent_revenue_per_product_by_customer_and_category - type: visualizationObject + - id: product_name + type: attribute - - id: products.category type: label - - id: top_10_products - type: visualizationObject + - id: products.category + type: attribute - - id: products.category type: label - - id: revenue-clothing + - id: revenue-home type: metric - - id: products.category type: label - - id: product_breakdown - type: visualizationObject - - - id: products.category - type: label - - id: product_revenue_comparison-over_previous_period + - id: product_categories_pie_chart type: visualizationObject - - id: products.category type: label - - id: revenue-electronic + - id: revenue-outdoor type: metric - - id: products.category type: label - - id: revenue_by_category_trend + - id: top_10_products type: visualizationObject - - id: products.category type: label - - id: products.category - type: attribute + - id: product_revenue_comparison-over_previous_period + type: visualizationObject - - id: products.category type: label - - id: revenue-home + - id: revenue-clothing type: metric - - id: products.category type: label @@ -567,20 +563,20 @@ interactions: type: visualizationObject - - id: products.category type: label - - id: revenue-outdoor + - id: percent_revenue_per_product_by_customer_and_category + type: visualizationObject + - - id: products.category + type: label + - id: revenue-electronic type: metric - - id: products.category type: label - - id: product_categories_pie_chart + - id: product_breakdown type: visualizationObject - - id: products.category type: label - - id: percent_revenue_per_product_by_customer_and_category + - id: revenue_by_category_trend type: visualizationObject - - - id: region - type: label - - id: region_filter - type: filterContext - - id: region type: label - id: percentage_of_customers_by_region @@ -589,6 +585,10 @@ interactions: type: label - id: region type: attribute + - - id: region + type: label + - id: region_filter + type: filterContext - - id: state type: label - id: state @@ -597,22 +597,22 @@ interactions: type: label - id: top_10_customers type: visualizationObject - - - id: type - type: label - - id: campaign_spend - type: visualizationObject - - id: type type: label - id: type type: attribute - - - id: amount_of_active_customers - type: metric - - id: customers_trend + - - id: type + type: label + - id: campaign_spend type: visualizationObject - - id: amount_of_active_customers type: metric - id: amount_of_top_customers type: metric + - - id: amount_of_active_customers + type: metric + - id: customers_trend + type: visualizationObject - - id: amount_of_active_customers type: metric - id: percentage_of_customers_by_region @@ -629,14 +629,14 @@ interactions: type: metric - id: revenue_trend type: visualizationObject - - - id: campaign_spend - type: metric - - id: campaign_spend - type: visualizationObject - - id: campaign_spend type: metric - id: revenue_per_dollar_spent type: metric + - - id: campaign_spend + type: metric + - id: campaign_spend + type: visualizationObject - - id: campaign_spend type: metric - id: revenue_per_usd_vs_spend_by_campaign @@ -655,67 +655,71 @@ interactions: type: visualizationObject - - id: revenue type: metric - - id: percent_revenue_from_top_10_percent_customers + - id: percent_revenue_in_category type: metric - - id: revenue type: metric - - id: revenue_per_customer + - id: amount_of_top_customers type: metric - - id: revenue type: metric - - id: percent_revenue_from_top_10_percent_products + - id: revenue-home type: metric - - id: revenue type: metric - - id: percent_revenue_from_top_10_products + - id: product_categories_pie_chart + type: visualizationObject + - - id: revenue + type: metric + - id: revenue-outdoor type: metric - - id: revenue type: metric - - id: product_breakdown - type: visualizationObject + - id: percent_revenue_from_top_10_customers + type: metric - - id: revenue type: metric - - id: percent_revenue_in_category + - id: revenue_per_dollar_spent type: metric - - id: revenue type: metric - - id: product_saleability + - id: product_revenue_comparison-over_previous_period type: visualizationObject - - id: revenue type: metric - - id: revenue-home + - id: revenue_top_10_percent type: metric - - id: revenue type: metric - - id: revenue_by_product - type: visualizationObject - - - id: revenue + - id: percent_revenue_from_top_10_percent_customers type: metric - - id: revenue_per_dollar_spent + - - id: revenue type: metric + - id: percent_revenue_per_product_by_customer_and_category + type: visualizationObject - - id: revenue type: metric - - id: revenue_and_quantity_by_product_and_category + - id: product_breakdown type: visualizationObject - - id: revenue type: metric - - id: revenue-outdoor + - id: percent_revenue type: metric - - id: revenue type: metric - - id: product_categories_pie_chart + - id: revenue_by_product type: visualizationObject - - id: revenue type: metric - - id: amount_of_top_customers + - id: total_revenue type: metric - - id: revenue type: metric - - id: percent_revenue_per_product_by_customer_and_category + - id: product_saleability type: visualizationObject - - id: revenue type: metric - - id: revenue_top_10_percent + - id: percent_revenue_from_top_10_percent_products type: metric - - id: revenue type: metric @@ -723,27 +727,27 @@ interactions: type: metric - - id: revenue type: metric - - id: revenue_trend + - id: revenue_and_quantity_by_product_and_category type: visualizationObject - - id: revenue type: metric - - id: percent_revenue - type: metric + - id: revenue_trend + type: visualizationObject - - id: revenue type: metric - - id: revenue_top_10 + - id: revenue_per_customer type: metric - - id: revenue type: metric - - id: product_revenue_comparison-over_previous_period - type: visualizationObject + - id: percent_revenue_per_product + type: metric - - id: revenue type: metric - id: revenue-electronic type: metric - - id: revenue type: metric - - id: total_revenue + - id: percent_revenue_from_top_10_products type: metric - - id: revenue type: metric @@ -751,11 +755,7 @@ interactions: type: visualizationObject - - id: revenue type: metric - - id: percent_revenue_per_product - type: metric - - - id: revenue - type: metric - - id: percent_revenue_from_top_10_customers + - id: revenue_top_10 type: metric - - id: revenue_per_customer type: metric @@ -765,22 +765,22 @@ interactions: type: metric - id: revenue_per_usd_vs_spend_by_campaign type: visualizationObject - - - id: revenue_top_10 - type: metric - - id: top_10_products - type: visualizationObject - - id: revenue_top_10 type: metric - id: percent_revenue_from_top_10_products type: metric - - id: revenue_top_10 type: metric - - id: percent_revenue_from_top_10_customers - type: metric + - id: top_10_customers + type: visualizationObject - - id: revenue_top_10 type: metric - - id: top_10_customers + - id: top_10_products type: visualizationObject + - - id: revenue_top_10 + type: metric + - id: percent_revenue_from_top_10_customers + type: metric - - id: revenue_top_10_percent type: metric - id: percent_revenue_from_top_10_percent_customers @@ -791,11 +791,11 @@ interactions: type: metric - - id: total_revenue type: metric - - id: percent_revenue + - id: total_revenue-no_filters type: metric - - id: total_revenue type: metric - - id: total_revenue-no_filters + - id: percent_revenue type: metric - - id: campaign_spend type: visualizationObject @@ -831,11 +831,11 @@ interactions: type: analyticalDashboard - - id: top_10_products type: visualizationObject - - id: dashboard_plugin + - id: product_and_category type: analyticalDashboard - - id: top_10_products type: visualizationObject - - id: product_and_category + - id: dashboard_plugin type: analyticalDashboard nodes: - id: campaign diff --git a/gooddata-sdk/tests/catalog/fixtures/workspace_content/demo_load_and_modify_ds_and_put_declarative_ldm.yaml b/gooddata-sdk/tests/catalog/fixtures/workspace_content/demo_load_and_modify_ds_and_put_declarative_ldm.yaml index 75cf45ac6..930a4275d 100644 --- a/gooddata-sdk/tests/catalog/fixtures/workspace_content/demo_load_and_modify_ds_and_put_declarative_ldm.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/workspace_content/demo_load_and_modify_ds_and_put_declarative_ldm.yaml @@ -75,7 +75,7 @@ interactions: to access it. status: 404 title: Not Found - traceId: 3e34dfa9522e45fb + traceId: 2c27b69dca179035 - request: method: POST uri: http://localhost:3000/api/v1/entities/workspaces diff --git a/gooddata-sdk/tests/catalog/fixtures/workspace_content/demo_load_and_put_declarative_analytics_model.yaml b/gooddata-sdk/tests/catalog/fixtures/workspace_content/demo_load_and_put_declarative_analytics_model.yaml index 4f2f8021d..a67b1acbc 100644 --- a/gooddata-sdk/tests/catalog/fixtures/workspace_content/demo_load_and_put_declarative_analytics_model.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/workspace_content/demo_load_and_put_declarative_analytics_model.yaml @@ -75,7 +75,7 @@ interactions: to access it. status: 404 title: Not Found - traceId: 4a9b9bb8262db2b0 + traceId: 5941029edb5a4e7f - request: method: POST uri: http://localhost:3000/api/v1/entities/workspaces @@ -2345,7 +2345,7 @@ interactions: attributes: name: Default Organization hostname: localhost - oauthClientId: 6d3ab384-9250-4c1e-956f-954018d69291 + oauthClientId: cd3baebd-ae96-417e-89e0-a5ea40e0ece4 links: self: http://localhost:3000/api/v1/entities/admin/organizations/default - request: diff --git a/gooddata-sdk/tests/catalog/fixtures/workspace_content/demo_load_and_put_declarative_ldm.yaml b/gooddata-sdk/tests/catalog/fixtures/workspace_content/demo_load_and_put_declarative_ldm.yaml index cc592cf3a..19ba554b4 100644 --- a/gooddata-sdk/tests/catalog/fixtures/workspace_content/demo_load_and_put_declarative_ldm.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/workspace_content/demo_load_and_put_declarative_ldm.yaml @@ -75,7 +75,7 @@ interactions: to access it. status: 404 title: Not Found - traceId: 8b143441e54ced7d + traceId: 5dd6d6e8ebb2f91e - request: method: POST uri: http://localhost:3000/api/v1/entities/workspaces @@ -635,7 +635,7 @@ interactions: attributes: name: Default Organization hostname: localhost - oauthClientId: 6d3ab384-9250-4c1e-956f-954018d69291 + oauthClientId: cd3baebd-ae96-417e-89e0-a5ea40e0ece4 links: self: http://localhost:3000/api/v1/entities/admin/organizations/default - request: diff --git a/gooddata-sdk/tests/catalog/fixtures/workspace_content/demo_put_declarative_analytics_model.yaml b/gooddata-sdk/tests/catalog/fixtures/workspace_content/demo_put_declarative_analytics_model.yaml index bb5fc95e3..b93de24c7 100644 --- a/gooddata-sdk/tests/catalog/fixtures/workspace_content/demo_put_declarative_analytics_model.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/workspace_content/demo_put_declarative_analytics_model.yaml @@ -75,7 +75,7 @@ interactions: to access it. status: 404 title: Not Found - traceId: 1310faad657193b2 + traceId: 58106f6c3a95a5bd - request: method: POST uri: http://localhost:3000/api/v1/entities/workspaces diff --git a/gooddata-sdk/tests/catalog/fixtures/workspace_content/demo_put_declarative_ldm.yaml b/gooddata-sdk/tests/catalog/fixtures/workspace_content/demo_put_declarative_ldm.yaml index daeafdce3..9f98b8959 100644 --- a/gooddata-sdk/tests/catalog/fixtures/workspace_content/demo_put_declarative_ldm.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/workspace_content/demo_put_declarative_ldm.yaml @@ -75,7 +75,7 @@ interactions: to access it. status: 404 title: Not Found - traceId: bca336df26e68192 + traceId: 82b856ce16e84dcd - request: method: POST uri: http://localhost:3000/api/v1/entities/workspaces diff --git a/gooddata-sdk/tests/catalog/fixtures/workspace_content/demo_store_declarative_analytics_model.yaml b/gooddata-sdk/tests/catalog/fixtures/workspace_content/demo_store_declarative_analytics_model.yaml index 5b4446d23..49c63f5c8 100644 --- a/gooddata-sdk/tests/catalog/fixtures/workspace_content/demo_store_declarative_analytics_model.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/workspace_content/demo_store_declarative_analytics_model.yaml @@ -1518,7 +1518,7 @@ interactions: attributes: name: Default Organization hostname: localhost - oauthClientId: 6d3ab384-9250-4c1e-956f-954018d69291 + oauthClientId: cd3baebd-ae96-417e-89e0-a5ea40e0ece4 links: self: http://localhost:3000/api/v1/entities/admin/organizations/default - request: @@ -3037,6 +3037,6 @@ interactions: attributes: name: Default Organization hostname: localhost - oauthClientId: 6d3ab384-9250-4c1e-956f-954018d69291 + oauthClientId: cd3baebd-ae96-417e-89e0-a5ea40e0ece4 links: self: http://localhost:3000/api/v1/entities/admin/organizations/default diff --git a/gooddata-sdk/tests/catalog/fixtures/workspace_content/demo_store_declarative_ldm.yaml b/gooddata-sdk/tests/catalog/fixtures/workspace_content/demo_store_declarative_ldm.yaml index 61ef22023..0ca6b7e8e 100644 --- a/gooddata-sdk/tests/catalog/fixtures/workspace_content/demo_store_declarative_ldm.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/workspace_content/demo_store_declarative_ldm.yaml @@ -478,7 +478,7 @@ interactions: attributes: name: Default Organization hostname: localhost - oauthClientId: 6d3ab384-9250-4c1e-956f-954018d69291 + oauthClientId: cd3baebd-ae96-417e-89e0-a5ea40e0ece4 links: self: http://localhost:3000/api/v1/entities/admin/organizations/default - request: @@ -957,6 +957,6 @@ interactions: attributes: name: Default Organization hostname: localhost - oauthClientId: 6d3ab384-9250-4c1e-956f-954018d69291 + oauthClientId: cd3baebd-ae96-417e-89e0-a5ea40e0ece4 links: self: http://localhost:3000/api/v1/entities/admin/organizations/default diff --git a/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_create_workspace.yaml b/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_create_workspace.yaml index 5d2c85aeb..777bdb56e 100644 --- a/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_create_workspace.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_create_workspace.yaml @@ -189,7 +189,7 @@ interactions: to access it. status: 404 title: Not Found - traceId: 83a475fd9c1b3830 + traceId: 5be9849ea18d7f9d - request: method: POST uri: http://localhost:3000/api/v1/entities/workspaces diff --git a/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_delete_workspace.yaml b/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_delete_workspace.yaml index 10ec0c837..5f346ba07 100644 --- a/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_delete_workspace.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_delete_workspace.yaml @@ -553,7 +553,7 @@ interactions: to access it. status: 404 title: Not Found - traceId: 16412fc7edd54b4a + traceId: bd7a8249f8870eaa - request: method: POST uri: http://localhost:3000/api/v1/entities/workspaces diff --git a/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_load_and_put_declarative_workspace.yaml b/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_load_and_put_declarative_workspace.yaml index c92d21658..d5e31e234 100644 --- a/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_load_and_put_declarative_workspace.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_load_and_put_declarative_workspace.yaml @@ -1930,7 +1930,7 @@ interactions: attributes: name: Default Organization hostname: localhost - oauthClientId: 6d3ab384-9250-4c1e-956f-954018d69291 + oauthClientId: cd3baebd-ae96-417e-89e0-a5ea40e0ece4 links: self: http://localhost:3000/api/v1/entities/admin/organizations/default - request: diff --git a/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_load_and_put_declarative_workspace_data_filters.yaml b/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_load_and_put_declarative_workspace_data_filters.yaml index e8f54dc8b..6b4b4def5 100644 --- a/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_load_and_put_declarative_workspace_data_filters.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_load_and_put_declarative_workspace_data_filters.yaml @@ -378,7 +378,7 @@ interactions: attributes: name: Default Organization hostname: localhost - oauthClientId: 6d3ab384-9250-4c1e-956f-954018d69291 + oauthClientId: cd3baebd-ae96-417e-89e0-a5ea40e0ece4 links: self: http://localhost:3000/api/v1/entities/admin/organizations/default - request: diff --git a/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_load_and_put_declarative_workspaces.yaml b/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_load_and_put_declarative_workspaces.yaml index dedd5419c..b8aa6321d 100644 --- a/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_load_and_put_declarative_workspaces.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_load_and_put_declarative_workspaces.yaml @@ -282,7 +282,7 @@ interactions: attributes: name: Default Organization hostname: localhost - oauthClientId: 6d3ab384-9250-4c1e-956f-954018d69291 + oauthClientId: cd3baebd-ae96-417e-89e0-a5ea40e0ece4 links: self: http://localhost:3000/api/v1/entities/admin/organizations/default - request: diff --git a/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_put_declarative_workspace.yaml b/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_put_declarative_workspace.yaml index 7a14c8591..af5ad76da 100644 --- a/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_put_declarative_workspace.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_put_declarative_workspace.yaml @@ -75,7 +75,7 @@ interactions: to access it. status: 404 title: Not Found - traceId: d632055b45f7ca6c + traceId: 1cedc0e4d95e295c - request: method: POST uri: http://localhost:3000/api/v1/entities/workspaces diff --git a/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_store_declarative_workspace.yaml b/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_store_declarative_workspace.yaml index 4a30ecb96..03ba12778 100644 --- a/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_store_declarative_workspace.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_store_declarative_workspace.yaml @@ -1785,7 +1785,7 @@ interactions: attributes: name: Default Organization hostname: localhost - oauthClientId: 6d3ab384-9250-4c1e-956f-954018d69291 + oauthClientId: cd3baebd-ae96-417e-89e0-a5ea40e0ece4 links: self: http://localhost:3000/api/v1/entities/admin/organizations/default - request: @@ -3571,6 +3571,6 @@ interactions: attributes: name: Default Organization hostname: localhost - oauthClientId: 6d3ab384-9250-4c1e-956f-954018d69291 + oauthClientId: cd3baebd-ae96-417e-89e0-a5ea40e0ece4 links: self: http://localhost:3000/api/v1/entities/admin/organizations/default diff --git a/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_store_declarative_workspace_data_filters.yaml b/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_store_declarative_workspace_data_filters.yaml index fb0cf655d..0db0fa3cd 100644 --- a/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_store_declarative_workspace_data_filters.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_store_declarative_workspace_data_filters.yaml @@ -338,7 +338,7 @@ interactions: attributes: name: Default Organization hostname: localhost - oauthClientId: 6d3ab384-9250-4c1e-956f-954018d69291 + oauthClientId: cd3baebd-ae96-417e-89e0-a5ea40e0ece4 links: self: http://localhost:3000/api/v1/entities/admin/organizations/default - request: @@ -481,6 +481,6 @@ interactions: attributes: name: Default Organization hostname: localhost - oauthClientId: 6d3ab384-9250-4c1e-956f-954018d69291 + oauthClientId: cd3baebd-ae96-417e-89e0-a5ea40e0ece4 links: self: http://localhost:3000/api/v1/entities/admin/organizations/default diff --git a/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_store_declarative_workspaces.yaml b/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_store_declarative_workspaces.yaml index 4a06ebe49..e2551f6b3 100644 --- a/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_store_declarative_workspaces.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_store_declarative_workspaces.yaml @@ -3612,7 +3612,7 @@ interactions: attributes: name: Default Organization hostname: localhost - oauthClientId: 6d3ab384-9250-4c1e-956f-954018d69291 + oauthClientId: cd3baebd-ae96-417e-89e0-a5ea40e0ece4 links: self: http://localhost:3000/api/v1/entities/admin/organizations/default - request: @@ -3755,6 +3755,6 @@ interactions: attributes: name: Default Organization hostname: localhost - oauthClientId: 6d3ab384-9250-4c1e-956f-954018d69291 + oauthClientId: cd3baebd-ae96-417e-89e0-a5ea40e0ece4 links: self: http://localhost:3000/api/v1/entities/admin/organizations/default diff --git a/gooddata-sdk/tests/table/fixtures/table_with_attribute_and_metric.yaml b/gooddata-sdk/tests/table/fixtures/table_with_attribute_and_metric.yaml index 3a7816238..19c05996f 100644 --- a/gooddata-sdk/tests/table/fixtures/table_with_attribute_and_metric.yaml +++ b/gooddata-sdk/tests/table/fixtures/table_with_attribute_and_metric.yaml @@ -124,10 +124,10 @@ interactions: name: Order Amount localIdentifier: dim_1 links: - executionResult: ed4b7fadf7864b58032017c757bfcdbdda4ceb2c + executionResult: bebd9128076c82143cbadeb800f655222504e09b - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/ed4b7fadf7864b58032017c757bfcdbdda4ceb2c?offset=0%2C0&limit=512%2C256 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/bebd9128076c82143cbadeb800f655222504e09b?offset=0%2C0&limit=512%2C256 body: null headers: Accept: diff --git a/gooddata-sdk/tests/table/fixtures/table_with_attribute_metric_and_filter.yaml b/gooddata-sdk/tests/table/fixtures/table_with_attribute_metric_and_filter.yaml index 3c0a01e73..8a8036370 100644 --- a/gooddata-sdk/tests/table/fixtures/table_with_attribute_metric_and_filter.yaml +++ b/gooddata-sdk/tests/table/fixtures/table_with_attribute_metric_and_filter.yaml @@ -131,10 +131,10 @@ interactions: name: Order Amount localIdentifier: dim_1 links: - executionResult: cc9ea5fd0e1f7d5fd72a9cdc2636e4fb9f824d12 + executionResult: 3a091d134f1fadc5ad990c2248748ba5daa1d4e1 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/cc9ea5fd0e1f7d5fd72a9cdc2636e4fb9f824d12?offset=0%2C0&limit=512%2C256 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/3a091d134f1fadc5ad990c2248748ba5daa1d4e1?offset=0%2C0&limit=512%2C256 body: null headers: Accept: diff --git a/gooddata-sdk/tests/table/fixtures/table_with_just_attribute.yaml b/gooddata-sdk/tests/table/fixtures/table_with_just_attribute.yaml index 6b54a5735..219a12895 100644 --- a/gooddata-sdk/tests/table/fixtures/table_with_just_attribute.yaml +++ b/gooddata-sdk/tests/table/fixtures/table_with_just_attribute.yaml @@ -106,10 +106,10 @@ interactions: type: label localIdentifier: dim_0 links: - executionResult: 63f2020a4068eeb60cbb45c3e4cf944d8076a137 + executionResult: f09a0a29bdd4872e5cd32c0128da0d1637431a86 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/63f2020a4068eeb60cbb45c3e4cf944d8076a137?offset=0&limit=512 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/f09a0a29bdd4872e5cd32c0128da0d1637431a86?offset=0&limit=512 body: null headers: Accept: diff --git a/gooddata-sdk/tests/table/fixtures/table_with_just_metric.yaml b/gooddata-sdk/tests/table/fixtures/table_with_just_metric.yaml index 07fc3a702..0b72a01f0 100644 --- a/gooddata-sdk/tests/table/fixtures/table_with_just_metric.yaml +++ b/gooddata-sdk/tests/table/fixtures/table_with_just_metric.yaml @@ -100,10 +100,10 @@ interactions: name: Order Amount localIdentifier: dim_0 links: - executionResult: ac04188046749fc5ebdea59046d6a9f90814e59b + executionResult: 941f70380893abf4c18b2f0805cdb2e0051f5441 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/ac04188046749fc5ebdea59046d6a9f90814e59b?offset=0&limit=256 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/941f70380893abf4c18b2f0805cdb2e0051f5441?offset=0&limit=256 body: null headers: Accept: diff --git a/schemas/gooddata-afm-client.json b/schemas/gooddata-afm-client.json index 6077f79e9..589f7fda1 100644 --- a/schemas/gooddata-afm-client.json +++ b/schemas/gooddata-afm-client.json @@ -422,6 +422,23 @@ ], "type": "object" }, + "AttributeFormat": { + "properties": { + "locale": { + "description": "Format locale", + "type": "string" + }, + "pattern": { + "description": "Format pattern", + "type": "string" + } + }, + "required": [ + "locale", + "pattern" + ], + "type": "object" + }, "AttributeHeaderOut": { "properties": { "attributeHeader": { @@ -432,6 +449,9 @@ "attributeName": { "type": "string" }, + "format": { + "$ref": "#/components/schemas/AttributeFormat" + }, "granularity": { "enum": [ "MINUTE", @@ -750,6 +770,30 @@ }, "type": "array" }, + "format": { + "$ref": "#/components/schemas/AttributeFormat" + }, + "granularity": { + "description": "Granularity of requested label in case of date attribute", + "enum": [ + "MINUTE", + "HOUR", + "DAY", + "WEEK", + "MONTH", + "QUARTER", + "YEAR", + "MINUTE_OF_HOUR", + "HOUR_OF_DAY", + "DAY_OF_WEEK", + "DAY_OF_MONTH", + "DAY_OF_YEAR", + "WEEK_OF_YEAR", + "MONTH_OF_YEAR", + "QUARTER_OF_YEAR" + ], + "type": "string" + }, "paging": { "$ref": "#/components/schemas/Paging" }, diff --git a/schemas/gooddata-api-client.json b/schemas/gooddata-api-client.json index df392050e..f307d3a3e 100644 --- a/schemas/gooddata-api-client.json +++ b/schemas/gooddata-api-client.json @@ -517,6 +517,23 @@ ], "type": "object" }, + "AttributeFormat": { + "properties": { + "locale": { + "description": "Format locale", + "type": "string" + }, + "pattern": { + "description": "Format pattern", + "type": "string" + } + }, + "required": [ + "locale", + "pattern" + ], + "type": "object" + }, "AttributeHeaderOut": { "properties": { "attributeHeader": { @@ -527,6 +544,9 @@ "attributeName": { "type": "string" }, + "format": { + "$ref": "#/components/schemas/AttributeFormat" + }, "granularity": { "enum": [ "MINUTE", @@ -1262,7 +1282,9 @@ "PRESTO", "DREMIO", "DRILL", - "GREENPLUM" + "GREENPLUM", + "AZURESQL", + "SYNAPSESQL" ], "example": "POSTGRESQL", "type": "string" @@ -1590,9 +1612,11 @@ "enum": [ "TEXT", "HYPERLINK", - "GEO" + "GEO", + "GEO_LONGITUDE", + "GEO_LATITUDE" ], - "example": "\"TEXT\" | \"HYPERLINK\" | \"GEO\"", + "example": "\"TEXT\" | \"HYPERLINK\" | \"GEO\" | \"GEO_LONGITUDE\" | \"GEO_LATITUDE\"", "type": "string" } }, @@ -2563,6 +2587,30 @@ }, "type": "array" }, + "format": { + "$ref": "#/components/schemas/AttributeFormat" + }, + "granularity": { + "description": "Granularity of requested label in case of date attribute", + "enum": [ + "MINUTE", + "HOUR", + "DAY", + "WEEK", + "MONTH", + "QUARTER", + "YEAR", + "MINUTE_OF_HOUR", + "HOUR_OF_DAY", + "DAY_OF_WEEK", + "DAY_OF_MONTH", + "DAY_OF_YEAR", + "WEEK_OF_YEAR", + "MONTH_OF_YEAR", + "QUARTER_OF_YEAR" + ], + "type": "string" + }, "paging": { "$ref": "#/components/schemas/Paging" }, @@ -4717,7 +4765,9 @@ "PRESTO", "DREMIO", "DRILL", - "GREENPLUM" + "GREENPLUM", + "AZURESQL", + "SYNAPSESQL" ], "type": "string" } @@ -4868,7 +4918,9 @@ "PRESTO", "DREMIO", "DRILL", - "GREENPLUM" + "GREENPLUM", + "AZURESQL", + "SYNAPSESQL" ], "type": "string" }, @@ -4989,7 +5041,9 @@ "PRESTO", "DREMIO", "DRILL", - "GREENPLUM" + "GREENPLUM", + "AZURESQL", + "SYNAPSESQL" ], "type": "string" }, @@ -5146,7 +5200,9 @@ "PRESTO", "DREMIO", "DRILL", - "GREENPLUM" + "GREENPLUM", + "AZURESQL", + "SYNAPSESQL" ], "type": "string" }, @@ -6176,7 +6232,9 @@ "enum": [ "TEXT", "HYPERLINK", - "GEO" + "GEO", + "GEO_LONGITUDE", + "GEO_LATITUDE" ], "type": "string" } @@ -10143,7 +10201,9 @@ "PRESTO", "DREMIO", "DRILL", - "GREENPLUM" + "GREENPLUM", + "AZURESQL", + "SYNAPSESQL" ], "example": "POSTGRESQL", "type": "string" @@ -10165,6 +10225,27 @@ ], "type": "object" }, + "TestQueryDuration": { + "description": "A structure containing duration of the test queries run on a data source. It is omitted if an error happens.", + "properties": { + "createCacheTable": { + "description": "Field containing duration of a test 'create table as select' query on a datasource. In milliseconds. The field is omitted if a data source doesn't support caching.", + "example": 235, + "format": "int32", + "type": "integer" + }, + "simpleSelect": { + "description": "Field containing duration of a test select query on a data source. In milliseconds.", + "example": 562, + "format": "int32", + "type": "integer" + } + }, + "required": [ + "simpleSelect" + ], + "type": "object" + }, "TestRequest": { "description": "A request containing all information for testing existing data source.", "properties": { @@ -10220,6 +10301,9 @@ "example": "Connection exception: Failed to initialize pool: FATAL: password authentication failed for user \"user\"", "type": "string" }, + "queryDurationMillis": { + "$ref": "#/components/schemas/TestQueryDuration" + }, "successful": { "description": "A flag indicating whether test passed or not.", "example": true, @@ -10469,6 +10553,10 @@ "An example of a successful connection": { "description": "An example of a successful connection", "value": { + "queryDurationMillis": { + "createCacheTable": 235, + "simpleSelect": 562 + }, "successful": true } }, @@ -10723,6 +10811,10 @@ "An example of a successful connection": { "description": "An example of a successful connection", "value": { + "queryDurationMillis": { + "createCacheTable": 235, + "simpleSelect": 562 + }, "successful": true } }, diff --git a/schemas/gooddata-metadata-client.json b/schemas/gooddata-metadata-client.json index 4f4a6427f..9a665d48e 100644 --- a/schemas/gooddata-metadata-client.json +++ b/schemas/gooddata-metadata-client.json @@ -534,7 +534,9 @@ "PRESTO", "DREMIO", "DRILL", - "GREENPLUM" + "GREENPLUM", + "AZURESQL", + "SYNAPSESQL" ], "example": "POSTGRESQL", "type": "string" @@ -862,9 +864,11 @@ "enum": [ "TEXT", "HYPERLINK", - "GEO" + "GEO", + "GEO_LONGITUDE", + "GEO_LATITUDE" ], - "example": "\"TEXT\" | \"HYPERLINK\" | \"GEO\"", + "example": "\"TEXT\" | \"HYPERLINK\" | \"GEO\" | \"GEO_LONGITUDE\" | \"GEO_LATITUDE\"", "type": "string" } }, @@ -3533,7 +3537,9 @@ "PRESTO", "DREMIO", "DRILL", - "GREENPLUM" + "GREENPLUM", + "AZURESQL", + "SYNAPSESQL" ], "type": "string" } @@ -3684,7 +3690,9 @@ "PRESTO", "DREMIO", "DRILL", - "GREENPLUM" + "GREENPLUM", + "AZURESQL", + "SYNAPSESQL" ], "type": "string" }, @@ -3805,7 +3813,9 @@ "PRESTO", "DREMIO", "DRILL", - "GREENPLUM" + "GREENPLUM", + "AZURESQL", + "SYNAPSESQL" ], "type": "string" }, @@ -3962,7 +3972,9 @@ "PRESTO", "DREMIO", "DRILL", - "GREENPLUM" + "GREENPLUM", + "AZURESQL", + "SYNAPSESQL" ], "type": "string" }, @@ -4992,7 +5004,9 @@ "enum": [ "TEXT", "HYPERLINK", - "GEO" + "GEO", + "GEO_LONGITUDE", + "GEO_LATITUDE" ], "type": "string" } diff --git a/schemas/gooddata-scan-client.json b/schemas/gooddata-scan-client.json index 272bfb73a..0e800bc50 100644 --- a/schemas/gooddata-scan-client.json +++ b/schemas/gooddata-scan-client.json @@ -296,7 +296,9 @@ "PRESTO", "DREMIO", "DRILL", - "GREENPLUM" + "GREENPLUM", + "AZURESQL", + "SYNAPSESQL" ], "example": "POSTGRESQL", "type": "string" @@ -318,6 +320,27 @@ ], "type": "object" }, + "TestQueryDuration": { + "description": "A structure containing duration of the test queries run on a data source. It is omitted if an error happens.", + "properties": { + "createCacheTable": { + "description": "Field containing duration of a test 'create table as select' query on a datasource. In milliseconds. The field is omitted if a data source doesn't support caching.", + "example": 235, + "format": "int32", + "type": "integer" + }, + "simpleSelect": { + "description": "Field containing duration of a test select query on a data source. In milliseconds.", + "example": 562, + "format": "int32", + "type": "integer" + } + }, + "required": [ + "simpleSelect" + ], + "type": "object" + }, "TestRequest": { "description": "A request containing all information for testing existing data source.", "properties": { @@ -373,6 +396,9 @@ "example": "Connection exception: Failed to initialize pool: FATAL: password authentication failed for user \"user\"", "type": "string" }, + "queryDurationMillis": { + "$ref": "#/components/schemas/TestQueryDuration" + }, "successful": { "description": "A flag indicating whether test passed or not.", "example": true, @@ -414,6 +440,10 @@ "An example of a successful connection": { "description": "An example of a successful connection", "value": { + "queryDurationMillis": { + "createCacheTable": 235, + "simpleSelect": 562 + }, "successful": true } }, @@ -620,6 +650,10 @@ "An example of a successful connection": { "description": "An example of a successful connection", "value": { + "queryDurationMillis": { + "createCacheTable": 235, + "simpleSelect": 562 + }, "successful": true } }, From aff826802e43b33aa76bfb1471d0c537061782d2 Mon Sep 17 00:00:00 2001 From: hkad98 Date: Mon, 14 Nov 2022 15:21:39 +0100 Subject: [PATCH 2/2] Comment Greenplum test --- gooddata-sdk/tests/catalog/test_catalog_data_source.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gooddata-sdk/tests/catalog/test_catalog_data_source.py b/gooddata-sdk/tests/catalog/test_catalog_data_source.py index eb82ac68b..5c82be960 100644 --- a/gooddata-sdk/tests/catalog/test_catalog_data_source.py +++ b/gooddata-sdk/tests/catalog/test_catalog_data_source.py @@ -15,7 +15,6 @@ BasicCredentials, CatalogDataSource, CatalogDataSourceBigQuery, - CatalogDataSourceGreenplum, CatalogDataSourcePostgres, CatalogDataSourceRedshift, CatalogDataSourceSnowflake, @@ -25,7 +24,6 @@ ExecutionDefinition, GoodDataApiClient, GoodDataSdk, - GreenplumAttributes, PostgresAttributes, RedshiftAttributes, SnowflakeAttributes, @@ -535,6 +533,8 @@ def test_pdm_store_load(test_config): assert loaded_pdm == pdm +""" +# TODO: commented because Greenplum is supported only for Cloud and it cannot be tested using Docker image. @gd_vcr.use_cassette(str(_fixtures_dir / "greenplum.yaml")) def test_catalog_create_data_source_greenplum_spec(test_config): sdk = GoodDataSdk.create(host_=test_config["host"], token_=test_config["token"]) @@ -554,6 +554,7 @@ def test_catalog_create_data_source_greenplum_spec(test_config): url_params=[("autosave", "true")], ), ) +""" def test_postgres_url_creation(test_config):