diff --git a/gooddata-api-client/.openapi-generator/FILES b/gooddata-api-client/.openapi-generator/FILES index e039fe2a2..2008ff8e1 100644 --- a/gooddata-api-client/.openapi-generator/FILES +++ b/gooddata-api-client/.openapi-generator/FILES @@ -81,6 +81,7 @@ docs/DeclarativeAnalyticalDashboardPermissionsInner.md docs/DeclarativeAnalytics.md docs/DeclarativeAnalyticsLayer.md docs/DeclarativeAttribute.md +docs/DeclarativeAttributeHierarchy.md docs/DeclarativeColorPalette.md docs/DeclarativeColumn.md docs/DeclarativeCspDirective.md @@ -664,6 +665,7 @@ docs/UserPermission.md docs/UserSettingsApi.md docs/UsersDeclarativeAPIsApi.md docs/UsersEntityAPIsApi.md +docs/ValidLabelElementsItem.md docs/VisualizationObjectApi.md docs/WorkspaceIdentifier.md docs/WorkspaceObjectControllerApi.md @@ -797,6 +799,7 @@ gooddata_api_client/model/declarative_analytical_dashboard_permissions_inner.py gooddata_api_client/model/declarative_analytics.py gooddata_api_client/model/declarative_analytics_layer.py gooddata_api_client/model/declarative_attribute.py +gooddata_api_client/model/declarative_attribute_hierarchy.py gooddata_api_client/model/declarative_color_palette.py gooddata_api_client/model/declarative_column.py gooddata_api_client/model/declarative_csp_directive.py @@ -1348,6 +1351,7 @@ gooddata_api_client/model/user_management_user_groups_item.py gooddata_api_client/model/user_management_users.py gooddata_api_client/model/user_management_users_item.py gooddata_api_client/model/user_permission.py +gooddata_api_client/model/valid_label_elements_item.py gooddata_api_client/model/workspace_identifier.py gooddata_api_client/model/workspace_permission_assignment.py gooddata_api_client/model/workspace_permission_assignments.py diff --git a/gooddata-api-client/README.md b/gooddata-api-client/README.md index 9e69b5f28..bfbf2a3fc 100644 --- a/gooddata-api-client/README.md +++ b/gooddata-api-client/README.md @@ -757,6 +757,7 @@ Class | Method | HTTP request | Description - [DeclarativeAnalytics](docs/DeclarativeAnalytics.md) - [DeclarativeAnalyticsLayer](docs/DeclarativeAnalyticsLayer.md) - [DeclarativeAttribute](docs/DeclarativeAttribute.md) + - [DeclarativeAttributeHierarchy](docs/DeclarativeAttributeHierarchy.md) - [DeclarativeColorPalette](docs/DeclarativeColorPalette.md) - [DeclarativeColumn](docs/DeclarativeColumn.md) - [DeclarativeCspDirective](docs/DeclarativeCspDirective.md) @@ -1308,6 +1309,7 @@ Class | Method | HTTP request | Description - [UserManagementUsers](docs/UserManagementUsers.md) - [UserManagementUsersItem](docs/UserManagementUsersItem.md) - [UserPermission](docs/UserPermission.md) + - [ValidLabelElementsItem](docs/ValidLabelElementsItem.md) - [WorkspaceIdentifier](docs/WorkspaceIdentifier.md) - [WorkspacePermissionAssignment](docs/WorkspacePermissionAssignment.md) - [WorkspacePermissionAssignments](docs/WorkspacePermissionAssignments.md) diff --git a/gooddata-api-client/docs/ActionsApi.md b/gooddata-api-client/docs/ActionsApi.md index 10698b3a3..542eb8695 100644 --- a/gooddata-api-client/docs/ActionsApi.md +++ b/gooddata-api-client/docs/ActionsApi.md @@ -359,7 +359,7 @@ with gooddata_api_client.ApiClient() as api_client: workspace_id = "/6bUUGjjNSwg0_bs" # str | Workspace identifier elements_request = ElementsRequest( complement_filter=False, - data_sampling_percentage=100.0, + data_sampling_percentage=100, depends_on=[ DependsOn( complement_filter=False, @@ -379,6 +379,12 @@ with gooddata_api_client.ApiClient() as api_client: label="label_id", pattern_filter="pattern_filter_example", sort_order="ASC", + valid_label_elements=[ + ValidLabelElementsItem( + id="id_example", + type="fact", + ), + ], ) # ElementsRequest | offset = 0 # int | Request page with this offset. Must be positive integer. The API is limited to the maximum of 10000 items. Therefore this parameter is limited to this number as well. (optional) if omitted the server will use the default value of 0 limit = 1000 # int | Return only this number of items. Must be positive integer. The API is limited to the maximum of 10000 items. Therefore this parameter is limited to this number as well. (optional) if omitted the server will use the default value of 1000 diff --git a/gooddata-api-client/docs/AnalyticsModelApi.md b/gooddata-api-client/docs/AnalyticsModelApi.md index 68e951658..8757e372a 100644 --- a/gooddata-api-client/docs/AnalyticsModelApi.md +++ b/gooddata-api-client/docs/AnalyticsModelApi.md @@ -148,6 +148,25 @@ with gooddata_api_client.ApiClient() as api_client: title="Revenues analysis", ), ], + attribute_hierarchies=[ + DeclarativeAttributeHierarchy( + content={}, + created_at="["2023-07-20 12:30"]", + created_by=DeclarativeUserIdentifier( + id="employee123", + type="user", + ), + description="Simple number for total goods in current production.", + id="hierarchy-1", + modified_at="["2023-07-20 12:30"]", + modified_by=DeclarativeUserIdentifier( + id="employee123", + type="user", + ), + tags=["Revenues"], + title="Count of goods", + ), + ], dashboard_plugins=[ DeclarativeDashboardPlugin( content={}, diff --git a/gooddata-api-client/docs/ColumnWarning.md b/gooddata-api-client/docs/ColumnWarning.md index 3df55082a..b3253cccd 100644 --- a/gooddata-api-client/docs/ColumnWarning.md +++ b/gooddata-api-client/docs/ColumnWarning.md @@ -5,8 +5,8 @@ Warning related to single column. ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**message** | **[str]** | Warning message related to the column. | -**name** | **[str]** | Column name. | +**message** | **str** | Warning message related to the column. | +**name** | **str** | Column name. | **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/ComputationApi.md b/gooddata-api-client/docs/ComputationApi.md index 60ee682b4..f7b612702 100644 --- a/gooddata-api-client/docs/ComputationApi.md +++ b/gooddata-api-client/docs/ComputationApi.md @@ -46,7 +46,7 @@ with gooddata_api_client.ApiClient() as api_client: workspace_id = "/6bUUGjjNSwg0_bs" # str | Workspace identifier elements_request = ElementsRequest( complement_filter=False, - data_sampling_percentage=100.0, + data_sampling_percentage=100, depends_on=[ DependsOn( complement_filter=False, @@ -66,6 +66,12 @@ with gooddata_api_client.ApiClient() as api_client: label="label_id", pattern_filter="pattern_filter_example", sort_order="ASC", + valid_label_elements=[ + ValidLabelElementsItem( + id="id_example", + type="fact", + ), + ], ) # ElementsRequest | offset = 0 # int | Request page with this offset. Must be positive integer. The API is limited to the maximum of 10000 items. Therefore this parameter is limited to this number as well. (optional) if omitted the server will use the default value of 0 limit = 1000 # int | Return only this number of items. Must be positive integer. The API is limited to the maximum of 10000 items. Therefore this parameter is limited to this number as well. (optional) if omitted the server will use the default value of 1000 diff --git a/gooddata-api-client/docs/DeclarativeAnalyticsLayer.md b/gooddata-api-client/docs/DeclarativeAnalyticsLayer.md index 9960df062..e5beeb5f4 100644 --- a/gooddata-api-client/docs/DeclarativeAnalyticsLayer.md +++ b/gooddata-api-client/docs/DeclarativeAnalyticsLayer.md @@ -6,6 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **analytical_dashboard_extensions** | [**[DeclarativeAnalyticalDashboardExtension]**](DeclarativeAnalyticalDashboardExtension.md) | A list of dashboard permissions assigned to a related dashboard. | [optional] **analytical_dashboards** | [**[DeclarativeAnalyticalDashboard]**](DeclarativeAnalyticalDashboard.md) | A list of analytical dashboards available in the model. | [optional] +**attribute_hierarchies** | [**[DeclarativeAttributeHierarchy]**](DeclarativeAttributeHierarchy.md) | A list of attribute hierarchies. | [optional] **dashboard_plugins** | [**[DeclarativeDashboardPlugin]**](DeclarativeDashboardPlugin.md) | A list of dashboard plugins available in the model. | [optional] **filter_contexts** | [**[DeclarativeFilterContext]**](DeclarativeFilterContext.md) | A list of filter contexts available in the model. | [optional] **metrics** | [**[DeclarativeMetric]**](DeclarativeMetric.md) | A list of metrics available in the model. | [optional] diff --git a/gooddata-api-client/docs/DeclarativeAttributeHierarchy.md b/gooddata-api-client/docs/DeclarativeAttributeHierarchy.md new file mode 100644 index 000000000..46fadd4b2 --- /dev/null +++ b/gooddata-api-client/docs/DeclarativeAttributeHierarchy.md @@ -0,0 +1,20 @@ +# DeclarativeAttributeHierarchy + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**content** | **{str: (bool, date, datetime, dict, float, int, list, str, none_type)}** | A definition of the metric in JSON format. | +**id** | **str** | Attribute hierarchy object ID. | +**title** | **str** | Attribute hierarchy object title. | +**created_at** | **str, none_type** | Time of the entity creation. | [optional] +**created_by** | [**DeclarativeUserIdentifier**](DeclarativeUserIdentifier.md) | | [optional] +**description** | **str** | Attribute hierarchy object description. | [optional] +**modified_at** | **str, none_type** | Time of the last entity modification. | [optional] +**modified_by** | [**DeclarativeUserIdentifier**](DeclarativeUserIdentifier.md) | | [optional] +**tags** | **[str]** | A list of tags. | [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/ElementsRequest.md b/gooddata-api-client/docs/ElementsRequest.md index cfc2d7345..4cc2fb2c6 100644 --- a/gooddata-api-client/docs/ElementsRequest.md +++ b/gooddata-api-client/docs/ElementsRequest.md @@ -6,13 +6,14 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **label** | **str** | Requested label. | **complement_filter** | **bool** | Inverse filters: * ```false``` - return items matching ```patternFilter``` and ```exactFilter``` * ```true``` - return items not matching ```patternFilter``` and ```exactFilter``` | [optional] if omitted the server will use the default value of False -**data_sampling_percentage** | **float** | Specifies percentage of source table data scanned during the computation. This field is deprecated and is no longer used during the elements computation. | [optional] if omitted the server will use the default value of 100.0 +**data_sampling_percentage** | **float** | Specifies percentage of source table data scanned during the computation. This field is deprecated and is no longer used during the elements computation. | [optional] if omitted the server will use the default value of 100 **depends_on** | [**[DependsOn]**](DependsOn.md) | Return only items, whose are not filtered out by the parent filters. | [optional] **exact_filter** | **[str, none_type]** | Return only items, whose ```label``` title exactly matches one of ```filter```. | [optional] **exclude_primary_label** | **bool** | Excludes items from the result that differ only by primary label * ```false``` - return items with distinct primary label * ```true``` - return items with distinct requested label | [optional] if omitted the server will use the default value of False **filter_by** | [**FilterBy**](FilterBy.md) | | [optional] **pattern_filter** | **str** | Return only items, whose ```label``` title case insensitively contains ```filter``` as substring. | [optional] **sort_order** | **str** | Sort order of returned items. Items are sorted by ```label``` title. If no sort order is specified then attribute's ```sortDirection``` is used, which is ASC by default | [optional] +**valid_label_elements** | [**[ValidLabelElementsItem]**](ValidLabelElementsItem.md) | Return only items, what are computable on metric. This feature is experimental. | [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 568fb9912..22994d72c 100644 --- a/gooddata-api-client/docs/LayoutApi.md +++ b/gooddata-api-client/docs/LayoutApi.md @@ -1529,6 +1529,25 @@ with gooddata_api_client.ApiClient() as api_client: title="Revenues analysis", ), ], + attribute_hierarchies=[ + DeclarativeAttributeHierarchy( + content={}, + created_at="["2023-07-20 12:30"]", + created_by=DeclarativeUserIdentifier( + id="employee123", + type="user", + ), + description="Simple number for total goods in current production.", + id="hierarchy-1", + modified_at="["2023-07-20 12:30"]", + modified_by=DeclarativeUserIdentifier( + id="employee123", + type="user", + ), + tags=["Revenues"], + title="Count of goods", + ), + ], dashboard_plugins=[ DeclarativeDashboardPlugin( content={}, @@ -1828,6 +1847,25 @@ with gooddata_api_client.ApiClient() as api_client: title="Revenues analysis", ), ], + attribute_hierarchies=[ + DeclarativeAttributeHierarchy( + content={}, + created_at="["2023-07-20 12:30"]", + created_by=DeclarativeUserIdentifier( + id="employee123", + type="user", + ), + description="Simple number for total goods in current production.", + id="hierarchy-1", + modified_at="["2023-07-20 12:30"]", + modified_by=DeclarativeUserIdentifier( + id="employee123", + type="user", + ), + tags=["Revenues"], + title="Count of goods", + ), + ], dashboard_plugins=[ DeclarativeDashboardPlugin( content={}, @@ -2386,6 +2424,25 @@ with gooddata_api_client.ApiClient() as api_client: title="Revenues analysis", ), ], + attribute_hierarchies=[ + DeclarativeAttributeHierarchy( + content={}, + created_at="["2023-07-20 12:30"]", + created_by=DeclarativeUserIdentifier( + id="employee123", + type="user", + ), + description="Simple number for total goods in current production.", + id="hierarchy-1", + modified_at="["2023-07-20 12:30"]", + modified_by=DeclarativeUserIdentifier( + id="employee123", + type="user", + ), + tags=["Revenues"], + title="Count of goods", + ), + ], dashboard_plugins=[ DeclarativeDashboardPlugin( content={}, @@ -3266,6 +3323,25 @@ with gooddata_api_client.ApiClient() as api_client: title="Revenues analysis", ), ], + attribute_hierarchies=[ + DeclarativeAttributeHierarchy( + content={}, + created_at="["2023-07-20 12:30"]", + created_by=DeclarativeUserIdentifier( + id="employee123", + type="user", + ), + description="Simple number for total goods in current production.", + id="hierarchy-1", + modified_at="["2023-07-20 12:30"]", + modified_by=DeclarativeUserIdentifier( + id="employee123", + type="user", + ), + tags=["Revenues"], + title="Count of goods", + ), + ], dashboard_plugins=[ DeclarativeDashboardPlugin( content={}, diff --git a/gooddata-api-client/docs/OrganizationDeclarativeAPIsApi.md b/gooddata-api-client/docs/OrganizationDeclarativeAPIsApi.md index 519d8fe91..6e7e51fd4 100644 --- a/gooddata-api-client/docs/OrganizationDeclarativeAPIsApi.md +++ b/gooddata-api-client/docs/OrganizationDeclarativeAPIsApi.md @@ -328,6 +328,25 @@ with gooddata_api_client.ApiClient() as api_client: title="Revenues analysis", ), ], + attribute_hierarchies=[ + DeclarativeAttributeHierarchy( + content={}, + created_at="["2023-07-20 12:30"]", + created_by=DeclarativeUserIdentifier( + id="employee123", + type="user", + ), + description="Simple number for total goods in current production.", + id="hierarchy-1", + modified_at="["2023-07-20 12:30"]", + modified_by=DeclarativeUserIdentifier( + id="employee123", + type="user", + ), + tags=["Revenues"], + title="Count of goods", + ), + ], dashboard_plugins=[ DeclarativeDashboardPlugin( content={}, diff --git a/gooddata-api-client/docs/TableWarning.md b/gooddata-api-client/docs/TableWarning.md index 6ba1e02ca..7d3b06eca 100644 --- a/gooddata-api-client/docs/TableWarning.md +++ b/gooddata-api-client/docs/TableWarning.md @@ -6,8 +6,8 @@ Warnings related to single table. Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **columns** | [**[ColumnWarning]**](ColumnWarning.md) | | -**name** | **[str]** | Table name. | -**message** | **[str]** | Warning message related to the table. | [optional] +**name** | **str** | Table name. | +**message** | **str** | Warning message related to the table. | [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/ValidLabelElementsItem.md b/gooddata-api-client/docs/ValidLabelElementsItem.md new file mode 100644 index 000000000..25cf82724 --- /dev/null +++ b/gooddata-api-client/docs/ValidLabelElementsItem.md @@ -0,0 +1,13 @@ +# ValidLabelElementsItem + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**id** | **str** | Specifies entity used for valid elements computation. | +**type** | **str** | Specifies entity type which could be label, attribute, fact, or metric. | +**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/WorkspacesDeclarativeAPIsApi.md b/gooddata-api-client/docs/WorkspacesDeclarativeAPIsApi.md index fd02598e7..42c025bf4 100644 --- a/gooddata-api-client/docs/WorkspacesDeclarativeAPIsApi.md +++ b/gooddata-api-client/docs/WorkspacesDeclarativeAPIsApi.md @@ -220,6 +220,25 @@ with gooddata_api_client.ApiClient() as api_client: title="Revenues analysis", ), ], + attribute_hierarchies=[ + DeclarativeAttributeHierarchy( + content={}, + created_at="["2023-07-20 12:30"]", + created_by=DeclarativeUserIdentifier( + id="employee123", + type="user", + ), + description="Simple number for total goods in current production.", + id="hierarchy-1", + modified_at="["2023-07-20 12:30"]", + modified_by=DeclarativeUserIdentifier( + id="employee123", + type="user", + ), + tags=["Revenues"], + title="Count of goods", + ), + ], dashboard_plugins=[ DeclarativeDashboardPlugin( content={}, @@ -565,6 +584,25 @@ with gooddata_api_client.ApiClient() as api_client: title="Revenues analysis", ), ], + attribute_hierarchies=[ + DeclarativeAttributeHierarchy( + content={}, + created_at="["2023-07-20 12:30"]", + created_by=DeclarativeUserIdentifier( + id="employee123", + type="user", + ), + description="Simple number for total goods in current production.", + id="hierarchy-1", + modified_at="["2023-07-20 12:30"]", + modified_by=DeclarativeUserIdentifier( + id="employee123", + type="user", + ), + tags=["Revenues"], + title="Count of goods", + ), + ], dashboard_plugins=[ DeclarativeDashboardPlugin( content={}, diff --git a/gooddata-api-client/gooddata_api_client/model/column_warning.py b/gooddata-api-client/gooddata_api_client/model/column_warning.py index df026e612..c12188a33 100644 --- a/gooddata-api-client/gooddata_api_client/model/column_warning.py +++ b/gooddata-api-client/gooddata_api_client/model/column_warning.py @@ -82,8 +82,8 @@ def openapi_types(): and the value is attribute type. """ return { - 'message': ([str],), # noqa: E501 - 'name': ([str],), # noqa: E501 + 'message': (str,), # noqa: E501 + 'name': (str,), # noqa: E501 } @cached_property @@ -107,8 +107,8 @@ def _from_openapi_data(cls, message, name, *args, **kwargs): # noqa: E501 """ColumnWarning - a model defined in OpenAPI Args: - message ([str]): Warning message related to the column. - name ([str]): Column name. + message (str): Warning message related to the column. + name (str): Column name. Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -198,8 +198,8 @@ def __init__(self, message, name, *args, **kwargs): # noqa: E501 """ColumnWarning - a model defined in OpenAPI Args: - message ([str]): Warning message related to the column. - name ([str]): Column name. + message (str): Warning message related to the column. + name (str): Column name. Keyword Args: _check_type (bool): if True, values for parameters in openapi_types diff --git a/gooddata-api-client/gooddata_api_client/model/declarative_analytics_layer.py b/gooddata-api-client/gooddata_api_client/model/declarative_analytics_layer.py index 4e50eba44..46a01de46 100644 --- a/gooddata-api-client/gooddata_api_client/model/declarative_analytics_layer.py +++ b/gooddata-api-client/gooddata_api_client/model/declarative_analytics_layer.py @@ -33,12 +33,14 @@ def lazy_import(): from gooddata_api_client.model.declarative_analytical_dashboard import DeclarativeAnalyticalDashboard from gooddata_api_client.model.declarative_analytical_dashboard_extension import DeclarativeAnalyticalDashboardExtension + from gooddata_api_client.model.declarative_attribute_hierarchy import DeclarativeAttributeHierarchy from gooddata_api_client.model.declarative_dashboard_plugin import DeclarativeDashboardPlugin from gooddata_api_client.model.declarative_filter_context import DeclarativeFilterContext from gooddata_api_client.model.declarative_metric import DeclarativeMetric from gooddata_api_client.model.declarative_visualization_object import DeclarativeVisualizationObject globals()['DeclarativeAnalyticalDashboard'] = DeclarativeAnalyticalDashboard globals()['DeclarativeAnalyticalDashboardExtension'] = DeclarativeAnalyticalDashboardExtension + globals()['DeclarativeAttributeHierarchy'] = DeclarativeAttributeHierarchy globals()['DeclarativeDashboardPlugin'] = DeclarativeDashboardPlugin globals()['DeclarativeFilterContext'] = DeclarativeFilterContext globals()['DeclarativeMetric'] = DeclarativeMetric @@ -100,6 +102,7 @@ def openapi_types(): return { 'analytical_dashboard_extensions': ([DeclarativeAnalyticalDashboardExtension],), # noqa: E501 'analytical_dashboards': ([DeclarativeAnalyticalDashboard],), # noqa: E501 + 'attribute_hierarchies': ([DeclarativeAttributeHierarchy],), # noqa: E501 'dashboard_plugins': ([DeclarativeDashboardPlugin],), # noqa: E501 'filter_contexts': ([DeclarativeFilterContext],), # noqa: E501 'metrics': ([DeclarativeMetric],), # noqa: E501 @@ -114,6 +117,7 @@ def discriminator(): attribute_map = { 'analytical_dashboard_extensions': 'analyticalDashboardExtensions', # noqa: E501 'analytical_dashboards': 'analyticalDashboards', # noqa: E501 + 'attribute_hierarchies': 'attributeHierarchies', # noqa: E501 'dashboard_plugins': 'dashboardPlugins', # noqa: E501 'filter_contexts': 'filterContexts', # noqa: E501 'metrics': 'metrics', # noqa: E501 @@ -163,6 +167,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 _visited_composed_classes = (Animal,) analytical_dashboard_extensions ([DeclarativeAnalyticalDashboardExtension]): A list of dashboard permissions assigned to a related dashboard.. [optional] # noqa: E501 analytical_dashboards ([DeclarativeAnalyticalDashboard]): A list of analytical dashboards available in the model.. [optional] # noqa: E501 + attribute_hierarchies ([DeclarativeAttributeHierarchy]): A list of attribute hierarchies.. [optional] # noqa: E501 dashboard_plugins ([DeclarativeDashboardPlugin]): A list of dashboard plugins available in the model.. [optional] # noqa: E501 filter_contexts ([DeclarativeFilterContext]): A list of filter contexts available in the model.. [optional] # noqa: E501 metrics ([DeclarativeMetric]): A list of metrics available in the model.. [optional] # noqa: E501 @@ -254,6 +259,7 @@ def __init__(self, *args, **kwargs): # noqa: E501 _visited_composed_classes = (Animal,) analytical_dashboard_extensions ([DeclarativeAnalyticalDashboardExtension]): A list of dashboard permissions assigned to a related dashboard.. [optional] # noqa: E501 analytical_dashboards ([DeclarativeAnalyticalDashboard]): A list of analytical dashboards available in the model.. [optional] # noqa: E501 + attribute_hierarchies ([DeclarativeAttributeHierarchy]): A list of attribute hierarchies.. [optional] # noqa: E501 dashboard_plugins ([DeclarativeDashboardPlugin]): A list of dashboard plugins available in the model.. [optional] # noqa: E501 filter_contexts ([DeclarativeFilterContext]): A list of filter contexts available in the model.. [optional] # noqa: E501 metrics ([DeclarativeMetric]): A list of metrics available in the model.. [optional] # noqa: E501 diff --git a/gooddata-api-client/gooddata_api_client/model/declarative_attribute_hierarchy.py b/gooddata-api-client/gooddata_api_client/model/declarative_attribute_hierarchy.py new file mode 100644 index 000000000..d042a47fc --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/declarative_attribute_hierarchy.py @@ -0,0 +1,335 @@ +""" + 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 + + +def lazy_import(): + from gooddata_api_client.model.declarative_user_identifier import DeclarativeUserIdentifier + globals()['DeclarativeUserIdentifier'] = DeclarativeUserIdentifier + + +class DeclarativeAttributeHierarchy(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 = { + ('id',): { + 'regex': { + 'pattern': r'^(?!\.)[.A-Za-z0-9_-]{1,255}$', # noqa: E501 + }, + }, + ('title',): { + 'max_length': 255, + }, + ('created_at',): { + 'regex': { + 'pattern': r'[0-9]{4}-[0-9]{2}-[0-9]{2} [0-9]{2}:[0-9]{2}', # noqa: E501 + }, + }, + ('description',): { + 'max_length': 10000, + }, + ('modified_at',): { + 'regex': { + 'pattern': r'[0-9]{4}-[0-9]{2}-[0-9]{2} [0-9]{2}:[0-9]{2}', # noqa: E501 + }, + }, + ('tags',): { + }, + } + + @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 + """ + lazy_import() + 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. + """ + lazy_import() + return { + 'content': ({str: (bool, date, datetime, dict, float, int, list, str, none_type)},), # noqa: E501 + 'id': (str,), # noqa: E501 + 'title': (str,), # noqa: E501 + 'created_at': (str, none_type,), # noqa: E501 + 'created_by': (DeclarativeUserIdentifier,), # noqa: E501 + 'description': (str,), # noqa: E501 + 'modified_at': (str, none_type,), # noqa: E501 + 'modified_by': (DeclarativeUserIdentifier,), # noqa: E501 + 'tags': ([str],), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'content': 'content', # noqa: E501 + 'id': 'id', # noqa: E501 + 'title': 'title', # noqa: E501 + 'created_at': 'createdAt', # noqa: E501 + 'created_by': 'createdBy', # noqa: E501 + 'description': 'description', # noqa: E501 + 'modified_at': 'modifiedAt', # noqa: E501 + 'modified_by': 'modifiedBy', # noqa: E501 + 'tags': 'tags', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, content, id, title, *args, **kwargs): # noqa: E501 + """DeclarativeAttributeHierarchy - a model defined in OpenAPI + + Args: + content ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}): A definition of the metric in JSON format. + id (str): Attribute hierarchy object ID. + title (str): Attribute hierarchy object title. + + 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,) + created_at (str, none_type): Time of the entity creation.. [optional] # noqa: E501 + created_by (DeclarativeUserIdentifier): [optional] # noqa: E501 + description (str): Attribute hierarchy object description.. [optional] # noqa: E501 + modified_at (str, none_type): Time of the last entity modification.. [optional] # noqa: E501 + modified_by (DeclarativeUserIdentifier): [optional] # noqa: E501 + tags ([str]): A list of tags.. [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.content = content + self.id = id + self.title = title + 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, content, id, title, *args, **kwargs): # noqa: E501 + """DeclarativeAttributeHierarchy - a model defined in OpenAPI + + Args: + content ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}): A definition of the metric in JSON format. + id (str): Attribute hierarchy object ID. + title (str): Attribute hierarchy object title. + + 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,) + created_at (str, none_type): Time of the entity creation.. [optional] # noqa: E501 + created_by (DeclarativeUserIdentifier): [optional] # noqa: E501 + description (str): Attribute hierarchy object description.. [optional] # noqa: E501 + modified_at (str, none_type): Time of the last entity modification.. [optional] # noqa: E501 + modified_by (DeclarativeUserIdentifier): [optional] # noqa: E501 + tags ([str]): A list of tags.. [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.content = content + self.id = id + self.title = title + 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/elements_request.py b/gooddata-api-client/gooddata_api_client/model/elements_request.py index 59b2f9f77..f20e434d7 100644 --- a/gooddata-api-client/gooddata_api_client/model/elements_request.py +++ b/gooddata-api-client/gooddata_api_client/model/elements_request.py @@ -33,8 +33,10 @@ def lazy_import(): from gooddata_api_client.model.depends_on import DependsOn from gooddata_api_client.model.filter_by import FilterBy + from gooddata_api_client.model.valid_label_elements_item import ValidLabelElementsItem globals()['DependsOn'] = DependsOn globals()['FilterBy'] = FilterBy + globals()['ValidLabelElementsItem'] = ValidLabelElementsItem class ElementsRequest(ModelNormal): @@ -108,6 +110,7 @@ def openapi_types(): 'filter_by': (FilterBy,), # noqa: E501 'pattern_filter': (str,), # noqa: E501 'sort_order': (str,), # noqa: E501 + 'valid_label_elements': ([ValidLabelElementsItem],), # noqa: E501 } @cached_property @@ -125,6 +128,7 @@ def discriminator(): 'filter_by': 'filterBy', # noqa: E501 'pattern_filter': 'patternFilter', # noqa: E501 'sort_order': 'sortOrder', # noqa: E501 + 'valid_label_elements': 'validLabelElements', # noqa: E501 } read_only_vars = { @@ -172,13 +176,14 @@ def _from_openapi_data(cls, label, *args, **kwargs): # noqa: E501 through its discriminator because we passed in _visited_composed_classes = (Animal,) complement_filter (bool): Inverse filters: * ```false``` - return items matching ```patternFilter``` and ```exactFilter``` * ```true``` - return items not matching ```patternFilter``` and ```exactFilter```. [optional] if omitted the server will use the default value of False # noqa: E501 - data_sampling_percentage (float): Specifies percentage of source table data scanned during the computation. This field is deprecated and is no longer used during the elements computation.. [optional] if omitted the server will use the default value of 100.0 # noqa: E501 + data_sampling_percentage (float): Specifies percentage of source table data scanned during the computation. This field is deprecated and is no longer used during the elements computation.. [optional] if omitted the server will use the default value of 100 # noqa: E501 depends_on ([DependsOn]): Return only items, whose are not filtered out by the parent filters.. [optional] # noqa: E501 exact_filter ([str, none_type]): Return only items, whose ```label``` title exactly matches one of ```filter```.. [optional] # noqa: E501 exclude_primary_label (bool): Excludes items from the result that differ only by primary label * ```false``` - return items with distinct primary label * ```true``` - return items with distinct requested label. [optional] if omitted the server will use the default value of False # noqa: E501 filter_by (FilterBy): [optional] # noqa: E501 pattern_filter (str): Return only items, whose ```label``` title case insensitively contains ```filter``` as substring.. [optional] # noqa: E501 sort_order (str): Sort order of returned items. Items are sorted by ```label``` title. If no sort order is specified then attribute's ```sortDirection``` is used, which is ASC by default. [optional] # noqa: E501 + valid_label_elements ([ValidLabelElementsItem]): Return only items, what are computable on metric. This feature is experimental.. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -269,13 +274,14 @@ def __init__(self, label, *args, **kwargs): # noqa: E501 through its discriminator because we passed in _visited_composed_classes = (Animal,) complement_filter (bool): Inverse filters: * ```false``` - return items matching ```patternFilter``` and ```exactFilter``` * ```true``` - return items not matching ```patternFilter``` and ```exactFilter```. [optional] if omitted the server will use the default value of False # noqa: E501 - data_sampling_percentage (float): Specifies percentage of source table data scanned during the computation. This field is deprecated and is no longer used during the elements computation.. [optional] if omitted the server will use the default value of 100.0 # noqa: E501 + data_sampling_percentage (float): Specifies percentage of source table data scanned during the computation. This field is deprecated and is no longer used during the elements computation.. [optional] if omitted the server will use the default value of 100 # noqa: E501 depends_on ([DependsOn]): Return only items, whose are not filtered out by the parent filters.. [optional] # noqa: E501 exact_filter ([str, none_type]): Return only items, whose ```label``` title exactly matches one of ```filter```.. [optional] # noqa: E501 exclude_primary_label (bool): Excludes items from the result that differ only by primary label * ```false``` - return items with distinct primary label * ```true``` - return items with distinct requested label. [optional] if omitted the server will use the default value of False # noqa: E501 filter_by (FilterBy): [optional] # noqa: E501 pattern_filter (str): Return only items, whose ```label``` title case insensitively contains ```filter``` as substring.. [optional] # noqa: E501 sort_order (str): Sort order of returned items. Items are sorted by ```label``` title. If no sort order is specified then attribute's ```sortDirection``` is used, which is ASC by default. [optional] # noqa: E501 + valid_label_elements ([ValidLabelElementsItem]): Return only items, what are computable on metric. This feature is experimental.. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/gooddata-api-client/gooddata_api_client/model/table_warning.py b/gooddata-api-client/gooddata_api_client/model/table_warning.py index 83fb5aac0..27d807d49 100644 --- a/gooddata-api-client/gooddata_api_client/model/table_warning.py +++ b/gooddata-api-client/gooddata_api_client/model/table_warning.py @@ -89,8 +89,8 @@ def openapi_types(): lazy_import() return { 'columns': ([ColumnWarning],), # noqa: E501 - 'name': ([str],), # noqa: E501 - 'message': ([str],), # noqa: E501 + 'name': (str,), # noqa: E501 + 'message': (str,), # noqa: E501 } @cached_property @@ -116,7 +116,7 @@ def _from_openapi_data(cls, columns, name, *args, **kwargs): # noqa: E501 Args: columns ([ColumnWarning]): - name ([str]): Table name. + name (str): Table name. Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -149,7 +149,7 @@ def _from_openapi_data(cls, columns, name, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - message ([str]): Warning message related to the table.. [optional] # noqa: E501 + message (str): Warning message related to the table.. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -208,7 +208,7 @@ def __init__(self, columns, name, *args, **kwargs): # noqa: E501 Args: columns ([ColumnWarning]): - name ([str]): Table name. + name (str): Table name. Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -241,7 +241,7 @@ def __init__(self, columns, name, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - message ([str]): Warning message related to the table.. [optional] # noqa: E501 + message (str): Warning message related to the table.. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/gooddata-api-client/gooddata_api_client/model/valid_label_elements_item.py b/gooddata-api-client/gooddata_api_client/model/valid_label_elements_item.py new file mode 100644 index 000000000..5e89734d7 --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/valid_label_elements_item.py @@ -0,0 +1,281 @@ +""" + 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 ValidLabelElementsItem(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 = { + ('type',): { + 'regex': { + 'pattern': r'^(label)|(attribute)|(fact)|(metric)$', # noqa: E501 + }, + }, + } + + @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 = True + + @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 { + 'id': (str,), # noqa: E501 + 'type': (str,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'id': 'id', # noqa: E501 + 'type': 'type', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, id, type, *args, **kwargs): # noqa: E501 + """ValidLabelElementsItem - a model defined in OpenAPI + + Args: + id (str): Specifies entity used for valid elements computation. + type (str): Specifies entity type which could be label, attribute, fact, or metric. + + 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.id = id + self.type = type + 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, id, type, *args, **kwargs): # noqa: E501 + """ValidLabelElementsItem - a model defined in OpenAPI + + Args: + id (str): Specifies entity used for valid elements computation. + type (str): Specifies entity type which could be label, attribute, fact, or metric. + + 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.id = id + self.type = type + 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/models/__init__.py b/gooddata-api-client/gooddata_api_client/models/__init__.py index 72107b5b4..ae4564125 100644 --- a/gooddata-api-client/gooddata_api_client/models/__init__.py +++ b/gooddata-api-client/gooddata_api_client/models/__init__.py @@ -73,6 +73,7 @@ from gooddata_api_client.model.declarative_analytics import DeclarativeAnalytics from gooddata_api_client.model.declarative_analytics_layer import DeclarativeAnalyticsLayer from gooddata_api_client.model.declarative_attribute import DeclarativeAttribute +from gooddata_api_client.model.declarative_attribute_hierarchy import DeclarativeAttributeHierarchy from gooddata_api_client.model.declarative_color_palette import DeclarativeColorPalette from gooddata_api_client.model.declarative_column import DeclarativeColumn from gooddata_api_client.model.declarative_csp_directive import DeclarativeCspDirective @@ -624,6 +625,7 @@ from gooddata_api_client.model.user_management_users import UserManagementUsers from gooddata_api_client.model.user_management_users_item import UserManagementUsersItem from gooddata_api_client.model.user_permission import UserPermission +from gooddata_api_client.model.valid_label_elements_item import ValidLabelElementsItem from gooddata_api_client.model.workspace_identifier import WorkspaceIdentifier from gooddata_api_client.model.workspace_permission_assignment import WorkspacePermissionAssignment from gooddata_api_client.model.workspace_permission_assignments import WorkspacePermissionAssignments 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 da14aebe9..23c8c8274 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 @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: @@ -184,10 +184,10 @@ interactions: name: Revenue localIdentifier: dim_1 links: - executionResult: 05bff6335aee826aac5b9822ad5b5ee98bd046d0 + executionResult: b9b5bb5d6d176163d9aeb2d546473f3a6fe1efb2 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/05bff6335aee826aac5b9822ad5b5ee98bd046d0?offset=0%2C0&limit=512%2C256 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/b9b5bb5d6d176163d9aeb2d546473f3a6fe1efb2?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 a6883a481..5265b861d 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 @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: @@ -140,10 +140,10 @@ interactions: name: Revenue localIdentifier: dim_0 links: - executionResult: 529312d135f9c47f906666a0c1fe9a0350eabfe4 + executionResult: 8114a159b4e8376aaa83e7a7f8d88bf260148661 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/529312d135f9c47f906666a0c1fe9a0350eabfe4?offset=0&limit=256 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/8114a159b4e8376aaa83e7a7f8d88bf260148661?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 22d2a46da..98f20ac0f 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 @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: @@ -141,10 +141,10 @@ interactions: name: Revenue localIdentifier: dim_1 links: - executionResult: ac72b7829fe61d6038377046145c4f2e3bdf66f8 + executionResult: 22e46c935be291ec8b185eaaf5a10c5efbb0d7be - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/ac72b7829fe61d6038377046145c4f2e3bdf66f8?offset=0%2C0&limit=512%2C256 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/22e46c935be291ec8b185eaaf5a10c5efbb0d7be?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 91d0c2fe8..fb996917c 100644 --- a/gooddata-fdw/tests/execute/fixtures/execute_insight_all_columns.yaml +++ b/gooddata-fdw/tests/execute/fixtures/execute_insight_all_columns.yaml @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: @@ -70,7 +70,6 @@ interactions: - Access-Control-Request-Headers X-Content-Type-Options: - nosniff - X-GDC-TRACE-ID: *id001 X-XSS-Protection: - 1 ; mode=block body: @@ -174,7 +173,7 @@ interactions: direction: asc version: '2' visualizationUrl: local:table - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 relationships: createdBy: data: @@ -221,7 +220,7 @@ interactions: attributes: title: Revenue description: '' - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} @@ -274,7 +273,7 @@ interactions: type: metric attributes: title: '% Revenue in Category' - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, @@ -478,10 +477,10 @@ interactions: name: Revenue localIdentifier: dim_1 links: - executionResult: fe49123b2977902e74c42b95fc55361a94136889 + executionResult: 2cdd20b517a275e9f7d43d03aa0a9e383698762b - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/fe49123b2977902e74c42b95fc55361a94136889?offset=0%2C0&limit=512%2C256 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/2cdd20b517a275e9f7d43d03aa0a9e383698762b?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 91d0c2fe8..6e46144e7 100644 --- a/gooddata-fdw/tests/execute/fixtures/execute_insight_some_columns.yaml +++ b/gooddata-fdw/tests/execute/fixtures/execute_insight_some_columns.yaml @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: @@ -174,7 +174,7 @@ interactions: direction: asc version: '2' visualizationUrl: local:table - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 relationships: createdBy: data: @@ -221,7 +221,7 @@ interactions: attributes: title: Revenue description: '' - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} @@ -274,7 +274,7 @@ interactions: type: metric attributes: title: '% Revenue in Category' - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, @@ -478,10 +478,10 @@ interactions: name: Revenue localIdentifier: dim_1 links: - executionResult: fe49123b2977902e74c42b95fc55361a94136889 + executionResult: 2cdd20b517a275e9f7d43d03aa0a9e383698762b - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/fe49123b2977902e74c42b95fc55361a94136889?offset=0%2C0&limit=512%2C256 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/2cdd20b517a275e9f7d43d03aa0a9e383698762b?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 edbefbbe6..6dd45fb17 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 @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: @@ -542,10 +542,10 @@ interactions: type: dataset labels: data: - - id: geo__state__location - type: label - id: state type: label + - id: geo__state__location + type: label links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state meta: @@ -616,50 +616,50 @@ interactions: type: attribute referenceProperties: - identifier: - id: campaigns + id: customers type: dataset multivalue: false sources: - - column: campaign_id + - column: customer_id dataType: INT target: - id: campaign_id + id: customer_id type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: - id: date + id: products type: dataset multivalue: false sources: - - column: date - dataType: DATE + - column: product_id + dataType: INT target: - id: date - type: date + id: product_id + type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: - id: customers + id: date type: dataset multivalue: false sources: - - column: customer_id - dataType: INT + - column: date + dataType: DATE target: - id: customer_id - type: attribute + id: date + type: date sourceColumns: null sourceColumnDataTypes: null - identifier: - id: products + id: campaigns type: dataset multivalue: false sources: - - column: product_id + - column: campaign_id dataType: INT target: - id: product_id + id: campaign_id type: attribute sourceColumns: null sourceColumnDataTypes: null @@ -1121,12 +1121,12 @@ interactions: relationships: attributes: data: - - id: type - type: attribute - id: campaign_channel_id type: attribute - id: campaign_channels.category type: attribute + - id: type + type: attribute facts: data: - id: spend @@ -1158,10 +1158,10 @@ interactions: relationships: attributes: data: - - id: campaign_id - type: attribute - id: campaign_name type: attribute + - id: campaign_id + type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaigns meta: @@ -1187,14 +1187,14 @@ interactions: relationships: attributes: data: - - id: customer_name - type: attribute - - id: region - type: attribute - id: customer_id type: attribute + - id: customer_name + type: attribute - id: state type: attribute + - id: region + type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/customers meta: @@ -1214,12 +1214,12 @@ interactions: data: - id: date.month type: attribute - - id: date.week - type: attribute - id: date.day type: attribute - id: date.quarter type: attribute + - id: date.week + type: attribute - id: date.year type: attribute links: @@ -1240,50 +1240,50 @@ interactions: type: attribute referenceProperties: - identifier: - id: campaigns + id: customers type: dataset multivalue: false sources: - - column: campaign_id + - column: customer_id dataType: INT target: - id: campaign_id + id: customer_id type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: - id: date + id: products type: dataset multivalue: false sources: - - column: date - dataType: DATE + - column: product_id + dataType: INT target: - id: date - type: date + id: product_id + type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: - id: customers + id: date type: dataset multivalue: false sources: - - column: customer_id - dataType: INT + - column: date + dataType: DATE target: - id: customer_id - type: attribute + id: date + type: date sourceColumns: null sourceColumnDataTypes: null - identifier: - id: products + id: campaigns type: dataset multivalue: false sources: - - column: product_id + - column: campaign_id dataType: INT target: - id: product_id + id: campaign_id type: attribute sourceColumns: null sourceColumnDataTypes: null @@ -1703,7 +1703,7 @@ interactions: attributes: title: '# of Active Customers' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) @@ -1718,7 +1718,7 @@ interactions: attributes: title: '# of Orders' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) @@ -1733,7 +1733,7 @@ interactions: attributes: title: '# of Top Customers' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT @@ -1750,7 +1750,7 @@ interactions: title: '# of Valid Orders' description: '' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} @@ -1766,7 +1766,7 @@ interactions: attributes: title: Campaign Spend areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT SUM({fact/spend}) @@ -1781,7 +1781,7 @@ interactions: attributes: title: Order Amount areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) @@ -1796,7 +1796,7 @@ interactions: attributes: title: '% Revenue' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} @@ -1811,7 +1811,7 @@ interactions: attributes: title: '% Revenue from Top 10 Customers' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -1827,7 +1827,7 @@ interactions: attributes: title: '% Revenue from Top 10% Customers' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -1843,7 +1843,7 @@ interactions: attributes: title: '% Revenue from Top 10% Products' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -1859,7 +1859,7 @@ interactions: attributes: title: '% Revenue from Top 10 Products' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -1875,7 +1875,7 @@ interactions: attributes: title: '% Revenue in Category' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, @@ -1891,7 +1891,7 @@ interactions: attributes: title: '% Revenue per Product' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL @@ -1908,7 +1908,7 @@ interactions: title: Revenue description: '' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} @@ -1924,7 +1924,7 @@ interactions: attributes: title: Revenue (Clothing) areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -1940,7 +1940,7 @@ interactions: attributes: title: Revenue (Electronic) areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -1956,7 +1956,7 @@ interactions: attributes: title: Revenue (Home) areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -1972,7 +1972,7 @@ interactions: attributes: title: Revenue (Outdoor) areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -1988,7 +1988,7 @@ interactions: attributes: title: Revenue per Customer areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) @@ -2003,7 +2003,7 @@ interactions: attributes: title: Revenue per Dollar Spent areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} @@ -2018,7 +2018,7 @@ interactions: attributes: title: Revenue / Top 10 areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) @@ -2033,7 +2033,7 @@ interactions: attributes: title: Revenue / Top 10% areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) @@ -2048,7 +2048,7 @@ interactions: attributes: title: Total Revenue areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER @@ -2063,7 +2063,7 @@ interactions: attributes: title: Total Revenue (No Filters) areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER 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 f54d99947..dd5fbae9b 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 @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: @@ -542,10 +542,10 @@ interactions: type: dataset labels: data: - - id: geo__state__location - type: label - id: state type: label + - id: geo__state__location + type: label links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state meta: @@ -616,50 +616,50 @@ interactions: type: attribute referenceProperties: - identifier: - id: campaigns + id: customers type: dataset multivalue: false sources: - - column: campaign_id + - column: customer_id dataType: INT target: - id: campaign_id + id: customer_id type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: - id: date + id: products type: dataset multivalue: false sources: - - column: date - dataType: DATE + - column: product_id + dataType: INT target: - id: date - type: date + id: product_id + type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: - id: customers + id: date type: dataset multivalue: false sources: - - column: customer_id - dataType: INT + - column: date + dataType: DATE target: - id: customer_id - type: attribute + id: date + type: date sourceColumns: null sourceColumnDataTypes: null - identifier: - id: products + id: campaigns type: dataset multivalue: false sources: - - column: product_id + - column: campaign_id dataType: INT target: - id: product_id + id: campaign_id type: attribute sourceColumns: null sourceColumnDataTypes: null @@ -1121,12 +1121,12 @@ interactions: relationships: attributes: data: - - id: type - type: attribute - id: campaign_channel_id type: attribute - id: campaign_channels.category type: attribute + - id: type + type: attribute facts: data: - id: spend @@ -1158,10 +1158,10 @@ interactions: relationships: attributes: data: - - id: campaign_id - type: attribute - id: campaign_name type: attribute + - id: campaign_id + type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaigns meta: @@ -1187,14 +1187,14 @@ interactions: relationships: attributes: data: - - id: customer_name - type: attribute - - id: region - type: attribute - id: customer_id type: attribute + - id: customer_name + type: attribute - id: state type: attribute + - id: region + type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/customers meta: @@ -1214,12 +1214,12 @@ interactions: data: - id: date.month type: attribute - - id: date.week - type: attribute - id: date.day type: attribute - id: date.quarter type: attribute + - id: date.week + type: attribute - id: date.year type: attribute links: @@ -1240,50 +1240,50 @@ interactions: type: attribute referenceProperties: - identifier: - id: campaigns + id: customers type: dataset multivalue: false sources: - - column: campaign_id + - column: customer_id dataType: INT target: - id: campaign_id + id: customer_id type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: - id: date + id: products type: dataset multivalue: false sources: - - column: date - dataType: DATE + - column: product_id + dataType: INT target: - id: date - type: date + id: product_id + type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: - id: customers + id: date type: dataset multivalue: false sources: - - column: customer_id - dataType: INT + - column: date + dataType: DATE target: - id: customer_id - type: attribute + id: date + type: date sourceColumns: null sourceColumnDataTypes: null - identifier: - id: products + id: campaigns type: dataset multivalue: false sources: - - column: product_id + - column: campaign_id dataType: INT target: - id: product_id + id: campaign_id type: attribute sourceColumns: null sourceColumnDataTypes: null @@ -1703,7 +1703,7 @@ interactions: attributes: title: '# of Active Customers' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) @@ -1718,7 +1718,7 @@ interactions: attributes: title: '# of Orders' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) @@ -1733,7 +1733,7 @@ interactions: attributes: title: '# of Top Customers' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT @@ -1750,7 +1750,7 @@ interactions: title: '# of Valid Orders' description: '' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} @@ -1766,7 +1766,7 @@ interactions: attributes: title: Campaign Spend areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT SUM({fact/spend}) @@ -1781,7 +1781,7 @@ interactions: attributes: title: Order Amount areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) @@ -1796,7 +1796,7 @@ interactions: attributes: title: '% Revenue' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} @@ -1811,7 +1811,7 @@ interactions: attributes: title: '% Revenue from Top 10 Customers' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -1827,7 +1827,7 @@ interactions: attributes: title: '% Revenue from Top 10% Customers' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -1843,7 +1843,7 @@ interactions: attributes: title: '% Revenue from Top 10% Products' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -1859,7 +1859,7 @@ interactions: attributes: title: '% Revenue from Top 10 Products' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -1875,7 +1875,7 @@ interactions: attributes: title: '% Revenue in Category' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, @@ -1891,7 +1891,7 @@ interactions: attributes: title: '% Revenue per Product' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL @@ -1908,7 +1908,7 @@ interactions: title: Revenue description: '' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} @@ -1924,7 +1924,7 @@ interactions: attributes: title: Revenue (Clothing) areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -1940,7 +1940,7 @@ interactions: attributes: title: Revenue (Electronic) areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -1956,7 +1956,7 @@ interactions: attributes: title: Revenue (Home) areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -1972,7 +1972,7 @@ interactions: attributes: title: Revenue (Outdoor) areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -1988,7 +1988,7 @@ interactions: attributes: title: Revenue per Customer areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) @@ -2003,7 +2003,7 @@ interactions: attributes: title: Revenue per Dollar Spent areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} @@ -2018,7 +2018,7 @@ interactions: attributes: title: Revenue / Top 10 areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) @@ -2033,7 +2033,7 @@ interactions: attributes: title: Revenue / Top 10% areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) @@ -2048,7 +2048,7 @@ interactions: attributes: title: Total Revenue areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER @@ -2063,7 +2063,7 @@ interactions: attributes: title: Total Revenue (No Filters) areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER @@ -2213,7 +2213,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:treemap - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 relationships: createdBy: data: @@ -2312,7 +2312,7 @@ interactions: rotation: auto version: '2' visualizationUrl: local:combo2 - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 relationships: createdBy: data: @@ -2396,7 +2396,7 @@ interactions: stackMeasuresToPercent: true version: '2' visualizationUrl: local:area - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 relationships: createdBy: data: @@ -2500,7 +2500,7 @@ interactions: direction: asc version: '2' visualizationUrl: local:table - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 relationships: createdBy: data: @@ -2582,7 +2582,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:treemap - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 relationships: createdBy: data: @@ -2656,7 +2656,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:donut - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 relationships: createdBy: data: @@ -2752,7 +2752,7 @@ interactions: visible: false version: '2' visualizationUrl: local:column - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 relationships: createdBy: data: @@ -2838,7 +2838,7 @@ interactions: enabled: true version: '2' visualizationUrl: local:scatter - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 relationships: createdBy: data: @@ -2958,7 +2958,7 @@ interactions: direction: asc version: '2' visualizationUrl: local:table - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 relationships: createdBy: data: @@ -3045,7 +3045,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:line - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 relationships: createdBy: data: @@ -3109,7 +3109,7 @@ interactions: properties: {} version: '2' visualizationUrl: local:bar - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 relationships: createdBy: data: @@ -3184,7 +3184,7 @@ interactions: min: '0' version: '2' visualizationUrl: local:scatter - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 relationships: createdBy: data: @@ -3273,7 +3273,7 @@ interactions: rotation: auto version: '2' visualizationUrl: local:combo2 - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 relationships: createdBy: data: @@ -3355,7 +3355,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:bar - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 relationships: createdBy: data: @@ -3433,7 +3433,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:bar - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 relationships: createdBy: data: @@ -3460,7 +3460,7 @@ interactions: type: metric attributes: title: '# of Orders' - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) @@ -3471,7 +3471,7 @@ interactions: attributes: title: Revenue description: '' - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} @@ -3529,7 +3529,7 @@ interactions: type: metric attributes: title: '% Revenue in Category' - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, @@ -3540,7 +3540,7 @@ interactions: type: metric attributes: title: Revenue per Customer - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) @@ -3550,7 +3550,7 @@ interactions: type: metric attributes: title: Revenue / Top 10 - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) @@ -3571,7 +3571,7 @@ interactions: type: metric attributes: title: '% Revenue per Product' - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL @@ -3672,7 +3672,7 @@ interactions: type: metric attributes: title: '# of Active Customers' - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) @@ -3695,7 +3695,7 @@ interactions: type: metric attributes: title: Campaign Spend - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT SUM({fact/spend}) @@ -3705,7 +3705,7 @@ interactions: type: metric attributes: title: Revenue per Dollar Spent - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} 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 18dd3fc46..113222400 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 @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: @@ -181,10 +181,10 @@ interactions: name: Order Amount localIdentifier: dim_1 links: - executionResult: 0a226b0ff297374681a3eb6e697377f8e38c71af + executionResult: fdbaee19a8041af21992f5e6b556acb74f2cbf86 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/0a226b0ff297374681a3eb6e697377f8e38c71af/metadata + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/fdbaee19a8041af21992f5e6b556acb74f2cbf86/metadata body: null headers: Accept: @@ -353,7 +353,7 @@ interactions: name: Order Amount localIdentifier: dim_1 links: - executionResult: 0a226b0ff297374681a3eb6e697377f8e38c71af + executionResult: fdbaee19a8041af21992f5e6b556acb74f2cbf86 resultSpec: dimensions: - localIdentifier: dim_0 @@ -370,7 +370,7 @@ interactions: resultSize: 4237 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/0a226b0ff297374681a3eb6e697377f8e38c71af?offset=0%2C0&limit=100%2C100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/fdbaee19a8041af21992f5e6b556acb74f2cbf86?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 18dd3fc46..113222400 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 @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: @@ -181,10 +181,10 @@ interactions: name: Order Amount localIdentifier: dim_1 links: - executionResult: 0a226b0ff297374681a3eb6e697377f8e38c71af + executionResult: fdbaee19a8041af21992f5e6b556acb74f2cbf86 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/0a226b0ff297374681a3eb6e697377f8e38c71af/metadata + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/fdbaee19a8041af21992f5e6b556acb74f2cbf86/metadata body: null headers: Accept: @@ -353,7 +353,7 @@ interactions: name: Order Amount localIdentifier: dim_1 links: - executionResult: 0a226b0ff297374681a3eb6e697377f8e38c71af + executionResult: fdbaee19a8041af21992f5e6b556acb74f2cbf86 resultSpec: dimensions: - localIdentifier: dim_0 @@ -370,7 +370,7 @@ interactions: resultSize: 4237 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/0a226b0ff297374681a3eb6e697377f8e38c71af?offset=0%2C0&limit=100%2C100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/fdbaee19a8041af21992f5e6b556acb74f2cbf86?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 bcdb929c1..1156c974a 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 @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: @@ -177,10 +177,10 @@ interactions: name: Order Amount localIdentifier: dim_0 links: - executionResult: a7bbec96d157cf9ca69cc03331b534ce5e84e68f + executionResult: d08b75baa045372a08c1a6ec4a5ae1a4976296ee - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/a7bbec96d157cf9ca69cc03331b534ce5e84e68f/metadata + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/d08b75baa045372a08c1a6ec4a5ae1a4976296ee/metadata body: null headers: Accept: @@ -347,7 +347,7 @@ interactions: name: Order Amount localIdentifier: dim_0 links: - executionResult: a7bbec96d157cf9ca69cc03331b534ce5e84e68f + executionResult: d08b75baa045372a08c1a6ec4a5ae1a4976296ee resultSpec: dimensions: - localIdentifier: dim_0 @@ -361,7 +361,7 @@ interactions: resultSize: 2913 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/a7bbec96d157cf9ca69cc03331b534ce5e84e68f?offset=0&limit=500 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/d08b75baa045372a08c1a6ec4a5ae1a4976296ee?offset=0&limit=500 body: null headers: Accept: @@ -4819,7 +4819,7 @@ interactions: - 364 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/a7bbec96d157cf9ca69cc03331b534ce5e84e68f/metadata + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/d08b75baa045372a08c1a6ec4a5ae1a4976296ee/metadata body: null headers: Accept: @@ -4986,7 +4986,7 @@ interactions: name: Order Amount localIdentifier: dim_0 links: - executionResult: a7bbec96d157cf9ca69cc03331b534ce5e84e68f + executionResult: d08b75baa045372a08c1a6ec4a5ae1a4976296ee resultSpec: dimensions: - localIdentifier: dim_0 @@ -5000,7 +5000,7 @@ interactions: resultSize: 2913 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/a7bbec96d157cf9ca69cc03331b534ce5e84e68f?offset=0&limit=500 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/d08b75baa045372a08c1a6ec4a5ae1a4976296ee?offset=0&limit=500 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 057d0edbd..5471fd8ca 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 @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: @@ -181,10 +181,10 @@ interactions: name: Order Amount localIdentifier: dim_1 links: - executionResult: 7429f9f2cecdda5b3cfbb83e3f6f89cc716adf90 + executionResult: 7a62e0390319c8a914ab884d58a06674cc7f78cb - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/7429f9f2cecdda5b3cfbb83e3f6f89cc716adf90/metadata + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/7a62e0390319c8a914ab884d58a06674cc7f78cb/metadata body: null headers: Accept: @@ -353,7 +353,7 @@ interactions: name: Order Amount localIdentifier: dim_1 links: - executionResult: 7429f9f2cecdda5b3cfbb83e3f6f89cc716adf90 + executionResult: 7a62e0390319c8a914ab884d58a06674cc7f78cb resultSpec: dimensions: - localIdentifier: dim_0 @@ -370,7 +370,7 @@ interactions: resultSize: 2913 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/7429f9f2cecdda5b3cfbb83e3f6f89cc716adf90?offset=0%2C0&limit=100%2C100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/7a62e0390319c8a914ab884d58a06674cc7f78cb?offset=0%2C0&limit=100%2C100 body: null headers: Accept: @@ -1664,7 +1664,7 @@ interactions: - 364 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/7429f9f2cecdda5b3cfbb83e3f6f89cc716adf90?offset=0%2C100&limit=100%2C100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/7a62e0390319c8a914ab884d58a06674cc7f78cb?offset=0%2C100&limit=100%2C100 body: null headers: Accept: @@ -2958,7 +2958,7 @@ interactions: - 364 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/7429f9f2cecdda5b3cfbb83e3f6f89cc716adf90?offset=0%2C200&limit=100%2C100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/7a62e0390319c8a914ab884d58a06674cc7f78cb?offset=0%2C200&limit=100%2C100 body: null headers: Accept: @@ -4252,7 +4252,7 @@ interactions: - 364 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/7429f9f2cecdda5b3cfbb83e3f6f89cc716adf90?offset=0%2C300&limit=100%2C100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/7a62e0390319c8a914ab884d58a06674cc7f78cb?offset=0%2C300&limit=100%2C100 body: null headers: Accept: @@ -5114,7 +5114,7 @@ interactions: - 364 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/7429f9f2cecdda5b3cfbb83e3f6f89cc716adf90/metadata + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/7a62e0390319c8a914ab884d58a06674cc7f78cb/metadata body: null headers: Accept: @@ -5283,7 +5283,7 @@ interactions: name: Order Amount localIdentifier: dim_1 links: - executionResult: 7429f9f2cecdda5b3cfbb83e3f6f89cc716adf90 + executionResult: 7a62e0390319c8a914ab884d58a06674cc7f78cb resultSpec: dimensions: - localIdentifier: dim_0 @@ -5300,7 +5300,7 @@ interactions: resultSize: 2913 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/7429f9f2cecdda5b3cfbb83e3f6f89cc716adf90?offset=0%2C0&limit=100%2C100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/7a62e0390319c8a914ab884d58a06674cc7f78cb?offset=0%2C0&limit=100%2C100 body: null headers: Accept: @@ -6594,7 +6594,7 @@ interactions: - 364 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/7429f9f2cecdda5b3cfbb83e3f6f89cc716adf90?offset=0%2C100&limit=100%2C100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/7a62e0390319c8a914ab884d58a06674cc7f78cb?offset=0%2C100&limit=100%2C100 body: null headers: Accept: @@ -7888,7 +7888,7 @@ interactions: - 364 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/7429f9f2cecdda5b3cfbb83e3f6f89cc716adf90?offset=0%2C200&limit=100%2C100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/7a62e0390319c8a914ab884d58a06674cc7f78cb?offset=0%2C200&limit=100%2C100 body: null headers: Accept: @@ -9182,7 +9182,7 @@ interactions: - 364 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/7429f9f2cecdda5b3cfbb83e3f6f89cc716adf90?offset=0%2C300&limit=100%2C100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/7a62e0390319c8a914ab884d58a06674cc7f78cb?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 a5fbe647d..291442858 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 @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: @@ -200,10 +200,10 @@ interactions: name: Order Amount localIdentifier: dim_1 links: - executionResult: 855eda6224ca1c9147f03a7ac58f707d3b3441cb + executionResult: 38942ba5b2c2a332607bb1589f2727f630962398 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/855eda6224ca1c9147f03a7ac58f707d3b3441cb/metadata + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/38942ba5b2c2a332607bb1589f2727f630962398/metadata body: null headers: Accept: @@ -372,7 +372,7 @@ interactions: name: Order Amount localIdentifier: dim_1 links: - executionResult: 855eda6224ca1c9147f03a7ac58f707d3b3441cb + executionResult: 38942ba5b2c2a332607bb1589f2727f630962398 resultSpec: dimensions: - localIdentifier: dim_0 @@ -407,7 +407,7 @@ interactions: resultSize: 4770 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/855eda6224ca1c9147f03a7ac58f707d3b3441cb?offset=0%2C0&limit=100%2C100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/38942ba5b2c2a332607bb1589f2727f630962398?offset=0%2C0&limit=100%2C100 body: null headers: Accept: @@ -1867,7 +1867,7 @@ interactions: - 96 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/855eda6224ca1c9147f03a7ac58f707d3b3441cb/metadata + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/38942ba5b2c2a332607bb1589f2727f630962398/metadata body: null headers: Accept: @@ -2036,7 +2036,7 @@ interactions: name: Order Amount localIdentifier: dim_1 links: - executionResult: 855eda6224ca1c9147f03a7ac58f707d3b3441cb + executionResult: 38942ba5b2c2a332607bb1589f2727f630962398 resultSpec: dimensions: - localIdentifier: dim_0 @@ -2071,7 +2071,7 @@ interactions: resultSize: 4770 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/855eda6224ca1c9147f03a7ac58f707d3b3441cb?offset=0%2C0&limit=100%2C100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/38942ba5b2c2a332607bb1589f2727f630962398?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 5220b3249..9055c609e 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 @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: @@ -198,10 +198,10 @@ interactions: name: Order Amount localIdentifier: dim_1 links: - executionResult: 1223b02d266b1582eecc82a222779a62974779d4 + executionResult: 5b783bb394120a07b5003aea2a2d6de2b225cb64 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/1223b02d266b1582eecc82a222779a62974779d4/metadata + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/5b783bb394120a07b5003aea2a2d6de2b225cb64/metadata body: null headers: Accept: @@ -370,7 +370,7 @@ interactions: name: Order Amount localIdentifier: dim_1 links: - executionResult: 1223b02d266b1582eecc82a222779a62974779d4 + executionResult: 5b783bb394120a07b5003aea2a2d6de2b225cb64 resultSpec: dimensions: - localIdentifier: dim_0 @@ -403,7 +403,7 @@ interactions: resultSize: 15292 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/1223b02d266b1582eecc82a222779a62974779d4?offset=0%2C0&limit=100%2C100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/5b783bb394120a07b5003aea2a2d6de2b225cb64?offset=0%2C0&limit=100%2C100 body: null headers: Accept: @@ -2918,7 +2918,7 @@ interactions: - 96 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/1223b02d266b1582eecc82a222779a62974779d4/metadata + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/5b783bb394120a07b5003aea2a2d6de2b225cb64/metadata body: null headers: Accept: @@ -3087,7 +3087,7 @@ interactions: name: Order Amount localIdentifier: dim_1 links: - executionResult: 1223b02d266b1582eecc82a222779a62974779d4 + executionResult: 5b783bb394120a07b5003aea2a2d6de2b225cb64 resultSpec: dimensions: - localIdentifier: dim_0 @@ -3120,7 +3120,7 @@ interactions: resultSize: 15292 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/1223b02d266b1582eecc82a222779a62974779d4?offset=0%2C0&limit=100%2C100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/5b783bb394120a07b5003aea2a2d6de2b225cb64?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 5895b123c..83805f8d1 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 @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: @@ -200,10 +200,10 @@ interactions: type: label localIdentifier: dim_1 links: - executionResult: 589caaba57cb63a9fd90ce5a8dd8a7f6b0465996 + executionResult: 40383368367f7d1876acf9235b5cd17c5da6d254 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/589caaba57cb63a9fd90ce5a8dd8a7f6b0465996/metadata + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/40383368367f7d1876acf9235b5cd17c5da6d254/metadata body: null headers: Accept: @@ -372,7 +372,7 @@ interactions: type: label localIdentifier: dim_1 links: - executionResult: 589caaba57cb63a9fd90ce5a8dd8a7f6b0465996 + executionResult: 40383368367f7d1876acf9235b5cd17c5da6d254 resultSpec: dimensions: - localIdentifier: dim_0 @@ -407,7 +407,7 @@ interactions: resultSize: 4770 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/589caaba57cb63a9fd90ce5a8dd8a7f6b0465996?offset=0%2C0&limit=100%2C100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/40383368367f7d1876acf9235b5cd17c5da6d254?offset=0%2C0&limit=100%2C100 body: null headers: Accept: @@ -1867,7 +1867,7 @@ interactions: - 4 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/589caaba57cb63a9fd90ce5a8dd8a7f6b0465996/metadata + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/40383368367f7d1876acf9235b5cd17c5da6d254/metadata body: null headers: Accept: @@ -2036,7 +2036,7 @@ interactions: type: label localIdentifier: dim_1 links: - executionResult: 589caaba57cb63a9fd90ce5a8dd8a7f6b0465996 + executionResult: 40383368367f7d1876acf9235b5cd17c5da6d254 resultSpec: dimensions: - localIdentifier: dim_0 @@ -2071,7 +2071,7 @@ interactions: resultSize: 4770 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/589caaba57cb63a9fd90ce5a8dd8a7f6b0465996?offset=0%2C0&limit=100%2C100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/40383368367f7d1876acf9235b5cd17c5da6d254?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 daf149571..318c92db3 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 @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: @@ -198,10 +198,10 @@ interactions: type: label localIdentifier: dim_1 links: - executionResult: b6c6a4698015f487e9399ec04cca43fcc924a51d + executionResult: 0daafe2b56c60fa6444d17003c5d67726d1ed12f - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/b6c6a4698015f487e9399ec04cca43fcc924a51d/metadata + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/0daafe2b56c60fa6444d17003c5d67726d1ed12f/metadata body: null headers: Accept: @@ -370,7 +370,7 @@ interactions: type: label localIdentifier: dim_1 links: - executionResult: b6c6a4698015f487e9399ec04cca43fcc924a51d + executionResult: 0daafe2b56c60fa6444d17003c5d67726d1ed12f resultSpec: dimensions: - localIdentifier: dim_0 @@ -403,7 +403,7 @@ interactions: resultSize: 15292 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/b6c6a4698015f487e9399ec04cca43fcc924a51d?offset=0%2C0&limit=100%2C100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/0daafe2b56c60fa6444d17003c5d67726d1ed12f?offset=0%2C0&limit=100%2C100 body: null headers: Accept: @@ -2918,7 +2918,7 @@ interactions: - 17 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/b6c6a4698015f487e9399ec04cca43fcc924a51d/metadata + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/0daafe2b56c60fa6444d17003c5d67726d1ed12f/metadata body: null headers: Accept: @@ -3087,7 +3087,7 @@ interactions: type: label localIdentifier: dim_1 links: - executionResult: b6c6a4698015f487e9399ec04cca43fcc924a51d + executionResult: 0daafe2b56c60fa6444d17003c5d67726d1ed12f resultSpec: dimensions: - localIdentifier: dim_0 @@ -3120,7 +3120,7 @@ interactions: resultSize: 15292 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/b6c6a4698015f487e9399ec04cca43fcc924a51d?offset=0%2C0&limit=100%2C100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/0daafe2b56c60fa6444d17003c5d67726d1ed12f?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 2dc8218a3..cea89bbc1 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 @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: @@ -181,10 +181,10 @@ interactions: name: Order Amount localIdentifier: dim_1 links: - executionResult: 0a226b0ff297374681a3eb6e697377f8e38c71af + executionResult: fdbaee19a8041af21992f5e6b556acb74f2cbf86 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/0a226b0ff297374681a3eb6e697377f8e38c71af/metadata + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/fdbaee19a8041af21992f5e6b556acb74f2cbf86/metadata body: null headers: Accept: @@ -353,7 +353,7 @@ interactions: name: Order Amount localIdentifier: dim_1 links: - executionResult: 0a226b0ff297374681a3eb6e697377f8e38c71af + executionResult: fdbaee19a8041af21992f5e6b556acb74f2cbf86 resultSpec: dimensions: - localIdentifier: dim_0 @@ -370,7 +370,7 @@ interactions: resultSize: 4237 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/0a226b0ff297374681a3eb6e697377f8e38c71af?offset=0%2C0&limit=100%2C100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/fdbaee19a8041af21992f5e6b556acb74f2cbf86?offset=0%2C0&limit=100%2C100 body: null headers: Accept: @@ -1176,7 +1176,7 @@ interactions: - 8 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/0a226b0ff297374681a3eb6e697377f8e38c71af/metadata + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/fdbaee19a8041af21992f5e6b556acb74f2cbf86/metadata body: null headers: Accept: @@ -1345,7 +1345,7 @@ interactions: name: Order Amount localIdentifier: dim_1 links: - executionResult: 0a226b0ff297374681a3eb6e697377f8e38c71af + executionResult: fdbaee19a8041af21992f5e6b556acb74f2cbf86 resultSpec: dimensions: - localIdentifier: dim_0 @@ -1362,7 +1362,7 @@ interactions: resultSize: 4237 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/0a226b0ff297374681a3eb6e697377f8e38c71af?offset=0%2C0&limit=100%2C100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/fdbaee19a8041af21992f5e6b556acb74f2cbf86?offset=0%2C0&limit=100%2C100 body: null headers: Accept: @@ -2168,7 +2168,7 @@ interactions: - 8 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/0a226b0ff297374681a3eb6e697377f8e38c71af/metadata + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/fdbaee19a8041af21992f5e6b556acb74f2cbf86/metadata body: null headers: Accept: @@ -2337,7 +2337,7 @@ interactions: name: Order Amount localIdentifier: dim_1 links: - executionResult: 0a226b0ff297374681a3eb6e697377f8e38c71af + executionResult: fdbaee19a8041af21992f5e6b556acb74f2cbf86 resultSpec: dimensions: - localIdentifier: dim_0 @@ -2354,7 +2354,7 @@ interactions: resultSize: 4237 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/0a226b0ff297374681a3eb6e697377f8e38c71af?offset=0%2C0&limit=100%2C100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/fdbaee19a8041af21992f5e6b556acb74f2cbf86?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 a654ef595..6614afec0 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 @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: @@ -181,10 +181,10 @@ interactions: name: Order Amount localIdentifier: dim_1 links: - executionResult: d08a1bea766c203bff4e92dd5c6ac4c16684c5e5 + executionResult: 6ce47babc2319911b7a1af8d479d4b5526fb7695 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/d08a1bea766c203bff4e92dd5c6ac4c16684c5e5/metadata + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/6ce47babc2319911b7a1af8d479d4b5526fb7695/metadata body: null headers: Accept: @@ -353,7 +353,7 @@ interactions: name: Order Amount localIdentifier: dim_1 links: - executionResult: d08a1bea766c203bff4e92dd5c6ac4c16684c5e5 + executionResult: 6ce47babc2319911b7a1af8d479d4b5526fb7695 resultSpec: dimensions: - localIdentifier: dim_0 @@ -370,7 +370,7 @@ interactions: resultSize: 9257 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/d08a1bea766c203bff4e92dd5c6ac4c16684c5e5?offset=0%2C0&limit=100%2C100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/6ce47babc2319911b7a1af8d479d4b5526fb7695?offset=0%2C0&limit=100%2C100 body: null headers: Accept: @@ -1568,7 +1568,7 @@ interactions: - 2 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/d08a1bea766c203bff4e92dd5c6ac4c16684c5e5?offset=100%2C0&limit=100%2C100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/6ce47babc2319911b7a1af8d479d4b5526fb7695?offset=100%2C0&limit=100%2C100 body: null headers: Accept: @@ -2568,7 +2568,7 @@ interactions: - 2 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/d08a1bea766c203bff4e92dd5c6ac4c16684c5e5/metadata + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/6ce47babc2319911b7a1af8d479d4b5526fb7695/metadata body: null headers: Accept: @@ -2737,7 +2737,7 @@ interactions: name: Order Amount localIdentifier: dim_1 links: - executionResult: d08a1bea766c203bff4e92dd5c6ac4c16684c5e5 + executionResult: 6ce47babc2319911b7a1af8d479d4b5526fb7695 resultSpec: dimensions: - localIdentifier: dim_0 @@ -2754,7 +2754,7 @@ interactions: resultSize: 9257 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/d08a1bea766c203bff4e92dd5c6ac4c16684c5e5?offset=0%2C0&limit=100%2C100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/6ce47babc2319911b7a1af8d479d4b5526fb7695?offset=0%2C0&limit=100%2C100 body: null headers: Accept: @@ -3952,7 +3952,7 @@ interactions: - 2 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/d08a1bea766c203bff4e92dd5c6ac4c16684c5e5?offset=100%2C0&limit=100%2C100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/6ce47babc2319911b7a1af8d479d4b5526fb7695?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 55101dfcd..2ed9e9196 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 @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: @@ -181,10 +181,10 @@ interactions: name: Order Amount localIdentifier: dim_1 links: - executionResult: adf64e6e77e07f13c958965774798b3ef8b00b9b + executionResult: a6282ea52ea9f7f1f353b99a7e814ee9cce612e1 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/adf64e6e77e07f13c958965774798b3ef8b00b9b/metadata + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/a6282ea52ea9f7f1f353b99a7e814ee9cce612e1/metadata body: null headers: Accept: @@ -353,7 +353,7 @@ interactions: name: Order Amount localIdentifier: dim_1 links: - executionResult: adf64e6e77e07f13c958965774798b3ef8b00b9b + executionResult: a6282ea52ea9f7f1f353b99a7e814ee9cce612e1 resultSpec: dimensions: - localIdentifier: dim_0 @@ -370,7 +370,7 @@ interactions: resultSize: 3136 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/adf64e6e77e07f13c958965774798b3ef8b00b9b?offset=0%2C0&limit=100%2C100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/a6282ea52ea9f7f1f353b99a7e814ee9cce612e1?offset=0%2C0&limit=100%2C100 body: null headers: Accept: @@ -1628,7 +1628,7 @@ interactions: - 96 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/adf64e6e77e07f13c958965774798b3ef8b00b9b/metadata + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/a6282ea52ea9f7f1f353b99a7e814ee9cce612e1/metadata body: null headers: Accept: @@ -1797,7 +1797,7 @@ interactions: name: Order Amount localIdentifier: dim_1 links: - executionResult: adf64e6e77e07f13c958965774798b3ef8b00b9b + executionResult: a6282ea52ea9f7f1f353b99a7e814ee9cce612e1 resultSpec: dimensions: - localIdentifier: dim_0 @@ -1814,7 +1814,7 @@ interactions: resultSize: 3136 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/adf64e6e77e07f13c958965774798b3ef8b00b9b?offset=0%2C0&limit=100%2C100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/a6282ea52ea9f7f1f353b99a7e814ee9cce612e1?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 abb455766..52c27b9c2 100644 --- a/gooddata-pandas/tests/dataframe/fixtures/dataframe_for_insight.yaml +++ b/gooddata-pandas/tests/dataframe/fixtures/dataframe_for_insight.yaml @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: @@ -174,7 +174,7 @@ interactions: direction: asc version: '2' visualizationUrl: local:table - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 relationships: createdBy: data: @@ -221,7 +221,7 @@ interactions: attributes: title: Revenue description: '' - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} @@ -274,7 +274,7 @@ interactions: type: metric attributes: title: '% Revenue in Category' - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, @@ -478,7 +478,7 @@ interactions: type: label localIdentifier: dim_1 links: - executionResult: 8341b3f5ce159f53c4be5fc0d02f0edfa526d095 + executionResult: 874fb316efd37f64ab187c314491e64ab75ad5c1 - request: method: GET uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=0&size=500 @@ -1019,10 +1019,10 @@ interactions: type: dataset labels: data: - - id: geo__state__location - type: label - id: state type: label + - id: geo__state__location + type: label links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state meta: @@ -1093,50 +1093,50 @@ interactions: type: attribute referenceProperties: - identifier: - id: campaigns + id: customers type: dataset multivalue: false sources: - - column: campaign_id + - column: customer_id dataType: INT target: - id: campaign_id + id: customer_id type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: - id: date + id: products type: dataset multivalue: false sources: - - column: date - dataType: DATE + - column: product_id + dataType: INT target: - id: date - type: date + id: product_id + type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: - id: customers + id: date type: dataset multivalue: false sources: - - column: customer_id - dataType: INT + - column: date + dataType: DATE target: - id: customer_id - type: attribute + id: date + type: date sourceColumns: null sourceColumnDataTypes: null - identifier: - id: products + id: campaigns type: dataset multivalue: false sources: - - column: product_id + - column: campaign_id dataType: INT target: - id: product_id + id: campaign_id type: attribute sourceColumns: null sourceColumnDataTypes: null @@ -1598,12 +1598,12 @@ interactions: relationships: attributes: data: - - id: type - type: attribute - id: campaign_channel_id type: attribute - id: campaign_channels.category type: attribute + - id: type + type: attribute facts: data: - id: spend @@ -1635,10 +1635,10 @@ interactions: relationships: attributes: data: - - id: campaign_id - type: attribute - id: campaign_name type: attribute + - id: campaign_id + type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaigns meta: @@ -1664,14 +1664,14 @@ interactions: relationships: attributes: data: - - id: customer_name - type: attribute - - id: region - type: attribute - id: customer_id type: attribute + - id: customer_name + type: attribute - id: state type: attribute + - id: region + type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/customers meta: @@ -1691,12 +1691,12 @@ interactions: data: - id: date.month type: attribute - - id: date.week - type: attribute - id: date.day type: attribute - id: date.quarter type: attribute + - id: date.week + type: attribute - id: date.year type: attribute links: @@ -1717,50 +1717,50 @@ interactions: type: attribute referenceProperties: - identifier: - id: campaigns + id: customers type: dataset multivalue: false sources: - - column: campaign_id + - column: customer_id dataType: INT target: - id: campaign_id + id: customer_id type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: - id: date + id: products type: dataset multivalue: false sources: - - column: date - dataType: DATE + - column: product_id + dataType: INT target: - id: date - type: date + id: product_id + type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: - id: customers + id: date type: dataset multivalue: false sources: - - column: customer_id - dataType: INT + - column: date + dataType: DATE target: - id: customer_id - type: attribute + id: date + type: date sourceColumns: null sourceColumnDataTypes: null - identifier: - id: products + id: campaigns type: dataset multivalue: false sources: - - column: product_id + - column: campaign_id dataType: INT target: - id: product_id + id: campaign_id type: attribute sourceColumns: null sourceColumnDataTypes: null @@ -2180,7 +2180,7 @@ interactions: attributes: title: '# of Active Customers' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) @@ -2195,7 +2195,7 @@ interactions: attributes: title: '# of Orders' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) @@ -2210,7 +2210,7 @@ interactions: attributes: title: '# of Top Customers' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT @@ -2227,7 +2227,7 @@ interactions: title: '# of Valid Orders' description: '' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} @@ -2243,7 +2243,7 @@ interactions: attributes: title: Campaign Spend areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT SUM({fact/spend}) @@ -2258,7 +2258,7 @@ interactions: attributes: title: Order Amount areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) @@ -2273,7 +2273,7 @@ interactions: attributes: title: '% Revenue' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} @@ -2288,7 +2288,7 @@ interactions: attributes: title: '% Revenue from Top 10 Customers' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2304,7 +2304,7 @@ interactions: attributes: title: '% Revenue from Top 10% Customers' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2320,7 +2320,7 @@ interactions: attributes: title: '% Revenue from Top 10% Products' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2336,7 +2336,7 @@ interactions: attributes: title: '% Revenue from Top 10 Products' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2352,7 +2352,7 @@ interactions: attributes: title: '% Revenue in Category' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, @@ -2368,7 +2368,7 @@ interactions: attributes: title: '% Revenue per Product' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL @@ -2385,7 +2385,7 @@ interactions: title: Revenue description: '' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} @@ -2401,7 +2401,7 @@ interactions: attributes: title: Revenue (Clothing) areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2417,7 +2417,7 @@ interactions: attributes: title: Revenue (Electronic) areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2433,7 +2433,7 @@ interactions: attributes: title: Revenue (Home) areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2449,7 +2449,7 @@ interactions: attributes: title: Revenue (Outdoor) areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2465,7 +2465,7 @@ interactions: attributes: title: Revenue per Customer areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) @@ -2480,7 +2480,7 @@ interactions: attributes: title: Revenue per Dollar Spent areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} @@ -2495,7 +2495,7 @@ interactions: attributes: title: Revenue / Top 10 areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) @@ -2510,7 +2510,7 @@ interactions: attributes: title: Revenue / Top 10% areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) @@ -2525,7 +2525,7 @@ interactions: attributes: title: Total Revenue areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER @@ -2540,7 +2540,7 @@ interactions: attributes: title: Total Revenue (No Filters) areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER @@ -2555,7 +2555,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/8341b3f5ce159f53c4be5fc0d02f0edfa526d095?offset=0%2C0&limit=4%2C1000 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/874fb316efd37f64ab187c314491e64ab75ad5c1?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 c5e6fdde4..ed41c23b2 100644 --- a/gooddata-pandas/tests/dataframe/fixtures/dataframe_for_insight_date.yaml +++ b/gooddata-pandas/tests/dataframe/fixtures/dataframe_for_insight_date.yaml @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: @@ -70,7 +70,6 @@ interactions: - Access-Control-Request-Headers X-Content-Type-Options: - nosniff - X-GDC-TRACE-ID: *id001 X-XSS-Protection: - 1 ; mode=block body: @@ -151,7 +150,7 @@ interactions: rotation: auto version: '2' visualizationUrl: local:combo2 - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 relationships: createdBy: data: @@ -194,7 +193,7 @@ interactions: type: metric attributes: title: '# of Active Customers' - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) @@ -204,7 +203,7 @@ interactions: type: metric attributes: title: Revenue per Customer - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) @@ -374,7 +373,7 @@ interactions: pattern: MMM y localIdentifier: dim_1 links: - executionResult: 484d4398ff0f3fd991527ecb97664432c3d3b5fa + executionResult: be65599074b1f352e8d756bfe4a532ed67f89fca - request: method: GET uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=0&size=500 @@ -915,10 +914,10 @@ interactions: type: dataset labels: data: - - id: geo__state__location - type: label - id: state type: label + - id: geo__state__location + type: label links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state meta: @@ -989,50 +988,50 @@ interactions: type: attribute referenceProperties: - identifier: - id: campaigns + id: customers type: dataset multivalue: false sources: - - column: campaign_id + - column: customer_id dataType: INT target: - id: campaign_id + id: customer_id type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: - id: date + id: products type: dataset multivalue: false sources: - - column: date - dataType: DATE + - column: product_id + dataType: INT target: - id: date - type: date + id: product_id + type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: - id: customers + id: date type: dataset multivalue: false sources: - - column: customer_id - dataType: INT + - column: date + dataType: DATE target: - id: customer_id - type: attribute + id: date + type: date sourceColumns: null sourceColumnDataTypes: null - identifier: - id: products + id: campaigns type: dataset multivalue: false sources: - - column: product_id + - column: campaign_id dataType: INT target: - id: product_id + id: campaign_id type: attribute sourceColumns: null sourceColumnDataTypes: null @@ -1494,12 +1493,12 @@ interactions: relationships: attributes: data: - - id: type - type: attribute - id: campaign_channel_id type: attribute - id: campaign_channels.category type: attribute + - id: type + type: attribute facts: data: - id: spend @@ -1531,10 +1530,10 @@ interactions: relationships: attributes: data: - - id: campaign_id - type: attribute - id: campaign_name type: attribute + - id: campaign_id + type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaigns meta: @@ -1560,14 +1559,14 @@ interactions: relationships: attributes: data: - - id: customer_name - type: attribute - - id: region - type: attribute - id: customer_id type: attribute + - id: customer_name + type: attribute - id: state type: attribute + - id: region + type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/customers meta: @@ -1587,12 +1586,12 @@ interactions: data: - id: date.month type: attribute - - id: date.week - type: attribute - id: date.day type: attribute - id: date.quarter type: attribute + - id: date.week + type: attribute - id: date.year type: attribute links: @@ -1613,50 +1612,50 @@ interactions: type: attribute referenceProperties: - identifier: - id: campaigns + id: customers type: dataset multivalue: false sources: - - column: campaign_id + - column: customer_id dataType: INT target: - id: campaign_id + id: customer_id type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: - id: date + id: products type: dataset multivalue: false sources: - - column: date - dataType: DATE + - column: product_id + dataType: INT target: - id: date - type: date + id: product_id + type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: - id: customers + id: date type: dataset multivalue: false sources: - - column: customer_id - dataType: INT + - column: date + dataType: DATE target: - id: customer_id - type: attribute + id: date + type: date sourceColumns: null sourceColumnDataTypes: null - identifier: - id: products + id: campaigns type: dataset multivalue: false sources: - - column: product_id + - column: campaign_id dataType: INT target: - id: product_id + id: campaign_id type: attribute sourceColumns: null sourceColumnDataTypes: null @@ -2076,7 +2075,7 @@ interactions: attributes: title: '# of Active Customers' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) @@ -2091,7 +2090,7 @@ interactions: attributes: title: '# of Orders' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) @@ -2106,7 +2105,7 @@ interactions: attributes: title: '# of Top Customers' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT @@ -2123,7 +2122,7 @@ interactions: title: '# of Valid Orders' description: '' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} @@ -2139,7 +2138,7 @@ interactions: attributes: title: Campaign Spend areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT SUM({fact/spend}) @@ -2154,7 +2153,7 @@ interactions: attributes: title: Order Amount areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) @@ -2169,7 +2168,7 @@ interactions: attributes: title: '% Revenue' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} @@ -2184,7 +2183,7 @@ interactions: attributes: title: '% Revenue from Top 10 Customers' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2200,7 +2199,7 @@ interactions: attributes: title: '% Revenue from Top 10% Customers' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2216,7 +2215,7 @@ interactions: attributes: title: '% Revenue from Top 10% Products' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2232,7 +2231,7 @@ interactions: attributes: title: '% Revenue from Top 10 Products' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2248,7 +2247,7 @@ interactions: attributes: title: '% Revenue in Category' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, @@ -2264,7 +2263,7 @@ interactions: attributes: title: '% Revenue per Product' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL @@ -2281,7 +2280,7 @@ interactions: title: Revenue description: '' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} @@ -2297,7 +2296,7 @@ interactions: attributes: title: Revenue (Clothing) areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2313,7 +2312,7 @@ interactions: attributes: title: Revenue (Electronic) areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2329,7 +2328,7 @@ interactions: attributes: title: Revenue (Home) areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2345,7 +2344,7 @@ interactions: attributes: title: Revenue (Outdoor) areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2361,7 +2360,7 @@ interactions: attributes: title: Revenue per Customer areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) @@ -2376,7 +2375,7 @@ interactions: attributes: title: Revenue per Dollar Spent areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} @@ -2391,7 +2390,7 @@ interactions: attributes: title: Revenue / Top 10 areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) @@ -2406,7 +2405,7 @@ interactions: attributes: title: Revenue / Top 10% areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) @@ -2421,7 +2420,7 @@ interactions: attributes: title: Total Revenue areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER @@ -2436,7 +2435,7 @@ interactions: attributes: title: Total Revenue (No Filters) areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER @@ -2451,7 +2450,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/484d4398ff0f3fd991527ecb97664432c3d3b5fa?offset=0%2C0&limit=2%2C1000 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/be65599074b1f352e8d756bfe4a532ed67f89fca?offset=0%2C0&limit=2%2C1000 body: null headers: Accept: @@ -2521,34 +2520,34 @@ interactions: X-XSS-Protection: - 1 ; mode=block content-length: - - '1402' + - '1374' body: string: data: - - - 65 - - 61 - - 70 - - 53 - - 54 - - 58 - - 76 - - 95 - - 110 - - 91 - - 59 + - - 57 + - 65 + - 60 + - 48 - 63 - - - 174.79036363636362 - - 150.10735849056604 - - 110.63396825396825 - - 164.63276595744682 - - 247.32333333333332 - - 113.54166666666667 - - 213.47925373134328 - - 167.58869047619046 - - 237.2503 - - 154.40761904761905 - - 307.9370909090909 - - 252.81866666666667 + - 55 + - 87 + - 87 + - 73 + - 56 + - 88 + - 65 + - - 177.33901960784314 + - 116.33793103448276 + - 112.81109090909091 + - 136.54933333333332 + - 369.3692156862745 + - 84.3002 + - 249.6326923076923 + - 208.97644736842105 + - 177.2809375 + - 170.1824 + - 178.174875 + - 174.79036363636362 dimensionHeaders: - headerGroups: - headers: @@ -2558,9 +2557,6 @@ interactions: measureIndex: 1 - headerGroups: - headers: - - attributeHeader: - labelValue: 2023-01 - primaryLabelValue: 2023-01 - attributeHeader: labelValue: 2023-02 primaryLabelValue: 2023-02 @@ -2594,6 +2590,9 @@ interactions: - attributeHeader: labelValue: 2023-12 primaryLabelValue: 2023-12 + - attributeHeader: + labelValue: 2024-01 + primaryLabelValue: 2024-01 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 abb455766..52c27b9c2 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 @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: @@ -174,7 +174,7 @@ interactions: direction: asc version: '2' visualizationUrl: local:table - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 relationships: createdBy: data: @@ -221,7 +221,7 @@ interactions: attributes: title: Revenue description: '' - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} @@ -274,7 +274,7 @@ interactions: type: metric attributes: title: '% Revenue in Category' - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, @@ -478,7 +478,7 @@ interactions: type: label localIdentifier: dim_1 links: - executionResult: 8341b3f5ce159f53c4be5fc0d02f0edfa526d095 + executionResult: 874fb316efd37f64ab187c314491e64ab75ad5c1 - request: method: GET uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=0&size=500 @@ -1019,10 +1019,10 @@ interactions: type: dataset labels: data: - - id: geo__state__location - type: label - id: state type: label + - id: geo__state__location + type: label links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state meta: @@ -1093,50 +1093,50 @@ interactions: type: attribute referenceProperties: - identifier: - id: campaigns + id: customers type: dataset multivalue: false sources: - - column: campaign_id + - column: customer_id dataType: INT target: - id: campaign_id + id: customer_id type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: - id: date + id: products type: dataset multivalue: false sources: - - column: date - dataType: DATE + - column: product_id + dataType: INT target: - id: date - type: date + id: product_id + type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: - id: customers + id: date type: dataset multivalue: false sources: - - column: customer_id - dataType: INT + - column: date + dataType: DATE target: - id: customer_id - type: attribute + id: date + type: date sourceColumns: null sourceColumnDataTypes: null - identifier: - id: products + id: campaigns type: dataset multivalue: false sources: - - column: product_id + - column: campaign_id dataType: INT target: - id: product_id + id: campaign_id type: attribute sourceColumns: null sourceColumnDataTypes: null @@ -1598,12 +1598,12 @@ interactions: relationships: attributes: data: - - id: type - type: attribute - id: campaign_channel_id type: attribute - id: campaign_channels.category type: attribute + - id: type + type: attribute facts: data: - id: spend @@ -1635,10 +1635,10 @@ interactions: relationships: attributes: data: - - id: campaign_id - type: attribute - id: campaign_name type: attribute + - id: campaign_id + type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaigns meta: @@ -1664,14 +1664,14 @@ interactions: relationships: attributes: data: - - id: customer_name - type: attribute - - id: region - type: attribute - id: customer_id type: attribute + - id: customer_name + type: attribute - id: state type: attribute + - id: region + type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/customers meta: @@ -1691,12 +1691,12 @@ interactions: data: - id: date.month type: attribute - - id: date.week - type: attribute - id: date.day type: attribute - id: date.quarter type: attribute + - id: date.week + type: attribute - id: date.year type: attribute links: @@ -1717,50 +1717,50 @@ interactions: type: attribute referenceProperties: - identifier: - id: campaigns + id: customers type: dataset multivalue: false sources: - - column: campaign_id + - column: customer_id dataType: INT target: - id: campaign_id + id: customer_id type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: - id: date + id: products type: dataset multivalue: false sources: - - column: date - dataType: DATE + - column: product_id + dataType: INT target: - id: date - type: date + id: product_id + type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: - id: customers + id: date type: dataset multivalue: false sources: - - column: customer_id - dataType: INT + - column: date + dataType: DATE target: - id: customer_id - type: attribute + id: date + type: date sourceColumns: null sourceColumnDataTypes: null - identifier: - id: products + id: campaigns type: dataset multivalue: false sources: - - column: product_id + - column: campaign_id dataType: INT target: - id: product_id + id: campaign_id type: attribute sourceColumns: null sourceColumnDataTypes: null @@ -2180,7 +2180,7 @@ interactions: attributes: title: '# of Active Customers' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) @@ -2195,7 +2195,7 @@ interactions: attributes: title: '# of Orders' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) @@ -2210,7 +2210,7 @@ interactions: attributes: title: '# of Top Customers' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT @@ -2227,7 +2227,7 @@ interactions: title: '# of Valid Orders' description: '' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} @@ -2243,7 +2243,7 @@ interactions: attributes: title: Campaign Spend areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT SUM({fact/spend}) @@ -2258,7 +2258,7 @@ interactions: attributes: title: Order Amount areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) @@ -2273,7 +2273,7 @@ interactions: attributes: title: '% Revenue' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} @@ -2288,7 +2288,7 @@ interactions: attributes: title: '% Revenue from Top 10 Customers' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2304,7 +2304,7 @@ interactions: attributes: title: '% Revenue from Top 10% Customers' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2320,7 +2320,7 @@ interactions: attributes: title: '% Revenue from Top 10% Products' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2336,7 +2336,7 @@ interactions: attributes: title: '% Revenue from Top 10 Products' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2352,7 +2352,7 @@ interactions: attributes: title: '% Revenue in Category' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, @@ -2368,7 +2368,7 @@ interactions: attributes: title: '% Revenue per Product' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL @@ -2385,7 +2385,7 @@ interactions: title: Revenue description: '' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} @@ -2401,7 +2401,7 @@ interactions: attributes: title: Revenue (Clothing) areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2417,7 +2417,7 @@ interactions: attributes: title: Revenue (Electronic) areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2433,7 +2433,7 @@ interactions: attributes: title: Revenue (Home) areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2449,7 +2449,7 @@ interactions: attributes: title: Revenue (Outdoor) areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2465,7 +2465,7 @@ interactions: attributes: title: Revenue per Customer areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) @@ -2480,7 +2480,7 @@ interactions: attributes: title: Revenue per Dollar Spent areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} @@ -2495,7 +2495,7 @@ interactions: attributes: title: Revenue / Top 10 areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) @@ -2510,7 +2510,7 @@ interactions: attributes: title: Revenue / Top 10% areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) @@ -2525,7 +2525,7 @@ interactions: attributes: title: Total Revenue areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER @@ -2540,7 +2540,7 @@ interactions: attributes: title: Total Revenue (No Filters) areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER @@ -2555,7 +2555,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/8341b3f5ce159f53c4be5fc0d02f0edfa526d095?offset=0%2C0&limit=4%2C1000 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/874fb316efd37f64ab187c314491e64ab75ad5c1?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 94e289b4f..0e3eb793d 100644 --- a/gooddata-pandas/tests/dataframe/fixtures/dataframe_for_items.yaml +++ b/gooddata-pandas/tests/dataframe/fixtures/dataframe_for_items.yaml @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: @@ -161,7 +161,7 @@ interactions: type: label localIdentifier: dim_1 links: - executionResult: 26cf17385e98c6ef28da1383e2b0e36b7ef034ae + executionResult: 8b749b2188c4b7bbb228c19efd46e6843120af6a - request: method: GET uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=0&size=500 @@ -702,10 +702,10 @@ interactions: type: dataset labels: data: - - id: geo__state__location - type: label - id: state type: label + - id: geo__state__location + type: label links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state meta: @@ -776,50 +776,50 @@ interactions: type: attribute referenceProperties: - identifier: - id: campaigns + id: customers type: dataset multivalue: false sources: - - column: campaign_id + - column: customer_id dataType: INT target: - id: campaign_id + id: customer_id type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: - id: date + id: products type: dataset multivalue: false sources: - - column: date - dataType: DATE + - column: product_id + dataType: INT target: - id: date - type: date + id: product_id + type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: - id: customers + id: date type: dataset multivalue: false sources: - - column: customer_id - dataType: INT + - column: date + dataType: DATE target: - id: customer_id - type: attribute + id: date + type: date sourceColumns: null sourceColumnDataTypes: null - identifier: - id: products + id: campaigns type: dataset multivalue: false sources: - - column: product_id + - column: campaign_id dataType: INT target: - id: product_id + id: campaign_id type: attribute sourceColumns: null sourceColumnDataTypes: null @@ -1281,12 +1281,12 @@ interactions: relationships: attributes: data: - - id: type - type: attribute - id: campaign_channel_id type: attribute - id: campaign_channels.category type: attribute + - id: type + type: attribute facts: data: - id: spend @@ -1318,10 +1318,10 @@ interactions: relationships: attributes: data: - - id: campaign_id - type: attribute - id: campaign_name type: attribute + - id: campaign_id + type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaigns meta: @@ -1347,14 +1347,14 @@ interactions: relationships: attributes: data: - - id: customer_name - type: attribute - - id: region - type: attribute - id: customer_id type: attribute + - id: customer_name + type: attribute - id: state type: attribute + - id: region + type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/customers meta: @@ -1374,12 +1374,12 @@ interactions: data: - id: date.month type: attribute - - id: date.week - type: attribute - id: date.day type: attribute - id: date.quarter type: attribute + - id: date.week + type: attribute - id: date.year type: attribute links: @@ -1400,50 +1400,50 @@ interactions: type: attribute referenceProperties: - identifier: - id: campaigns + id: customers type: dataset multivalue: false sources: - - column: campaign_id + - column: customer_id dataType: INT target: - id: campaign_id + id: customer_id type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: - id: date + id: products type: dataset multivalue: false sources: - - column: date - dataType: DATE + - column: product_id + dataType: INT target: - id: date - type: date + id: product_id + type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: - id: customers + id: date type: dataset multivalue: false sources: - - column: customer_id - dataType: INT + - column: date + dataType: DATE target: - id: customer_id - type: attribute + id: date + type: date sourceColumns: null sourceColumnDataTypes: null - identifier: - id: products + id: campaigns type: dataset multivalue: false sources: - - column: product_id + - column: campaign_id dataType: INT target: - id: product_id + id: campaign_id type: attribute sourceColumns: null sourceColumnDataTypes: null @@ -1863,7 +1863,7 @@ interactions: attributes: title: '# of Active Customers' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) @@ -1878,7 +1878,7 @@ interactions: attributes: title: '# of Orders' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) @@ -1893,7 +1893,7 @@ interactions: attributes: title: '# of Top Customers' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT @@ -1910,7 +1910,7 @@ interactions: title: '# of Valid Orders' description: '' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} @@ -1926,7 +1926,7 @@ interactions: attributes: title: Campaign Spend areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT SUM({fact/spend}) @@ -1941,7 +1941,7 @@ interactions: attributes: title: Order Amount areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) @@ -1956,7 +1956,7 @@ interactions: attributes: title: '% Revenue' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} @@ -1971,7 +1971,7 @@ interactions: attributes: title: '% Revenue from Top 10 Customers' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -1987,7 +1987,7 @@ interactions: attributes: title: '% Revenue from Top 10% Customers' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2003,7 +2003,7 @@ interactions: attributes: title: '% Revenue from Top 10% Products' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2019,7 +2019,7 @@ interactions: attributes: title: '% Revenue from Top 10 Products' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2035,7 +2035,7 @@ interactions: attributes: title: '% Revenue in Category' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, @@ -2051,7 +2051,7 @@ interactions: attributes: title: '% Revenue per Product' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL @@ -2068,7 +2068,7 @@ interactions: title: Revenue description: '' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} @@ -2084,7 +2084,7 @@ interactions: attributes: title: Revenue (Clothing) areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2100,7 +2100,7 @@ interactions: attributes: title: Revenue (Electronic) areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2116,7 +2116,7 @@ interactions: attributes: title: Revenue (Home) areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2132,7 +2132,7 @@ interactions: attributes: title: Revenue (Outdoor) areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2148,7 +2148,7 @@ interactions: attributes: title: Revenue per Customer areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) @@ -2163,7 +2163,7 @@ interactions: attributes: title: Revenue per Dollar Spent areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} @@ -2178,7 +2178,7 @@ interactions: attributes: title: Revenue / Top 10 areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) @@ -2193,7 +2193,7 @@ interactions: attributes: title: Revenue / Top 10% areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) @@ -2208,7 +2208,7 @@ interactions: attributes: title: Total Revenue areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER @@ -2223,7 +2223,7 @@ interactions: attributes: title: Total Revenue (No Filters) areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER @@ -2238,7 +2238,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/26cf17385e98c6ef28da1383e2b0e36b7ef034ae?offset=0%2C0&limit=2%2C1000 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/8b749b2188c4b7bbb228c19efd46e6843120af6a?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 94e289b4f..0e3eb793d 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 @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: @@ -161,7 +161,7 @@ interactions: type: label localIdentifier: dim_1 links: - executionResult: 26cf17385e98c6ef28da1383e2b0e36b7ef034ae + executionResult: 8b749b2188c4b7bbb228c19efd46e6843120af6a - request: method: GET uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=0&size=500 @@ -702,10 +702,10 @@ interactions: type: dataset labels: data: - - id: geo__state__location - type: label - id: state type: label + - id: geo__state__location + type: label links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state meta: @@ -776,50 +776,50 @@ interactions: type: attribute referenceProperties: - identifier: - id: campaigns + id: customers type: dataset multivalue: false sources: - - column: campaign_id + - column: customer_id dataType: INT target: - id: campaign_id + id: customer_id type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: - id: date + id: products type: dataset multivalue: false sources: - - column: date - dataType: DATE + - column: product_id + dataType: INT target: - id: date - type: date + id: product_id + type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: - id: customers + id: date type: dataset multivalue: false sources: - - column: customer_id - dataType: INT + - column: date + dataType: DATE target: - id: customer_id - type: attribute + id: date + type: date sourceColumns: null sourceColumnDataTypes: null - identifier: - id: products + id: campaigns type: dataset multivalue: false sources: - - column: product_id + - column: campaign_id dataType: INT target: - id: product_id + id: campaign_id type: attribute sourceColumns: null sourceColumnDataTypes: null @@ -1281,12 +1281,12 @@ interactions: relationships: attributes: data: - - id: type - type: attribute - id: campaign_channel_id type: attribute - id: campaign_channels.category type: attribute + - id: type + type: attribute facts: data: - id: spend @@ -1318,10 +1318,10 @@ interactions: relationships: attributes: data: - - id: campaign_id - type: attribute - id: campaign_name type: attribute + - id: campaign_id + type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaigns meta: @@ -1347,14 +1347,14 @@ interactions: relationships: attributes: data: - - id: customer_name - type: attribute - - id: region - type: attribute - id: customer_id type: attribute + - id: customer_name + type: attribute - id: state type: attribute + - id: region + type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/customers meta: @@ -1374,12 +1374,12 @@ interactions: data: - id: date.month type: attribute - - id: date.week - type: attribute - id: date.day type: attribute - id: date.quarter type: attribute + - id: date.week + type: attribute - id: date.year type: attribute links: @@ -1400,50 +1400,50 @@ interactions: type: attribute referenceProperties: - identifier: - id: campaigns + id: customers type: dataset multivalue: false sources: - - column: campaign_id + - column: customer_id dataType: INT target: - id: campaign_id + id: customer_id type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: - id: date + id: products type: dataset multivalue: false sources: - - column: date - dataType: DATE + - column: product_id + dataType: INT target: - id: date - type: date + id: product_id + type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: - id: customers + id: date type: dataset multivalue: false sources: - - column: customer_id - dataType: INT + - column: date + dataType: DATE target: - id: customer_id - type: attribute + id: date + type: date sourceColumns: null sourceColumnDataTypes: null - identifier: - id: products + id: campaigns type: dataset multivalue: false sources: - - column: product_id + - column: campaign_id dataType: INT target: - id: product_id + id: campaign_id type: attribute sourceColumns: null sourceColumnDataTypes: null @@ -1863,7 +1863,7 @@ interactions: attributes: title: '# of Active Customers' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) @@ -1878,7 +1878,7 @@ interactions: attributes: title: '# of Orders' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) @@ -1893,7 +1893,7 @@ interactions: attributes: title: '# of Top Customers' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT @@ -1910,7 +1910,7 @@ interactions: title: '# of Valid Orders' description: '' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} @@ -1926,7 +1926,7 @@ interactions: attributes: title: Campaign Spend areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT SUM({fact/spend}) @@ -1941,7 +1941,7 @@ interactions: attributes: title: Order Amount areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) @@ -1956,7 +1956,7 @@ interactions: attributes: title: '% Revenue' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} @@ -1971,7 +1971,7 @@ interactions: attributes: title: '% Revenue from Top 10 Customers' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -1987,7 +1987,7 @@ interactions: attributes: title: '% Revenue from Top 10% Customers' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2003,7 +2003,7 @@ interactions: attributes: title: '% Revenue from Top 10% Products' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2019,7 +2019,7 @@ interactions: attributes: title: '% Revenue from Top 10 Products' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2035,7 +2035,7 @@ interactions: attributes: title: '% Revenue in Category' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, @@ -2051,7 +2051,7 @@ interactions: attributes: title: '% Revenue per Product' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL @@ -2068,7 +2068,7 @@ interactions: title: Revenue description: '' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} @@ -2084,7 +2084,7 @@ interactions: attributes: title: Revenue (Clothing) areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2100,7 +2100,7 @@ interactions: attributes: title: Revenue (Electronic) areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2116,7 +2116,7 @@ interactions: attributes: title: Revenue (Home) areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2132,7 +2132,7 @@ interactions: attributes: title: Revenue (Outdoor) areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2148,7 +2148,7 @@ interactions: attributes: title: Revenue per Customer areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) @@ -2163,7 +2163,7 @@ interactions: attributes: title: Revenue per Dollar Spent areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} @@ -2178,7 +2178,7 @@ interactions: attributes: title: Revenue / Top 10 areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) @@ -2193,7 +2193,7 @@ interactions: attributes: title: Revenue / Top 10% areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) @@ -2208,7 +2208,7 @@ interactions: attributes: title: Total Revenue areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER @@ -2223,7 +2223,7 @@ interactions: attributes: title: Total Revenue (No Filters) areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER @@ -2238,7 +2238,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/26cf17385e98c6ef28da1383e2b0e36b7ef034ae?offset=0%2C0&limit=2%2C1000 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/8b749b2188c4b7bbb228c19efd46e6843120af6a?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 afa300a3f..3b18075fc 100644 --- a/gooddata-pandas/tests/dataframe/fixtures/empty_indexed_dataframe.yaml +++ b/gooddata-pandas/tests/dataframe/fixtures/empty_indexed_dataframe.yaml @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: @@ -142,7 +142,7 @@ interactions: type: label localIdentifier: dim_1 links: - executionResult: e8b6b0820f533d0b86fa9625d7c2bbc29295f340 + executionResult: 82e3d6db5a6eb654c3eda7a385fbd174ba11fc65 - request: method: GET uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=0&size=500 @@ -267,6 +267,31 @@ interactions: origin: originType: NATIVE originId: demo + - id: type + type: attribute + attributes: + title: Type + description: Type + tags: + - Campaign channels + areRelationsValid: true + sourceColumn: type + sourceColumnDataType: STRING + relationships: + dataset: + data: + id: campaign_channels + type: dataset + labels: + data: + - id: type + type: label + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/type + meta: + origin: + originType: NATIVE + originId: demo - id: campaign_id type: attribute attributes: @@ -367,297 +392,297 @@ interactions: origin: originType: NATIVE originId: demo - - id: date.day + - id: region type: attribute attributes: - title: Date - Date - description: Date + title: Region + description: Region tags: - - Date - granularity: DAY + - Customers areRelationsValid: true + sourceColumn: region + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: customers type: dataset labels: data: - - id: date.day + - id: region type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.day + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/region meta: origin: originType: NATIVE originId: demo - - id: date.month + - id: order_id type: attribute attributes: - title: Date - Month/Year - description: Month and Year (12/2020) + title: Order id + description: Order id tags: - - Date - granularity: MONTH + - Order lines areRelationsValid: true + sourceColumn: order_id + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: order_lines type: dataset labels: data: - - id: date.month + - id: order_id type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.month + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_id meta: origin: originType: NATIVE originId: demo - - id: date.quarter + - id: order_line_id type: attribute attributes: - title: Date - Quarter/Year - description: Quarter and Year (Q1/2020) + title: Order line id + description: Order line id tags: - - Date - granularity: QUARTER + - Order lines areRelationsValid: true + sourceColumn: order_line_id + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: order_lines type: dataset labels: data: - - id: date.quarter + - id: order_line_id type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarter + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_line_id meta: origin: originType: NATIVE originId: demo - - id: date.week + - id: order_status type: attribute attributes: - title: Date - Week/Year - description: Week and Year (W52/2020) + title: Order status + description: Order status tags: - - Date - granularity: WEEK + - Order lines areRelationsValid: true + sourceColumn: order_status + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: order_lines type: dataset labels: data: - - id: date.week + - id: order_status type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_status meta: origin: originType: NATIVE originId: demo - - id: date.year + - id: product_id type: attribute attributes: - title: Date - Year - description: Year + title: Product id + description: Product id tags: - - Date - granularity: YEAR + - Products areRelationsValid: true + sourceColumn: product_id + sourceColumnDataType: INT relationships: dataset: data: - id: date + id: products type: dataset labels: data: - - id: date.year + - id: product_id type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.year + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_id meta: origin: originType: NATIVE originId: demo - - id: order_id + - id: product_name type: attribute attributes: - title: Order id - description: Order id + title: Product name + description: Product name tags: - - Order lines + - Products areRelationsValid: true - sourceColumn: order_id + sourceColumn: product_name sourceColumnDataType: STRING relationships: dataset: data: - id: order_lines + id: products type: dataset labels: data: - - id: order_id + - id: product_name type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_id + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_name meta: origin: originType: NATIVE originId: demo - - id: order_line_id + - id: products.category type: attribute attributes: - title: Order line id - description: Order line id + title: Category + description: Category tags: - - Order lines + - Products areRelationsValid: true - sourceColumn: order_line_id + sourceColumn: category sourceColumnDataType: STRING relationships: dataset: data: - id: order_lines + id: products type: dataset labels: data: - - id: order_line_id + - id: products.category type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_line_id + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/products.category meta: origin: originType: NATIVE originId: demo - - id: order_status + - id: date.day type: attribute attributes: - title: Order status - description: Order status + title: Date - Date + description: Date tags: - - Order lines + - Date + granularity: DAY areRelationsValid: true - sourceColumn: order_status - sourceColumnDataType: STRING relationships: dataset: data: - id: order_lines + id: date type: dataset labels: data: - - id: order_status + - id: date.day type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_status + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.day meta: origin: originType: NATIVE originId: demo - - id: product_id + - id: date.month type: attribute attributes: - title: Product id - description: Product id + title: Date - Month/Year + description: Month and Year (12/2020) tags: - - Products + - Date + granularity: MONTH areRelationsValid: true - sourceColumn: product_id - sourceColumnDataType: INT relationships: dataset: data: - id: products + id: date type: dataset labels: data: - - id: product_id + - id: date.month type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_id + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.month meta: origin: originType: NATIVE originId: demo - - id: product_name + - id: date.quarter type: attribute attributes: - title: Product name - description: Product name + title: Date - Quarter/Year + description: Quarter and Year (Q1/2020) tags: - - Products + - Date + granularity: QUARTER areRelationsValid: true - sourceColumn: product_name - sourceColumnDataType: STRING relationships: dataset: data: - id: products + id: date type: dataset labels: data: - - id: product_name + - id: date.quarter type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_name + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarter meta: origin: originType: NATIVE originId: demo - - id: products.category + - id: date.week type: attribute attributes: - title: Category - description: Category + title: Date - Week/Year + description: Week and Year (W52/2020) tags: - - Products + - Date + granularity: WEEK areRelationsValid: true - sourceColumn: category - sourceColumnDataType: STRING relationships: dataset: data: - id: products + id: date type: dataset labels: data: - - id: products.category + - id: date.week type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/products.category + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week meta: origin: originType: NATIVE originId: demo - - id: region + - id: date.year type: attribute attributes: - title: Region - description: Region + title: Date - Year + description: Year tags: - - Customers + - Date + granularity: YEAR areRelationsValid: true - sourceColumn: region - sourceColumnDataType: STRING relationships: dataset: data: - id: customers + id: date type: dataset labels: data: - - id: region + - id: date.year type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/region + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.year meta: origin: originType: NATIVE @@ -683,37 +708,12 @@ interactions: type: dataset labels: data: - - id: geo__state__location - type: label - id: state type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state - meta: - origin: - originType: NATIVE - originId: demo - - id: type - type: attribute - attributes: - title: Type - description: Type - tags: - - Campaign channels - areRelationsValid: true - sourceColumn: type - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: campaign_channels - type: dataset - labels: - data: - - id: type + - id: geo__state__location type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/type + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state meta: origin: originType: NATIVE @@ -757,50 +757,50 @@ interactions: type: attribute referenceProperties: - identifier: - id: campaigns + id: customers type: dataset multivalue: false sources: - - column: campaign_id + - column: customer_id dataType: INT target: - id: campaign_id + id: customer_id type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: - id: date + id: products type: dataset multivalue: false sources: - - column: date - dataType: DATE + - column: product_id + dataType: INT target: - id: date - type: date + id: product_id + type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: - id: customers + id: date type: dataset multivalue: false sources: - - column: customer_id - dataType: INT + - column: date + dataType: DATE target: - id: customer_id - type: attribute + id: date + type: date sourceColumns: null sourceColumnDataTypes: null - identifier: - id: products + id: campaigns type: dataset multivalue: false sources: - - column: product_id + - column: campaign_id dataType: INT target: - id: product_id + id: campaign_id type: attribute sourceColumns: null sourceColumnDataTypes: null @@ -1262,12 +1262,12 @@ interactions: relationships: attributes: data: - - id: type - type: attribute - id: campaign_channel_id type: attribute - id: campaign_channels.category type: attribute + - id: type + type: attribute facts: data: - id: spend @@ -1299,10 +1299,10 @@ interactions: relationships: attributes: data: - - id: campaign_id - type: attribute - id: campaign_name type: attribute + - id: campaign_id + type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaigns meta: @@ -1328,43 +1328,16 @@ interactions: relationships: attributes: data: - - id: customer_name - type: attribute - - id: region - type: attribute - id: customer_id type: attribute - - id: state - type: attribute - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/customers - meta: - origin: - originType: NATIVE - originId: demo - - id: date - type: dataset - attributes: - title: Date - tags: - - Date - areRelationsValid: true - type: DATE - relationships: - attributes: - data: - - id: date.month - type: attribute - - id: date.week - type: attribute - - id: date.day + - id: customer_name type: attribute - - id: date.quarter + - id: state type: attribute - - id: date.year + - id: region type: attribute links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date + self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/customers meta: origin: originType: NATIVE @@ -1381,50 +1354,50 @@ interactions: type: attribute referenceProperties: - identifier: - id: campaigns + id: customers type: dataset multivalue: false sources: - - column: campaign_id + - column: customer_id dataType: INT target: - id: campaign_id + id: customer_id type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: - id: date + id: products type: dataset multivalue: false sources: - - column: date - dataType: DATE + - column: product_id + dataType: INT target: - id: date - type: date + id: product_id + type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: - id: customers + id: date type: dataset multivalue: false sources: - - column: customer_id - dataType: INT + - column: date + dataType: DATE target: - id: customer_id - type: attribute + id: date + type: date sourceColumns: null sourceColumnDataTypes: null - identifier: - id: products + id: campaigns type: dataset multivalue: false sources: - - column: product_id + - column: campaign_id dataType: INT target: - id: product_id + id: campaign_id type: attribute sourceColumns: null sourceColumnDataTypes: null @@ -1434,20 +1407,20 @@ interactions: - order_lines areRelationsValid: true workspaceDataFilterColumns: - - name: wdf__region - dataType: STRING - name: wdf__state dataType: STRING + - name: wdf__region + dataType: STRING workspaceDataFilterReferences: - filterId: - id: wdf__state + id: wdf__region type: workspaceDataFilter - filterColumn: wdf__state + filterColumn: wdf__region filterColumnDataType: STRING - filterId: - id: wdf__region + id: wdf__state type: workspaceDataFilter - filterColumn: wdf__region + filterColumn: wdf__state filterColumnDataType: STRING type: NORMAL relationships: @@ -1502,6 +1475,33 @@ interactions: origin: originType: NATIVE originId: demo + - id: date + type: dataset + attributes: + title: Date + tags: + - Date + areRelationsValid: true + type: DATE + relationships: + attributes: + data: + - id: date.month + type: attribute + - id: date.day + type: attribute + - id: date.quarter + type: attribute + - id: date.week + type: attribute + - id: date.year + type: attribute + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date + meta: + origin: + originType: NATIVE + originId: demo included: - id: campaign_name type: attribute @@ -1844,7 +1844,7 @@ interactions: attributes: title: '# of Active Customers' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) @@ -1859,7 +1859,7 @@ interactions: attributes: title: '# of Orders' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) @@ -1874,7 +1874,7 @@ interactions: attributes: title: '# of Top Customers' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT @@ -1891,7 +1891,7 @@ interactions: title: '# of Valid Orders' description: '' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} @@ -1907,7 +1907,7 @@ interactions: attributes: title: Campaign Spend areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT SUM({fact/spend}) @@ -1922,7 +1922,7 @@ interactions: attributes: title: Order Amount areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) @@ -1937,7 +1937,7 @@ interactions: attributes: title: '% Revenue' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} @@ -1952,7 +1952,7 @@ interactions: attributes: title: '% Revenue from Top 10 Customers' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -1968,7 +1968,7 @@ interactions: attributes: title: '% Revenue from Top 10% Customers' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -1979,12 +1979,28 @@ interactions: origin: originType: NATIVE originId: demo + - id: revenue-outdoor + type: metric + attributes: + title: Revenue (Outdoor) + areRelationsValid: true + createdAt: 2024-01-11 10:30 + 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 + meta: + origin: + originType: NATIVE + originId: demo - id: percent_revenue_from_top_10_percent_products type: metric attributes: title: '% Revenue from Top 10% Products' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2000,7 +2016,7 @@ interactions: attributes: title: '% Revenue from Top 10 Products' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2016,7 +2032,7 @@ interactions: attributes: title: '% Revenue in Category' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, @@ -2032,7 +2048,7 @@ interactions: attributes: title: '% Revenue per Product' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL @@ -2049,7 +2065,7 @@ interactions: title: Revenue description: '' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} @@ -2065,7 +2081,7 @@ interactions: attributes: title: Revenue (Clothing) areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2081,7 +2097,7 @@ interactions: attributes: title: Revenue (Electronic) areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2097,7 +2113,7 @@ interactions: attributes: title: Revenue (Home) areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2108,28 +2124,12 @@ interactions: origin: originType: NATIVE originId: demo - - id: revenue-outdoor - type: metric - attributes: - title: Revenue (Outdoor) - areRelationsValid: true - createdAt: 2023-12-14 14:09 - 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 - meta: - origin: - originType: NATIVE - originId: demo - id: revenue_per_customer type: metric attributes: title: Revenue per Customer areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) @@ -2144,7 +2144,7 @@ interactions: attributes: title: Revenue per Dollar Spent areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} @@ -2159,7 +2159,7 @@ interactions: attributes: title: Revenue / Top 10 areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) @@ -2174,7 +2174,7 @@ interactions: attributes: title: Revenue / Top 10% areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) @@ -2189,7 +2189,7 @@ interactions: attributes: title: Total Revenue areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER @@ -2204,7 +2204,7 @@ interactions: attributes: title: Total Revenue (No Filters) areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER @@ -2219,7 +2219,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/e8b6b0820f533d0b86fa9625d7c2bbc29295f340?offset=0%2C0&limit=2%2C1000 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/82e3d6db5a6eb654c3eda7a385fbd174ba11fc65?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 afa300a3f..3b18075fc 100644 --- a/gooddata-pandas/tests/dataframe/fixtures/empty_not_indexed_dataframe.yaml +++ b/gooddata-pandas/tests/dataframe/fixtures/empty_not_indexed_dataframe.yaml @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: @@ -142,7 +142,7 @@ interactions: type: label localIdentifier: dim_1 links: - executionResult: e8b6b0820f533d0b86fa9625d7c2bbc29295f340 + executionResult: 82e3d6db5a6eb654c3eda7a385fbd174ba11fc65 - request: method: GET uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=0&size=500 @@ -267,6 +267,31 @@ interactions: origin: originType: NATIVE originId: demo + - id: type + type: attribute + attributes: + title: Type + description: Type + tags: + - Campaign channels + areRelationsValid: true + sourceColumn: type + sourceColumnDataType: STRING + relationships: + dataset: + data: + id: campaign_channels + type: dataset + labels: + data: + - id: type + type: label + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/type + meta: + origin: + originType: NATIVE + originId: demo - id: campaign_id type: attribute attributes: @@ -367,297 +392,297 @@ interactions: origin: originType: NATIVE originId: demo - - id: date.day + - id: region type: attribute attributes: - title: Date - Date - description: Date + title: Region + description: Region tags: - - Date - granularity: DAY + - Customers areRelationsValid: true + sourceColumn: region + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: customers type: dataset labels: data: - - id: date.day + - id: region type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.day + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/region meta: origin: originType: NATIVE originId: demo - - id: date.month + - id: order_id type: attribute attributes: - title: Date - Month/Year - description: Month and Year (12/2020) + title: Order id + description: Order id tags: - - Date - granularity: MONTH + - Order lines areRelationsValid: true + sourceColumn: order_id + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: order_lines type: dataset labels: data: - - id: date.month + - id: order_id type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.month + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_id meta: origin: originType: NATIVE originId: demo - - id: date.quarter + - id: order_line_id type: attribute attributes: - title: Date - Quarter/Year - description: Quarter and Year (Q1/2020) + title: Order line id + description: Order line id tags: - - Date - granularity: QUARTER + - Order lines areRelationsValid: true + sourceColumn: order_line_id + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: order_lines type: dataset labels: data: - - id: date.quarter + - id: order_line_id type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarter + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_line_id meta: origin: originType: NATIVE originId: demo - - id: date.week + - id: order_status type: attribute attributes: - title: Date - Week/Year - description: Week and Year (W52/2020) + title: Order status + description: Order status tags: - - Date - granularity: WEEK + - Order lines areRelationsValid: true + sourceColumn: order_status + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: order_lines type: dataset labels: data: - - id: date.week + - id: order_status type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_status meta: origin: originType: NATIVE originId: demo - - id: date.year + - id: product_id type: attribute attributes: - title: Date - Year - description: Year + title: Product id + description: Product id tags: - - Date - granularity: YEAR + - Products areRelationsValid: true + sourceColumn: product_id + sourceColumnDataType: INT relationships: dataset: data: - id: date + id: products type: dataset labels: data: - - id: date.year + - id: product_id type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.year + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_id meta: origin: originType: NATIVE originId: demo - - id: order_id + - id: product_name type: attribute attributes: - title: Order id - description: Order id + title: Product name + description: Product name tags: - - Order lines + - Products areRelationsValid: true - sourceColumn: order_id + sourceColumn: product_name sourceColumnDataType: STRING relationships: dataset: data: - id: order_lines + id: products type: dataset labels: data: - - id: order_id + - id: product_name type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_id + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_name meta: origin: originType: NATIVE originId: demo - - id: order_line_id + - id: products.category type: attribute attributes: - title: Order line id - description: Order line id + title: Category + description: Category tags: - - Order lines + - Products areRelationsValid: true - sourceColumn: order_line_id + sourceColumn: category sourceColumnDataType: STRING relationships: dataset: data: - id: order_lines + id: products type: dataset labels: data: - - id: order_line_id + - id: products.category type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_line_id + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/products.category meta: origin: originType: NATIVE originId: demo - - id: order_status + - id: date.day type: attribute attributes: - title: Order status - description: Order status + title: Date - Date + description: Date tags: - - Order lines + - Date + granularity: DAY areRelationsValid: true - sourceColumn: order_status - sourceColumnDataType: STRING relationships: dataset: data: - id: order_lines + id: date type: dataset labels: data: - - id: order_status + - id: date.day type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_status + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.day meta: origin: originType: NATIVE originId: demo - - id: product_id + - id: date.month type: attribute attributes: - title: Product id - description: Product id + title: Date - Month/Year + description: Month and Year (12/2020) tags: - - Products + - Date + granularity: MONTH areRelationsValid: true - sourceColumn: product_id - sourceColumnDataType: INT relationships: dataset: data: - id: products + id: date type: dataset labels: data: - - id: product_id + - id: date.month type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_id + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.month meta: origin: originType: NATIVE originId: demo - - id: product_name + - id: date.quarter type: attribute attributes: - title: Product name - description: Product name + title: Date - Quarter/Year + description: Quarter and Year (Q1/2020) tags: - - Products + - Date + granularity: QUARTER areRelationsValid: true - sourceColumn: product_name - sourceColumnDataType: STRING relationships: dataset: data: - id: products + id: date type: dataset labels: data: - - id: product_name + - id: date.quarter type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_name + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarter meta: origin: originType: NATIVE originId: demo - - id: products.category + - id: date.week type: attribute attributes: - title: Category - description: Category + title: Date - Week/Year + description: Week and Year (W52/2020) tags: - - Products + - Date + granularity: WEEK areRelationsValid: true - sourceColumn: category - sourceColumnDataType: STRING relationships: dataset: data: - id: products + id: date type: dataset labels: data: - - id: products.category + - id: date.week type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/products.category + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week meta: origin: originType: NATIVE originId: demo - - id: region + - id: date.year type: attribute attributes: - title: Region - description: Region + title: Date - Year + description: Year tags: - - Customers + - Date + granularity: YEAR areRelationsValid: true - sourceColumn: region - sourceColumnDataType: STRING relationships: dataset: data: - id: customers + id: date type: dataset labels: data: - - id: region + - id: date.year type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/region + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.year meta: origin: originType: NATIVE @@ -683,37 +708,12 @@ interactions: type: dataset labels: data: - - id: geo__state__location - type: label - id: state type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state - meta: - origin: - originType: NATIVE - originId: demo - - id: type - type: attribute - attributes: - title: Type - description: Type - tags: - - Campaign channels - areRelationsValid: true - sourceColumn: type - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: campaign_channels - type: dataset - labels: - data: - - id: type + - id: geo__state__location type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/type + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state meta: origin: originType: NATIVE @@ -757,50 +757,50 @@ interactions: type: attribute referenceProperties: - identifier: - id: campaigns + id: customers type: dataset multivalue: false sources: - - column: campaign_id + - column: customer_id dataType: INT target: - id: campaign_id + id: customer_id type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: - id: date + id: products type: dataset multivalue: false sources: - - column: date - dataType: DATE + - column: product_id + dataType: INT target: - id: date - type: date + id: product_id + type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: - id: customers + id: date type: dataset multivalue: false sources: - - column: customer_id - dataType: INT + - column: date + dataType: DATE target: - id: customer_id - type: attribute + id: date + type: date sourceColumns: null sourceColumnDataTypes: null - identifier: - id: products + id: campaigns type: dataset multivalue: false sources: - - column: product_id + - column: campaign_id dataType: INT target: - id: product_id + id: campaign_id type: attribute sourceColumns: null sourceColumnDataTypes: null @@ -1262,12 +1262,12 @@ interactions: relationships: attributes: data: - - id: type - type: attribute - id: campaign_channel_id type: attribute - id: campaign_channels.category type: attribute + - id: type + type: attribute facts: data: - id: spend @@ -1299,10 +1299,10 @@ interactions: relationships: attributes: data: - - id: campaign_id - type: attribute - id: campaign_name type: attribute + - id: campaign_id + type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaigns meta: @@ -1328,43 +1328,16 @@ interactions: relationships: attributes: data: - - id: customer_name - type: attribute - - id: region - type: attribute - id: customer_id type: attribute - - id: state - type: attribute - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/customers - meta: - origin: - originType: NATIVE - originId: demo - - id: date - type: dataset - attributes: - title: Date - tags: - - Date - areRelationsValid: true - type: DATE - relationships: - attributes: - data: - - id: date.month - type: attribute - - id: date.week - type: attribute - - id: date.day + - id: customer_name type: attribute - - id: date.quarter + - id: state type: attribute - - id: date.year + - id: region type: attribute links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date + self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/customers meta: origin: originType: NATIVE @@ -1381,50 +1354,50 @@ interactions: type: attribute referenceProperties: - identifier: - id: campaigns + id: customers type: dataset multivalue: false sources: - - column: campaign_id + - column: customer_id dataType: INT target: - id: campaign_id + id: customer_id type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: - id: date + id: products type: dataset multivalue: false sources: - - column: date - dataType: DATE + - column: product_id + dataType: INT target: - id: date - type: date + id: product_id + type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: - id: customers + id: date type: dataset multivalue: false sources: - - column: customer_id - dataType: INT + - column: date + dataType: DATE target: - id: customer_id - type: attribute + id: date + type: date sourceColumns: null sourceColumnDataTypes: null - identifier: - id: products + id: campaigns type: dataset multivalue: false sources: - - column: product_id + - column: campaign_id dataType: INT target: - id: product_id + id: campaign_id type: attribute sourceColumns: null sourceColumnDataTypes: null @@ -1434,20 +1407,20 @@ interactions: - order_lines areRelationsValid: true workspaceDataFilterColumns: - - name: wdf__region - dataType: STRING - name: wdf__state dataType: STRING + - name: wdf__region + dataType: STRING workspaceDataFilterReferences: - filterId: - id: wdf__state + id: wdf__region type: workspaceDataFilter - filterColumn: wdf__state + filterColumn: wdf__region filterColumnDataType: STRING - filterId: - id: wdf__region + id: wdf__state type: workspaceDataFilter - filterColumn: wdf__region + filterColumn: wdf__state filterColumnDataType: STRING type: NORMAL relationships: @@ -1502,6 +1475,33 @@ interactions: origin: originType: NATIVE originId: demo + - id: date + type: dataset + attributes: + title: Date + tags: + - Date + areRelationsValid: true + type: DATE + relationships: + attributes: + data: + - id: date.month + type: attribute + - id: date.day + type: attribute + - id: date.quarter + type: attribute + - id: date.week + type: attribute + - id: date.year + type: attribute + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date + meta: + origin: + originType: NATIVE + originId: demo included: - id: campaign_name type: attribute @@ -1844,7 +1844,7 @@ interactions: attributes: title: '# of Active Customers' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) @@ -1859,7 +1859,7 @@ interactions: attributes: title: '# of Orders' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) @@ -1874,7 +1874,7 @@ interactions: attributes: title: '# of Top Customers' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT @@ -1891,7 +1891,7 @@ interactions: title: '# of Valid Orders' description: '' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} @@ -1907,7 +1907,7 @@ interactions: attributes: title: Campaign Spend areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT SUM({fact/spend}) @@ -1922,7 +1922,7 @@ interactions: attributes: title: Order Amount areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) @@ -1937,7 +1937,7 @@ interactions: attributes: title: '% Revenue' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} @@ -1952,7 +1952,7 @@ interactions: attributes: title: '% Revenue from Top 10 Customers' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -1968,7 +1968,7 @@ interactions: attributes: title: '% Revenue from Top 10% Customers' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -1979,12 +1979,28 @@ interactions: origin: originType: NATIVE originId: demo + - id: revenue-outdoor + type: metric + attributes: + title: Revenue (Outdoor) + areRelationsValid: true + createdAt: 2024-01-11 10:30 + 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 + meta: + origin: + originType: NATIVE + originId: demo - id: percent_revenue_from_top_10_percent_products type: metric attributes: title: '% Revenue from Top 10% Products' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2000,7 +2016,7 @@ interactions: attributes: title: '% Revenue from Top 10 Products' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2016,7 +2032,7 @@ interactions: attributes: title: '% Revenue in Category' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, @@ -2032,7 +2048,7 @@ interactions: attributes: title: '% Revenue per Product' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL @@ -2049,7 +2065,7 @@ interactions: title: Revenue description: '' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} @@ -2065,7 +2081,7 @@ interactions: attributes: title: Revenue (Clothing) areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2081,7 +2097,7 @@ interactions: attributes: title: Revenue (Electronic) areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2097,7 +2113,7 @@ interactions: attributes: title: Revenue (Home) areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2108,28 +2124,12 @@ interactions: origin: originType: NATIVE originId: demo - - id: revenue-outdoor - type: metric - attributes: - title: Revenue (Outdoor) - areRelationsValid: true - createdAt: 2023-12-14 14:09 - 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 - meta: - origin: - originType: NATIVE - originId: demo - id: revenue_per_customer type: metric attributes: title: Revenue per Customer areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) @@ -2144,7 +2144,7 @@ interactions: attributes: title: Revenue per Dollar Spent areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} @@ -2159,7 +2159,7 @@ interactions: attributes: title: Revenue / Top 10 areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) @@ -2174,7 +2174,7 @@ interactions: attributes: title: Revenue / Top 10% areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) @@ -2189,7 +2189,7 @@ interactions: attributes: title: Total Revenue areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER @@ -2204,7 +2204,7 @@ interactions: attributes: title: Total Revenue (No Filters) areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER @@ -2219,7 +2219,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/e8b6b0820f533d0b86fa9625d7c2bbc29295f340?offset=0%2C0&limit=2%2C1000 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/82e3d6db5a6eb654c3eda7a385fbd174ba11fc65?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 5a4a59b7b..65666e3e1 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 @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: @@ -195,7 +195,7 @@ interactions: type: label localIdentifier: dim_1 links: - executionResult: 9df1ebcdc25911120099a3c246ed4dfacb5f3cf2 + executionResult: 1d76b74d4d069486ade05f1b63313def09776b2d - request: method: GET uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=0&size=500 @@ -736,10 +736,10 @@ interactions: type: dataset labels: data: - - id: geo__state__location - type: label - id: state type: label + - id: geo__state__location + type: label links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state meta: @@ -810,50 +810,50 @@ interactions: type: attribute referenceProperties: - identifier: - id: campaigns + id: customers type: dataset multivalue: false sources: - - column: campaign_id + - column: customer_id dataType: INT target: - id: campaign_id + id: customer_id type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: - id: date + id: products type: dataset multivalue: false sources: - - column: date - dataType: DATE + - column: product_id + dataType: INT target: - id: date - type: date + id: product_id + type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: - id: customers + id: date type: dataset multivalue: false sources: - - column: customer_id - dataType: INT + - column: date + dataType: DATE target: - id: customer_id - type: attribute + id: date + type: date sourceColumns: null sourceColumnDataTypes: null - identifier: - id: products + id: campaigns type: dataset multivalue: false sources: - - column: product_id + - column: campaign_id dataType: INT target: - id: product_id + id: campaign_id type: attribute sourceColumns: null sourceColumnDataTypes: null @@ -1315,12 +1315,12 @@ interactions: relationships: attributes: data: - - id: type - type: attribute - id: campaign_channel_id type: attribute - id: campaign_channels.category type: attribute + - id: type + type: attribute facts: data: - id: spend @@ -1352,10 +1352,10 @@ interactions: relationships: attributes: data: - - id: campaign_id - type: attribute - id: campaign_name type: attribute + - id: campaign_id + type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaigns meta: @@ -1381,14 +1381,14 @@ interactions: relationships: attributes: data: - - id: customer_name - type: attribute - - id: region - type: attribute - id: customer_id type: attribute + - id: customer_name + type: attribute - id: state type: attribute + - id: region + type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/customers meta: @@ -1408,12 +1408,12 @@ interactions: data: - id: date.month type: attribute - - id: date.week - type: attribute - id: date.day type: attribute - id: date.quarter type: attribute + - id: date.week + type: attribute - id: date.year type: attribute links: @@ -1434,50 +1434,50 @@ interactions: type: attribute referenceProperties: - identifier: - id: campaigns + id: customers type: dataset multivalue: false sources: - - column: campaign_id + - column: customer_id dataType: INT target: - id: campaign_id + id: customer_id type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: - id: date + id: products type: dataset multivalue: false sources: - - column: date - dataType: DATE + - column: product_id + dataType: INT target: - id: date - type: date + id: product_id + type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: - id: customers + id: date type: dataset multivalue: false sources: - - column: customer_id - dataType: INT + - column: date + dataType: DATE target: - id: customer_id - type: attribute + id: date + type: date sourceColumns: null sourceColumnDataTypes: null - identifier: - id: products + id: campaigns type: dataset multivalue: false sources: - - column: product_id + - column: campaign_id dataType: INT target: - id: product_id + id: campaign_id type: attribute sourceColumns: null sourceColumnDataTypes: null @@ -1897,7 +1897,7 @@ interactions: attributes: title: '# of Active Customers' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) @@ -1912,7 +1912,7 @@ interactions: attributes: title: '# of Orders' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) @@ -1927,7 +1927,7 @@ interactions: attributes: title: '# of Top Customers' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT @@ -1944,7 +1944,7 @@ interactions: title: '# of Valid Orders' description: '' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} @@ -1960,7 +1960,7 @@ interactions: attributes: title: Campaign Spend areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT SUM({fact/spend}) @@ -1975,7 +1975,7 @@ interactions: attributes: title: Order Amount areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) @@ -1990,7 +1990,7 @@ interactions: attributes: title: '% Revenue' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} @@ -2005,7 +2005,7 @@ interactions: attributes: title: '% Revenue from Top 10 Customers' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2021,7 +2021,7 @@ interactions: attributes: title: '% Revenue from Top 10% Customers' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2037,7 +2037,7 @@ interactions: attributes: title: '% Revenue from Top 10% Products' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2053,7 +2053,7 @@ interactions: attributes: title: '% Revenue from Top 10 Products' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2069,7 +2069,7 @@ interactions: attributes: title: '% Revenue in Category' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, @@ -2085,7 +2085,7 @@ interactions: attributes: title: '% Revenue per Product' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL @@ -2102,7 +2102,7 @@ interactions: title: Revenue description: '' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} @@ -2118,7 +2118,7 @@ interactions: attributes: title: Revenue (Clothing) areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2134,7 +2134,7 @@ interactions: attributes: title: Revenue (Electronic) areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2150,7 +2150,7 @@ interactions: attributes: title: Revenue (Home) areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2166,7 +2166,7 @@ interactions: attributes: title: Revenue (Outdoor) areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2182,7 +2182,7 @@ interactions: attributes: title: Revenue per Customer areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) @@ -2197,7 +2197,7 @@ interactions: attributes: title: Revenue per Dollar Spent areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} @@ -2212,7 +2212,7 @@ interactions: attributes: title: Revenue / Top 10 areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) @@ -2227,7 +2227,7 @@ interactions: attributes: title: Revenue / Top 10% areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) @@ -2242,7 +2242,7 @@ interactions: attributes: title: Total Revenue areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER @@ -2257,7 +2257,7 @@ interactions: attributes: title: Total Revenue (No Filters) areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER @@ -2272,7 +2272,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/9df1ebcdc25911120099a3c246ed4dfacb5f3cf2?offset=0%2C0&limit=2%2C1000 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/1d76b74d4d069486ade05f1b63313def09776b2d?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 04211a55c..7cc5507a0 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 @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: @@ -170,7 +170,7 @@ interactions: type: label localIdentifier: dim_1 links: - executionResult: eb926718861c79afec82a9f5ca1698ceda5be95b + executionResult: 7d74dfe42ecc6b904904c1fd6879ededaaddb663 - request: method: GET uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=0&size=500 @@ -295,31 +295,6 @@ interactions: origin: originType: NATIVE originId: demo - - id: type - type: attribute - attributes: - title: Type - description: Type - tags: - - Campaign channels - areRelationsValid: true - sourceColumn: type - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: campaign_channels - type: dataset - labels: - data: - - id: type - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/type - meta: - origin: - originType: NATIVE - originId: demo - id: campaign_id type: attribute attributes: @@ -420,297 +395,297 @@ interactions: origin: originType: NATIVE originId: demo - - id: region + - id: date.day type: attribute attributes: - title: Region - description: Region + title: Date - Date + description: Date tags: - - Customers + - Date + granularity: DAY areRelationsValid: true - sourceColumn: region - sourceColumnDataType: STRING relationships: dataset: data: - id: customers + id: date type: dataset labels: data: - - id: region + - id: date.day type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/region + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.day meta: origin: originType: NATIVE originId: demo - - id: order_id + - id: date.month type: attribute attributes: - title: Order id - description: Order id + title: Date - Month/Year + description: Month and Year (12/2020) tags: - - Order lines + - Date + granularity: MONTH areRelationsValid: true - sourceColumn: order_id - sourceColumnDataType: STRING relationships: dataset: data: - id: order_lines + id: date type: dataset labels: data: - - id: order_id + - id: date.month type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_id + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.month meta: origin: originType: NATIVE originId: demo - - id: order_line_id + - id: date.quarter type: attribute attributes: - title: Order line id - description: Order line id + title: Date - Quarter/Year + description: Quarter and Year (Q1/2020) tags: - - Order lines + - Date + granularity: QUARTER areRelationsValid: true - sourceColumn: order_line_id - sourceColumnDataType: STRING relationships: dataset: data: - id: order_lines + id: date type: dataset labels: data: - - id: order_line_id + - id: date.quarter type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_line_id + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarter meta: origin: originType: NATIVE originId: demo - - id: order_status + - id: date.week type: attribute attributes: - title: Order status - description: Order status + title: Date - Week/Year + description: Week and Year (W52/2020) tags: - - Order lines + - Date + granularity: WEEK areRelationsValid: true - sourceColumn: order_status - sourceColumnDataType: STRING relationships: dataset: data: - id: order_lines + id: date type: dataset labels: data: - - id: order_status + - id: date.week type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_status + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week meta: origin: originType: NATIVE originId: demo - - id: product_id + - id: date.year type: attribute attributes: - title: Product id - description: Product id + title: Date - Year + description: Year tags: - - Products + - Date + granularity: YEAR areRelationsValid: true - sourceColumn: product_id - sourceColumnDataType: INT relationships: dataset: data: - id: products + id: date type: dataset labels: data: - - id: product_id + - id: date.year type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_id + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.year meta: origin: originType: NATIVE originId: demo - - id: product_name + - id: order_id type: attribute attributes: - title: Product name - description: Product name + title: Order id + description: Order id tags: - - Products + - Order lines areRelationsValid: true - sourceColumn: product_name + sourceColumn: order_id sourceColumnDataType: STRING relationships: dataset: data: - id: products + id: order_lines type: dataset labels: data: - - id: product_name + - id: order_id type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_name + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_id meta: origin: originType: NATIVE originId: demo - - id: products.category + - id: order_line_id type: attribute attributes: - title: Category - description: Category + title: Order line id + description: Order line id tags: - - Products + - Order lines areRelationsValid: true - sourceColumn: category + sourceColumn: order_line_id sourceColumnDataType: STRING relationships: dataset: data: - id: products + id: order_lines type: dataset labels: data: - - id: products.category + - id: order_line_id type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/products.category + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_line_id meta: origin: originType: NATIVE originId: demo - - id: date.day + - id: order_status type: attribute attributes: - title: Date - Date - description: Date + title: Order status + description: Order status tags: - - Date - granularity: DAY + - Order lines areRelationsValid: true + sourceColumn: order_status + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: order_lines type: dataset labels: data: - - id: date.day + - id: order_status type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.day + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_status meta: origin: originType: NATIVE originId: demo - - id: date.month + - id: product_id type: attribute attributes: - title: Date - Month/Year - description: Month and Year (12/2020) + title: Product id + description: Product id tags: - - Date - granularity: MONTH + - Products areRelationsValid: true + sourceColumn: product_id + sourceColumnDataType: INT relationships: dataset: data: - id: date + id: products type: dataset labels: data: - - id: date.month + - id: product_id type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.month + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_id meta: origin: originType: NATIVE originId: demo - - id: date.quarter + - id: product_name type: attribute attributes: - title: Date - Quarter/Year - description: Quarter and Year (Q1/2020) + title: Product name + description: Product name tags: - - Date - granularity: QUARTER + - Products areRelationsValid: true + sourceColumn: product_name + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: products type: dataset labels: data: - - id: date.quarter + - id: product_name type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarter + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_name meta: origin: originType: NATIVE originId: demo - - id: date.week + - id: products.category type: attribute attributes: - title: Date - Week/Year - description: Week and Year (W52/2020) + title: Category + description: Category tags: - - Date - granularity: WEEK + - Products areRelationsValid: true + sourceColumn: category + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: products type: dataset labels: data: - - id: date.week + - id: products.category type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/products.category meta: origin: originType: NATIVE originId: demo - - id: date.year + - id: region type: attribute attributes: - title: Date - Year - description: Year + title: Region + description: Region tags: - - Date - granularity: YEAR + - Customers areRelationsValid: true + sourceColumn: region + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: customers type: dataset labels: data: - - id: date.year + - id: region type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.year + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/region meta: origin: originType: NATIVE @@ -736,16 +711,41 @@ interactions: type: dataset labels: data: - - id: geo__state__location - type: label - id: state type: label + - id: geo__state__location + type: label links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state meta: origin: originType: NATIVE originId: demo + - id: type + type: attribute + attributes: + title: Type + description: Type + tags: + - Campaign channels + areRelationsValid: true + sourceColumn: type + sourceColumnDataType: STRING + relationships: + dataset: + data: + id: campaign_channels + type: dataset + labels: + data: + - id: type + type: label + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/type + meta: + origin: + originType: NATIVE + originId: demo included: - id: product_name type: label @@ -785,50 +785,50 @@ interactions: type: attribute referenceProperties: - identifier: - id: campaigns + id: customers type: dataset multivalue: false sources: - - column: campaign_id + - column: customer_id dataType: INT target: - id: campaign_id + id: customer_id type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: - id: date + id: products type: dataset multivalue: false sources: - - column: date - dataType: DATE + - column: product_id + dataType: INT target: - id: date - type: date + id: product_id + type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: - id: customers + id: date type: dataset multivalue: false sources: - - column: customer_id - dataType: INT + - column: date + dataType: DATE target: - id: customer_id - type: attribute + id: date + type: date sourceColumns: null sourceColumnDataTypes: null - identifier: - id: products + id: campaigns type: dataset multivalue: false sources: - - column: product_id + - column: campaign_id dataType: INT target: - id: product_id + id: campaign_id type: attribute sourceColumns: null sourceColumnDataTypes: null @@ -1290,12 +1290,12 @@ interactions: relationships: attributes: data: - - id: type - type: attribute - id: campaign_channel_id type: attribute - id: campaign_channels.category type: attribute + - id: type + type: attribute facts: data: - id: spend @@ -1327,10 +1327,10 @@ interactions: relationships: attributes: data: - - id: campaign_id - type: attribute - id: campaign_name type: attribute + - id: campaign_id + type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaigns meta: @@ -1356,14 +1356,14 @@ interactions: relationships: attributes: data: - - id: customer_name - type: attribute - - id: region - type: attribute - id: customer_id type: attribute + - id: customer_name + type: attribute - id: state type: attribute + - id: region + type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/customers meta: @@ -1382,50 +1382,50 @@ interactions: type: attribute referenceProperties: - identifier: - id: campaigns + id: customers type: dataset multivalue: false sources: - - column: campaign_id + - column: customer_id dataType: INT target: - id: campaign_id + id: customer_id type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: - id: date + id: products type: dataset multivalue: false sources: - - column: date - dataType: DATE + - column: product_id + dataType: INT target: - id: date - type: date + id: product_id + type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: - id: customers + id: date type: dataset multivalue: false sources: - - column: customer_id - dataType: INT + - column: date + dataType: DATE target: - id: customer_id - type: attribute + id: date + type: date sourceColumns: null sourceColumnDataTypes: null - identifier: - id: products + id: campaigns type: dataset multivalue: false sources: - - column: product_id + - column: campaign_id dataType: INT target: - id: product_id + id: campaign_id type: attribute sourceColumns: null sourceColumnDataTypes: null @@ -1516,12 +1516,12 @@ interactions: data: - id: date.month type: attribute - - id: date.week - type: attribute - id: date.day type: attribute - id: date.quarter type: attribute + - id: date.week + type: attribute - id: date.year type: attribute links: @@ -1872,7 +1872,7 @@ interactions: attributes: title: '# of Active Customers' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) @@ -1887,7 +1887,7 @@ interactions: attributes: title: '# of Orders' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) @@ -1902,7 +1902,7 @@ interactions: attributes: title: '# of Top Customers' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT @@ -1919,7 +1919,7 @@ interactions: title: '# of Valid Orders' description: '' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} @@ -1935,7 +1935,7 @@ interactions: attributes: title: Campaign Spend areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT SUM({fact/spend}) @@ -1950,7 +1950,7 @@ interactions: attributes: title: Order Amount areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) @@ -1965,7 +1965,7 @@ interactions: attributes: title: '% Revenue' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} @@ -1980,7 +1980,7 @@ interactions: attributes: title: '% Revenue from Top 10 Customers' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -1996,7 +1996,7 @@ interactions: attributes: title: '% Revenue from Top 10% Customers' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2012,7 +2012,7 @@ interactions: attributes: title: '% Revenue from Top 10% Products' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2028,7 +2028,7 @@ interactions: attributes: title: '% Revenue from Top 10 Products' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2044,7 +2044,7 @@ interactions: attributes: title: '% Revenue in Category' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, @@ -2060,7 +2060,7 @@ interactions: attributes: title: '% Revenue per Product' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL @@ -2077,7 +2077,7 @@ interactions: title: Revenue description: '' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} @@ -2093,7 +2093,7 @@ interactions: attributes: title: Revenue (Clothing) areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2109,7 +2109,7 @@ interactions: attributes: title: Revenue (Electronic) areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2125,7 +2125,7 @@ interactions: attributes: title: Revenue (Home) areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2141,7 +2141,7 @@ interactions: attributes: title: Revenue (Outdoor) areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2157,7 +2157,7 @@ interactions: attributes: title: Revenue per Customer areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) @@ -2172,7 +2172,7 @@ interactions: attributes: title: Revenue per Dollar Spent areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} @@ -2187,7 +2187,7 @@ interactions: attributes: title: Revenue / Top 10 areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) @@ -2202,7 +2202,7 @@ interactions: attributes: title: Revenue / Top 10% areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) @@ -2217,7 +2217,7 @@ interactions: attributes: title: Total Revenue areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER @@ -2232,7 +2232,7 @@ interactions: attributes: title: Total Revenue (No Filters) areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER @@ -2247,7 +2247,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/eb926718861c79afec82a9f5ca1698ceda5be95b?offset=0%2C0&limit=2%2C1000 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/7d74dfe42ecc6b904904c1fd6879ededaaddb663?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 33a9e8c46..74c5252f7 100644 --- a/gooddata-pandas/tests/dataframe/fixtures/multi_index_metrics.yaml +++ b/gooddata-pandas/tests/dataframe/fixtures/multi_index_metrics.yaml @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: @@ -162,7 +162,7 @@ interactions: type: label localIdentifier: dim_1 links: - executionResult: f33e403965421de48c4cb8d2d459d6b53e72919b + executionResult: b3a12fbda05f6b66029ce604e1c3ae5ea14febc3 - request: method: GET uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=0&size=500 @@ -703,10 +703,10 @@ interactions: type: dataset labels: data: - - id: geo__state__location - type: label - id: state type: label + - id: geo__state__location + type: label links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state meta: @@ -777,50 +777,50 @@ interactions: type: attribute referenceProperties: - identifier: - id: campaigns + id: customers type: dataset multivalue: false sources: - - column: campaign_id + - column: customer_id dataType: INT target: - id: campaign_id + id: customer_id type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: - id: date + id: products type: dataset multivalue: false sources: - - column: date - dataType: DATE + - column: product_id + dataType: INT target: - id: date - type: date + id: product_id + type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: - id: customers + id: date type: dataset multivalue: false sources: - - column: customer_id - dataType: INT + - column: date + dataType: DATE target: - id: customer_id - type: attribute + id: date + type: date sourceColumns: null sourceColumnDataTypes: null - identifier: - id: products + id: campaigns type: dataset multivalue: false sources: - - column: product_id + - column: campaign_id dataType: INT target: - id: product_id + id: campaign_id type: attribute sourceColumns: null sourceColumnDataTypes: null @@ -1282,12 +1282,12 @@ interactions: relationships: attributes: data: - - id: type - type: attribute - id: campaign_channel_id type: attribute - id: campaign_channels.category type: attribute + - id: type + type: attribute facts: data: - id: spend @@ -1319,10 +1319,10 @@ interactions: relationships: attributes: data: - - id: campaign_id - type: attribute - id: campaign_name type: attribute + - id: campaign_id + type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaigns meta: @@ -1348,14 +1348,14 @@ interactions: relationships: attributes: data: - - id: customer_name - type: attribute - - id: region - type: attribute - id: customer_id type: attribute + - id: customer_name + type: attribute - id: state type: attribute + - id: region + type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/customers meta: @@ -1375,12 +1375,12 @@ interactions: data: - id: date.month type: attribute - - id: date.week - type: attribute - id: date.day type: attribute - id: date.quarter type: attribute + - id: date.week + type: attribute - id: date.year type: attribute links: @@ -1401,50 +1401,50 @@ interactions: type: attribute referenceProperties: - identifier: - id: campaigns + id: customers type: dataset multivalue: false sources: - - column: campaign_id + - column: customer_id dataType: INT target: - id: campaign_id + id: customer_id type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: - id: date + id: products type: dataset multivalue: false sources: - - column: date - dataType: DATE + - column: product_id + dataType: INT target: - id: date - type: date + id: product_id + type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: - id: customers + id: date type: dataset multivalue: false sources: - - column: customer_id - dataType: INT + - column: date + dataType: DATE target: - id: customer_id - type: attribute + id: date + type: date sourceColumns: null sourceColumnDataTypes: null - identifier: - id: products + id: campaigns type: dataset multivalue: false sources: - - column: product_id + - column: campaign_id dataType: INT target: - id: product_id + id: campaign_id type: attribute sourceColumns: null sourceColumnDataTypes: null @@ -1864,7 +1864,7 @@ interactions: attributes: title: '# of Active Customers' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) @@ -1879,7 +1879,7 @@ interactions: attributes: title: '# of Orders' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) @@ -1894,7 +1894,7 @@ interactions: attributes: title: '# of Top Customers' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT @@ -1911,7 +1911,7 @@ interactions: title: '# of Valid Orders' description: '' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} @@ -1927,7 +1927,7 @@ interactions: attributes: title: Campaign Spend areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT SUM({fact/spend}) @@ -1942,7 +1942,7 @@ interactions: attributes: title: Order Amount areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) @@ -1957,7 +1957,7 @@ interactions: attributes: title: '% Revenue' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} @@ -1972,7 +1972,7 @@ interactions: attributes: title: '% Revenue from Top 10 Customers' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -1988,7 +1988,7 @@ interactions: attributes: title: '% Revenue from Top 10% Customers' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2004,7 +2004,7 @@ interactions: attributes: title: '% Revenue from Top 10% Products' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2020,7 +2020,7 @@ interactions: attributes: title: '% Revenue from Top 10 Products' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2036,7 +2036,7 @@ interactions: attributes: title: '% Revenue in Category' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, @@ -2052,7 +2052,7 @@ interactions: attributes: title: '% Revenue per Product' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL @@ -2069,7 +2069,7 @@ interactions: title: Revenue description: '' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} @@ -2085,7 +2085,7 @@ interactions: attributes: title: Revenue (Clothing) areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2101,7 +2101,7 @@ interactions: attributes: title: Revenue (Electronic) areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2117,7 +2117,7 @@ interactions: attributes: title: Revenue (Home) areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2133,7 +2133,7 @@ interactions: attributes: title: Revenue (Outdoor) areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2149,7 +2149,7 @@ interactions: attributes: title: Revenue per Customer areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) @@ -2164,7 +2164,7 @@ interactions: attributes: title: Revenue per Dollar Spent areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} @@ -2179,7 +2179,7 @@ interactions: attributes: title: Revenue / Top 10 areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) @@ -2194,7 +2194,7 @@ interactions: attributes: title: Revenue / Top 10% areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) @@ -2209,7 +2209,7 @@ interactions: attributes: title: Total Revenue areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER @@ -2224,7 +2224,7 @@ interactions: attributes: title: Total Revenue (No Filters) areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER @@ -2239,7 +2239,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/f33e403965421de48c4cb8d2d459d6b53e72919b?offset=0%2C0&limit=2%2C1000 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/b3a12fbda05f6b66029ce604e1c3ae5ea14febc3?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 1006e8df2..c994e0ba2 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 @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: @@ -182,7 +182,7 @@ interactions: type: label localIdentifier: dim_1 links: - executionResult: 4108e97ec77f74c4cb44a52b07c5e7422b389fb0 + executionResult: 72b74dc61a8a5f0411223166d98b46a3dc0fc756 - request: method: GET uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=0&size=500 @@ -307,31 +307,6 @@ interactions: origin: originType: NATIVE originId: demo - - id: type - type: attribute - attributes: - title: Type - description: Type - tags: - - Campaign channels - areRelationsValid: true - sourceColumn: type - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: campaign_channels - type: dataset - labels: - data: - - id: type - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/type - meta: - origin: - originType: NATIVE - originId: demo - id: campaign_id type: attribute attributes: @@ -432,297 +407,297 @@ interactions: origin: originType: NATIVE originId: demo - - id: region + - id: date.day type: attribute attributes: - title: Region - description: Region + title: Date - Date + description: Date tags: - - Customers + - Date + granularity: DAY areRelationsValid: true - sourceColumn: region - sourceColumnDataType: STRING relationships: dataset: data: - id: customers + id: date type: dataset labels: data: - - id: region + - id: date.day type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/region + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.day meta: origin: originType: NATIVE originId: demo - - id: order_id + - id: date.month type: attribute attributes: - title: Order id - description: Order id + title: Date - Month/Year + description: Month and Year (12/2020) tags: - - Order lines + - Date + granularity: MONTH areRelationsValid: true - sourceColumn: order_id - sourceColumnDataType: STRING relationships: dataset: data: - id: order_lines + id: date type: dataset labels: data: - - id: order_id + - id: date.month type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_id + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.month meta: origin: originType: NATIVE originId: demo - - id: order_line_id + - id: date.quarter type: attribute attributes: - title: Order line id - description: Order line id + title: Date - Quarter/Year + description: Quarter and Year (Q1/2020) tags: - - Order lines + - Date + granularity: QUARTER areRelationsValid: true - sourceColumn: order_line_id - sourceColumnDataType: STRING relationships: dataset: data: - id: order_lines + id: date type: dataset labels: data: - - id: order_line_id + - id: date.quarter type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_line_id + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarter meta: origin: originType: NATIVE originId: demo - - id: order_status + - id: date.week type: attribute attributes: - title: Order status - description: Order status + title: Date - Week/Year + description: Week and Year (W52/2020) tags: - - Order lines + - Date + granularity: WEEK areRelationsValid: true - sourceColumn: order_status - sourceColumnDataType: STRING relationships: dataset: data: - id: order_lines + id: date type: dataset labels: data: - - id: order_status + - id: date.week type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_status + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week meta: origin: originType: NATIVE originId: demo - - id: product_id + - id: date.year type: attribute attributes: - title: Product id - description: Product id + title: Date - Year + description: Year tags: - - Products + - Date + granularity: YEAR areRelationsValid: true - sourceColumn: product_id - sourceColumnDataType: INT relationships: dataset: data: - id: products + id: date type: dataset labels: data: - - id: product_id + - id: date.year type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_id + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.year meta: origin: originType: NATIVE originId: demo - - id: product_name + - id: order_id type: attribute attributes: - title: Product name - description: Product name + title: Order id + description: Order id tags: - - Products + - Order lines areRelationsValid: true - sourceColumn: product_name + sourceColumn: order_id sourceColumnDataType: STRING relationships: dataset: data: - id: products + id: order_lines type: dataset labels: data: - - id: product_name + - id: order_id type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_name + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_id meta: origin: originType: NATIVE originId: demo - - id: products.category + - id: order_line_id type: attribute attributes: - title: Category - description: Category + title: Order line id + description: Order line id tags: - - Products + - Order lines areRelationsValid: true - sourceColumn: category + sourceColumn: order_line_id sourceColumnDataType: STRING relationships: dataset: data: - id: products + id: order_lines type: dataset labels: data: - - id: products.category + - id: order_line_id type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/products.category + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_line_id meta: origin: originType: NATIVE originId: demo - - id: date.day + - id: order_status type: attribute attributes: - title: Date - Date - description: Date + title: Order status + description: Order status tags: - - Date - granularity: DAY + - Order lines areRelationsValid: true + sourceColumn: order_status + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: order_lines type: dataset labels: data: - - id: date.day + - id: order_status type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.day + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_status meta: origin: originType: NATIVE originId: demo - - id: date.month + - id: product_id type: attribute attributes: - title: Date - Month/Year - description: Month and Year (12/2020) + title: Product id + description: Product id tags: - - Date - granularity: MONTH + - Products areRelationsValid: true + sourceColumn: product_id + sourceColumnDataType: INT relationships: dataset: data: - id: date + id: products type: dataset labels: data: - - id: date.month + - id: product_id type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.month + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_id meta: origin: originType: NATIVE originId: demo - - id: date.quarter + - id: product_name type: attribute attributes: - title: Date - Quarter/Year - description: Quarter and Year (Q1/2020) + title: Product name + description: Product name tags: - - Date - granularity: QUARTER + - Products areRelationsValid: true + sourceColumn: product_name + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: products type: dataset labels: data: - - id: date.quarter + - id: product_name type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarter + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_name meta: origin: originType: NATIVE originId: demo - - id: date.week + - id: products.category type: attribute attributes: - title: Date - Week/Year - description: Week and Year (W52/2020) + title: Category + description: Category tags: - - Date - granularity: WEEK + - Products areRelationsValid: true + sourceColumn: category + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: products type: dataset labels: data: - - id: date.week + - id: products.category type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/products.category meta: origin: originType: NATIVE originId: demo - - id: date.year + - id: region type: attribute attributes: - title: Date - Year - description: Year + title: Region + description: Region tags: - - Date - granularity: YEAR + - Customers areRelationsValid: true + sourceColumn: region + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: customers type: dataset labels: data: - - id: date.year + - id: region type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.year + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/region meta: origin: originType: NATIVE @@ -748,16 +723,41 @@ interactions: type: dataset labels: data: - - id: geo__state__location - type: label - id: state type: label + - id: geo__state__location + type: label links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state meta: origin: originType: NATIVE originId: demo + - id: type + type: attribute + attributes: + title: Type + description: Type + tags: + - Campaign channels + areRelationsValid: true + sourceColumn: type + sourceColumnDataType: STRING + relationships: + dataset: + data: + id: campaign_channels + type: dataset + labels: + data: + - id: type + type: label + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/type + meta: + origin: + originType: NATIVE + originId: demo included: - id: product_name type: label @@ -797,50 +797,50 @@ interactions: type: attribute referenceProperties: - identifier: - id: campaigns + id: customers type: dataset multivalue: false sources: - - column: campaign_id + - column: customer_id dataType: INT target: - id: campaign_id + id: customer_id type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: - id: date + id: products type: dataset multivalue: false sources: - - column: date - dataType: DATE + - column: product_id + dataType: INT target: - id: date - type: date + id: product_id + type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: - id: customers + id: date type: dataset multivalue: false sources: - - column: customer_id - dataType: INT + - column: date + dataType: DATE target: - id: customer_id - type: attribute + id: date + type: date sourceColumns: null sourceColumnDataTypes: null - identifier: - id: products + id: campaigns type: dataset multivalue: false sources: - - column: product_id + - column: campaign_id dataType: INT target: - id: product_id + id: campaign_id type: attribute sourceColumns: null sourceColumnDataTypes: null @@ -1302,12 +1302,12 @@ interactions: relationships: attributes: data: - - id: type - type: attribute - id: campaign_channel_id type: attribute - id: campaign_channels.category type: attribute + - id: type + type: attribute facts: data: - id: spend @@ -1339,10 +1339,10 @@ interactions: relationships: attributes: data: - - id: campaign_id - type: attribute - id: campaign_name type: attribute + - id: campaign_id + type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaigns meta: @@ -1368,14 +1368,14 @@ interactions: relationships: attributes: data: - - id: customer_name - type: attribute - - id: region - type: attribute - id: customer_id type: attribute + - id: customer_name + type: attribute - id: state type: attribute + - id: region + type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/customers meta: @@ -1395,12 +1395,12 @@ interactions: data: - id: date.month type: attribute - - id: date.week - type: attribute - id: date.day type: attribute - id: date.quarter type: attribute + - id: date.week + type: attribute - id: date.year type: attribute links: @@ -1421,50 +1421,50 @@ interactions: type: attribute referenceProperties: - identifier: - id: campaigns + id: customers type: dataset multivalue: false sources: - - column: campaign_id + - column: customer_id dataType: INT target: - id: campaign_id + id: customer_id type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: - id: date + id: products type: dataset multivalue: false sources: - - column: date - dataType: DATE + - column: product_id + dataType: INT target: - id: date - type: date + id: product_id + type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: - id: customers + id: date type: dataset multivalue: false sources: - - column: customer_id - dataType: INT + - column: date + dataType: DATE target: - id: customer_id - type: attribute + id: date + type: date sourceColumns: null sourceColumnDataTypes: null - identifier: - id: products + id: campaigns type: dataset multivalue: false sources: - - column: product_id + - column: campaign_id dataType: INT target: - id: product_id + id: campaign_id type: attribute sourceColumns: null sourceColumnDataTypes: null @@ -1884,7 +1884,7 @@ interactions: attributes: title: '# of Active Customers' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) @@ -1899,7 +1899,7 @@ interactions: attributes: title: '# of Orders' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) @@ -1914,7 +1914,7 @@ interactions: attributes: title: '# of Top Customers' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT @@ -1931,7 +1931,7 @@ interactions: title: '# of Valid Orders' description: '' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} @@ -1947,7 +1947,7 @@ interactions: attributes: title: Campaign Spend areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT SUM({fact/spend}) @@ -1962,7 +1962,7 @@ interactions: attributes: title: Order Amount areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) @@ -1977,7 +1977,7 @@ interactions: attributes: title: '% Revenue' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} @@ -1992,7 +1992,7 @@ interactions: attributes: title: '% Revenue from Top 10 Customers' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2008,7 +2008,7 @@ interactions: attributes: title: '% Revenue from Top 10% Customers' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2024,7 +2024,7 @@ interactions: attributes: title: '% Revenue from Top 10% Products' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2040,7 +2040,7 @@ interactions: attributes: title: '% Revenue from Top 10 Products' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2056,7 +2056,7 @@ interactions: attributes: title: '% Revenue in Category' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, @@ -2072,7 +2072,7 @@ interactions: attributes: title: '% Revenue per Product' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL @@ -2089,7 +2089,7 @@ interactions: title: Revenue description: '' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} @@ -2105,7 +2105,7 @@ interactions: attributes: title: Revenue (Clothing) areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2121,7 +2121,7 @@ interactions: attributes: title: Revenue (Electronic) areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2137,7 +2137,7 @@ interactions: attributes: title: Revenue (Home) areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2153,7 +2153,7 @@ interactions: attributes: title: Revenue (Outdoor) areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2169,7 +2169,7 @@ interactions: attributes: title: Revenue per Customer areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) @@ -2184,7 +2184,7 @@ interactions: attributes: title: Revenue per Dollar Spent areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} @@ -2199,7 +2199,7 @@ interactions: attributes: title: Revenue / Top 10 areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) @@ -2214,7 +2214,7 @@ interactions: attributes: title: Revenue / Top 10% areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) @@ -2229,7 +2229,7 @@ interactions: attributes: title: Total Revenue areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER @@ -2244,7 +2244,7 @@ interactions: attributes: title: Total Revenue (No Filters) areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER @@ -2259,7 +2259,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/4108e97ec77f74c4cb44a52b07c5e7422b389fb0?offset=0%2C0&limit=2%2C1000 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/72b74dc61a8a5f0411223166d98b46a3dc0fc756?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 0d777e308..ae97eea6a 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 @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: @@ -150,7 +150,7 @@ interactions: type: label localIdentifier: dim_1 links: - executionResult: 98c572c6b3dfb42dbdbc4935f710741b31971865 + executionResult: 29d7c10ab72fe041b6daf90eedeb621055a40ea8 - request: method: GET uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=0&size=500 @@ -716,10 +716,10 @@ interactions: type: dataset labels: data: - - id: geo__state__location - type: label - id: state type: label + - id: geo__state__location + type: label links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state meta: @@ -765,50 +765,50 @@ interactions: type: attribute referenceProperties: - identifier: - id: campaigns + id: customers type: dataset multivalue: false sources: - - column: campaign_id + - column: customer_id dataType: INT target: - id: campaign_id + id: customer_id type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: - id: date + id: products type: dataset multivalue: false sources: - - column: date - dataType: DATE + - column: product_id + dataType: INT target: - id: date - type: date + id: product_id + type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: - id: customers + id: date type: dataset multivalue: false sources: - - column: customer_id - dataType: INT + - column: date + dataType: DATE target: - id: customer_id - type: attribute + id: date + type: date sourceColumns: null sourceColumnDataTypes: null - identifier: - id: products + id: campaigns type: dataset multivalue: false sources: - - column: product_id + - column: campaign_id dataType: INT target: - id: product_id + id: campaign_id type: attribute sourceColumns: null sourceColumnDataTypes: null @@ -1270,12 +1270,12 @@ interactions: relationships: attributes: data: - - id: type - type: attribute - id: campaign_channel_id type: attribute - id: campaign_channels.category type: attribute + - id: type + type: attribute facts: data: - id: spend @@ -1307,10 +1307,10 @@ interactions: relationships: attributes: data: - - id: campaign_id - type: attribute - id: campaign_name type: attribute + - id: campaign_id + type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaigns meta: @@ -1336,16 +1336,43 @@ interactions: relationships: attributes: data: + - id: customer_id + type: attribute - id: customer_name type: attribute + - id: state + type: attribute - id: region type: attribute - - id: customer_id + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/customers + meta: + origin: + originType: NATIVE + originId: demo + - id: date + type: dataset + attributes: + title: Date + tags: + - Date + areRelationsValid: true + type: DATE + relationships: + attributes: + data: + - id: date.month type: attribute - - id: state + - id: date.day + type: attribute + - id: date.quarter + type: attribute + - id: date.week + type: attribute + - id: date.year type: attribute links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/customers + self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date meta: origin: originType: NATIVE @@ -1362,50 +1389,50 @@ interactions: type: attribute referenceProperties: - identifier: - id: campaigns + id: customers type: dataset multivalue: false sources: - - column: campaign_id + - column: customer_id dataType: INT target: - id: campaign_id + id: customer_id type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: - id: date + id: products type: dataset multivalue: false sources: - - column: date - dataType: DATE + - column: product_id + dataType: INT target: - id: date - type: date + id: product_id + type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: - id: customers + id: date type: dataset multivalue: false sources: - - column: customer_id - dataType: INT + - column: date + dataType: DATE target: - id: customer_id - type: attribute + id: date + type: date sourceColumns: null sourceColumnDataTypes: null - identifier: - id: products + id: campaigns type: dataset multivalue: false sources: - - column: product_id + - column: campaign_id dataType: INT target: - id: product_id + id: campaign_id type: attribute sourceColumns: null sourceColumnDataTypes: null @@ -1415,20 +1442,20 @@ interactions: - order_lines areRelationsValid: true workspaceDataFilterColumns: - - name: wdf__state - dataType: STRING - name: wdf__region dataType: STRING + - name: wdf__state + dataType: STRING workspaceDataFilterReferences: - filterId: - id: wdf__region + id: wdf__state type: workspaceDataFilter - filterColumn: wdf__region + filterColumn: wdf__state filterColumnDataType: STRING - filterId: - id: wdf__state + id: wdf__region type: workspaceDataFilter - filterColumn: wdf__state + filterColumn: wdf__region filterColumnDataType: STRING type: NORMAL relationships: @@ -1483,33 +1510,6 @@ interactions: origin: originType: NATIVE originId: demo - - id: date - type: dataset - attributes: - title: Date - tags: - - Date - areRelationsValid: true - type: DATE - relationships: - attributes: - data: - - id: date.month - type: attribute - - id: date.week - type: attribute - - id: date.day - type: attribute - - id: date.quarter - type: attribute - - id: date.year - type: attribute - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date - meta: - origin: - originType: NATIVE - originId: demo included: - id: campaign_name type: attribute @@ -1852,7 +1852,7 @@ interactions: attributes: title: '# of Active Customers' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) @@ -1867,7 +1867,7 @@ interactions: attributes: title: '# of Orders' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) @@ -1882,7 +1882,7 @@ interactions: attributes: title: '# of Top Customers' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT @@ -1899,7 +1899,7 @@ interactions: title: '# of Valid Orders' description: '' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} @@ -1915,7 +1915,7 @@ interactions: attributes: title: Campaign Spend areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT SUM({fact/spend}) @@ -1930,7 +1930,7 @@ interactions: attributes: title: Order Amount areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) @@ -1945,7 +1945,7 @@ interactions: attributes: title: '% Revenue' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} @@ -1960,7 +1960,7 @@ interactions: attributes: title: '% Revenue from Top 10 Customers' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -1976,7 +1976,7 @@ interactions: attributes: title: '% Revenue from Top 10% Customers' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -1987,12 +1987,28 @@ interactions: origin: originType: NATIVE originId: demo + - id: revenue-outdoor + type: metric + attributes: + title: Revenue (Outdoor) + areRelationsValid: true + createdAt: 2024-01-11 10:30 + 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 + meta: + origin: + originType: NATIVE + originId: demo - id: percent_revenue_from_top_10_percent_products type: metric attributes: title: '% Revenue from Top 10% Products' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2008,7 +2024,7 @@ interactions: attributes: title: '% Revenue from Top 10 Products' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2024,7 +2040,7 @@ interactions: attributes: title: '% Revenue in Category' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, @@ -2040,7 +2056,7 @@ interactions: attributes: title: '% Revenue per Product' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL @@ -2057,7 +2073,7 @@ interactions: title: Revenue description: '' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} @@ -2073,7 +2089,7 @@ interactions: attributes: title: Revenue (Clothing) areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2089,7 +2105,7 @@ interactions: attributes: title: Revenue (Electronic) areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2105,7 +2121,7 @@ interactions: attributes: title: Revenue (Home) areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2116,28 +2132,12 @@ interactions: origin: originType: NATIVE originId: demo - - id: revenue-outdoor - type: metric - attributes: - title: Revenue (Outdoor) - areRelationsValid: true - createdAt: 2023-12-14 14:09 - 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 - meta: - origin: - originType: NATIVE - originId: demo - id: revenue_per_customer type: metric attributes: title: Revenue per Customer areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) @@ -2152,7 +2152,7 @@ interactions: attributes: title: Revenue per Dollar Spent areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} @@ -2167,7 +2167,7 @@ interactions: attributes: title: Revenue / Top 10 areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) @@ -2182,7 +2182,7 @@ interactions: attributes: title: Revenue / Top 10% areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) @@ -2197,7 +2197,7 @@ interactions: attributes: title: Total Revenue areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER @@ -2212,7 +2212,7 @@ interactions: attributes: title: Total Revenue (No Filters) areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER @@ -2227,7 +2227,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/98c572c6b3dfb42dbdbc4935f710741b31971865?offset=0%2C0&limit=2%2C1000 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/29d7c10ab72fe041b6daf90eedeb621055a40ea8?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 a61e8de30..e333ca92a 100644 --- a/gooddata-pandas/tests/dataframe/fixtures/not_indexed_metrics.yaml +++ b/gooddata-pandas/tests/dataframe/fixtures/not_indexed_metrics.yaml @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: @@ -118,7 +118,7 @@ interactions: name: '# of Orders' localIdentifier: dim_0 links: - executionResult: 0359d9cac18f5fb6e210d424dfb873997e3a8f92 + executionResult: ef1baa832b2668be0eee88b11aed6538d5e85178 - request: method: GET uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=0&size=500 @@ -243,6 +243,31 @@ interactions: origin: originType: NATIVE originId: demo + - id: type + type: attribute + attributes: + title: Type + description: Type + tags: + - Campaign channels + areRelationsValid: true + sourceColumn: type + sourceColumnDataType: STRING + relationships: + dataset: + data: + id: campaign_channels + type: dataset + labels: + data: + - id: type + type: label + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/type + meta: + origin: + originType: NATIVE + originId: demo - id: campaign_id type: attribute attributes: @@ -343,297 +368,297 @@ interactions: origin: originType: NATIVE originId: demo - - id: date.day + - id: region type: attribute attributes: - title: Date - Date - description: Date + title: Region + description: Region tags: - - Date - granularity: DAY + - Customers areRelationsValid: true + sourceColumn: region + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: customers type: dataset labels: data: - - id: date.day + - id: region type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.day + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/region meta: origin: originType: NATIVE originId: demo - - id: date.month + - id: order_id type: attribute attributes: - title: Date - Month/Year - description: Month and Year (12/2020) + title: Order id + description: Order id tags: - - Date - granularity: MONTH + - Order lines areRelationsValid: true + sourceColumn: order_id + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: order_lines type: dataset labels: data: - - id: date.month + - id: order_id type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.month + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_id meta: origin: originType: NATIVE originId: demo - - id: date.quarter + - id: order_line_id type: attribute attributes: - title: Date - Quarter/Year - description: Quarter and Year (Q1/2020) + title: Order line id + description: Order line id tags: - - Date - granularity: QUARTER + - Order lines areRelationsValid: true + sourceColumn: order_line_id + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: order_lines type: dataset labels: data: - - id: date.quarter + - id: order_line_id type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarter + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_line_id meta: origin: originType: NATIVE originId: demo - - id: date.week + - id: order_status type: attribute attributes: - title: Date - Week/Year - description: Week and Year (W52/2020) + title: Order status + description: Order status tags: - - Date - granularity: WEEK + - Order lines areRelationsValid: true + sourceColumn: order_status + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: order_lines type: dataset labels: data: - - id: date.week + - id: order_status type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_status meta: origin: originType: NATIVE originId: demo - - id: date.year + - id: product_id type: attribute attributes: - title: Date - Year - description: Year + title: Product id + description: Product id tags: - - Date - granularity: YEAR + - Products areRelationsValid: true + sourceColumn: product_id + sourceColumnDataType: INT relationships: dataset: data: - id: date + id: products type: dataset labels: data: - - id: date.year + - id: product_id type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.year + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_id meta: origin: originType: NATIVE originId: demo - - id: order_id + - id: product_name type: attribute attributes: - title: Order id - description: Order id + title: Product name + description: Product name tags: - - Order lines + - Products areRelationsValid: true - sourceColumn: order_id + sourceColumn: product_name sourceColumnDataType: STRING relationships: dataset: data: - id: order_lines + id: products type: dataset labels: data: - - id: order_id + - id: product_name type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_id + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_name meta: origin: originType: NATIVE originId: demo - - id: order_line_id + - id: products.category type: attribute attributes: - title: Order line id - description: Order line id + title: Category + description: Category tags: - - Order lines + - Products areRelationsValid: true - sourceColumn: order_line_id + sourceColumn: category sourceColumnDataType: STRING relationships: dataset: data: - id: order_lines + id: products type: dataset labels: data: - - id: order_line_id + - id: products.category type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_line_id + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/products.category meta: origin: originType: NATIVE originId: demo - - id: order_status + - id: date.day type: attribute attributes: - title: Order status - description: Order status + title: Date - Date + description: Date tags: - - Order lines + - Date + granularity: DAY areRelationsValid: true - sourceColumn: order_status - sourceColumnDataType: STRING relationships: dataset: data: - id: order_lines + id: date type: dataset labels: data: - - id: order_status + - id: date.day type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_status + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.day meta: origin: originType: NATIVE originId: demo - - id: product_id + - id: date.month type: attribute attributes: - title: Product id - description: Product id + title: Date - Month/Year + description: Month and Year (12/2020) tags: - - Products + - Date + granularity: MONTH areRelationsValid: true - sourceColumn: product_id - sourceColumnDataType: INT relationships: dataset: data: - id: products + id: date type: dataset labels: data: - - id: product_id + - id: date.month type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_id + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.month meta: origin: originType: NATIVE originId: demo - - id: product_name + - id: date.quarter type: attribute attributes: - title: Product name - description: Product name + title: Date - Quarter/Year + description: Quarter and Year (Q1/2020) tags: - - Products + - Date + granularity: QUARTER areRelationsValid: true - sourceColumn: product_name - sourceColumnDataType: STRING relationships: dataset: data: - id: products + id: date type: dataset labels: data: - - id: product_name + - id: date.quarter type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_name + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarter meta: origin: originType: NATIVE originId: demo - - id: products.category + - id: date.week type: attribute attributes: - title: Category - description: Category + title: Date - Week/Year + description: Week and Year (W52/2020) tags: - - Products + - Date + granularity: WEEK areRelationsValid: true - sourceColumn: category - sourceColumnDataType: STRING relationships: dataset: data: - id: products + id: date type: dataset labels: data: - - id: products.category + - id: date.week type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/products.category + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week meta: origin: originType: NATIVE originId: demo - - id: region + - id: date.year type: attribute attributes: - title: Region - description: Region + title: Date - Year + description: Year tags: - - Customers + - Date + granularity: YEAR areRelationsValid: true - sourceColumn: region - sourceColumnDataType: STRING relationships: dataset: data: - id: customers + id: date type: dataset labels: data: - - id: region + - id: date.year type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/region + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.year meta: origin: originType: NATIVE @@ -659,37 +684,12 @@ interactions: type: dataset labels: data: - - id: geo__state__location - type: label - id: state type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state - meta: - origin: - originType: NATIVE - originId: demo - - id: type - type: attribute - attributes: - title: Type - description: Type - tags: - - Campaign channels - areRelationsValid: true - sourceColumn: type - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: campaign_channels - type: dataset - labels: - data: - - id: type + - id: geo__state__location type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/type + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state meta: origin: originType: NATIVE @@ -733,50 +733,50 @@ interactions: type: attribute referenceProperties: - identifier: - id: campaigns + id: customers type: dataset multivalue: false sources: - - column: campaign_id + - column: customer_id dataType: INT target: - id: campaign_id + id: customer_id type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: - id: date + id: products type: dataset multivalue: false sources: - - column: date - dataType: DATE + - column: product_id + dataType: INT target: - id: date - type: date + id: product_id + type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: - id: customers + id: date type: dataset multivalue: false sources: - - column: customer_id - dataType: INT + - column: date + dataType: DATE target: - id: customer_id - type: attribute + id: date + type: date sourceColumns: null sourceColumnDataTypes: null - identifier: - id: products + id: campaigns type: dataset multivalue: false sources: - - column: product_id + - column: campaign_id dataType: INT target: - id: product_id + id: campaign_id type: attribute sourceColumns: null sourceColumnDataTypes: null @@ -1238,12 +1238,12 @@ interactions: relationships: attributes: data: - - id: type - type: attribute - id: campaign_channel_id type: attribute - id: campaign_channels.category type: attribute + - id: type + type: attribute facts: data: - id: spend @@ -1275,10 +1275,10 @@ interactions: relationships: attributes: data: - - id: campaign_id - type: attribute - id: campaign_name type: attribute + - id: campaign_id + type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaigns meta: @@ -1304,43 +1304,16 @@ interactions: relationships: attributes: data: - - id: customer_name - type: attribute - - id: region - type: attribute - id: customer_id type: attribute - - id: state - type: attribute - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/customers - meta: - origin: - originType: NATIVE - originId: demo - - id: date - type: dataset - attributes: - title: Date - tags: - - Date - areRelationsValid: true - type: DATE - relationships: - attributes: - data: - - id: date.month - type: attribute - - id: date.week - type: attribute - - id: date.day + - id: customer_name type: attribute - - id: date.quarter + - id: state type: attribute - - id: date.year + - id: region type: attribute links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date + self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/customers meta: origin: originType: NATIVE @@ -1357,50 +1330,50 @@ interactions: type: attribute referenceProperties: - identifier: - id: campaigns + id: customers type: dataset multivalue: false sources: - - column: campaign_id + - column: customer_id dataType: INT target: - id: campaign_id + id: customer_id type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: - id: date + id: products type: dataset multivalue: false sources: - - column: date - dataType: DATE + - column: product_id + dataType: INT target: - id: date - type: date + id: product_id + type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: - id: customers + id: date type: dataset multivalue: false sources: - - column: customer_id - dataType: INT + - column: date + dataType: DATE target: - id: customer_id - type: attribute + id: date + type: date sourceColumns: null sourceColumnDataTypes: null - identifier: - id: products + id: campaigns type: dataset multivalue: false sources: - - column: product_id + - column: campaign_id dataType: INT target: - id: product_id + id: campaign_id type: attribute sourceColumns: null sourceColumnDataTypes: null @@ -1410,20 +1383,20 @@ interactions: - order_lines areRelationsValid: true workspaceDataFilterColumns: - - name: wdf__region - dataType: STRING - name: wdf__state dataType: STRING + - name: wdf__region + dataType: STRING workspaceDataFilterReferences: - filterId: - id: wdf__state + id: wdf__region type: workspaceDataFilter - filterColumn: wdf__state + filterColumn: wdf__region filterColumnDataType: STRING - filterId: - id: wdf__region + id: wdf__state type: workspaceDataFilter - filterColumn: wdf__region + filterColumn: wdf__state filterColumnDataType: STRING type: NORMAL relationships: @@ -1478,6 +1451,33 @@ interactions: origin: originType: NATIVE originId: demo + - id: date + type: dataset + attributes: + title: Date + tags: + - Date + areRelationsValid: true + type: DATE + relationships: + attributes: + data: + - id: date.month + type: attribute + - id: date.day + type: attribute + - id: date.quarter + type: attribute + - id: date.week + type: attribute + - id: date.year + type: attribute + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date + meta: + origin: + originType: NATIVE + originId: demo included: - id: campaign_name type: attribute @@ -1820,7 +1820,7 @@ interactions: attributes: title: '# of Active Customers' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) @@ -1835,7 +1835,7 @@ interactions: attributes: title: '# of Orders' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) @@ -1850,7 +1850,7 @@ interactions: attributes: title: '# of Top Customers' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT @@ -1867,7 +1867,7 @@ interactions: title: '# of Valid Orders' description: '' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} @@ -1883,7 +1883,7 @@ interactions: attributes: title: Campaign Spend areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT SUM({fact/spend}) @@ -1898,7 +1898,7 @@ interactions: attributes: title: Order Amount areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) @@ -1913,7 +1913,7 @@ interactions: attributes: title: '% Revenue' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} @@ -1928,7 +1928,7 @@ interactions: attributes: title: '% Revenue from Top 10 Customers' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -1944,7 +1944,7 @@ interactions: attributes: title: '% Revenue from Top 10% Customers' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -1960,7 +1960,7 @@ interactions: attributes: title: Revenue (Outdoor) areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -1976,7 +1976,7 @@ interactions: attributes: title: '% Revenue from Top 10% Products' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -1992,7 +1992,7 @@ interactions: attributes: title: '% Revenue from Top 10 Products' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2008,7 +2008,7 @@ interactions: attributes: title: '% Revenue in Category' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, @@ -2024,7 +2024,7 @@ interactions: attributes: title: '% Revenue per Product' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL @@ -2041,7 +2041,7 @@ interactions: title: Revenue description: '' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} @@ -2057,7 +2057,7 @@ interactions: attributes: title: Revenue (Clothing) areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2073,7 +2073,7 @@ interactions: attributes: title: Revenue (Electronic) areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2089,7 +2089,7 @@ interactions: attributes: title: Revenue (Home) areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2105,7 +2105,7 @@ interactions: attributes: title: Revenue per Customer areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) @@ -2120,7 +2120,7 @@ interactions: attributes: title: Revenue per Dollar Spent areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} @@ -2135,7 +2135,7 @@ interactions: attributes: title: Revenue / Top 10 areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) @@ -2150,7 +2150,7 @@ interactions: attributes: title: Revenue / Top 10% areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) @@ -2165,7 +2165,7 @@ interactions: attributes: title: Total Revenue areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER @@ -2180,7 +2180,7 @@ interactions: attributes: title: Total Revenue (No Filters) areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER @@ -2195,7 +2195,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/0359d9cac18f5fb6e210d424dfb873997e3a8f92?offset=0&limit=2 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/ef1baa832b2668be0eee88b11aed6538d5e85178?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 a5f1b93f6..47fcd2388 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 @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: @@ -142,7 +142,7 @@ interactions: type: label localIdentifier: dim_1 links: - executionResult: 51d778ccc5fe05298fe7859a32103a3275f1c80c + executionResult: 1b8d9ad6cf23bbd84a3b8129dc4cd50fca13b047 - request: method: GET uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=0&size=500 @@ -708,10 +708,10 @@ interactions: type: dataset labels: data: - - id: geo__state__location - type: label - id: state type: label + - id: geo__state__location + type: label links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state meta: @@ -757,50 +757,50 @@ interactions: type: attribute referenceProperties: - identifier: - id: campaigns + id: customers type: dataset multivalue: false sources: - - column: campaign_id + - column: customer_id dataType: INT target: - id: campaign_id + id: customer_id type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: - id: date + id: products type: dataset multivalue: false sources: - - column: date - dataType: DATE + - column: product_id + dataType: INT target: - id: date - type: date + id: product_id + type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: - id: customers + id: date type: dataset multivalue: false sources: - - column: customer_id - dataType: INT + - column: date + dataType: DATE target: - id: customer_id - type: attribute + id: date + type: date sourceColumns: null sourceColumnDataTypes: null - identifier: - id: products + id: campaigns type: dataset multivalue: false sources: - - column: product_id + - column: campaign_id dataType: INT target: - id: product_id + id: campaign_id type: attribute sourceColumns: null sourceColumnDataTypes: null @@ -1262,12 +1262,12 @@ interactions: relationships: attributes: data: - - id: type - type: attribute - id: campaign_channel_id type: attribute - id: campaign_channels.category type: attribute + - id: type + type: attribute facts: data: - id: spend @@ -1299,10 +1299,10 @@ interactions: relationships: attributes: data: - - id: campaign_id - type: attribute - id: campaign_name type: attribute + - id: campaign_id + type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaigns meta: @@ -1328,14 +1328,14 @@ interactions: relationships: attributes: data: - - id: customer_name - type: attribute - - id: region - type: attribute - id: customer_id type: attribute + - id: customer_name + type: attribute - id: state type: attribute + - id: region + type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/customers meta: @@ -1354,50 +1354,50 @@ interactions: type: attribute referenceProperties: - identifier: - id: campaigns + id: customers type: dataset multivalue: false sources: - - column: campaign_id + - column: customer_id dataType: INT target: - id: campaign_id + id: customer_id type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: - id: date + id: products type: dataset multivalue: false sources: - - column: date - dataType: DATE + - column: product_id + dataType: INT target: - id: date - type: date + id: product_id + type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: - id: customers + id: date type: dataset multivalue: false sources: - - column: customer_id - dataType: INT + - column: date + dataType: DATE target: - id: customer_id - type: attribute + id: date + type: date sourceColumns: null sourceColumnDataTypes: null - identifier: - id: products + id: campaigns type: dataset multivalue: false sources: - - column: product_id + - column: campaign_id dataType: INT target: - id: product_id + id: campaign_id type: attribute sourceColumns: null sourceColumnDataTypes: null @@ -1488,12 +1488,12 @@ interactions: data: - id: date.month type: attribute - - id: date.week - type: attribute - id: date.day type: attribute - id: date.quarter type: attribute + - id: date.week + type: attribute - id: date.year type: attribute links: @@ -1844,7 +1844,7 @@ interactions: attributes: title: '# of Active Customers' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) @@ -1859,7 +1859,7 @@ interactions: attributes: title: '# of Orders' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) @@ -1874,7 +1874,7 @@ interactions: attributes: title: '# of Top Customers' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT @@ -1891,7 +1891,7 @@ interactions: title: '# of Valid Orders' description: '' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} @@ -1907,7 +1907,7 @@ interactions: attributes: title: Campaign Spend areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT SUM({fact/spend}) @@ -1922,7 +1922,7 @@ interactions: attributes: title: Order Amount areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) @@ -1937,7 +1937,7 @@ interactions: attributes: title: '% Revenue' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} @@ -1952,7 +1952,7 @@ interactions: attributes: title: '% Revenue from Top 10 Customers' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -1968,7 +1968,7 @@ interactions: attributes: title: '% Revenue from Top 10% Customers' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -1984,7 +1984,7 @@ interactions: attributes: title: Revenue (Outdoor) areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2000,7 +2000,7 @@ interactions: attributes: title: '% Revenue from Top 10% Products' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2016,7 +2016,7 @@ interactions: attributes: title: '% Revenue from Top 10 Products' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2032,7 +2032,7 @@ interactions: attributes: title: '% Revenue in Category' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, @@ -2048,7 +2048,7 @@ interactions: attributes: title: '% Revenue per Product' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL @@ -2065,7 +2065,7 @@ interactions: title: Revenue description: '' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} @@ -2081,7 +2081,7 @@ interactions: attributes: title: Revenue (Clothing) areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2097,7 +2097,7 @@ interactions: attributes: title: Revenue (Electronic) areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2113,7 +2113,7 @@ interactions: attributes: title: Revenue (Home) areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2129,7 +2129,7 @@ interactions: attributes: title: Revenue per Customer areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) @@ -2144,7 +2144,7 @@ interactions: attributes: title: Revenue per Dollar Spent areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} @@ -2159,7 +2159,7 @@ interactions: attributes: title: Revenue / Top 10 areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) @@ -2174,7 +2174,7 @@ interactions: attributes: title: Revenue / Top 10% areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) @@ -2189,7 +2189,7 @@ interactions: attributes: title: Total Revenue areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER @@ -2204,7 +2204,7 @@ interactions: attributes: title: Total Revenue (No Filters) areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER @@ -2219,7 +2219,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/51d778ccc5fe05298fe7859a32103a3275f1c80c?offset=0%2C0&limit=2%2C1000 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/1b8d9ad6cf23bbd84a3b8129dc4cd50fca13b047?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 241748302..26592da9f 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 @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: @@ -197,7 +197,7 @@ interactions: type: label localIdentifier: dim_1 links: - executionResult: febd39646bae0fd2de5ccda88b07e61b53e81748 + executionResult: 603250a8f4a3134b329500cbb80b5ab458ac884c - request: method: GET uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=0&size=500 @@ -738,10 +738,10 @@ interactions: type: dataset labels: data: - - id: geo__state__location - type: label - id: state type: label + - id: geo__state__location + type: label links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state meta: @@ -812,50 +812,50 @@ interactions: type: attribute referenceProperties: - identifier: - id: campaigns + id: customers type: dataset multivalue: false sources: - - column: campaign_id + - column: customer_id dataType: INT target: - id: campaign_id + id: customer_id type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: - id: date + id: products type: dataset multivalue: false sources: - - column: date - dataType: DATE + - column: product_id + dataType: INT target: - id: date - type: date + id: product_id + type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: - id: customers + id: date type: dataset multivalue: false sources: - - column: customer_id - dataType: INT + - column: date + dataType: DATE target: - id: customer_id - type: attribute + id: date + type: date sourceColumns: null sourceColumnDataTypes: null - identifier: - id: products + id: campaigns type: dataset multivalue: false sources: - - column: product_id + - column: campaign_id dataType: INT target: - id: product_id + id: campaign_id type: attribute sourceColumns: null sourceColumnDataTypes: null @@ -1317,12 +1317,12 @@ interactions: relationships: attributes: data: - - id: type - type: attribute - id: campaign_channel_id type: attribute - id: campaign_channels.category type: attribute + - id: type + type: attribute facts: data: - id: spend @@ -1354,10 +1354,10 @@ interactions: relationships: attributes: data: - - id: campaign_id - type: attribute - id: campaign_name type: attribute + - id: campaign_id + type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaigns meta: @@ -1383,14 +1383,14 @@ interactions: relationships: attributes: data: - - id: customer_name - type: attribute - - id: region - type: attribute - id: customer_id type: attribute + - id: customer_name + type: attribute - id: state type: attribute + - id: region + type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/customers meta: @@ -1410,12 +1410,12 @@ interactions: data: - id: date.month type: attribute - - id: date.week - type: attribute - id: date.day type: attribute - id: date.quarter type: attribute + - id: date.week + type: attribute - id: date.year type: attribute links: @@ -1436,50 +1436,50 @@ interactions: type: attribute referenceProperties: - identifier: - id: campaigns + id: customers type: dataset multivalue: false sources: - - column: campaign_id + - column: customer_id dataType: INT target: - id: campaign_id + id: customer_id type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: - id: date + id: products type: dataset multivalue: false sources: - - column: date - dataType: DATE + - column: product_id + dataType: INT target: - id: date - type: date + id: product_id + type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: - id: customers + id: date type: dataset multivalue: false sources: - - column: customer_id - dataType: INT + - column: date + dataType: DATE target: - id: customer_id - type: attribute + id: date + type: date sourceColumns: null sourceColumnDataTypes: null - identifier: - id: products + id: campaigns type: dataset multivalue: false sources: - - column: product_id + - column: campaign_id dataType: INT target: - id: product_id + id: campaign_id type: attribute sourceColumns: null sourceColumnDataTypes: null @@ -1899,7 +1899,7 @@ interactions: attributes: title: '# of Active Customers' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) @@ -1914,7 +1914,7 @@ interactions: attributes: title: '# of Orders' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) @@ -1929,7 +1929,7 @@ interactions: attributes: title: '# of Top Customers' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT @@ -1946,7 +1946,7 @@ interactions: title: '# of Valid Orders' description: '' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} @@ -1962,7 +1962,7 @@ interactions: attributes: title: Campaign Spend areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT SUM({fact/spend}) @@ -1977,7 +1977,7 @@ interactions: attributes: title: Order Amount areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) @@ -1992,7 +1992,7 @@ interactions: attributes: title: '% Revenue' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} @@ -2007,7 +2007,7 @@ interactions: attributes: title: '% Revenue from Top 10 Customers' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2023,7 +2023,7 @@ interactions: attributes: title: '% Revenue from Top 10% Customers' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2039,7 +2039,7 @@ interactions: attributes: title: '% Revenue from Top 10% Products' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2055,7 +2055,7 @@ interactions: attributes: title: '% Revenue from Top 10 Products' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2071,7 +2071,7 @@ interactions: attributes: title: '% Revenue in Category' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, @@ -2087,7 +2087,7 @@ interactions: attributes: title: '% Revenue per Product' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL @@ -2104,7 +2104,7 @@ interactions: title: Revenue description: '' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} @@ -2120,7 +2120,7 @@ interactions: attributes: title: Revenue (Clothing) areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2136,7 +2136,7 @@ interactions: attributes: title: Revenue (Electronic) areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2152,7 +2152,7 @@ interactions: attributes: title: Revenue (Home) areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2168,7 +2168,7 @@ interactions: attributes: title: Revenue (Outdoor) areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2184,7 +2184,7 @@ interactions: attributes: title: Revenue per Customer areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) @@ -2199,7 +2199,7 @@ interactions: attributes: title: Revenue per Dollar Spent areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} @@ -2214,7 +2214,7 @@ interactions: attributes: title: Revenue / Top 10 areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) @@ -2229,7 +2229,7 @@ interactions: attributes: title: Revenue / Top 10% areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) @@ -2244,7 +2244,7 @@ interactions: attributes: title: Total Revenue areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER @@ -2259,7 +2259,7 @@ interactions: attributes: title: Total Revenue (No Filters) areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER @@ -2274,7 +2274,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/febd39646bae0fd2de5ccda88b07e61b53e81748?offset=0%2C0&limit=2%2C1000 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/603250a8f4a3134b329500cbb80b5ab458ac884c?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 d38417b1e..de4f268d3 100644 --- a/gooddata-pandas/tests/dataframe/fixtures/simple_index_metrics.yaml +++ b/gooddata-pandas/tests/dataframe/fixtures/simple_index_metrics.yaml @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: @@ -149,7 +149,7 @@ interactions: type: label localIdentifier: dim_1 links: - executionResult: 59a77968f286d2530fb8b39e33bdec472d417404 + executionResult: df797033691133a89cd512df90f7e6c83401fd1d - request: method: GET uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=0&size=500 @@ -690,10 +690,10 @@ interactions: type: dataset labels: data: - - id: geo__state__location - type: label - id: state type: label + - id: geo__state__location + type: label links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state meta: @@ -764,50 +764,50 @@ interactions: type: attribute referenceProperties: - identifier: - id: campaigns + id: customers type: dataset multivalue: false sources: - - column: campaign_id + - column: customer_id dataType: INT target: - id: campaign_id + id: customer_id type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: - id: date + id: products type: dataset multivalue: false sources: - - column: date - dataType: DATE + - column: product_id + dataType: INT target: - id: date - type: date + id: product_id + type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: - id: customers + id: date type: dataset multivalue: false sources: - - column: customer_id - dataType: INT + - column: date + dataType: DATE target: - id: customer_id - type: attribute + id: date + type: date sourceColumns: null sourceColumnDataTypes: null - identifier: - id: products + id: campaigns type: dataset multivalue: false sources: - - column: product_id + - column: campaign_id dataType: INT target: - id: product_id + id: campaign_id type: attribute sourceColumns: null sourceColumnDataTypes: null @@ -1269,12 +1269,12 @@ interactions: relationships: attributes: data: - - id: type - type: attribute - id: campaign_channel_id type: attribute - id: campaign_channels.category type: attribute + - id: type + type: attribute facts: data: - id: spend @@ -1306,10 +1306,10 @@ interactions: relationships: attributes: data: - - id: campaign_id - type: attribute - id: campaign_name type: attribute + - id: campaign_id + type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaigns meta: @@ -1335,14 +1335,14 @@ interactions: relationships: attributes: data: - - id: customer_name - type: attribute - - id: region - type: attribute - id: customer_id type: attribute + - id: customer_name + type: attribute - id: state type: attribute + - id: region + type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/customers meta: @@ -1362,12 +1362,12 @@ interactions: data: - id: date.month type: attribute - - id: date.week - type: attribute - id: date.day type: attribute - id: date.quarter type: attribute + - id: date.week + type: attribute - id: date.year type: attribute links: @@ -1388,50 +1388,50 @@ interactions: type: attribute referenceProperties: - identifier: - id: campaigns + id: customers type: dataset multivalue: false sources: - - column: campaign_id + - column: customer_id dataType: INT target: - id: campaign_id + id: customer_id type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: - id: date + id: products type: dataset multivalue: false sources: - - column: date - dataType: DATE + - column: product_id + dataType: INT target: - id: date - type: date + id: product_id + type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: - id: customers + id: date type: dataset multivalue: false sources: - - column: customer_id - dataType: INT + - column: date + dataType: DATE target: - id: customer_id - type: attribute + id: date + type: date sourceColumns: null sourceColumnDataTypes: null - identifier: - id: products + id: campaigns type: dataset multivalue: false sources: - - column: product_id + - column: campaign_id dataType: INT target: - id: product_id + id: campaign_id type: attribute sourceColumns: null sourceColumnDataTypes: null @@ -1851,7 +1851,7 @@ interactions: attributes: title: '# of Active Customers' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) @@ -1866,7 +1866,7 @@ interactions: attributes: title: '# of Orders' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) @@ -1881,7 +1881,7 @@ interactions: attributes: title: '# of Top Customers' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT @@ -1898,7 +1898,7 @@ interactions: title: '# of Valid Orders' description: '' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} @@ -1914,7 +1914,7 @@ interactions: attributes: title: Campaign Spend areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT SUM({fact/spend}) @@ -1929,7 +1929,7 @@ interactions: attributes: title: Order Amount areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) @@ -1944,7 +1944,7 @@ interactions: attributes: title: '% Revenue' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} @@ -1959,7 +1959,7 @@ interactions: attributes: title: '% Revenue from Top 10 Customers' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -1975,7 +1975,7 @@ interactions: attributes: title: '% Revenue from Top 10% Customers' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -1991,7 +1991,7 @@ interactions: attributes: title: '% Revenue from Top 10% Products' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2007,7 +2007,7 @@ interactions: attributes: title: '% Revenue from Top 10 Products' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2023,7 +2023,7 @@ interactions: attributes: title: '% Revenue in Category' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, @@ -2039,7 +2039,7 @@ interactions: attributes: title: '% Revenue per Product' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL @@ -2056,7 +2056,7 @@ interactions: title: Revenue description: '' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} @@ -2072,7 +2072,7 @@ interactions: attributes: title: Revenue (Clothing) areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2088,7 +2088,7 @@ interactions: attributes: title: Revenue (Electronic) areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2104,7 +2104,7 @@ interactions: attributes: title: Revenue (Home) areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2120,7 +2120,7 @@ interactions: attributes: title: Revenue (Outdoor) areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2136,7 +2136,7 @@ interactions: attributes: title: Revenue per Customer areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) @@ -2151,7 +2151,7 @@ interactions: attributes: title: Revenue per Dollar Spent areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} @@ -2166,7 +2166,7 @@ interactions: attributes: title: Revenue / Top 10 areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) @@ -2181,7 +2181,7 @@ interactions: attributes: title: Revenue / Top 10% areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) @@ -2196,7 +2196,7 @@ interactions: attributes: title: Total Revenue areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER @@ -2211,7 +2211,7 @@ interactions: attributes: title: Total Revenue (No Filters) areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER @@ -2226,7 +2226,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/59a77968f286d2530fb8b39e33bdec472d417404?offset=0%2C0&limit=1%2C1000 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/df797033691133a89cd512df90f7e6c83401fd1d?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 b4235057f..9fc8001fa 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 @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: @@ -140,7 +140,7 @@ interactions: type: label localIdentifier: dim_1 links: - executionResult: 67de884550e0671ca73d819bdf7c05c715aea75e + executionResult: 1f59eeee5f158f5ebc010d35c65b50fc21e8df5f - request: method: GET uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=0&size=500 @@ -681,10 +681,10 @@ interactions: type: dataset labels: data: - - id: geo__state__location - type: label - id: state type: label + - id: geo__state__location + type: label links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state meta: @@ -755,50 +755,50 @@ interactions: type: attribute referenceProperties: - identifier: - id: campaigns + id: customers type: dataset multivalue: false sources: - - column: campaign_id + - column: customer_id dataType: INT target: - id: campaign_id + id: customer_id type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: - id: date + id: products type: dataset multivalue: false sources: - - column: date - dataType: DATE + - column: product_id + dataType: INT target: - id: date - type: date + id: product_id + type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: - id: customers + id: date type: dataset multivalue: false sources: - - column: customer_id - dataType: INT + - column: date + dataType: DATE target: - id: customer_id - type: attribute + id: date + type: date sourceColumns: null sourceColumnDataTypes: null - identifier: - id: products + id: campaigns type: dataset multivalue: false sources: - - column: product_id + - column: campaign_id dataType: INT target: - id: product_id + id: campaign_id type: attribute sourceColumns: null sourceColumnDataTypes: null @@ -1260,12 +1260,12 @@ interactions: relationships: attributes: data: - - id: type - type: attribute - id: campaign_channel_id type: attribute - id: campaign_channels.category type: attribute + - id: type + type: attribute facts: data: - id: spend @@ -1297,10 +1297,10 @@ interactions: relationships: attributes: data: - - id: campaign_id - type: attribute - id: campaign_name type: attribute + - id: campaign_id + type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaigns meta: @@ -1326,14 +1326,14 @@ interactions: relationships: attributes: data: - - id: customer_name - type: attribute - - id: region - type: attribute - id: customer_id type: attribute + - id: customer_name + type: attribute - id: state type: attribute + - id: region + type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/customers meta: @@ -1353,12 +1353,12 @@ interactions: data: - id: date.month type: attribute - - id: date.week - type: attribute - id: date.day type: attribute - id: date.quarter type: attribute + - id: date.week + type: attribute - id: date.year type: attribute links: @@ -1379,50 +1379,50 @@ interactions: type: attribute referenceProperties: - identifier: - id: campaigns + id: customers type: dataset multivalue: false sources: - - column: campaign_id + - column: customer_id dataType: INT target: - id: campaign_id + id: customer_id type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: - id: date + id: products type: dataset multivalue: false sources: - - column: date - dataType: DATE + - column: product_id + dataType: INT target: - id: date - type: date + id: product_id + type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: - id: customers + id: date type: dataset multivalue: false sources: - - column: customer_id - dataType: INT + - column: date + dataType: DATE target: - id: customer_id - type: attribute + id: date + type: date sourceColumns: null sourceColumnDataTypes: null - identifier: - id: products + id: campaigns type: dataset multivalue: false sources: - - column: product_id + - column: campaign_id dataType: INT target: - id: product_id + id: campaign_id type: attribute sourceColumns: null sourceColumnDataTypes: null @@ -1842,7 +1842,7 @@ interactions: attributes: title: '# of Active Customers' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) @@ -1857,7 +1857,7 @@ interactions: attributes: title: '# of Orders' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) @@ -1872,7 +1872,7 @@ interactions: attributes: title: '# of Top Customers' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT @@ -1889,7 +1889,7 @@ interactions: title: '# of Valid Orders' description: '' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} @@ -1905,7 +1905,7 @@ interactions: attributes: title: Campaign Spend areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT SUM({fact/spend}) @@ -1920,7 +1920,7 @@ interactions: attributes: title: Order Amount areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) @@ -1935,7 +1935,7 @@ interactions: attributes: title: '% Revenue' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} @@ -1950,7 +1950,7 @@ interactions: attributes: title: '% Revenue from Top 10 Customers' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -1966,7 +1966,7 @@ interactions: attributes: title: '% Revenue from Top 10% Customers' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -1982,7 +1982,7 @@ interactions: attributes: title: '% Revenue from Top 10% Products' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -1998,7 +1998,7 @@ interactions: attributes: title: '% Revenue from Top 10 Products' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2014,7 +2014,7 @@ interactions: attributes: title: '% Revenue in Category' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, @@ -2030,7 +2030,7 @@ interactions: attributes: title: '% Revenue per Product' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL @@ -2047,7 +2047,7 @@ interactions: title: Revenue description: '' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} @@ -2063,7 +2063,7 @@ interactions: attributes: title: Revenue (Clothing) areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2079,7 +2079,7 @@ interactions: attributes: title: Revenue (Electronic) areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2095,7 +2095,7 @@ interactions: attributes: title: Revenue (Home) areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2111,7 +2111,7 @@ interactions: attributes: title: Revenue (Outdoor) areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2127,7 +2127,7 @@ interactions: attributes: title: Revenue per Customer areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) @@ -2142,7 +2142,7 @@ interactions: attributes: title: Revenue per Dollar Spent areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} @@ -2157,7 +2157,7 @@ interactions: attributes: title: Revenue / Top 10 areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) @@ -2172,7 +2172,7 @@ interactions: attributes: title: Revenue / Top 10% areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) @@ -2187,7 +2187,7 @@ interactions: attributes: title: Total Revenue areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER @@ -2202,7 +2202,7 @@ interactions: attributes: title: Total Revenue (No Filters) areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER @@ -2217,7 +2217,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/67de884550e0671ca73d819bdf7c05c715aea75e?offset=0%2C0&limit=2%2C1000 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/1f59eeee5f158f5ebc010d35c65b50fc21e8df5f?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 b4235057f..9fc8001fa 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 @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: @@ -140,7 +140,7 @@ interactions: type: label localIdentifier: dim_1 links: - executionResult: 67de884550e0671ca73d819bdf7c05c715aea75e + executionResult: 1f59eeee5f158f5ebc010d35c65b50fc21e8df5f - request: method: GET uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=0&size=500 @@ -681,10 +681,10 @@ interactions: type: dataset labels: data: - - id: geo__state__location - type: label - id: state type: label + - id: geo__state__location + type: label links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state meta: @@ -755,50 +755,50 @@ interactions: type: attribute referenceProperties: - identifier: - id: campaigns + id: customers type: dataset multivalue: false sources: - - column: campaign_id + - column: customer_id dataType: INT target: - id: campaign_id + id: customer_id type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: - id: date + id: products type: dataset multivalue: false sources: - - column: date - dataType: DATE + - column: product_id + dataType: INT target: - id: date - type: date + id: product_id + type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: - id: customers + id: date type: dataset multivalue: false sources: - - column: customer_id - dataType: INT + - column: date + dataType: DATE target: - id: customer_id - type: attribute + id: date + type: date sourceColumns: null sourceColumnDataTypes: null - identifier: - id: products + id: campaigns type: dataset multivalue: false sources: - - column: product_id + - column: campaign_id dataType: INT target: - id: product_id + id: campaign_id type: attribute sourceColumns: null sourceColumnDataTypes: null @@ -1260,12 +1260,12 @@ interactions: relationships: attributes: data: - - id: type - type: attribute - id: campaign_channel_id type: attribute - id: campaign_channels.category type: attribute + - id: type + type: attribute facts: data: - id: spend @@ -1297,10 +1297,10 @@ interactions: relationships: attributes: data: - - id: campaign_id - type: attribute - id: campaign_name type: attribute + - id: campaign_id + type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaigns meta: @@ -1326,14 +1326,14 @@ interactions: relationships: attributes: data: - - id: customer_name - type: attribute - - id: region - type: attribute - id: customer_id type: attribute + - id: customer_name + type: attribute - id: state type: attribute + - id: region + type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/customers meta: @@ -1353,12 +1353,12 @@ interactions: data: - id: date.month type: attribute - - id: date.week - type: attribute - id: date.day type: attribute - id: date.quarter type: attribute + - id: date.week + type: attribute - id: date.year type: attribute links: @@ -1379,50 +1379,50 @@ interactions: type: attribute referenceProperties: - identifier: - id: campaigns + id: customers type: dataset multivalue: false sources: - - column: campaign_id + - column: customer_id dataType: INT target: - id: campaign_id + id: customer_id type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: - id: date + id: products type: dataset multivalue: false sources: - - column: date - dataType: DATE + - column: product_id + dataType: INT target: - id: date - type: date + id: product_id + type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: - id: customers + id: date type: dataset multivalue: false sources: - - column: customer_id - dataType: INT + - column: date + dataType: DATE target: - id: customer_id - type: attribute + id: date + type: date sourceColumns: null sourceColumnDataTypes: null - identifier: - id: products + id: campaigns type: dataset multivalue: false sources: - - column: product_id + - column: campaign_id dataType: INT target: - id: product_id + id: campaign_id type: attribute sourceColumns: null sourceColumnDataTypes: null @@ -1842,7 +1842,7 @@ interactions: attributes: title: '# of Active Customers' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) @@ -1857,7 +1857,7 @@ interactions: attributes: title: '# of Orders' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) @@ -1872,7 +1872,7 @@ interactions: attributes: title: '# of Top Customers' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT @@ -1889,7 +1889,7 @@ interactions: title: '# of Valid Orders' description: '' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} @@ -1905,7 +1905,7 @@ interactions: attributes: title: Campaign Spend areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT SUM({fact/spend}) @@ -1920,7 +1920,7 @@ interactions: attributes: title: Order Amount areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) @@ -1935,7 +1935,7 @@ interactions: attributes: title: '% Revenue' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} @@ -1950,7 +1950,7 @@ interactions: attributes: title: '% Revenue from Top 10 Customers' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -1966,7 +1966,7 @@ interactions: attributes: title: '% Revenue from Top 10% Customers' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -1982,7 +1982,7 @@ interactions: attributes: title: '% Revenue from Top 10% Products' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -1998,7 +1998,7 @@ interactions: attributes: title: '% Revenue from Top 10 Products' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2014,7 +2014,7 @@ interactions: attributes: title: '% Revenue in Category' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, @@ -2030,7 +2030,7 @@ interactions: attributes: title: '% Revenue per Product' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL @@ -2047,7 +2047,7 @@ interactions: title: Revenue description: '' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} @@ -2063,7 +2063,7 @@ interactions: attributes: title: Revenue (Clothing) areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2079,7 +2079,7 @@ interactions: attributes: title: Revenue (Electronic) areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2095,7 +2095,7 @@ interactions: attributes: title: Revenue (Home) areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2111,7 +2111,7 @@ interactions: attributes: title: Revenue (Outdoor) areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2127,7 +2127,7 @@ interactions: attributes: title: Revenue per Customer areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) @@ -2142,7 +2142,7 @@ interactions: attributes: title: Revenue per Dollar Spent areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} @@ -2157,7 +2157,7 @@ interactions: attributes: title: Revenue / Top 10 areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) @@ -2172,7 +2172,7 @@ interactions: attributes: title: Revenue / Top 10% areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) @@ -2187,7 +2187,7 @@ interactions: attributes: title: Total Revenue areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER @@ -2202,7 +2202,7 @@ interactions: attributes: title: Total Revenue (No Filters) areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER @@ -2217,7 +2217,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/67de884550e0671ca73d819bdf7c05c715aea75e?offset=0%2C0&limit=2%2C1000 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/1f59eeee5f158f5ebc010d35c65b50fc21e8df5f?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 d76c97a2b..dda2506d0 100644 --- a/gooddata-pandas/tests/series/fixtures/multi_index_filtered_series.yaml +++ b/gooddata-pandas/tests/series/fixtures/multi_index_filtered_series.yaml @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: @@ -157,7 +157,7 @@ interactions: type: label localIdentifier: dim_1 links: - executionResult: 574db88c6b66b7649532923a962800187596af5b + executionResult: ada524f4b782ea67db643e77732938acc570c007 - request: method: GET uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=0&size=500 @@ -723,10 +723,10 @@ interactions: type: dataset labels: data: - - id: geo__state__location - type: label - id: state type: label + - id: geo__state__location + type: label links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state meta: @@ -772,50 +772,50 @@ interactions: type: attribute referenceProperties: - identifier: - id: campaigns + id: customers type: dataset multivalue: false sources: - - column: campaign_id + - column: customer_id dataType: INT target: - id: campaign_id + id: customer_id type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: - id: date + id: products type: dataset multivalue: false sources: - - column: date - dataType: DATE + - column: product_id + dataType: INT target: - id: date - type: date + id: product_id + type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: - id: customers + id: date type: dataset multivalue: false sources: - - column: customer_id - dataType: INT + - column: date + dataType: DATE target: - id: customer_id - type: attribute + id: date + type: date sourceColumns: null sourceColumnDataTypes: null - identifier: - id: products + id: campaigns type: dataset multivalue: false sources: - - column: product_id + - column: campaign_id dataType: INT target: - id: product_id + id: campaign_id type: attribute sourceColumns: null sourceColumnDataTypes: null @@ -1277,12 +1277,12 @@ interactions: relationships: attributes: data: - - id: type - type: attribute - id: campaign_channel_id type: attribute - id: campaign_channels.category type: attribute + - id: type + type: attribute facts: data: - id: spend @@ -1314,10 +1314,10 @@ interactions: relationships: attributes: data: - - id: campaign_id - type: attribute - id: campaign_name type: attribute + - id: campaign_id + type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaigns meta: @@ -1343,16 +1343,43 @@ interactions: relationships: attributes: data: + - id: customer_id + type: attribute - id: customer_name type: attribute + - id: state + type: attribute - id: region type: attribute - - id: customer_id + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/customers + meta: + origin: + originType: NATIVE + originId: demo + - id: date + type: dataset + attributes: + title: Date + tags: + - Date + areRelationsValid: true + type: DATE + relationships: + attributes: + data: + - id: date.month type: attribute - - id: state + - id: date.day + type: attribute + - id: date.quarter + type: attribute + - id: date.week + type: attribute + - id: date.year type: attribute links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/customers + self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date meta: origin: originType: NATIVE @@ -1369,50 +1396,50 @@ interactions: type: attribute referenceProperties: - identifier: - id: campaigns + id: customers type: dataset multivalue: false sources: - - column: campaign_id + - column: customer_id dataType: INT target: - id: campaign_id + id: customer_id type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: - id: date + id: products type: dataset multivalue: false sources: - - column: date - dataType: DATE + - column: product_id + dataType: INT target: - id: date - type: date + id: product_id + type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: - id: customers + id: date type: dataset multivalue: false sources: - - column: customer_id - dataType: INT + - column: date + dataType: DATE target: - id: customer_id - type: attribute + id: date + type: date sourceColumns: null sourceColumnDataTypes: null - identifier: - id: products + id: campaigns type: dataset multivalue: false sources: - - column: product_id + - column: campaign_id dataType: INT target: - id: product_id + id: campaign_id type: attribute sourceColumns: null sourceColumnDataTypes: null @@ -1422,20 +1449,20 @@ interactions: - order_lines areRelationsValid: true workspaceDataFilterColumns: - - name: wdf__state - dataType: STRING - name: wdf__region dataType: STRING + - name: wdf__state + dataType: STRING workspaceDataFilterReferences: - filterId: - id: wdf__region + id: wdf__state type: workspaceDataFilter - filterColumn: wdf__region + filterColumn: wdf__state filterColumnDataType: STRING - filterId: - id: wdf__state + id: wdf__region type: workspaceDataFilter - filterColumn: wdf__state + filterColumn: wdf__region filterColumnDataType: STRING type: NORMAL relationships: @@ -1490,33 +1517,6 @@ interactions: origin: originType: NATIVE originId: demo - - id: date - type: dataset - attributes: - title: Date - tags: - - Date - areRelationsValid: true - type: DATE - relationships: - attributes: - data: - - id: date.month - type: attribute - - id: date.week - type: attribute - - id: date.day - type: attribute - - id: date.quarter - type: attribute - - id: date.year - type: attribute - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date - meta: - origin: - originType: NATIVE - originId: demo included: - id: campaign_name type: attribute @@ -1859,7 +1859,7 @@ interactions: attributes: title: '# of Active Customers' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) @@ -1874,7 +1874,7 @@ interactions: attributes: title: '# of Orders' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) @@ -1889,7 +1889,7 @@ interactions: attributes: title: '# of Top Customers' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT @@ -1906,7 +1906,7 @@ interactions: title: '# of Valid Orders' description: '' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} @@ -1922,7 +1922,7 @@ interactions: attributes: title: Campaign Spend areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT SUM({fact/spend}) @@ -1937,7 +1937,7 @@ interactions: attributes: title: Order Amount areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) @@ -1952,7 +1952,7 @@ interactions: attributes: title: '% Revenue' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} @@ -1967,7 +1967,7 @@ interactions: attributes: title: '% Revenue from Top 10 Customers' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -1983,7 +1983,7 @@ interactions: attributes: title: '% Revenue from Top 10% Customers' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -1999,7 +1999,7 @@ interactions: attributes: title: Revenue (Outdoor) areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2015,7 +2015,7 @@ interactions: attributes: title: '% Revenue from Top 10% Products' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2031,7 +2031,7 @@ interactions: attributes: title: '% Revenue from Top 10 Products' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2047,7 +2047,7 @@ interactions: attributes: title: '% Revenue in Category' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, @@ -2063,7 +2063,7 @@ interactions: attributes: title: '% Revenue per Product' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL @@ -2080,7 +2080,7 @@ interactions: title: Revenue description: '' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} @@ -2096,7 +2096,7 @@ interactions: attributes: title: Revenue (Clothing) areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2112,7 +2112,7 @@ interactions: attributes: title: Revenue (Electronic) areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2128,7 +2128,7 @@ interactions: attributes: title: Revenue (Home) areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2144,7 +2144,7 @@ interactions: attributes: title: Revenue per Customer areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) @@ -2159,7 +2159,7 @@ interactions: attributes: title: Revenue per Dollar Spent areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} @@ -2174,7 +2174,7 @@ interactions: attributes: title: Revenue / Top 10 areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) @@ -2189,7 +2189,7 @@ interactions: attributes: title: Revenue / Top 10% areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) @@ -2204,7 +2204,7 @@ interactions: attributes: title: Total Revenue areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER @@ -2219,7 +2219,7 @@ interactions: attributes: title: Total Revenue (No Filters) areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER @@ -2234,7 +2234,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/574db88c6b66b7649532923a962800187596af5b?offset=0%2C0&limit=1%2C1000 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/ada524f4b782ea67db643e77732938acc570c007?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 75d51e8aa..de4f268d3 100644 --- a/gooddata-pandas/tests/series/fixtures/multi_index_metric_series.yaml +++ b/gooddata-pandas/tests/series/fixtures/multi_index_metric_series.yaml @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: @@ -149,7 +149,7 @@ interactions: type: label localIdentifier: dim_1 links: - executionResult: 59a77968f286d2530fb8b39e33bdec472d417404 + executionResult: df797033691133a89cd512df90f7e6c83401fd1d - request: method: GET uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=0&size=500 @@ -274,31 +274,6 @@ interactions: origin: originType: NATIVE originId: demo - - id: type - type: attribute - attributes: - title: Type - description: Type - tags: - - Campaign channels - areRelationsValid: true - sourceColumn: type - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: campaign_channels - type: dataset - labels: - data: - - id: type - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/type - meta: - origin: - originType: NATIVE - originId: demo - id: campaign_id type: attribute attributes: @@ -399,297 +374,297 @@ interactions: origin: originType: NATIVE originId: demo - - id: region + - id: date.day type: attribute attributes: - title: Region - description: Region + title: Date - Date + description: Date tags: - - Customers + - Date + granularity: DAY areRelationsValid: true - sourceColumn: region - sourceColumnDataType: STRING relationships: dataset: data: - id: customers + id: date type: dataset labels: data: - - id: region + - id: date.day type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/region + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.day meta: origin: originType: NATIVE originId: demo - - id: order_id + - id: date.month type: attribute attributes: - title: Order id - description: Order id + title: Date - Month/Year + description: Month and Year (12/2020) tags: - - Order lines + - Date + granularity: MONTH areRelationsValid: true - sourceColumn: order_id - sourceColumnDataType: STRING relationships: dataset: data: - id: order_lines + id: date type: dataset labels: data: - - id: order_id + - id: date.month type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_id + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.month meta: origin: originType: NATIVE originId: demo - - id: order_line_id + - id: date.quarter type: attribute attributes: - title: Order line id - description: Order line id + title: Date - Quarter/Year + description: Quarter and Year (Q1/2020) tags: - - Order lines + - Date + granularity: QUARTER areRelationsValid: true - sourceColumn: order_line_id - sourceColumnDataType: STRING relationships: dataset: data: - id: order_lines + id: date type: dataset labels: data: - - id: order_line_id + - id: date.quarter type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_line_id + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarter meta: origin: originType: NATIVE originId: demo - - id: order_status + - id: date.week type: attribute attributes: - title: Order status - description: Order status + title: Date - Week/Year + description: Week and Year (W52/2020) tags: - - Order lines + - Date + granularity: WEEK areRelationsValid: true - sourceColumn: order_status - sourceColumnDataType: STRING relationships: dataset: data: - id: order_lines + id: date type: dataset labels: data: - - id: order_status + - id: date.week type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_status + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week meta: origin: originType: NATIVE originId: demo - - id: product_id + - id: date.year type: attribute attributes: - title: Product id - description: Product id + title: Date - Year + description: Year tags: - - Products + - Date + granularity: YEAR areRelationsValid: true - sourceColumn: product_id - sourceColumnDataType: INT relationships: dataset: data: - id: products + id: date type: dataset labels: data: - - id: product_id + - id: date.year type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_id + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.year meta: origin: originType: NATIVE originId: demo - - id: product_name + - id: order_id type: attribute attributes: - title: Product name - description: Product name + title: Order id + description: Order id tags: - - Products + - Order lines areRelationsValid: true - sourceColumn: product_name + sourceColumn: order_id sourceColumnDataType: STRING relationships: dataset: data: - id: products + id: order_lines type: dataset labels: data: - - id: product_name + - id: order_id type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_name + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_id meta: origin: originType: NATIVE originId: demo - - id: products.category + - id: order_line_id type: attribute attributes: - title: Category - description: Category + title: Order line id + description: Order line id tags: - - Products + - Order lines areRelationsValid: true - sourceColumn: category + sourceColumn: order_line_id sourceColumnDataType: STRING relationships: dataset: data: - id: products + id: order_lines type: dataset labels: data: - - id: products.category + - id: order_line_id type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/products.category + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_line_id meta: origin: originType: NATIVE originId: demo - - id: date.day + - id: order_status type: attribute attributes: - title: Date - Date - description: Date + title: Order status + description: Order status tags: - - Date - granularity: DAY + - Order lines areRelationsValid: true + sourceColumn: order_status + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: order_lines type: dataset labels: data: - - id: date.day + - id: order_status type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.day + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_status meta: origin: originType: NATIVE originId: demo - - id: date.month + - id: product_id type: attribute attributes: - title: Date - Month/Year - description: Month and Year (12/2020) + title: Product id + description: Product id tags: - - Date - granularity: MONTH + - Products areRelationsValid: true + sourceColumn: product_id + sourceColumnDataType: INT relationships: dataset: data: - id: date + id: products type: dataset labels: data: - - id: date.month + - id: product_id type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.month + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_id meta: origin: originType: NATIVE originId: demo - - id: date.quarter + - id: product_name type: attribute attributes: - title: Date - Quarter/Year - description: Quarter and Year (Q1/2020) + title: Product name + description: Product name tags: - - Date - granularity: QUARTER + - Products areRelationsValid: true + sourceColumn: product_name + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: products type: dataset labels: data: - - id: date.quarter + - id: product_name type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarter + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_name meta: origin: originType: NATIVE originId: demo - - id: date.week + - id: products.category type: attribute attributes: - title: Date - Week/Year - description: Week and Year (W52/2020) + title: Category + description: Category tags: - - Date - granularity: WEEK + - Products areRelationsValid: true + sourceColumn: category + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: products type: dataset labels: data: - - id: date.week + - id: products.category type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/products.category meta: origin: originType: NATIVE originId: demo - - id: date.year + - id: region type: attribute attributes: - title: Date - Year - description: Year + title: Region + description: Region tags: - - Date - granularity: YEAR + - Customers areRelationsValid: true + sourceColumn: region + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: customers type: dataset labels: data: - - id: date.year + - id: region type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.year + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/region meta: origin: originType: NATIVE @@ -715,16 +690,41 @@ interactions: type: dataset labels: data: - - id: geo__state__location - type: label - id: state type: label + - id: geo__state__location + type: label links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state meta: origin: originType: NATIVE originId: demo + - id: type + type: attribute + attributes: + title: Type + description: Type + tags: + - Campaign channels + areRelationsValid: true + sourceColumn: type + sourceColumnDataType: STRING + relationships: + dataset: + data: + id: campaign_channels + type: dataset + labels: + data: + - id: type + type: label + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/type + meta: + origin: + originType: NATIVE + originId: demo included: - id: product_name type: label @@ -764,50 +764,50 @@ interactions: type: attribute referenceProperties: - identifier: - id: campaigns + id: customers type: dataset multivalue: false sources: - - column: campaign_id + - column: customer_id dataType: INT target: - id: campaign_id + id: customer_id type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: - id: date + id: products type: dataset multivalue: false sources: - - column: date - dataType: DATE + - column: product_id + dataType: INT target: - id: date - type: date + id: product_id + type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: - id: customers + id: date type: dataset multivalue: false sources: - - column: customer_id - dataType: INT + - column: date + dataType: DATE target: - id: customer_id - type: attribute + id: date + type: date sourceColumns: null sourceColumnDataTypes: null - identifier: - id: products + id: campaigns type: dataset multivalue: false sources: - - column: product_id + - column: campaign_id dataType: INT target: - id: product_id + id: campaign_id type: attribute sourceColumns: null sourceColumnDataTypes: null @@ -1269,12 +1269,12 @@ interactions: relationships: attributes: data: - - id: type - type: attribute - id: campaign_channel_id type: attribute - id: campaign_channels.category type: attribute + - id: type + type: attribute facts: data: - id: spend @@ -1306,10 +1306,10 @@ interactions: relationships: attributes: data: - - id: campaign_id - type: attribute - id: campaign_name type: attribute + - id: campaign_id + type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaigns meta: @@ -1335,16 +1335,43 @@ interactions: relationships: attributes: data: + - id: customer_id + type: attribute - id: customer_name type: attribute + - id: state + type: attribute - id: region type: attribute - - id: customer_id + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/customers + meta: + origin: + originType: NATIVE + originId: demo + - id: date + type: dataset + attributes: + title: Date + tags: + - Date + areRelationsValid: true + type: DATE + relationships: + attributes: + data: + - id: date.month type: attribute - - id: state + - id: date.day + type: attribute + - id: date.quarter + type: attribute + - id: date.week + type: attribute + - id: date.year type: attribute links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/customers + self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date meta: origin: originType: NATIVE @@ -1361,50 +1388,50 @@ interactions: type: attribute referenceProperties: - identifier: - id: campaigns + id: customers type: dataset multivalue: false sources: - - column: campaign_id + - column: customer_id dataType: INT target: - id: campaign_id + id: customer_id type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: - id: date + id: products type: dataset multivalue: false sources: - - column: date - dataType: DATE + - column: product_id + dataType: INT target: - id: date - type: date + id: product_id + type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: - id: customers + id: date type: dataset multivalue: false sources: - - column: customer_id - dataType: INT + - column: date + dataType: DATE target: - id: customer_id - type: attribute + id: date + type: date sourceColumns: null sourceColumnDataTypes: null - identifier: - id: products + id: campaigns type: dataset multivalue: false sources: - - column: product_id + - column: campaign_id dataType: INT target: - id: product_id + id: campaign_id type: attribute sourceColumns: null sourceColumnDataTypes: null @@ -1414,20 +1441,20 @@ interactions: - order_lines areRelationsValid: true workspaceDataFilterColumns: - - name: wdf__state - dataType: STRING - name: wdf__region dataType: STRING + - name: wdf__state + dataType: STRING workspaceDataFilterReferences: - filterId: - id: wdf__region + id: wdf__state type: workspaceDataFilter - filterColumn: wdf__region + filterColumn: wdf__state filterColumnDataType: STRING - filterId: - id: wdf__state + id: wdf__region type: workspaceDataFilter - filterColumn: wdf__state + filterColumn: wdf__region filterColumnDataType: STRING type: NORMAL relationships: @@ -1482,33 +1509,6 @@ interactions: origin: originType: NATIVE originId: demo - - id: date - type: dataset - attributes: - title: Date - tags: - - Date - areRelationsValid: true - type: DATE - relationships: - attributes: - data: - - id: date.month - type: attribute - - id: date.week - type: attribute - - id: date.day - type: attribute - - id: date.quarter - type: attribute - - id: date.year - type: attribute - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date - meta: - origin: - originType: NATIVE - originId: demo included: - id: campaign_name type: attribute @@ -1851,7 +1851,7 @@ interactions: attributes: title: '# of Active Customers' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) @@ -1866,7 +1866,7 @@ interactions: attributes: title: '# of Orders' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) @@ -1881,7 +1881,7 @@ interactions: attributes: title: '# of Top Customers' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT @@ -1898,7 +1898,7 @@ interactions: title: '# of Valid Orders' description: '' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} @@ -1914,7 +1914,7 @@ interactions: attributes: title: Campaign Spend areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT SUM({fact/spend}) @@ -1929,7 +1929,7 @@ interactions: attributes: title: Order Amount areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) @@ -1944,7 +1944,7 @@ interactions: attributes: title: '% Revenue' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} @@ -1959,7 +1959,7 @@ interactions: attributes: title: '% Revenue from Top 10 Customers' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -1975,7 +1975,7 @@ interactions: attributes: title: '% Revenue from Top 10% Customers' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -1986,28 +1986,12 @@ interactions: origin: originType: NATIVE originId: demo - - id: revenue-outdoor - type: metric - attributes: - title: Revenue (Outdoor) - areRelationsValid: true - createdAt: 2023-12-14 14:09 - 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 - meta: - origin: - originType: NATIVE - originId: demo - id: percent_revenue_from_top_10_percent_products type: metric attributes: title: '% Revenue from Top 10% Products' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2023,7 +2007,7 @@ interactions: attributes: title: '% Revenue from Top 10 Products' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2039,7 +2023,7 @@ interactions: attributes: title: '% Revenue in Category' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, @@ -2055,7 +2039,7 @@ interactions: attributes: title: '% Revenue per Product' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL @@ -2072,7 +2056,7 @@ interactions: title: Revenue description: '' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} @@ -2088,7 +2072,7 @@ interactions: attributes: title: Revenue (Clothing) areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2104,7 +2088,7 @@ interactions: attributes: title: Revenue (Electronic) areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2120,7 +2104,7 @@ interactions: attributes: title: Revenue (Home) areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2131,12 +2115,28 @@ interactions: origin: originType: NATIVE originId: demo + - id: revenue-outdoor + type: metric + attributes: + title: Revenue (Outdoor) + areRelationsValid: true + createdAt: 2024-01-11 10:30 + 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 + meta: + origin: + originType: NATIVE + originId: demo - id: revenue_per_customer type: metric attributes: title: Revenue per Customer areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) @@ -2151,7 +2151,7 @@ interactions: attributes: title: Revenue per Dollar Spent areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} @@ -2166,7 +2166,7 @@ interactions: attributes: title: Revenue / Top 10 areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) @@ -2181,7 +2181,7 @@ interactions: attributes: title: Revenue / Top 10% areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) @@ -2196,7 +2196,7 @@ interactions: attributes: title: Total Revenue areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER @@ -2211,7 +2211,7 @@ interactions: attributes: title: Total Revenue (No Filters) areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER @@ -2226,7 +2226,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/59a77968f286d2530fb8b39e33bdec472d417404?offset=0%2C0&limit=1%2C1000 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/df797033691133a89cd512df90f7e6c83401fd1d?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 a15517316..56793e41e 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 @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: @@ -105,7 +105,7 @@ interactions: - localIdentifier: 27c4b665b9d047b1a66a149714f1c596 localIdentifier: dim_0 links: - executionResult: c3974cde865e75d3c4782c4025b91cc32fe6a7ae + executionResult: 93698c00e97d191f3067cd1457fa3223f45191d8 - request: method: GET uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=0&size=500 @@ -671,10 +671,10 @@ interactions: type: dataset labels: data: - - id: geo__state__location - type: label - id: state type: label + - id: geo__state__location + type: label links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state meta: @@ -720,50 +720,50 @@ interactions: type: attribute referenceProperties: - identifier: - id: campaigns + id: customers type: dataset multivalue: false sources: - - column: campaign_id + - column: customer_id dataType: INT target: - id: campaign_id + id: customer_id type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: - id: date + id: products type: dataset multivalue: false sources: - - column: date - dataType: DATE + - column: product_id + dataType: INT target: - id: date - type: date + id: product_id + type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: - id: customers + id: date type: dataset multivalue: false sources: - - column: customer_id - dataType: INT + - column: date + dataType: DATE target: - id: customer_id - type: attribute + id: date + type: date sourceColumns: null sourceColumnDataTypes: null - identifier: - id: products + id: campaigns type: dataset multivalue: false sources: - - column: product_id + - column: campaign_id dataType: INT target: - id: product_id + id: campaign_id type: attribute sourceColumns: null sourceColumnDataTypes: null @@ -1225,12 +1225,12 @@ interactions: relationships: attributes: data: - - id: type - type: attribute - id: campaign_channel_id type: attribute - id: campaign_channels.category type: attribute + - id: type + type: attribute facts: data: - id: spend @@ -1262,10 +1262,10 @@ interactions: relationships: attributes: data: - - id: campaign_id - type: attribute - id: campaign_name type: attribute + - id: campaign_id + type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaigns meta: @@ -1291,14 +1291,14 @@ interactions: relationships: attributes: data: - - id: customer_name - type: attribute - - id: region - type: attribute - id: customer_id type: attribute + - id: customer_name + type: attribute - id: state type: attribute + - id: region + type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/customers meta: @@ -1317,50 +1317,50 @@ interactions: type: attribute referenceProperties: - identifier: - id: campaigns + id: customers type: dataset multivalue: false sources: - - column: campaign_id + - column: customer_id dataType: INT target: - id: campaign_id + id: customer_id type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: - id: date + id: products type: dataset multivalue: false sources: - - column: date - dataType: DATE + - column: product_id + dataType: INT target: - id: date - type: date + id: product_id + type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: - id: customers + id: date type: dataset multivalue: false sources: - - column: customer_id - dataType: INT + - column: date + dataType: DATE target: - id: customer_id - type: attribute + id: date + type: date sourceColumns: null sourceColumnDataTypes: null - identifier: - id: products + id: campaigns type: dataset multivalue: false sources: - - column: product_id + - column: campaign_id dataType: INT target: - id: product_id + id: campaign_id type: attribute sourceColumns: null sourceColumnDataTypes: null @@ -1451,12 +1451,12 @@ interactions: data: - id: date.month type: attribute - - id: date.week - type: attribute - id: date.day type: attribute - id: date.quarter type: attribute + - id: date.week + type: attribute - id: date.year type: attribute links: @@ -1807,7 +1807,7 @@ interactions: attributes: title: '# of Active Customers' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) @@ -1822,7 +1822,7 @@ interactions: attributes: title: '# of Orders' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) @@ -1837,7 +1837,7 @@ interactions: attributes: title: '# of Top Customers' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT @@ -1854,7 +1854,7 @@ interactions: title: '# of Valid Orders' description: '' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} @@ -1870,7 +1870,7 @@ interactions: attributes: title: Campaign Spend areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT SUM({fact/spend}) @@ -1885,7 +1885,7 @@ interactions: attributes: title: Order Amount areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) @@ -1900,7 +1900,7 @@ interactions: attributes: title: '% Revenue' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} @@ -1915,7 +1915,7 @@ interactions: attributes: title: '% Revenue from Top 10 Customers' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -1931,7 +1931,7 @@ interactions: attributes: title: '% Revenue from Top 10% Customers' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -1947,7 +1947,7 @@ interactions: attributes: title: Revenue (Outdoor) areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -1963,7 +1963,7 @@ interactions: attributes: title: '% Revenue from Top 10% Products' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -1979,7 +1979,7 @@ interactions: attributes: title: '% Revenue from Top 10 Products' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -1995,7 +1995,7 @@ interactions: attributes: title: '% Revenue in Category' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, @@ -2011,7 +2011,7 @@ interactions: attributes: title: '% Revenue per Product' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL @@ -2028,7 +2028,7 @@ interactions: title: Revenue description: '' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} @@ -2044,7 +2044,7 @@ interactions: attributes: title: Revenue (Clothing) areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2060,7 +2060,7 @@ interactions: attributes: title: Revenue (Electronic) areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2076,7 +2076,7 @@ interactions: attributes: title: Revenue (Home) areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2092,7 +2092,7 @@ interactions: attributes: title: Revenue per Customer areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) @@ -2107,7 +2107,7 @@ interactions: attributes: title: Revenue per Dollar Spent areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} @@ -2122,7 +2122,7 @@ interactions: attributes: title: Revenue / Top 10 areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) @@ -2137,7 +2137,7 @@ interactions: attributes: title: Revenue / Top 10% areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) @@ -2152,7 +2152,7 @@ interactions: attributes: title: Total Revenue areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER @@ -2167,7 +2167,7 @@ interactions: attributes: title: Total Revenue (No Filters) areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER @@ -2182,7 +2182,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/c3974cde865e75d3c4782c4025b91cc32fe6a7ae?offset=0&limit=1 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/93698c00e97d191f3067cd1457fa3223f45191d8?offset=0&limit=1 body: null headers: Accept: @@ -2381,7 +2381,7 @@ interactions: - localIdentifier: 27c4b665b9d047b1a66a149714f1c596 localIdentifier: dim_0 links: - executionResult: 86416a3da9679d0ae166f04dcf544b57d0a4de66 + executionResult: daabdbb4f35942a7882895f5105faa328cf010c4 - request: method: GET uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=0&size=500 @@ -2947,10 +2947,10 @@ interactions: type: dataset labels: data: - - id: geo__state__location - type: label - id: state type: label + - id: geo__state__location + type: label links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state meta: @@ -2996,50 +2996,50 @@ interactions: type: attribute referenceProperties: - identifier: - id: campaigns + id: customers type: dataset multivalue: false sources: - - column: campaign_id + - column: customer_id dataType: INT target: - id: campaign_id + id: customer_id type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: - id: date + id: products type: dataset multivalue: false sources: - - column: date - dataType: DATE + - column: product_id + dataType: INT target: - id: date - type: date + id: product_id + type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: - id: customers + id: date type: dataset multivalue: false sources: - - column: customer_id - dataType: INT + - column: date + dataType: DATE target: - id: customer_id - type: attribute + id: date + type: date sourceColumns: null sourceColumnDataTypes: null - identifier: - id: products + id: campaigns type: dataset multivalue: false sources: - - column: product_id + - column: campaign_id dataType: INT target: - id: product_id + id: campaign_id type: attribute sourceColumns: null sourceColumnDataTypes: null @@ -3501,12 +3501,12 @@ interactions: relationships: attributes: data: - - id: type - type: attribute - id: campaign_channel_id type: attribute - id: campaign_channels.category type: attribute + - id: type + type: attribute facts: data: - id: spend @@ -3538,10 +3538,10 @@ interactions: relationships: attributes: data: - - id: campaign_id - type: attribute - id: campaign_name type: attribute + - id: campaign_id + type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaigns meta: @@ -3567,14 +3567,14 @@ interactions: relationships: attributes: data: - - id: customer_name - type: attribute - - id: region - type: attribute - id: customer_id type: attribute + - id: customer_name + type: attribute - id: state type: attribute + - id: region + type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/customers meta: @@ -3593,50 +3593,50 @@ interactions: type: attribute referenceProperties: - identifier: - id: campaigns + id: customers type: dataset multivalue: false sources: - - column: campaign_id + - column: customer_id dataType: INT target: - id: campaign_id + id: customer_id type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: - id: date + id: products type: dataset multivalue: false sources: - - column: date - dataType: DATE + - column: product_id + dataType: INT target: - id: date - type: date + id: product_id + type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: - id: customers + id: date type: dataset multivalue: false sources: - - column: customer_id - dataType: INT + - column: date + dataType: DATE target: - id: customer_id - type: attribute + id: date + type: date sourceColumns: null sourceColumnDataTypes: null - identifier: - id: products + id: campaigns type: dataset multivalue: false sources: - - column: product_id + - column: campaign_id dataType: INT target: - id: product_id + id: campaign_id type: attribute sourceColumns: null sourceColumnDataTypes: null @@ -3727,12 +3727,12 @@ interactions: data: - id: date.month type: attribute - - id: date.week - type: attribute - id: date.day type: attribute - id: date.quarter type: attribute + - id: date.week + type: attribute - id: date.year type: attribute links: @@ -4083,7 +4083,7 @@ interactions: attributes: title: '# of Active Customers' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) @@ -4098,7 +4098,7 @@ interactions: attributes: title: '# of Orders' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) @@ -4113,7 +4113,7 @@ interactions: attributes: title: '# of Top Customers' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT @@ -4130,7 +4130,7 @@ interactions: title: '# of Valid Orders' description: '' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} @@ -4146,7 +4146,7 @@ interactions: attributes: title: Campaign Spend areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT SUM({fact/spend}) @@ -4161,7 +4161,7 @@ interactions: attributes: title: Order Amount areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) @@ -4176,7 +4176,7 @@ interactions: attributes: title: '% Revenue' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} @@ -4191,7 +4191,7 @@ interactions: attributes: title: '% Revenue from Top 10 Customers' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -4207,7 +4207,7 @@ interactions: attributes: title: '% Revenue from Top 10% Customers' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -4223,7 +4223,7 @@ interactions: attributes: title: Revenue (Outdoor) areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -4239,7 +4239,7 @@ interactions: attributes: title: '% Revenue from Top 10% Products' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -4255,7 +4255,7 @@ interactions: attributes: title: '% Revenue from Top 10 Products' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -4271,7 +4271,7 @@ interactions: attributes: title: '% Revenue in Category' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, @@ -4287,7 +4287,7 @@ interactions: attributes: title: '% Revenue per Product' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL @@ -4304,7 +4304,7 @@ interactions: title: Revenue description: '' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} @@ -4320,7 +4320,7 @@ interactions: attributes: title: Revenue (Clothing) areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -4336,7 +4336,7 @@ interactions: attributes: title: Revenue (Electronic) areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -4352,7 +4352,7 @@ interactions: attributes: title: Revenue (Home) areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -4368,7 +4368,7 @@ interactions: attributes: title: Revenue per Customer areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) @@ -4383,7 +4383,7 @@ interactions: attributes: title: Revenue per Dollar Spent areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} @@ -4398,7 +4398,7 @@ interactions: attributes: title: Revenue / Top 10 areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) @@ -4413,7 +4413,7 @@ interactions: attributes: title: Revenue / Top 10% areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) @@ -4428,7 +4428,7 @@ interactions: attributes: title: Total Revenue areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER @@ -4443,7 +4443,7 @@ interactions: attributes: title: Total Revenue (No Filters) areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER @@ -4458,7 +4458,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/86416a3da9679d0ae166f04dcf544b57d0a4de66?offset=0&limit=1 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/daabdbb4f35942a7882895f5105faa328cf010c4?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 e1bf4edb7..a62e6a864 100644 --- a/gooddata-pandas/tests/series/fixtures/not_indexed_label_series.yaml +++ b/gooddata-pandas/tests/series/fixtures/not_indexed_label_series.yaml @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: @@ -112,7 +112,7 @@ interactions: type: label localIdentifier: dim_0 links: - executionResult: 06405037acf31c36607bcf55a4dcf925df49423c + executionResult: eddea1f94c5085f2e989a0cc984f89a220a50b2f - request: method: GET uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=0&size=500 @@ -678,10 +678,10 @@ interactions: type: dataset labels: data: - - id: geo__state__location - type: label - id: state type: label + - id: geo__state__location + type: label links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state meta: @@ -727,50 +727,50 @@ interactions: type: attribute referenceProperties: - identifier: - id: campaigns + id: customers type: dataset multivalue: false sources: - - column: campaign_id + - column: customer_id dataType: INT target: - id: campaign_id + id: customer_id type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: - id: date + id: products type: dataset multivalue: false sources: - - column: date - dataType: DATE + - column: product_id + dataType: INT target: - id: date - type: date + id: product_id + type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: - id: customers + id: date type: dataset multivalue: false sources: - - column: customer_id - dataType: INT + - column: date + dataType: DATE target: - id: customer_id - type: attribute + id: date + type: date sourceColumns: null sourceColumnDataTypes: null - identifier: - id: products + id: campaigns type: dataset multivalue: false sources: - - column: product_id + - column: campaign_id dataType: INT target: - id: product_id + id: campaign_id type: attribute sourceColumns: null sourceColumnDataTypes: null @@ -1232,12 +1232,12 @@ interactions: relationships: attributes: data: - - id: type - type: attribute - id: campaign_channel_id type: attribute - id: campaign_channels.category type: attribute + - id: type + type: attribute facts: data: - id: spend @@ -1269,10 +1269,10 @@ interactions: relationships: attributes: data: - - id: campaign_id - type: attribute - id: campaign_name type: attribute + - id: campaign_id + type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaigns meta: @@ -1298,14 +1298,14 @@ interactions: relationships: attributes: data: - - id: customer_name - type: attribute - - id: region - type: attribute - id: customer_id type: attribute + - id: customer_name + type: attribute - id: state type: attribute + - id: region + type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/customers meta: @@ -1324,50 +1324,50 @@ interactions: type: attribute referenceProperties: - identifier: - id: campaigns + id: customers type: dataset multivalue: false sources: - - column: campaign_id + - column: customer_id dataType: INT target: - id: campaign_id + id: customer_id type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: - id: date + id: products type: dataset multivalue: false sources: - - column: date - dataType: DATE + - column: product_id + dataType: INT target: - id: date - type: date + id: product_id + type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: - id: customers + id: date type: dataset multivalue: false sources: - - column: customer_id - dataType: INT + - column: date + dataType: DATE target: - id: customer_id - type: attribute + id: date + type: date sourceColumns: null sourceColumnDataTypes: null - identifier: - id: products + id: campaigns type: dataset multivalue: false sources: - - column: product_id + - column: campaign_id dataType: INT target: - id: product_id + id: campaign_id type: attribute sourceColumns: null sourceColumnDataTypes: null @@ -1458,12 +1458,12 @@ interactions: data: - id: date.month type: attribute - - id: date.week - type: attribute - id: date.day type: attribute - id: date.quarter type: attribute + - id: date.week + type: attribute - id: date.year type: attribute links: @@ -1814,7 +1814,7 @@ interactions: attributes: title: '# of Active Customers' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) @@ -1829,7 +1829,7 @@ interactions: attributes: title: '# of Orders' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) @@ -1844,7 +1844,7 @@ interactions: attributes: title: '# of Top Customers' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT @@ -1861,7 +1861,7 @@ interactions: title: '# of Valid Orders' description: '' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} @@ -1877,7 +1877,7 @@ interactions: attributes: title: Campaign Spend areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT SUM({fact/spend}) @@ -1892,7 +1892,7 @@ interactions: attributes: title: Order Amount areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) @@ -1907,7 +1907,7 @@ interactions: attributes: title: '% Revenue' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} @@ -1922,7 +1922,7 @@ interactions: attributes: title: '% Revenue from Top 10 Customers' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -1938,7 +1938,7 @@ interactions: attributes: title: '% Revenue from Top 10% Customers' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -1954,7 +1954,7 @@ interactions: attributes: title: Revenue (Outdoor) areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -1970,7 +1970,7 @@ interactions: attributes: title: '% Revenue from Top 10% Products' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -1986,7 +1986,7 @@ interactions: attributes: title: '% Revenue from Top 10 Products' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2002,7 +2002,7 @@ interactions: attributes: title: '% Revenue in Category' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, @@ -2018,7 +2018,7 @@ interactions: attributes: title: '% Revenue per Product' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL @@ -2035,7 +2035,7 @@ interactions: title: Revenue description: '' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} @@ -2051,7 +2051,7 @@ interactions: attributes: title: Revenue (Clothing) areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2067,7 +2067,7 @@ interactions: attributes: title: Revenue (Electronic) areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2083,7 +2083,7 @@ interactions: attributes: title: Revenue (Home) areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2099,7 +2099,7 @@ interactions: attributes: title: Revenue per Customer areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) @@ -2114,7 +2114,7 @@ interactions: attributes: title: Revenue per Dollar Spent areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} @@ -2129,7 +2129,7 @@ interactions: attributes: title: Revenue / Top 10 areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) @@ -2144,7 +2144,7 @@ interactions: attributes: title: Revenue / Top 10% areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) @@ -2159,7 +2159,7 @@ interactions: attributes: title: Total Revenue areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER @@ -2174,7 +2174,7 @@ interactions: attributes: title: Total Revenue (No Filters) areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER @@ -2189,7 +2189,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/06405037acf31c36607bcf55a4dcf925df49423c?offset=0&limit=1000 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/eddea1f94c5085f2e989a0cc984f89a220a50b2f?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 e09913a4c..aefc459fc 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 @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: @@ -132,7 +132,7 @@ interactions: type: label localIdentifier: dim_0 links: - executionResult: 8ca918c37bce7ca828ff49d7105d6b79cca49a7b + executionResult: 4cb6edf20dee2a9cd98f727fb2e24818475caf4e - request: method: GET uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=0&size=500 @@ -698,10 +698,10 @@ interactions: type: dataset labels: data: - - id: geo__state__location - type: label - id: state type: label + - id: geo__state__location + type: label links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state meta: @@ -747,50 +747,50 @@ interactions: type: attribute referenceProperties: - identifier: - id: campaigns + id: customers type: dataset multivalue: false sources: - - column: campaign_id + - column: customer_id dataType: INT target: - id: campaign_id + id: customer_id type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: - id: date + id: products type: dataset multivalue: false sources: - - column: date - dataType: DATE + - column: product_id + dataType: INT target: - id: date - type: date + id: product_id + type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: - id: customers + id: date type: dataset multivalue: false sources: - - column: customer_id - dataType: INT + - column: date + dataType: DATE target: - id: customer_id - type: attribute + id: date + type: date sourceColumns: null sourceColumnDataTypes: null - identifier: - id: products + id: campaigns type: dataset multivalue: false sources: - - column: product_id + - column: campaign_id dataType: INT target: - id: product_id + id: campaign_id type: attribute sourceColumns: null sourceColumnDataTypes: null @@ -1252,12 +1252,12 @@ interactions: relationships: attributes: data: - - id: type - type: attribute - id: campaign_channel_id type: attribute - id: campaign_channels.category type: attribute + - id: type + type: attribute facts: data: - id: spend @@ -1289,10 +1289,10 @@ interactions: relationships: attributes: data: - - id: campaign_id - type: attribute - id: campaign_name type: attribute + - id: campaign_id + type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaigns meta: @@ -1318,14 +1318,14 @@ interactions: relationships: attributes: data: - - id: customer_name - type: attribute - - id: region - type: attribute - id: customer_id type: attribute + - id: customer_name + type: attribute - id: state type: attribute + - id: region + type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/customers meta: @@ -1344,50 +1344,50 @@ interactions: type: attribute referenceProperties: - identifier: - id: campaigns + id: customers type: dataset multivalue: false sources: - - column: campaign_id + - column: customer_id dataType: INT target: - id: campaign_id + id: customer_id type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: - id: date + id: products type: dataset multivalue: false sources: - - column: date - dataType: DATE + - column: product_id + dataType: INT target: - id: date - type: date + id: product_id + type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: - id: customers + id: date type: dataset multivalue: false sources: - - column: customer_id - dataType: INT + - column: date + dataType: DATE target: - id: customer_id - type: attribute + id: date + type: date sourceColumns: null sourceColumnDataTypes: null - identifier: - id: products + id: campaigns type: dataset multivalue: false sources: - - column: product_id + - column: campaign_id dataType: INT target: - id: product_id + id: campaign_id type: attribute sourceColumns: null sourceColumnDataTypes: null @@ -1478,12 +1478,12 @@ interactions: data: - id: date.month type: attribute - - id: date.week - type: attribute - id: date.day type: attribute - id: date.quarter type: attribute + - id: date.week + type: attribute - id: date.year type: attribute links: @@ -1834,7 +1834,7 @@ interactions: attributes: title: '# of Active Customers' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) @@ -1849,7 +1849,7 @@ interactions: attributes: title: '# of Orders' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) @@ -1864,7 +1864,7 @@ interactions: attributes: title: '# of Top Customers' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT @@ -1881,7 +1881,7 @@ interactions: title: '# of Valid Orders' description: '' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} @@ -1897,7 +1897,7 @@ interactions: attributes: title: Campaign Spend areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT SUM({fact/spend}) @@ -1912,7 +1912,7 @@ interactions: attributes: title: Order Amount areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) @@ -1927,7 +1927,7 @@ interactions: attributes: title: '% Revenue' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} @@ -1942,7 +1942,7 @@ interactions: attributes: title: '% Revenue from Top 10 Customers' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -1958,7 +1958,7 @@ interactions: attributes: title: '% Revenue from Top 10% Customers' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -1974,7 +1974,7 @@ interactions: attributes: title: Revenue (Outdoor) areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -1990,7 +1990,7 @@ interactions: attributes: title: '% Revenue from Top 10% Products' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2006,7 +2006,7 @@ interactions: attributes: title: '% Revenue from Top 10 Products' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2022,7 +2022,7 @@ interactions: attributes: title: '% Revenue in Category' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, @@ -2038,7 +2038,7 @@ interactions: attributes: title: '% Revenue per Product' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL @@ -2055,7 +2055,7 @@ interactions: title: Revenue description: '' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} @@ -2071,7 +2071,7 @@ interactions: attributes: title: Revenue (Clothing) areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2087,7 +2087,7 @@ interactions: attributes: title: Revenue (Electronic) areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2103,7 +2103,7 @@ interactions: attributes: title: Revenue (Home) areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2119,7 +2119,7 @@ interactions: attributes: title: Revenue per Customer areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) @@ -2134,7 +2134,7 @@ interactions: attributes: title: Revenue per Dollar Spent areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} @@ -2149,7 +2149,7 @@ interactions: attributes: title: Revenue / Top 10 areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) @@ -2164,7 +2164,7 @@ interactions: attributes: title: Revenue / Top 10% areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) @@ -2179,7 +2179,7 @@ interactions: attributes: title: Total Revenue areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER @@ -2194,7 +2194,7 @@ interactions: attributes: title: Total Revenue (No Filters) areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER @@ -2209,7 +2209,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/8ca918c37bce7ca828ff49d7105d6b79cca49a7b?offset=0&limit=1000 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/4cb6edf20dee2a9cd98f727fb2e24818475caf4e?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 1a8fafe2d..d2c3470f0 100644 --- a/gooddata-pandas/tests/series/fixtures/not_indexed_metric_series.yaml +++ b/gooddata-pandas/tests/series/fixtures/not_indexed_metric_series.yaml @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: @@ -105,7 +105,7 @@ interactions: - localIdentifier: 27c4b665b9d047b1a66a149714f1c596 localIdentifier: dim_0 links: - executionResult: c3974cde865e75d3c4782c4025b91cc32fe6a7ae + executionResult: 93698c00e97d191f3067cd1457fa3223f45191d8 - request: method: GET uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=0&size=500 @@ -671,10 +671,10 @@ interactions: type: dataset labels: data: - - id: geo__state__location - type: label - id: state type: label + - id: geo__state__location + type: label links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state meta: @@ -720,50 +720,50 @@ interactions: type: attribute referenceProperties: - identifier: - id: campaigns + id: customers type: dataset multivalue: false sources: - - column: campaign_id + - column: customer_id dataType: INT target: - id: campaign_id + id: customer_id type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: - id: date + id: products type: dataset multivalue: false sources: - - column: date - dataType: DATE + - column: product_id + dataType: INT target: - id: date - type: date + id: product_id + type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: - id: customers + id: date type: dataset multivalue: false sources: - - column: customer_id - dataType: INT + - column: date + dataType: DATE target: - id: customer_id - type: attribute + id: date + type: date sourceColumns: null sourceColumnDataTypes: null - identifier: - id: products + id: campaigns type: dataset multivalue: false sources: - - column: product_id + - column: campaign_id dataType: INT target: - id: product_id + id: campaign_id type: attribute sourceColumns: null sourceColumnDataTypes: null @@ -1225,12 +1225,12 @@ interactions: relationships: attributes: data: - - id: type - type: attribute - id: campaign_channel_id type: attribute - id: campaign_channels.category type: attribute + - id: type + type: attribute facts: data: - id: spend @@ -1262,10 +1262,10 @@ interactions: relationships: attributes: data: - - id: campaign_id - type: attribute - id: campaign_name type: attribute + - id: campaign_id + type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaigns meta: @@ -1291,14 +1291,14 @@ interactions: relationships: attributes: data: - - id: customer_name - type: attribute - - id: region - type: attribute - id: customer_id type: attribute + - id: customer_name + type: attribute - id: state type: attribute + - id: region + type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/customers meta: @@ -1317,50 +1317,50 @@ interactions: type: attribute referenceProperties: - identifier: - id: campaigns + id: customers type: dataset multivalue: false sources: - - column: campaign_id + - column: customer_id dataType: INT target: - id: campaign_id + id: customer_id type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: - id: date + id: products type: dataset multivalue: false sources: - - column: date - dataType: DATE + - column: product_id + dataType: INT target: - id: date - type: date + id: product_id + type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: - id: customers + id: date type: dataset multivalue: false sources: - - column: customer_id - dataType: INT + - column: date + dataType: DATE target: - id: customer_id - type: attribute + id: date + type: date sourceColumns: null sourceColumnDataTypes: null - identifier: - id: products + id: campaigns type: dataset multivalue: false sources: - - column: product_id + - column: campaign_id dataType: INT target: - id: product_id + id: campaign_id type: attribute sourceColumns: null sourceColumnDataTypes: null @@ -1451,12 +1451,12 @@ interactions: data: - id: date.month type: attribute - - id: date.week - type: attribute - id: date.day type: attribute - id: date.quarter type: attribute + - id: date.week + type: attribute - id: date.year type: attribute links: @@ -1807,7 +1807,7 @@ interactions: attributes: title: '# of Active Customers' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) @@ -1822,7 +1822,7 @@ interactions: attributes: title: '# of Orders' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) @@ -1837,7 +1837,7 @@ interactions: attributes: title: '# of Top Customers' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT @@ -1854,7 +1854,7 @@ interactions: title: '# of Valid Orders' description: '' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} @@ -1870,7 +1870,7 @@ interactions: attributes: title: Campaign Spend areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT SUM({fact/spend}) @@ -1885,7 +1885,7 @@ interactions: attributes: title: Order Amount areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) @@ -1900,7 +1900,7 @@ interactions: attributes: title: '% Revenue' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} @@ -1915,7 +1915,7 @@ interactions: attributes: title: '% Revenue from Top 10 Customers' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -1931,7 +1931,7 @@ interactions: attributes: title: '% Revenue from Top 10% Customers' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -1942,28 +1942,12 @@ interactions: origin: originType: NATIVE originId: demo - - id: revenue-outdoor - type: metric - attributes: - title: Revenue (Outdoor) - areRelationsValid: true - createdAt: 2023-12-14 14:09 - 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 - meta: - origin: - originType: NATIVE - originId: demo - id: percent_revenue_from_top_10_percent_products type: metric attributes: title: '% Revenue from Top 10% Products' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -1979,7 +1963,7 @@ interactions: attributes: title: '% Revenue from Top 10 Products' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -1995,7 +1979,7 @@ interactions: attributes: title: '% Revenue in Category' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, @@ -2011,7 +1995,7 @@ interactions: attributes: title: '% Revenue per Product' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL @@ -2028,7 +2012,7 @@ interactions: title: Revenue description: '' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} @@ -2044,7 +2028,7 @@ interactions: attributes: title: Revenue (Clothing) areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2060,7 +2044,7 @@ interactions: attributes: title: Revenue (Electronic) areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2076,7 +2060,7 @@ interactions: attributes: title: Revenue (Home) areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2087,12 +2071,28 @@ interactions: origin: originType: NATIVE originId: demo + - id: revenue-outdoor + type: metric + attributes: + title: Revenue (Outdoor) + areRelationsValid: true + createdAt: 2024-01-11 10:30 + 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 + meta: + origin: + originType: NATIVE + originId: demo - id: revenue_per_customer type: metric attributes: title: Revenue per Customer areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) @@ -2107,7 +2107,7 @@ interactions: attributes: title: Revenue per Dollar Spent areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} @@ -2122,7 +2122,7 @@ interactions: attributes: title: Revenue / Top 10 areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) @@ -2137,7 +2137,7 @@ interactions: attributes: title: Revenue / Top 10% areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) @@ -2152,7 +2152,7 @@ interactions: attributes: title: Total Revenue areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER @@ -2167,7 +2167,7 @@ interactions: attributes: title: Total Revenue (No Filters) areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER @@ -2182,7 +2182,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/c3974cde865e75d3c4782c4025b91cc32fe6a7ae?offset=0&limit=1 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/93698c00e97d191f3067cd1457fa3223f45191d8?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 6c41c0aaf..1246319fa 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 @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: @@ -129,7 +129,7 @@ interactions: type: label localIdentifier: dim_1 links: - executionResult: 36179e6e0cb6d844ac6832a64afedfddc49f2f2a + executionResult: 62881b5fa7e7ae0a3bc4229a33987f16eca2d1a4 - request: method: GET uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=0&size=500 @@ -695,10 +695,10 @@ interactions: type: dataset labels: data: - - id: geo__state__location - type: label - id: state type: label + - id: geo__state__location + type: label links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state meta: @@ -744,50 +744,50 @@ interactions: type: attribute referenceProperties: - identifier: - id: campaigns + id: customers type: dataset multivalue: false sources: - - column: campaign_id + - column: customer_id dataType: INT target: - id: campaign_id + id: customer_id type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: - id: date + id: products type: dataset multivalue: false sources: - - column: date - dataType: DATE + - column: product_id + dataType: INT target: - id: date - type: date + id: product_id + type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: - id: customers + id: date type: dataset multivalue: false sources: - - column: customer_id - dataType: INT + - column: date + dataType: DATE target: - id: customer_id - type: attribute + id: date + type: date sourceColumns: null sourceColumnDataTypes: null - identifier: - id: products + id: campaigns type: dataset multivalue: false sources: - - column: product_id + - column: campaign_id dataType: INT target: - id: product_id + id: campaign_id type: attribute sourceColumns: null sourceColumnDataTypes: null @@ -1249,12 +1249,12 @@ interactions: relationships: attributes: data: - - id: type - type: attribute - id: campaign_channel_id type: attribute - id: campaign_channels.category type: attribute + - id: type + type: attribute facts: data: - id: spend @@ -1286,10 +1286,10 @@ interactions: relationships: attributes: data: - - id: campaign_id - type: attribute - id: campaign_name type: attribute + - id: campaign_id + type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaigns meta: @@ -1315,14 +1315,14 @@ interactions: relationships: attributes: data: - - id: customer_name - type: attribute - - id: region - type: attribute - id: customer_id type: attribute + - id: customer_name + type: attribute - id: state type: attribute + - id: region + type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/customers meta: @@ -1341,50 +1341,50 @@ interactions: type: attribute referenceProperties: - identifier: - id: campaigns + id: customers type: dataset multivalue: false sources: - - column: campaign_id + - column: customer_id dataType: INT target: - id: campaign_id + id: customer_id type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: - id: date + id: products type: dataset multivalue: false sources: - - column: date - dataType: DATE + - column: product_id + dataType: INT target: - id: date - type: date + id: product_id + type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: - id: customers + id: date type: dataset multivalue: false sources: - - column: customer_id - dataType: INT + - column: date + dataType: DATE target: - id: customer_id - type: attribute + id: date + type: date sourceColumns: null sourceColumnDataTypes: null - identifier: - id: products + id: campaigns type: dataset multivalue: false sources: - - column: product_id + - column: campaign_id dataType: INT target: - id: product_id + id: campaign_id type: attribute sourceColumns: null sourceColumnDataTypes: null @@ -1475,12 +1475,12 @@ interactions: data: - id: date.month type: attribute - - id: date.week - type: attribute - id: date.day type: attribute - id: date.quarter type: attribute + - id: date.week + type: attribute - id: date.year type: attribute links: @@ -1831,7 +1831,7 @@ interactions: attributes: title: '# of Active Customers' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) @@ -1846,7 +1846,7 @@ interactions: attributes: title: '# of Orders' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) @@ -1861,7 +1861,7 @@ interactions: attributes: title: '# of Top Customers' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT @@ -1878,7 +1878,7 @@ interactions: title: '# of Valid Orders' description: '' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} @@ -1894,7 +1894,7 @@ interactions: attributes: title: Campaign Spend areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT SUM({fact/spend}) @@ -1909,7 +1909,7 @@ interactions: attributes: title: Order Amount areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) @@ -1924,7 +1924,7 @@ interactions: attributes: title: '% Revenue' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} @@ -1939,7 +1939,7 @@ interactions: attributes: title: '% Revenue from Top 10 Customers' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -1955,7 +1955,7 @@ interactions: attributes: title: '% Revenue from Top 10% Customers' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -1971,7 +1971,7 @@ interactions: attributes: title: Revenue (Outdoor) areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -1987,7 +1987,7 @@ interactions: attributes: title: '% Revenue from Top 10% Products' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2003,7 +2003,7 @@ interactions: attributes: title: '% Revenue from Top 10 Products' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2019,7 +2019,7 @@ interactions: attributes: title: '% Revenue in Category' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, @@ -2035,7 +2035,7 @@ interactions: attributes: title: '% Revenue per Product' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL @@ -2052,7 +2052,7 @@ interactions: title: Revenue description: '' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} @@ -2068,7 +2068,7 @@ interactions: attributes: title: Revenue (Clothing) areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2084,7 +2084,7 @@ interactions: attributes: title: Revenue (Electronic) areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2100,7 +2100,7 @@ interactions: attributes: title: Revenue (Home) areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2116,7 +2116,7 @@ interactions: attributes: title: Revenue per Customer areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) @@ -2131,7 +2131,7 @@ interactions: attributes: title: Revenue per Dollar Spent areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} @@ -2146,7 +2146,7 @@ interactions: attributes: title: Revenue / Top 10 areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) @@ -2161,7 +2161,7 @@ interactions: attributes: title: Revenue / Top 10% areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) @@ -2176,7 +2176,7 @@ interactions: attributes: title: Total Revenue areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER @@ -2191,7 +2191,7 @@ interactions: attributes: title: Total Revenue (No Filters) areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER @@ -2206,7 +2206,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/36179e6e0cb6d844ac6832a64afedfddc49f2f2a?offset=0%2C0&limit=1%2C1000 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/62881b5fa7e7ae0a3bc4229a33987f16eca2d1a4?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 191c8553b..f460351de 100644 --- a/gooddata-pandas/tests/series/fixtures/simple_index_filtered_series.yaml +++ b/gooddata-pandas/tests/series/fixtures/simple_index_filtered_series.yaml @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: @@ -148,7 +148,7 @@ interactions: type: label localIdentifier: dim_0 links: - executionResult: 11e67b2f3887e65398ec262da211da410ea34c2a + executionResult: fe284976bad6f374ea80a6d414aa687444d400e5 - request: method: GET uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=0&size=500 @@ -273,6 +273,31 @@ interactions: origin: originType: NATIVE originId: demo + - id: type + type: attribute + attributes: + title: Type + description: Type + tags: + - Campaign channels + areRelationsValid: true + sourceColumn: type + sourceColumnDataType: STRING + relationships: + dataset: + data: + id: campaign_channels + type: dataset + labels: + data: + - id: type + type: label + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/type + meta: + origin: + originType: NATIVE + originId: demo - id: campaign_id type: attribute attributes: @@ -373,297 +398,297 @@ interactions: origin: originType: NATIVE originId: demo - - id: date.day + - id: region type: attribute attributes: - title: Date - Date - description: Date + title: Region + description: Region tags: - - Date - granularity: DAY + - Customers areRelationsValid: true + sourceColumn: region + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: customers type: dataset labels: data: - - id: date.day + - id: region type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.day + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/region meta: origin: originType: NATIVE originId: demo - - id: date.month + - id: order_id type: attribute attributes: - title: Date - Month/Year - description: Month and Year (12/2020) + title: Order id + description: Order id tags: - - Date - granularity: MONTH + - Order lines areRelationsValid: true + sourceColumn: order_id + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: order_lines type: dataset labels: data: - - id: date.month + - id: order_id type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.month + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_id meta: origin: originType: NATIVE originId: demo - - id: date.quarter + - id: order_line_id type: attribute attributes: - title: Date - Quarter/Year - description: Quarter and Year (Q1/2020) + title: Order line id + description: Order line id tags: - - Date - granularity: QUARTER + - Order lines areRelationsValid: true + sourceColumn: order_line_id + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: order_lines type: dataset labels: data: - - id: date.quarter + - id: order_line_id type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarter + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_line_id meta: origin: originType: NATIVE originId: demo - - id: date.week + - id: order_status type: attribute attributes: - title: Date - Week/Year - description: Week and Year (W52/2020) + title: Order status + description: Order status tags: - - Date - granularity: WEEK + - Order lines areRelationsValid: true + sourceColumn: order_status + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: order_lines type: dataset labels: data: - - id: date.week + - id: order_status type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_status meta: origin: originType: NATIVE originId: demo - - id: date.year + - id: product_id type: attribute attributes: - title: Date - Year - description: Year + title: Product id + description: Product id tags: - - Date - granularity: YEAR + - Products areRelationsValid: true + sourceColumn: product_id + sourceColumnDataType: INT relationships: dataset: data: - id: date + id: products type: dataset labels: data: - - id: date.year + - id: product_id type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.year + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_id meta: origin: originType: NATIVE originId: demo - - id: order_id + - id: product_name type: attribute attributes: - title: Order id - description: Order id + title: Product name + description: Product name tags: - - Order lines + - Products areRelationsValid: true - sourceColumn: order_id + sourceColumn: product_name sourceColumnDataType: STRING relationships: dataset: data: - id: order_lines + id: products type: dataset labels: data: - - id: order_id + - id: product_name type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_id + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_name meta: origin: originType: NATIVE originId: demo - - id: order_line_id + - id: products.category type: attribute attributes: - title: Order line id - description: Order line id + title: Category + description: Category tags: - - Order lines + - Products areRelationsValid: true - sourceColumn: order_line_id + sourceColumn: category sourceColumnDataType: STRING relationships: dataset: data: - id: order_lines + id: products type: dataset labels: data: - - id: order_line_id + - id: products.category type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_line_id + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/products.category meta: origin: originType: NATIVE originId: demo - - id: order_status + - id: date.day type: attribute attributes: - title: Order status - description: Order status + title: Date - Date + description: Date tags: - - Order lines + - Date + granularity: DAY areRelationsValid: true - sourceColumn: order_status - sourceColumnDataType: STRING relationships: dataset: data: - id: order_lines + id: date type: dataset labels: data: - - id: order_status + - id: date.day type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_status + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.day meta: origin: originType: NATIVE originId: demo - - id: product_id + - id: date.month type: attribute attributes: - title: Product id - description: Product id + title: Date - Month/Year + description: Month and Year (12/2020) tags: - - Products + - Date + granularity: MONTH areRelationsValid: true - sourceColumn: product_id - sourceColumnDataType: INT relationships: dataset: data: - id: products + id: date type: dataset labels: data: - - id: product_id + - id: date.month type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_id + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.month meta: origin: originType: NATIVE originId: demo - - id: product_name + - id: date.quarter type: attribute attributes: - title: Product name - description: Product name + title: Date - Quarter/Year + description: Quarter and Year (Q1/2020) tags: - - Products + - Date + granularity: QUARTER areRelationsValid: true - sourceColumn: product_name - sourceColumnDataType: STRING relationships: dataset: data: - id: products + id: date type: dataset labels: data: - - id: product_name + - id: date.quarter type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_name + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarter meta: origin: originType: NATIVE originId: demo - - id: products.category + - id: date.week type: attribute attributes: - title: Category - description: Category + title: Date - Week/Year + description: Week and Year (W52/2020) tags: - - Products + - Date + granularity: WEEK areRelationsValid: true - sourceColumn: category - sourceColumnDataType: STRING relationships: dataset: data: - id: products + id: date type: dataset labels: data: - - id: products.category + - id: date.week type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/products.category + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week meta: origin: originType: NATIVE originId: demo - - id: region + - id: date.year type: attribute attributes: - title: Region - description: Region + title: Date - Year + description: Year tags: - - Customers + - Date + granularity: YEAR areRelationsValid: true - sourceColumn: region - sourceColumnDataType: STRING relationships: dataset: data: - id: customers + id: date type: dataset labels: data: - - id: region + - id: date.year type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/region + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.year meta: origin: originType: NATIVE @@ -689,37 +714,12 @@ interactions: type: dataset labels: data: - - id: geo__state__location - type: label - id: state type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state - meta: - origin: - originType: NATIVE - originId: demo - - id: type - type: attribute - attributes: - title: Type - description: Type - tags: - - Campaign channels - areRelationsValid: true - sourceColumn: type - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: campaign_channels - type: dataset - labels: - data: - - id: type + - id: geo__state__location type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/type + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state meta: origin: originType: NATIVE @@ -763,50 +763,50 @@ interactions: type: attribute referenceProperties: - identifier: - id: campaigns + id: customers type: dataset multivalue: false sources: - - column: campaign_id + - column: customer_id dataType: INT target: - id: campaign_id + id: customer_id type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: - id: date + id: products type: dataset multivalue: false sources: - - column: date - dataType: DATE + - column: product_id + dataType: INT target: - id: date - type: date + id: product_id + type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: - id: customers + id: date type: dataset multivalue: false sources: - - column: customer_id - dataType: INT + - column: date + dataType: DATE target: - id: customer_id - type: attribute + id: date + type: date sourceColumns: null sourceColumnDataTypes: null - identifier: - id: products + id: campaigns type: dataset multivalue: false sources: - - column: product_id + - column: campaign_id dataType: INT target: - id: product_id + id: campaign_id type: attribute sourceColumns: null sourceColumnDataTypes: null @@ -1268,12 +1268,12 @@ interactions: relationships: attributes: data: - - id: type - type: attribute - id: campaign_channel_id type: attribute - id: campaign_channels.category type: attribute + - id: type + type: attribute facts: data: - id: spend @@ -1305,10 +1305,10 @@ interactions: relationships: attributes: data: - - id: campaign_id - type: attribute - id: campaign_name type: attribute + - id: campaign_id + type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaigns meta: @@ -1334,14 +1334,14 @@ interactions: relationships: attributes: data: - - id: customer_name - type: attribute - - id: region - type: attribute - id: customer_id type: attribute + - id: customer_name + type: attribute - id: state type: attribute + - id: region + type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/customers meta: @@ -1360,50 +1360,50 @@ interactions: type: attribute referenceProperties: - identifier: - id: campaigns + id: customers type: dataset multivalue: false sources: - - column: campaign_id + - column: customer_id dataType: INT target: - id: campaign_id + id: customer_id type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: - id: date + id: products type: dataset multivalue: false sources: - - column: date - dataType: DATE + - column: product_id + dataType: INT target: - id: date - type: date + id: product_id + type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: - id: customers + id: date type: dataset multivalue: false sources: - - column: customer_id - dataType: INT + - column: date + dataType: DATE target: - id: customer_id - type: attribute + id: date + type: date sourceColumns: null sourceColumnDataTypes: null - identifier: - id: products + id: campaigns type: dataset multivalue: false sources: - - column: product_id + - column: campaign_id dataType: INT target: - id: product_id + id: campaign_id type: attribute sourceColumns: null sourceColumnDataTypes: null @@ -1494,12 +1494,12 @@ interactions: data: - id: date.month type: attribute - - id: date.week - type: attribute - id: date.day type: attribute - id: date.quarter type: attribute + - id: date.week + type: attribute - id: date.year type: attribute links: @@ -1850,7 +1850,7 @@ interactions: attributes: title: '# of Active Customers' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) @@ -1865,7 +1865,7 @@ interactions: attributes: title: '# of Orders' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) @@ -1880,7 +1880,7 @@ interactions: attributes: title: '# of Top Customers' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT @@ -1897,7 +1897,7 @@ interactions: title: '# of Valid Orders' description: '' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} @@ -1913,7 +1913,7 @@ interactions: attributes: title: Campaign Spend areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT SUM({fact/spend}) @@ -1928,7 +1928,7 @@ interactions: attributes: title: Order Amount areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) @@ -1943,7 +1943,7 @@ interactions: attributes: title: '% Revenue' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} @@ -1958,7 +1958,7 @@ interactions: attributes: title: '% Revenue from Top 10 Customers' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -1974,7 +1974,7 @@ interactions: attributes: title: '% Revenue from Top 10% Customers' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -1990,7 +1990,7 @@ interactions: attributes: title: Revenue (Outdoor) areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2006,7 +2006,7 @@ interactions: attributes: title: '% Revenue from Top 10% Products' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2022,7 +2022,7 @@ interactions: attributes: title: '% Revenue from Top 10 Products' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2038,7 +2038,7 @@ interactions: attributes: title: '% Revenue in Category' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, @@ -2054,7 +2054,7 @@ interactions: attributes: title: '% Revenue per Product' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL @@ -2071,7 +2071,7 @@ interactions: title: Revenue description: '' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} @@ -2087,7 +2087,7 @@ interactions: attributes: title: Revenue (Clothing) areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2103,7 +2103,7 @@ interactions: attributes: title: Revenue (Electronic) areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2119,7 +2119,7 @@ interactions: attributes: title: Revenue (Home) areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2135,7 +2135,7 @@ interactions: attributes: title: Revenue per Customer areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) @@ -2150,7 +2150,7 @@ interactions: attributes: title: Revenue per Dollar Spent areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} @@ -2165,7 +2165,7 @@ interactions: attributes: title: Revenue / Top 10 areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) @@ -2180,7 +2180,7 @@ interactions: attributes: title: Revenue / Top 10% areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) @@ -2195,7 +2195,7 @@ interactions: attributes: title: Total Revenue areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER @@ -2210,7 +2210,7 @@ interactions: attributes: title: Total Revenue (No Filters) areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER @@ -2225,7 +2225,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/11e67b2f3887e65398ec262da211da410ea34c2a?offset=0&limit=1000 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/fe284976bad6f374ea80a6d414aa687444d400e5?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 e1bf4edb7..59c037500 100644 --- a/gooddata-pandas/tests/series/fixtures/simple_index_label_series.yaml +++ b/gooddata-pandas/tests/series/fixtures/simple_index_label_series.yaml @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: @@ -112,7 +112,7 @@ interactions: type: label localIdentifier: dim_0 links: - executionResult: 06405037acf31c36607bcf55a4dcf925df49423c + executionResult: eddea1f94c5085f2e989a0cc984f89a220a50b2f - request: method: GET uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=0&size=500 @@ -237,31 +237,6 @@ interactions: origin: originType: NATIVE originId: demo - - id: type - type: attribute - attributes: - title: Type - description: Type - tags: - - Campaign channels - areRelationsValid: true - sourceColumn: type - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: campaign_channels - type: dataset - labels: - data: - - id: type - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/type - meta: - origin: - originType: NATIVE - originId: demo - id: campaign_id type: attribute attributes: @@ -362,297 +337,297 @@ interactions: origin: originType: NATIVE originId: demo - - id: region + - id: date.day type: attribute attributes: - title: Region - description: Region + title: Date - Date + description: Date tags: - - Customers + - Date + granularity: DAY areRelationsValid: true - sourceColumn: region - sourceColumnDataType: STRING relationships: dataset: data: - id: customers + id: date type: dataset labels: data: - - id: region + - id: date.day type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/region + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.day meta: origin: originType: NATIVE originId: demo - - id: order_id + - id: date.month type: attribute attributes: - title: Order id - description: Order id + title: Date - Month/Year + description: Month and Year (12/2020) tags: - - Order lines + - Date + granularity: MONTH areRelationsValid: true - sourceColumn: order_id - sourceColumnDataType: STRING relationships: dataset: data: - id: order_lines + id: date type: dataset labels: data: - - id: order_id + - id: date.month type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_id + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.month meta: origin: originType: NATIVE originId: demo - - id: order_line_id + - id: date.quarter type: attribute attributes: - title: Order line id - description: Order line id + title: Date - Quarter/Year + description: Quarter and Year (Q1/2020) tags: - - Order lines + - Date + granularity: QUARTER areRelationsValid: true - sourceColumn: order_line_id - sourceColumnDataType: STRING relationships: dataset: data: - id: order_lines + id: date type: dataset labels: data: - - id: order_line_id + - id: date.quarter type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_line_id + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarter meta: origin: originType: NATIVE originId: demo - - id: order_status + - id: date.week type: attribute attributes: - title: Order status - description: Order status + title: Date - Week/Year + description: Week and Year (W52/2020) tags: - - Order lines + - Date + granularity: WEEK areRelationsValid: true - sourceColumn: order_status - sourceColumnDataType: STRING relationships: dataset: data: - id: order_lines + id: date type: dataset labels: data: - - id: order_status + - id: date.week type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_status + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week meta: origin: originType: NATIVE originId: demo - - id: product_id + - id: date.year type: attribute attributes: - title: Product id - description: Product id + title: Date - Year + description: Year tags: - - Products + - Date + granularity: YEAR areRelationsValid: true - sourceColumn: product_id - sourceColumnDataType: INT relationships: dataset: data: - id: products + id: date type: dataset labels: data: - - id: product_id + - id: date.year type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_id + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.year meta: origin: originType: NATIVE originId: demo - - id: product_name + - id: order_id type: attribute attributes: - title: Product name - description: Product name + title: Order id + description: Order id tags: - - Products + - Order lines areRelationsValid: true - sourceColumn: product_name + sourceColumn: order_id sourceColumnDataType: STRING relationships: dataset: data: - id: products + id: order_lines type: dataset labels: data: - - id: product_name + - id: order_id type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_name + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_id meta: origin: originType: NATIVE originId: demo - - id: products.category + - id: order_line_id type: attribute attributes: - title: Category - description: Category + title: Order line id + description: Order line id tags: - - Products + - Order lines areRelationsValid: true - sourceColumn: category + sourceColumn: order_line_id sourceColumnDataType: STRING relationships: dataset: data: - id: products + id: order_lines type: dataset labels: data: - - id: products.category + - id: order_line_id type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/products.category + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_line_id meta: origin: originType: NATIVE originId: demo - - id: date.day + - id: order_status type: attribute attributes: - title: Date - Date - description: Date + title: Order status + description: Order status tags: - - Date - granularity: DAY + - Order lines areRelationsValid: true + sourceColumn: order_status + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: order_lines type: dataset labels: data: - - id: date.day + - id: order_status type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.day + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_status meta: origin: originType: NATIVE originId: demo - - id: date.month + - id: product_id type: attribute attributes: - title: Date - Month/Year - description: Month and Year (12/2020) + title: Product id + description: Product id tags: - - Date - granularity: MONTH + - Products areRelationsValid: true + sourceColumn: product_id + sourceColumnDataType: INT relationships: dataset: data: - id: date + id: products type: dataset labels: data: - - id: date.month + - id: product_id type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.month + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_id meta: origin: originType: NATIVE originId: demo - - id: date.quarter + - id: product_name type: attribute attributes: - title: Date - Quarter/Year - description: Quarter and Year (Q1/2020) + title: Product name + description: Product name tags: - - Date - granularity: QUARTER + - Products areRelationsValid: true + sourceColumn: product_name + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: products type: dataset labels: data: - - id: date.quarter + - id: product_name type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarter + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_name meta: origin: originType: NATIVE originId: demo - - id: date.week + - id: products.category type: attribute attributes: - title: Date - Week/Year - description: Week and Year (W52/2020) + title: Category + description: Category tags: - - Date - granularity: WEEK + - Products areRelationsValid: true + sourceColumn: category + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: products type: dataset labels: data: - - id: date.week + - id: products.category type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/products.category meta: origin: originType: NATIVE originId: demo - - id: date.year + - id: region type: attribute attributes: - title: Date - Year - description: Year + title: Region + description: Region tags: - - Date - granularity: YEAR + - Customers areRelationsValid: true + sourceColumn: region + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: customers type: dataset labels: data: - - id: date.year + - id: region type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.year + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/region meta: origin: originType: NATIVE @@ -678,16 +653,41 @@ interactions: type: dataset labels: data: - - id: geo__state__location - type: label - id: state type: label + - id: geo__state__location + type: label links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state meta: origin: originType: NATIVE originId: demo + - id: type + type: attribute + attributes: + title: Type + description: Type + tags: + - Campaign channels + areRelationsValid: true + sourceColumn: type + sourceColumnDataType: STRING + relationships: + dataset: + data: + id: campaign_channels + type: dataset + labels: + data: + - id: type + type: label + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/type + meta: + origin: + originType: NATIVE + originId: demo included: - id: product_name type: label @@ -727,50 +727,50 @@ interactions: type: attribute referenceProperties: - identifier: - id: campaigns + id: customers type: dataset multivalue: false sources: - - column: campaign_id + - column: customer_id dataType: INT target: - id: campaign_id + id: customer_id type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: - id: date + id: products type: dataset multivalue: false sources: - - column: date - dataType: DATE + - column: product_id + dataType: INT target: - id: date - type: date + id: product_id + type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: - id: customers + id: date type: dataset multivalue: false sources: - - column: customer_id - dataType: INT + - column: date + dataType: DATE target: - id: customer_id - type: attribute + id: date + type: date sourceColumns: null sourceColumnDataTypes: null - identifier: - id: products + id: campaigns type: dataset multivalue: false sources: - - column: product_id + - column: campaign_id dataType: INT target: - id: product_id + id: campaign_id type: attribute sourceColumns: null sourceColumnDataTypes: null @@ -1232,12 +1232,12 @@ interactions: relationships: attributes: data: - - id: type - type: attribute - id: campaign_channel_id type: attribute - id: campaign_channels.category type: attribute + - id: type + type: attribute facts: data: - id: spend @@ -1269,10 +1269,10 @@ interactions: relationships: attributes: data: - - id: campaign_id - type: attribute - id: campaign_name type: attribute + - id: campaign_id + type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaigns meta: @@ -1298,14 +1298,14 @@ interactions: relationships: attributes: data: - - id: customer_name - type: attribute - - id: region - type: attribute - id: customer_id type: attribute + - id: customer_name + type: attribute - id: state type: attribute + - id: region + type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/customers meta: @@ -1324,50 +1324,50 @@ interactions: type: attribute referenceProperties: - identifier: - id: campaigns + id: customers type: dataset multivalue: false sources: - - column: campaign_id + - column: customer_id dataType: INT target: - id: campaign_id + id: customer_id type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: - id: date + id: products type: dataset multivalue: false sources: - - column: date - dataType: DATE + - column: product_id + dataType: INT target: - id: date - type: date + id: product_id + type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: - id: customers + id: date type: dataset multivalue: false sources: - - column: customer_id - dataType: INT + - column: date + dataType: DATE target: - id: customer_id - type: attribute + id: date + type: date sourceColumns: null sourceColumnDataTypes: null - identifier: - id: products + id: campaigns type: dataset multivalue: false sources: - - column: product_id + - column: campaign_id dataType: INT target: - id: product_id + id: campaign_id type: attribute sourceColumns: null sourceColumnDataTypes: null @@ -1458,12 +1458,12 @@ interactions: data: - id: date.month type: attribute - - id: date.week - type: attribute - id: date.day type: attribute - id: date.quarter type: attribute + - id: date.week + type: attribute - id: date.year type: attribute links: @@ -1814,7 +1814,7 @@ interactions: attributes: title: '# of Active Customers' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) @@ -1829,7 +1829,7 @@ interactions: attributes: title: '# of Orders' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) @@ -1844,7 +1844,7 @@ interactions: attributes: title: '# of Top Customers' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT @@ -1861,7 +1861,7 @@ interactions: title: '# of Valid Orders' description: '' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} @@ -1877,7 +1877,7 @@ interactions: attributes: title: Campaign Spend areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT SUM({fact/spend}) @@ -1892,7 +1892,7 @@ interactions: attributes: title: Order Amount areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) @@ -1907,7 +1907,7 @@ interactions: attributes: title: '% Revenue' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} @@ -1922,7 +1922,7 @@ interactions: attributes: title: '% Revenue from Top 10 Customers' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -1938,7 +1938,7 @@ interactions: attributes: title: '% Revenue from Top 10% Customers' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -1954,7 +1954,7 @@ interactions: attributes: title: Revenue (Outdoor) areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -1970,7 +1970,7 @@ interactions: attributes: title: '% Revenue from Top 10% Products' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -1986,7 +1986,7 @@ interactions: attributes: title: '% Revenue from Top 10 Products' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2002,7 +2002,7 @@ interactions: attributes: title: '% Revenue in Category' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, @@ -2018,7 +2018,7 @@ interactions: attributes: title: '% Revenue per Product' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL @@ -2035,7 +2035,7 @@ interactions: title: Revenue description: '' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} @@ -2051,7 +2051,7 @@ interactions: attributes: title: Revenue (Clothing) areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2067,7 +2067,7 @@ interactions: attributes: title: Revenue (Electronic) areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2083,7 +2083,7 @@ interactions: attributes: title: Revenue (Home) areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2099,7 +2099,7 @@ interactions: attributes: title: Revenue per Customer areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) @@ -2114,7 +2114,7 @@ interactions: attributes: title: Revenue per Dollar Spent areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} @@ -2129,7 +2129,7 @@ interactions: attributes: title: Revenue / Top 10 areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) @@ -2144,7 +2144,7 @@ interactions: attributes: title: Revenue / Top 10% areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) @@ -2159,7 +2159,7 @@ interactions: attributes: title: Total Revenue areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER @@ -2174,7 +2174,7 @@ interactions: attributes: title: Total Revenue (No Filters) areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER @@ -2189,7 +2189,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/06405037acf31c36607bcf55a4dcf925df49423c?offset=0&limit=1000 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/eddea1f94c5085f2e989a0cc984f89a220a50b2f?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 37c4a4401..f762f43ce 100644 --- a/gooddata-pandas/tests/series/fixtures/simple_index_metric_series.yaml +++ b/gooddata-pandas/tests/series/fixtures/simple_index_metric_series.yaml @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: @@ -129,7 +129,7 @@ interactions: type: label localIdentifier: dim_1 links: - executionResult: 36179e6e0cb6d844ac6832a64afedfddc49f2f2a + executionResult: 62881b5fa7e7ae0a3bc4229a33987f16eca2d1a4 - request: method: GET uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=0&size=500 @@ -254,6 +254,31 @@ interactions: origin: originType: NATIVE originId: demo + - id: type + type: attribute + attributes: + title: Type + description: Type + tags: + - Campaign channels + areRelationsValid: true + sourceColumn: type + sourceColumnDataType: STRING + relationships: + dataset: + data: + id: campaign_channels + type: dataset + labels: + data: + - id: type + type: label + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/type + meta: + origin: + originType: NATIVE + originId: demo - id: campaign_id type: attribute attributes: @@ -354,297 +379,297 @@ interactions: origin: originType: NATIVE originId: demo - - id: date.day + - id: region type: attribute attributes: - title: Date - Date - description: Date + title: Region + description: Region tags: - - Date - granularity: DAY + - Customers areRelationsValid: true + sourceColumn: region + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: customers type: dataset labels: data: - - id: date.day + - id: region type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.day + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/region meta: origin: originType: NATIVE originId: demo - - id: date.month + - id: order_id type: attribute attributes: - title: Date - Month/Year - description: Month and Year (12/2020) + title: Order id + description: Order id tags: - - Date - granularity: MONTH + - Order lines areRelationsValid: true + sourceColumn: order_id + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: order_lines type: dataset labels: data: - - id: date.month + - id: order_id type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.month + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_id meta: origin: originType: NATIVE originId: demo - - id: date.quarter + - id: order_line_id type: attribute attributes: - title: Date - Quarter/Year - description: Quarter and Year (Q1/2020) + title: Order line id + description: Order line id tags: - - Date - granularity: QUARTER + - Order lines areRelationsValid: true + sourceColumn: order_line_id + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: order_lines type: dataset labels: data: - - id: date.quarter + - id: order_line_id type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarter + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_line_id meta: origin: originType: NATIVE originId: demo - - id: date.week + - id: order_status type: attribute attributes: - title: Date - Week/Year - description: Week and Year (W52/2020) + title: Order status + description: Order status tags: - - Date - granularity: WEEK + - Order lines areRelationsValid: true + sourceColumn: order_status + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: order_lines type: dataset labels: data: - - id: date.week + - id: order_status type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_status meta: origin: originType: NATIVE originId: demo - - id: date.year + - id: product_id type: attribute attributes: - title: Date - Year - description: Year + title: Product id + description: Product id tags: - - Date - granularity: YEAR + - Products areRelationsValid: true + sourceColumn: product_id + sourceColumnDataType: INT relationships: dataset: data: - id: date + id: products type: dataset labels: data: - - id: date.year + - id: product_id type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.year + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_id meta: origin: originType: NATIVE originId: demo - - id: order_id + - id: product_name type: attribute attributes: - title: Order id - description: Order id + title: Product name + description: Product name tags: - - Order lines + - Products areRelationsValid: true - sourceColumn: order_id + sourceColumn: product_name sourceColumnDataType: STRING relationships: dataset: data: - id: order_lines + id: products type: dataset labels: data: - - id: order_id + - id: product_name type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_id + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_name meta: origin: originType: NATIVE originId: demo - - id: order_line_id + - id: products.category type: attribute attributes: - title: Order line id - description: Order line id + title: Category + description: Category tags: - - Order lines + - Products areRelationsValid: true - sourceColumn: order_line_id + sourceColumn: category sourceColumnDataType: STRING relationships: dataset: data: - id: order_lines + id: products type: dataset labels: data: - - id: order_line_id + - id: products.category type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_line_id + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/products.category meta: origin: originType: NATIVE originId: demo - - id: order_status + - id: date.day type: attribute attributes: - title: Order status - description: Order status + title: Date - Date + description: Date tags: - - Order lines + - Date + granularity: DAY areRelationsValid: true - sourceColumn: order_status - sourceColumnDataType: STRING relationships: dataset: data: - id: order_lines + id: date type: dataset labels: data: - - id: order_status + - id: date.day type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_status + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.day meta: origin: originType: NATIVE originId: demo - - id: product_id + - id: date.month type: attribute attributes: - title: Product id - description: Product id + title: Date - Month/Year + description: Month and Year (12/2020) tags: - - Products + - Date + granularity: MONTH areRelationsValid: true - sourceColumn: product_id - sourceColumnDataType: INT relationships: dataset: data: - id: products + id: date type: dataset labels: data: - - id: product_id + - id: date.month type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_id + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.month meta: origin: originType: NATIVE originId: demo - - id: product_name + - id: date.quarter type: attribute attributes: - title: Product name - description: Product name + title: Date - Quarter/Year + description: Quarter and Year (Q1/2020) tags: - - Products + - Date + granularity: QUARTER areRelationsValid: true - sourceColumn: product_name - sourceColumnDataType: STRING relationships: dataset: data: - id: products + id: date type: dataset labels: data: - - id: product_name + - id: date.quarter type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_name + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarter meta: origin: originType: NATIVE originId: demo - - id: products.category + - id: date.week type: attribute attributes: - title: Category - description: Category + title: Date - Week/Year + description: Week and Year (W52/2020) tags: - - Products + - Date + granularity: WEEK areRelationsValid: true - sourceColumn: category - sourceColumnDataType: STRING relationships: dataset: data: - id: products + id: date type: dataset labels: data: - - id: products.category + - id: date.week type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/products.category + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week meta: origin: originType: NATIVE originId: demo - - id: region + - id: date.year type: attribute attributes: - title: Region - description: Region + title: Date - Year + description: Year tags: - - Customers + - Date + granularity: YEAR areRelationsValid: true - sourceColumn: region - sourceColumnDataType: STRING relationships: dataset: data: - id: customers + id: date type: dataset labels: data: - - id: region + - id: date.year type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/region + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.year meta: origin: originType: NATIVE @@ -670,37 +695,12 @@ interactions: type: dataset labels: data: - - id: geo__state__location - type: label - id: state type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state - meta: - origin: - originType: NATIVE - originId: demo - - id: type - type: attribute - attributes: - title: Type - description: Type - tags: - - Campaign channels - areRelationsValid: true - sourceColumn: type - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: campaign_channels - type: dataset - labels: - data: - - id: type + - id: geo__state__location type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/type + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state meta: origin: originType: NATIVE @@ -744,50 +744,50 @@ interactions: type: attribute referenceProperties: - identifier: - id: campaigns + id: customers type: dataset multivalue: false sources: - - column: campaign_id + - column: customer_id dataType: INT target: - id: campaign_id + id: customer_id type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: - id: date + id: products type: dataset multivalue: false sources: - - column: date - dataType: DATE + - column: product_id + dataType: INT target: - id: date - type: date + id: product_id + type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: - id: customers + id: date type: dataset multivalue: false sources: - - column: customer_id - dataType: INT + - column: date + dataType: DATE target: - id: customer_id - type: attribute + id: date + type: date sourceColumns: null sourceColumnDataTypes: null - identifier: - id: products + id: campaigns type: dataset multivalue: false sources: - - column: product_id + - column: campaign_id dataType: INT target: - id: product_id + id: campaign_id type: attribute sourceColumns: null sourceColumnDataTypes: null @@ -1249,12 +1249,12 @@ interactions: relationships: attributes: data: - - id: type - type: attribute - id: campaign_channel_id type: attribute - id: campaign_channels.category type: attribute + - id: type + type: attribute facts: data: - id: spend @@ -1286,10 +1286,10 @@ interactions: relationships: attributes: data: - - id: campaign_id - type: attribute - id: campaign_name type: attribute + - id: campaign_id + type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaigns meta: @@ -1315,14 +1315,14 @@ interactions: relationships: attributes: data: - - id: customer_name - type: attribute - - id: region - type: attribute - id: customer_id type: attribute + - id: customer_name + type: attribute - id: state type: attribute + - id: region + type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/customers meta: @@ -1342,12 +1342,12 @@ interactions: data: - id: date.month type: attribute - - id: date.week - type: attribute - id: date.day type: attribute - id: date.quarter type: attribute + - id: date.week + type: attribute - id: date.year type: attribute links: @@ -1368,50 +1368,50 @@ interactions: type: attribute referenceProperties: - identifier: - id: campaigns + id: customers type: dataset multivalue: false sources: - - column: campaign_id + - column: customer_id dataType: INT target: - id: campaign_id + id: customer_id type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: - id: date + id: products type: dataset multivalue: false sources: - - column: date - dataType: DATE + - column: product_id + dataType: INT target: - id: date - type: date + id: product_id + type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: - id: customers + id: date type: dataset multivalue: false sources: - - column: customer_id - dataType: INT + - column: date + dataType: DATE target: - id: customer_id - type: attribute + id: date + type: date sourceColumns: null sourceColumnDataTypes: null - identifier: - id: products + id: campaigns type: dataset multivalue: false sources: - - column: product_id + - column: campaign_id dataType: INT target: - id: product_id + id: campaign_id type: attribute sourceColumns: null sourceColumnDataTypes: null @@ -1831,7 +1831,7 @@ interactions: attributes: title: '# of Active Customers' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) @@ -1846,7 +1846,7 @@ interactions: attributes: title: '# of Orders' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) @@ -1861,7 +1861,7 @@ interactions: attributes: title: '# of Top Customers' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT @@ -1878,7 +1878,7 @@ interactions: title: '# of Valid Orders' description: '' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} @@ -1894,7 +1894,7 @@ interactions: attributes: title: Campaign Spend areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT SUM({fact/spend}) @@ -1909,7 +1909,7 @@ interactions: attributes: title: Order Amount areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) @@ -1924,7 +1924,7 @@ interactions: attributes: title: '% Revenue' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} @@ -1939,7 +1939,7 @@ interactions: attributes: title: '% Revenue from Top 10 Customers' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -1955,7 +1955,7 @@ interactions: attributes: title: '% Revenue from Top 10% Customers' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -1966,28 +1966,12 @@ interactions: origin: originType: NATIVE originId: demo - - id: revenue-outdoor - type: metric - attributes: - title: Revenue (Outdoor) - areRelationsValid: true - createdAt: 2023-12-14 14:09 - 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 - meta: - origin: - originType: NATIVE - originId: demo - id: percent_revenue_from_top_10_percent_products type: metric attributes: title: '% Revenue from Top 10% Products' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2003,7 +1987,7 @@ interactions: attributes: title: '% Revenue from Top 10 Products' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2019,7 +2003,7 @@ interactions: attributes: title: '% Revenue in Category' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, @@ -2035,7 +2019,7 @@ interactions: attributes: title: '% Revenue per Product' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL @@ -2052,7 +2036,7 @@ interactions: title: Revenue description: '' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} @@ -2068,7 +2052,7 @@ interactions: attributes: title: Revenue (Clothing) areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2084,7 +2068,7 @@ interactions: attributes: title: Revenue (Electronic) areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2100,7 +2084,7 @@ interactions: attributes: title: Revenue (Home) areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2111,12 +2095,28 @@ interactions: origin: originType: NATIVE originId: demo + - id: revenue-outdoor + type: metric + attributes: + title: Revenue (Outdoor) + areRelationsValid: true + createdAt: 2024-01-11 10:30 + 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 + meta: + origin: + originType: NATIVE + originId: demo - id: revenue_per_customer type: metric attributes: title: Revenue per Customer areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) @@ -2131,7 +2131,7 @@ interactions: attributes: title: Revenue per Dollar Spent areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} @@ -2146,7 +2146,7 @@ interactions: attributes: title: Revenue / Top 10 areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) @@ -2161,7 +2161,7 @@ interactions: attributes: title: Revenue / Top 10% areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) @@ -2176,7 +2176,7 @@ interactions: attributes: title: Total Revenue areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER @@ -2191,7 +2191,7 @@ interactions: attributes: title: Total Revenue (No Filters) areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 10:30 content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER @@ -2206,7 +2206,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/36179e6e0cb6d844ac6832a64afedfddc49f2f2a?offset=0%2C0&limit=1%2C1000 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/62881b5fa7e7ae0a3bc4229a33987f16eca2d1a4?offset=0%2C0&limit=1%2C1000 body: null headers: Accept: diff --git a/gooddata-sdk/gooddata_sdk/catalog/workspace/declarative_model/workspace/analytics_model/analytics_model.py b/gooddata-sdk/gooddata_sdk/catalog/workspace/declarative_model/workspace/analytics_model/analytics_model.py index 9cfc6e583..6613abcd8 100644 --- a/gooddata-sdk/gooddata_sdk/catalog/workspace/declarative_model/workspace/analytics_model/analytics_model.py +++ b/gooddata-sdk/gooddata_sdk/catalog/workspace/declarative_model/workspace/analytics_model/analytics_model.py @@ -11,6 +11,7 @@ from gooddata_api_client.model.declarative_analytical_dashboard_extension import DeclarativeAnalyticalDashboardExtension from gooddata_api_client.model.declarative_analytics import DeclarativeAnalytics from gooddata_api_client.model.declarative_analytics_layer import DeclarativeAnalyticsLayer +from gooddata_api_client.model.declarative_attribute_hierarchy import DeclarativeAttributeHierarchy from gooddata_api_client.model.declarative_dashboard_plugin import DeclarativeDashboardPlugin from gooddata_api_client.model.declarative_filter_context import DeclarativeFilterContext from gooddata_api_client.model.declarative_metric import DeclarativeMetric @@ -39,6 +40,7 @@ LAYOUT_FILTER_CONTEXTS_DIR = "filter_contexts" LAYOUT_METRICS_DIR = "metrics" LAYOUT_VISUALIZATION_OBJECTS_DIR = "visualization_objects" +ATTRIBUTE_HIERARCHY_OBJECTS_DIR = "attribute_hierarchy_objects" @attr.s(auto_attribs=True, kw_only=True) @@ -63,6 +65,7 @@ def load_from_disk(cls, workspace_folder: Path) -> CatalogDeclarativeAnalytics: class CatalogDeclarativeAnalyticsLayer(Base): analytical_dashboards: List[CatalogDeclarativeAnalyticalDashboard] = attr.field(factory=list) analytical_dashboard_extensions: List[CatalogDeclarativeAnalyticalDashboardExtension] = attr.field(factory=list) + attribute_hierarchies: List[CatalogDeclarativeAttributeHierarchy] = attr.field(factory=list) dashboard_plugins: List[CatalogDeclarativeDashboardPlugin] = attr.field(factory=list) filter_contexts: List[CatalogDeclarativeFilterContext] = attr.field(factory=list) metrics: List[CatalogDeclarativeMetric] = attr.field(factory=list) @@ -114,6 +117,12 @@ def get_visualization_objects_folder(analytics_model_folder: Path) -> Path: create_directory(folder) return folder + @staticmethod + def get_attribute_hierarchy_folder(analytics_model_folder: Path) -> Path: + folder = analytics_model_folder / ATTRIBUTE_HIERARCHY_OBJECTS_DIR + create_directory(folder) + return folder + def store_to_disk(self, workspace_folder: Path) -> None: analytics_model_folder = self.get_analytics_model_folder(workspace_folder) @@ -123,6 +132,7 @@ def store_to_disk(self, workspace_folder: Path) -> None: filter_contexts_folder = self.get_filter_contexts_folder(analytics_model_folder) metrics_folder = self.get_metrics_folder(analytics_model_folder) visualization_objects_folder = self.get_visualization_objects_folder(analytics_model_folder) + attribute_hierarchy_folder = self.get_attribute_hierarchy_folder(analytics_model_folder) for analytical_dashboard in self.analytical_dashboards: analytical_dashboard.store_to_disk(analytical_dashboards_folder) @@ -142,6 +152,9 @@ def store_to_disk(self, workspace_folder: Path) -> None: for visualization_object in self.visualization_objects: visualization_object.store_to_disk(visualization_objects_folder) + for attribute_hierarchy in self.attribute_hierarchies: + attribute_hierarchy.store_to_disk(attribute_hierarchy_folder) + @classmethod def load_from_disk(cls, workspace_folder: Path) -> CatalogDeclarativeAnalyticsLayer: analytics_model_folder = cls.get_analytics_model_folder(workspace_folder) @@ -151,6 +164,7 @@ def load_from_disk(cls, workspace_folder: Path) -> CatalogDeclarativeAnalyticsLa filter_contexts_folder = cls.get_filter_contexts_folder(analytics_model_folder) metrics_folder = cls.get_metrics_folder(analytics_model_folder) visualization_objects_folder = cls.get_visualization_objects_folder(analytics_model_folder) + attribute_hierarchy_folder = cls.get_attribute_hierarchy_folder(analytics_model_folder) analytical_dashboard_files = get_sorted_yaml_files(analytical_dashboards_folder) analytical_dashboard_extension_files = get_sorted_yaml_files(analytical_dashboard_extensions_folder) @@ -158,6 +172,7 @@ def load_from_disk(cls, workspace_folder: Path) -> CatalogDeclarativeAnalyticsLa filter_context_files = get_sorted_yaml_files(filter_contexts_folder) metric_files = get_sorted_yaml_files(metrics_folder) visualization_object_files = get_sorted_yaml_files(visualization_objects_folder) + attribute_hierarchy_files = get_sorted_yaml_files(attribute_hierarchy_folder) analytical_dashboards = [ CatalogDeclarativeAnalyticalDashboard.load_from_disk(analytical_dashboard_file) @@ -180,9 +195,14 @@ def load_from_disk(cls, workspace_folder: Path) -> CatalogDeclarativeAnalyticsLa CatalogDeclarativeVisualizationObject.load_from_disk(visualization_object_file) for visualization_object_file in visualization_object_files ] + attribute_hierarchy_objects = [ + CatalogDeclarativeAttributeHierarchy.load_from_disk(attribute_hierarchy_file) + for attribute_hierarchy_file in attribute_hierarchy_files + ] return cls( analytical_dashboards=analytical_dashboards, analytical_dashboard_extensions=analytical_dashboard_extensions, + attribute_hierarchies=attribute_hierarchy_objects, dashboard_plugins=dashboard_plugins, filter_contexts=filter_contexts, metrics=metrics, @@ -289,3 +309,10 @@ class CatalogDeclarativeVisualizationObject(CatalogAnalyticsBaseMeta): @staticmethod def client_class() -> Type[DeclarativeVisualizationObject]: return DeclarativeVisualizationObject + + +@attr.s(auto_attribs=True, kw_only=True) +class CatalogDeclarativeAttributeHierarchy(CatalogAnalyticsBaseMeta): + @staticmethod + def client_class() -> Type[DeclarativeAttributeHierarchy]: + return DeclarativeAttributeHierarchy diff --git a/gooddata-sdk/tests/catalog/expected/declarative_analytics_model.json b/gooddata-sdk/tests/catalog/expected/declarative_analytics_model.json index 127d56d46..29e2406cd 100644 --- a/gooddata-sdk/tests/catalog/expected/declarative_analytics_model.json +++ b/gooddata-sdk/tests/catalog/expected/declarative_analytics_model.json @@ -359,6 +359,7 @@ } ], "analyticalDashboardExtensions": [], + "attributeHierarchies": [], "dashboardPlugins": [ { "content": { diff --git a/gooddata-sdk/tests/catalog/expected/declarative_analytics_model_child.json b/gooddata-sdk/tests/catalog/expected/declarative_analytics_model_child.json index 0a88ed8aa..fccbee783 100644 --- a/gooddata-sdk/tests/catalog/expected/declarative_analytics_model_child.json +++ b/gooddata-sdk/tests/catalog/expected/declarative_analytics_model_child.json @@ -14,6 +14,7 @@ ] } ], + "attributeHierarchies": [], "dashboardPlugins": [], "filterContexts": [], "metrics": [], diff --git a/gooddata-sdk/tests/catalog/expected/declarative_workspaces.json b/gooddata-sdk/tests/catalog/expected/declarative_workspaces.json index b53d9932e..f7fb260d4 100644 --- a/gooddata-sdk/tests/catalog/expected/declarative_workspaces.json +++ b/gooddata-sdk/tests/catalog/expected/declarative_workspaces.json @@ -380,6 +380,7 @@ "title": "Product & Category" } ], + "attributeHierarchies": [], "dashboardPlugins": [ { "content": { @@ -2807,6 +2808,7 @@ } ], "analyticalDashboards": [], + "attributeHierarchies": [], "dashboardPlugins": [], "filterContexts": [], "metrics": [], @@ -2849,6 +2851,7 @@ "analytics": { "analyticalDashboardExtensions": [], "analyticalDashboards": [], + "attributeHierarchies": [], "dashboardPlugins": [], "filterContexts": [], "metrics": [], diff --git a/gooddata-sdk/tests/catalog/expected/declarative_workspaces_snake_case.json b/gooddata-sdk/tests/catalog/expected/declarative_workspaces_snake_case.json index 98cb351d3..8fa391426 100644 --- a/gooddata-sdk/tests/catalog/expected/declarative_workspaces_snake_case.json +++ b/gooddata-sdk/tests/catalog/expected/declarative_workspaces_snake_case.json @@ -848,6 +848,7 @@ } ], "analytical_dashboard_extensions": [], + "attribute_hierarchies": [], "dashboard_plugins": [ { "id": "dashboard_plugin_1", @@ -2813,6 +2814,7 @@ ] } ], + "attribute_hierarchies": [], "dashboard_plugins": [], "filter_contexts": [], "metrics": [], @@ -2839,6 +2841,7 @@ "analytics": { "analytical_dashboards": [], "analytical_dashboard_extensions": [], + "attribute_hierarchies": [], "dashboard_plugins": [], "filter_contexts": [], "metrics": [], diff --git a/gooddata-sdk/tests/catalog/fixtures/data_sources/bigquery.yaml b/gooddata-sdk/tests/catalog/fixtures/data_sources/bigquery.yaml index 0c787405b..15574dfe5 100644 --- a/gooddata-sdk/tests/catalog/fixtures/data_sources/bigquery.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/data_sources/bigquery.yaml @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: @@ -79,7 +79,7 @@ interactions: to access it. status: 404 title: Not Found - traceId: 3a452ad21e400d85 + traceId: 12f05b9f009d9007 - request: method: POST uri: http://localhost:3000/api/v1/entities/dataSources @@ -186,8 +186,8 @@ interactions: value: KEY_ID - name: projectId value: PROJECT_ID - type: BIGQUERY name: Test + type: BIGQUERY schema: demo links: self: http://localhost:3000/api/v1/entities/dataSources/test @@ -281,8 +281,8 @@ interactions: value: KEY_ID - name: projectId value: PROJECT_ID - type: BIGQUERY name: Test + type: BIGQUERY schema: demo links: self: http://localhost:3000/api/v1/entities/dataSources/test diff --git a/gooddata-sdk/tests/catalog/fixtures/data_sources/demo_data_sources_list.yaml b/gooddata-sdk/tests/catalog/fixtures/data_sources/demo_data_sources_list.yaml index bb327843b..c1a8d06a1 100644 --- a/gooddata-sdk/tests/catalog/fixtures/data_sources/demo_data_sources_list.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/data_sources/demo_data_sources_list.yaml @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: @@ -82,8 +82,8 @@ interactions: url: jdbc:postgresql://localhost:5432/demo username: demouser enableCaching: false - type: POSTGRESQL name: demo-test-ds + type: POSTGRESQL schema: demo links: self: http://localhost:3000/api/v1/entities/dataSources/demo-test-ds diff --git a/gooddata-sdk/tests/catalog/fixtures/data_sources/demo_delete_declarative_data_sources.yaml b/gooddata-sdk/tests/catalog/fixtures/data_sources/demo_delete_declarative_data_sources.yaml index 203f00816..88251a652 100644 --- a/gooddata-sdk/tests/catalog/fixtures/data_sources/demo_delete_declarative_data_sources.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/data_sources/demo_delete_declarative_data_sources.yaml @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: diff --git a/gooddata-sdk/tests/catalog/fixtures/data_sources/demo_generate_logical_model.yaml b/gooddata-sdk/tests/catalog/fixtures/data_sources/demo_generate_logical_model.yaml index 1cb1d7fcb..b5fc45e5f 100644 --- a/gooddata-sdk/tests/catalog/fixtures/data_sources/demo_generate_logical_model.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/data_sources/demo_generate_logical_model.yaml @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: @@ -74,7 +74,7 @@ interactions: X-XSS-Protection: - 1 ; mode=block content-length: - - '6088' + - '6227' body: string: ldm: @@ -388,11 +388,21 @@ interactions: dateInstances: - description: '' granularities: + - 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 granularitiesFormatting: titleBase: '' titlePattern: '%titleBase - %granularityTitle' diff --git a/gooddata-sdk/tests/catalog/fixtures/data_sources/demo_generate_logical_model_sql_datasets.yaml b/gooddata-sdk/tests/catalog/fixtures/data_sources/demo_generate_logical_model_sql_datasets.yaml index 669f1588a..cdea0f2a4 100644 --- a/gooddata-sdk/tests/catalog/fixtures/data_sources/demo_generate_logical_model_sql_datasets.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/data_sources/demo_generate_logical_model_sql_datasets.yaml @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: @@ -539,53 +539,6 @@ interactions: tags: - Products title: Products - - attributes: - - description: Customer id - id: Customers_sql_dataset_with_WDF.customer_id - labels: [] - sourceColumn: customer_id - sourceColumnDataType: INT - tags: - - Customers sql dataset with WDF - title: Customer id - - description: Customer name - id: Customers_sql_dataset_with_WDF.customer_name - labels: [] - sourceColumn: customer_name - sourceColumnDataType: STRING - tags: - - Customers sql dataset with WDF - title: Customer name - - description: Region - id: Customers_sql_dataset_with_WDF.region - labels: [] - sourceColumn: region - sourceColumnDataType: STRING - tags: - - Customers sql dataset with WDF - title: Region - - description: State - id: Customers_sql_dataset_with_WDF.state - labels: [] - sourceColumn: state - sourceColumnDataType: STRING - tags: - - Customers sql dataset with WDF - title: State - description: Customers sql dataset with WDF - facts: [] - grain: [] - id: Customers_sql_dataset_with_WDF - references: [] - sql: - dataSourceId: demo-test-ds - statement: SELECT * FROM v_wdf_customers - tags: - - Customers sql dataset with WDF - title: Customers sql dataset with WDF - workspaceDataFilterColumns: - - dataType: STRING - name: wdf__region - attributes: - description: Campaign id id: Order_lines_duplicate_sql_dataset.campaign_id @@ -670,6 +623,53 @@ interactions: tags: - Order lines duplicate sql dataset title: Order lines duplicate sql dataset + - attributes: + - description: Customer id + id: Customers_sql_dataset_with_WDF.customer_id + labels: [] + sourceColumn: customer_id + sourceColumnDataType: INT + tags: + - Customers sql dataset with WDF + title: Customer id + - description: Customer name + id: Customers_sql_dataset_with_WDF.customer_name + labels: [] + sourceColumn: customer_name + sourceColumnDataType: STRING + tags: + - Customers sql dataset with WDF + title: Customer name + - description: Region + id: Customers_sql_dataset_with_WDF.region + labels: [] + sourceColumn: region + sourceColumnDataType: STRING + tags: + - Customers sql dataset with WDF + title: Region + - description: State + id: Customers_sql_dataset_with_WDF.state + labels: [] + sourceColumn: state + sourceColumnDataType: STRING + tags: + - Customers sql dataset with WDF + title: State + description: Customers sql dataset with WDF + facts: [] + grain: [] + id: Customers_sql_dataset_with_WDF + references: [] + sql: + dataSourceId: demo-test-ds + statement: SELECT * FROM v_wdf_customers + tags: + - Customers sql dataset with WDF + title: Customers sql dataset with WDF + workspaceDataFilterColumns: + - dataType: STRING + name: wdf__region dateInstances: - granularities: - MINUTE 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 4bbd291d7..db18a0e37 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 @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: @@ -168,7 +168,7 @@ interactions: Connection: - keep-alive Content-Length: - - '255' + - '275' Content-Security-Policy: - 'default-src ''self'' *.wistia.com *.wistia.net; script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' *.wistia.com *.wistia.net *.hsforms.net *.hsforms.com @@ -220,7 +220,8 @@ interactions: attributes: name: Default Organization hostname: localhost - oauthClientId: a69fdb5a-efed-4a5b-a39d-774f4f256757 + allowedOrigins: [] + oauthClientId: 858c5858-c2cf-4e8b-bfde-e3e01086e909 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.yaml b/gooddata-sdk/tests/catalog/fixtures/data_sources/demo_put_declarative_data_sources.yaml index 6013f07d9..f20f25d38 100644 --- a/gooddata-sdk/tests/catalog/fixtures/data_sources/demo_put_declarative_data_sources.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/data_sources/demo_put_declarative_data_sources.yaml @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - 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 4af2b58fb..d020bfe97 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 @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: @@ -177,7 +177,7 @@ interactions: body: string: queryDurationMillis: - simpleSelect: 1 + simpleSelect: 0 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 a87b2bf02..dc9705857 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 @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: @@ -70,18 +70,92 @@ interactions: - Access-Control-Request-Headers X-Content-Type-Options: - nosniff - X-GDC-TRACE-ID: *id001 X-XSS-Protection: - 1 ; mode=block body: string: data: + - id: revenue_per_dollar_spent + type: metric + attributes: + title: Revenue per Dollar Spent + areRelationsValid: true + createdAt: 2024-01-11 11:34 + 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 + meta: + origin: + originType: NATIVE + originId: demo + - id: revenue_top_10 + type: metric + attributes: + title: Revenue / Top 10 + areRelationsValid: true + createdAt: 2024-01-11 11:34 + 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 + meta: + origin: + originType: NATIVE + originId: demo + - id: revenue_top_10_percent + type: metric + attributes: + title: Revenue / Top 10% + areRelationsValid: true + createdAt: 2024-01-11 11:34 + 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 + meta: + origin: + originType: NATIVE + originId: demo + - id: total_revenue + type: metric + attributes: + title: Total Revenue + areRelationsValid: true + createdAt: 2024-01-11 11:34 + content: + format: $#,##0 + maql: SELECT {metric/revenue} BY ALL OTHER + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/total_revenue + meta: + origin: + originType: NATIVE + originId: demo + - id: total_revenue-no_filters + type: metric + attributes: + title: Total Revenue (No Filters) + areRelationsValid: true + createdAt: 2024-01-11 11:34 + 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 + meta: + origin: + originType: NATIVE + originId: demo - id: amount_of_active_customers type: metric attributes: title: '# of Active Customers' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 11:34 content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) @@ -96,7 +170,7 @@ interactions: attributes: title: '# of Orders' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 11:34 content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) @@ -111,7 +185,7 @@ interactions: attributes: title: '# of Top Customers' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 11:34 content: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT @@ -128,7 +202,7 @@ interactions: title: '# of Valid Orders' description: '' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 11:34 content: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} @@ -144,7 +218,7 @@ interactions: attributes: title: Campaign Spend areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 11:34 content: format: $#,##0 maql: SELECT SUM({fact/spend}) @@ -159,7 +233,7 @@ interactions: attributes: title: Order Amount areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 11:34 content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) @@ -174,7 +248,7 @@ interactions: attributes: title: '% Revenue' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 11:34 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} @@ -189,7 +263,7 @@ interactions: attributes: title: '% Revenue from Top 10 Customers' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 11:34 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -205,7 +279,7 @@ interactions: attributes: title: '% Revenue from Top 10% Customers' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 11:34 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -216,28 +290,12 @@ interactions: origin: originType: NATIVE originId: demo - - id: revenue-outdoor - type: metric - attributes: - title: Revenue (Outdoor) - areRelationsValid: true - createdAt: 2023-12-14 14:09 - 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 - meta: - origin: - originType: NATIVE - originId: demo - id: percent_revenue_from_top_10_percent_products type: metric attributes: title: '% Revenue from Top 10% Products' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 11:34 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -253,7 +311,7 @@ interactions: attributes: title: '% Revenue from Top 10 Products' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 11:34 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -269,7 +327,7 @@ interactions: attributes: title: '% Revenue in Category' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 11:34 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, @@ -285,7 +343,7 @@ interactions: attributes: title: '% Revenue per Product' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 11:34 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL @@ -302,7 +360,7 @@ interactions: title: Revenue description: '' areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 11:34 content: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} @@ -318,7 +376,7 @@ interactions: attributes: title: Revenue (Clothing) areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 11:34 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -334,7 +392,7 @@ interactions: attributes: title: Revenue (Electronic) areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 11:34 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -350,7 +408,7 @@ interactions: attributes: title: Revenue (Home) areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 11:34 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -361,92 +419,33 @@ interactions: origin: originType: NATIVE originId: demo - - id: revenue_per_customer - type: metric - attributes: - title: Revenue per Customer - areRelationsValid: true - createdAt: 2023-12-14 14:09 - 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 - meta: - origin: - originType: NATIVE - originId: demo - - id: revenue_per_dollar_spent - type: metric - attributes: - title: Revenue per Dollar Spent - areRelationsValid: true - createdAt: 2023-12-14 14:09 - 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 - meta: - origin: - originType: NATIVE - originId: demo - - id: revenue_top_10 - type: metric - attributes: - title: Revenue / Top 10 - areRelationsValid: true - createdAt: 2023-12-14 14:09 - 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 - meta: - origin: - originType: NATIVE - originId: demo - - id: revenue_top_10_percent - type: metric - attributes: - title: Revenue / Top 10% - areRelationsValid: true - createdAt: 2023-12-14 14:09 - 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 - meta: - origin: - originType: NATIVE - originId: demo - - id: total_revenue + - id: revenue-outdoor type: metric attributes: - title: Total Revenue + title: Revenue (Outdoor) areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 11:34 content: format: $#,##0 - maql: SELECT {metric/revenue} BY ALL OTHER + maql: SELECT {metric/revenue} WHERE {label/products.category} IN + ("Outdoor") links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/total_revenue + self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/revenue-outdoor meta: origin: originType: NATIVE originId: demo - - id: total_revenue-no_filters + - id: revenue_per_customer type: metric attributes: - title: Total Revenue (No Filters) + title: Revenue per Customer areRelationsValid: true - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 11:34 content: - format: $#,##0 - maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER + format: $#,##0.0 + maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/total_revenue-no_filters + self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/revenue_per_customer meta: origin: originType: NATIVE @@ -466,11 +465,11 @@ interactions: measure: item: identifier: - id: amount_of_active_customers + id: revenue_per_dollar_spent type: metric computeRatio: false filters: [] - localIdentifier: amount_of_active_customers + localIdentifier: revenue_per_dollar_spent resultSpec: dimensions: - itemIdentifiers: @@ -546,19 +545,19 @@ interactions: X-XSS-Protection: - 1 ; mode=block content-length: - - '272' + - '276' body: string: executionResponse: dimensions: - headers: - measureGroupHeaders: - - localIdentifier: amount_of_active_customers - format: '#,##0' - name: '# of Active Customers' + - localIdentifier: revenue_per_dollar_spent + format: $#,##0.0 + name: Revenue per Dollar Spent localIdentifier: dim_0 links: - executionResult: f15e9edaef88e159cad0147b13168b43c88f5977 + executionResult: dc98f372e5c86230c5c87b7adf441770e8022d01 - request: method: POST uri: http://localhost:3000/api/v1/actions/dataSources/demo-test-ds/uploadNotification @@ -640,11 +639,11 @@ interactions: measure: item: identifier: - id: amount_of_active_customers + id: revenue_per_dollar_spent type: metric computeRatio: false filters: [] - localIdentifier: amount_of_active_customers + localIdentifier: revenue_per_dollar_spent resultSpec: dimensions: - itemIdentifiers: @@ -720,16 +719,16 @@ interactions: X-XSS-Protection: - 1 ; mode=block content-length: - - '272' + - '276' body: string: executionResponse: dimensions: - headers: - measureGroupHeaders: - - localIdentifier: amount_of_active_customers - format: '#,##0' - name: '# of Active Customers' + - localIdentifier: revenue_per_dollar_spent + format: $#,##0.0 + name: Revenue per Dollar Spent localIdentifier: dim_0 links: - executionResult: 4253678ba7905ba92a828596c261cd1558a202b0 + executionResult: d88e737e6ad4b91196729bc8036162b0e739280b diff --git a/gooddata-sdk/tests/catalog/fixtures/data_sources/demo_scan_pdm_and_generate_logical_model.yaml b/gooddata-sdk/tests/catalog/fixtures/data_sources/demo_scan_pdm_and_generate_logical_model.yaml index 36c5e11d2..831cafa41 100644 --- a/gooddata-sdk/tests/catalog/fixtures/data_sources/demo_scan_pdm_and_generate_logical_model.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/data_sources/demo_scan_pdm_and_generate_logical_model.yaml @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: @@ -74,7 +74,7 @@ interactions: X-XSS-Protection: - 1 ; mode=block content-length: - - '6088' + - '6227' body: string: ldm: @@ -388,11 +388,21 @@ interactions: dateInstances: - description: '' granularities: + - 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 granularitiesFormatting: titleBase: '' titlePattern: '%titleBase - %granularityTitle' diff --git a/gooddata-sdk/tests/catalog/fixtures/data_sources/demo_scan_pdm_and_generate_logical_model_sql_datasets.yaml b/gooddata-sdk/tests/catalog/fixtures/data_sources/demo_scan_pdm_and_generate_logical_model_sql_datasets.yaml index 267ce8646..7aefec8c5 100644 --- a/gooddata-sdk/tests/catalog/fixtures/data_sources/demo_scan_pdm_and_generate_logical_model_sql_datasets.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/data_sources/demo_scan_pdm_and_generate_logical_model_sql_datasets.yaml @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: @@ -741,53 +741,6 @@ interactions: tags: - Products title: Products - - attributes: - - description: Customer id - id: Customers_sql_dataset_with_WDF.customer_id - labels: [] - sourceColumn: customer_id - sourceColumnDataType: INT - tags: - - Customers sql dataset with WDF - title: Customer id - - description: Customer name - id: Customers_sql_dataset_with_WDF.customer_name - labels: [] - sourceColumn: customer_name - sourceColumnDataType: STRING - tags: - - Customers sql dataset with WDF - title: Customer name - - description: Region - id: Customers_sql_dataset_with_WDF.region - labels: [] - sourceColumn: region - sourceColumnDataType: STRING - tags: - - Customers sql dataset with WDF - title: Region - - description: State - id: Customers_sql_dataset_with_WDF.state - labels: [] - sourceColumn: state - sourceColumnDataType: STRING - tags: - - Customers sql dataset with WDF - title: State - description: Customers sql dataset with WDF - facts: [] - grain: [] - id: Customers_sql_dataset_with_WDF - references: [] - sql: - dataSourceId: demo-test-ds - statement: SELECT * FROM v_wdf_customers - tags: - - Customers sql dataset with WDF - title: Customers sql dataset with WDF - workspaceDataFilterColumns: - - dataType: STRING - name: wdf__region - attributes: - description: Campaign id id: Order_lines_duplicate_sql_dataset.campaign_id @@ -872,6 +825,53 @@ interactions: tags: - Order lines duplicate sql dataset title: Order lines duplicate sql dataset + - attributes: + - description: Customer id + id: Customers_sql_dataset_with_WDF.customer_id + labels: [] + sourceColumn: customer_id + sourceColumnDataType: INT + tags: + - Customers sql dataset with WDF + title: Customer id + - description: Customer name + id: Customers_sql_dataset_with_WDF.customer_name + labels: [] + sourceColumn: customer_name + sourceColumnDataType: STRING + tags: + - Customers sql dataset with WDF + title: Customer name + - description: Region + id: Customers_sql_dataset_with_WDF.region + labels: [] + sourceColumn: region + sourceColumnDataType: STRING + tags: + - Customers sql dataset with WDF + title: Region + - description: State + id: Customers_sql_dataset_with_WDF.state + labels: [] + sourceColumn: state + sourceColumnDataType: STRING + tags: + - Customers sql dataset with WDF + title: State + description: Customers sql dataset with WDF + facts: [] + grain: [] + id: Customers_sql_dataset_with_WDF + references: [] + sql: + dataSourceId: demo-test-ds + statement: SELECT * FROM v_wdf_customers + tags: + - Customers sql dataset with WDF + title: Customers sql dataset with WDF + workspaceDataFilterColumns: + - dataType: STRING + name: wdf__region dateInstances: - granularities: - MINUTE diff --git a/gooddata-sdk/tests/catalog/fixtures/data_sources/demo_scan_schemata.yaml b/gooddata-sdk/tests/catalog/fixtures/data_sources/demo_scan_schemata.yaml index 143de8c1e..52d44ea43 100644 --- a/gooddata-sdk/tests/catalog/fixtures/data_sources/demo_scan_schemata.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/data_sources/demo_scan_schemata.yaml @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: 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 ca26104ca..42b7a1e4f 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 @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: @@ -282,7 +282,7 @@ interactions: Connection: - keep-alive Content-Length: - - '255' + - '275' Content-Security-Policy: - 'default-src ''self'' *.wistia.com *.wistia.net; script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' *.wistia.com *.wistia.net *.hsforms.net *.hsforms.com @@ -334,7 +334,8 @@ interactions: attributes: name: Default Organization hostname: localhost - oauthClientId: a69fdb5a-efed-4a5b-a39d-774f4f256757 + allowedOrigins: [] + oauthClientId: 858c5858-c2cf-4e8b-bfde-e3e01086e909 links: self: http://localhost:3000/api/v1/entities/admin/organizations/default - request: @@ -433,7 +434,7 @@ interactions: Connection: - keep-alive Content-Length: - - '255' + - '275' Content-Security-Policy: - 'default-src ''self'' *.wistia.com *.wistia.net; script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' *.wistia.com *.wistia.net *.hsforms.net *.hsforms.com @@ -485,6 +486,7 @@ interactions: attributes: name: Default Organization hostname: localhost - oauthClientId: a69fdb5a-efed-4a5b-a39d-774f4f256757 + allowedOrigins: [] + oauthClientId: 858c5858-c2cf-4e8b-bfde-e3e01086e909 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 815c8060b..65cf66c95 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 @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: @@ -260,5 +260,5 @@ interactions: body: string: queryDurationMillis: - simpleSelect: 0 + simpleSelect: 4 successful: true diff --git a/gooddata-sdk/tests/catalog/fixtures/data_sources/demo_test_scan_model.yaml b/gooddata-sdk/tests/catalog/fixtures/data_sources/demo_test_scan_model.yaml index 904d11034..3e82cb5c8 100644 --- a/gooddata-sdk/tests/catalog/fixtures/data_sources/demo_test_scan_model.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/data_sources/demo_test_scan_model.yaml @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: diff --git a/gooddata-sdk/tests/catalog/fixtures/data_sources/demo_test_scan_model_with_schemata.yaml b/gooddata-sdk/tests/catalog/fixtures/data_sources/demo_test_scan_model_with_schemata.yaml index f3a4d205c..ddc21b2fd 100644 --- a/gooddata-sdk/tests/catalog/fixtures/data_sources/demo_test_scan_model_with_schemata.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/data_sources/demo_test_scan_model_with_schemata.yaml @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: diff --git a/gooddata-sdk/tests/catalog/fixtures/data_sources/demo_test_scan_model_with_table_prefix.yaml b/gooddata-sdk/tests/catalog/fixtures/data_sources/demo_test_scan_model_with_table_prefix.yaml index e18a513a8..493a5e8a4 100644 --- a/gooddata-sdk/tests/catalog/fixtures/data_sources/demo_test_scan_model_with_table_prefix.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/data_sources/demo_test_scan_model_with_table_prefix.yaml @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: diff --git a/gooddata-sdk/tests/catalog/fixtures/data_sources/dremio.yaml b/gooddata-sdk/tests/catalog/fixtures/data_sources/dremio.yaml index 7801ade0e..d19acadd7 100644 --- a/gooddata-sdk/tests/catalog/fixtures/data_sources/dremio.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/data_sources/dremio.yaml @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: @@ -79,7 +79,7 @@ interactions: to access it. status: 404 title: Not Found - traceId: cda563a554acc37a + traceId: abc61e4f7dadb88f - request: method: POST uri: http://localhost:3000/api/v1/entities/dataSources @@ -177,8 +177,8 @@ interactions: enableCaching: true cachePath: - $scratch - type: DREMIO name: Dremio + type: DREMIO schema: '' links: self: http://localhost:3000/api/v1/entities/dataSources/dremio @@ -264,8 +264,8 @@ interactions: enableCaching: true cachePath: - $scratch - type: DREMIO name: Dremio + type: DREMIO schema: '' links: self: http://localhost:3000/api/v1/entities/dataSources/dremio diff --git a/gooddata-sdk/tests/catalog/fixtures/data_sources/patch.yaml b/gooddata-sdk/tests/catalog/fixtures/data_sources/patch.yaml index ecab739cf..a95056a64 100644 --- a/gooddata-sdk/tests/catalog/fixtures/data_sources/patch.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/data_sources/patch.yaml @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: @@ -82,8 +82,8 @@ interactions: url: jdbc:postgresql://localhost:5432/demo username: demouser enableCaching: false - type: POSTGRESQL name: demo-test-ds + type: POSTGRESQL schema: demo links: self: http://localhost:3000/api/v1/entities/dataSources/demo-test-ds @@ -167,7 +167,7 @@ interactions: to access it. status: 404 title: Not Found - traceId: 0ec958df1bf2968c + traceId: 4332df744ef375a1 - request: method: POST uri: http://localhost:3000/api/v1/entities/dataSources @@ -265,8 +265,8 @@ interactions: enableCaching: true cachePath: - cache_schema - type: POSTGRESQL name: Test + type: POSTGRESQL schema: demo links: self: http://localhost:3000/api/v1/entities/dataSources/test @@ -352,8 +352,8 @@ interactions: enableCaching: true cachePath: - cache_schema - type: POSTGRESQL name: Test + type: POSTGRESQL schema: demo links: self: http://localhost:3000/api/v1/entities/dataSources/test @@ -439,8 +439,8 @@ interactions: enableCaching: true cachePath: - cache_schema - type: POSTGRESQL name: Test + type: POSTGRESQL schema: demo links: self: http://localhost:3000/api/v1/entities/dataSources/test @@ -535,8 +535,8 @@ interactions: enableCaching: true cachePath: - cache_schema - type: POSTGRESQL name: Test2 + type: POSTGRESQL schema: demo links: self: http://localhost:3000/api/v1/entities/dataSources/test @@ -622,8 +622,8 @@ interactions: enableCaching: true cachePath: - cache_schema - type: POSTGRESQL name: Test2 + type: POSTGRESQL schema: demo links: self: http://localhost:3000/api/v1/entities/dataSources/test diff --git a/gooddata-sdk/tests/catalog/fixtures/data_sources/redshift.yaml b/gooddata-sdk/tests/catalog/fixtures/data_sources/redshift.yaml index 324174eb3..dcf136c76 100644 --- a/gooddata-sdk/tests/catalog/fixtures/data_sources/redshift.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/data_sources/redshift.yaml @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: @@ -79,7 +79,7 @@ interactions: to access it. status: 404 title: Not Found - traceId: 9c5287ef18ce2c8c + traceId: ec5812aba536e60d - request: method: POST uri: http://localhost:3000/api/v1/entities/dataSources @@ -173,8 +173,8 @@ interactions: url: jdbc:redshift://aws.endpoint:5439/demo?autosave=true username: demouser enableCaching: false - type: REDSHIFT name: Test2 + type: REDSHIFT schema: demo links: self: http://localhost:3000/api/v1/entities/dataSources/test @@ -258,8 +258,8 @@ interactions: url: jdbc:redshift://aws.endpoint:5439/demo?autosave=true username: demouser enableCaching: false - type: REDSHIFT name: Test2 + type: REDSHIFT schema: demo links: self: http://localhost:3000/api/v1/entities/dataSources/test diff --git a/gooddata-sdk/tests/catalog/fixtures/data_sources/scan_scan_sql_without_preview.yaml b/gooddata-sdk/tests/catalog/fixtures/data_sources/scan_scan_sql_without_preview.yaml index c56df8a53..1040675ef 100644 --- a/gooddata-sdk/tests/catalog/fixtures/data_sources/scan_scan_sql_without_preview.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/data_sources/scan_scan_sql_without_preview.yaml @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: diff --git a/gooddata-sdk/tests/catalog/fixtures/data_sources/scan_sql.yaml b/gooddata-sdk/tests/catalog/fixtures/data_sources/scan_sql.yaml index 3affb8c04..5e70daa82 100644 --- a/gooddata-sdk/tests/catalog/fixtures/data_sources/scan_sql.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/data_sources/scan_sql.yaml @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: diff --git a/gooddata-sdk/tests/catalog/fixtures/data_sources/scan_sql_with_nulls_in_preview.yaml b/gooddata-sdk/tests/catalog/fixtures/data_sources/scan_sql_with_nulls_in_preview.yaml index e611487aa..d98cb4c24 100644 --- a/gooddata-sdk/tests/catalog/fixtures/data_sources/scan_sql_with_nulls_in_preview.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/data_sources/scan_sql_with_nulls_in_preview.yaml @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: diff --git a/gooddata-sdk/tests/catalog/fixtures/data_sources/snowflake.yaml b/gooddata-sdk/tests/catalog/fixtures/data_sources/snowflake.yaml index 7767b4d4d..9a2e024c9 100644 --- a/gooddata-sdk/tests/catalog/fixtures/data_sources/snowflake.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/data_sources/snowflake.yaml @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: @@ -79,7 +79,7 @@ interactions: to access it. status: 404 title: Not Found - traceId: 0e66ac1330992e4d + traceId: bde7a329d4e99453 - request: method: POST uri: http://localhost:3000/api/v1/entities/dataSources @@ -177,8 +177,8 @@ interactions: enableCaching: true cachePath: - cache_schema - type: SNOWFLAKE name: Test + type: SNOWFLAKE schema: demo links: self: http://localhost:3000/api/v1/entities/dataSources/test @@ -264,8 +264,8 @@ interactions: enableCaching: true cachePath: - cache_schema - type: SNOWFLAKE name: Test + type: SNOWFLAKE schema: demo links: self: http://localhost:3000/api/v1/entities/dataSources/test 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 1a4c785b8..aa266806a 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 @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: @@ -82,8 +82,8 @@ interactions: url: jdbc:postgresql://localhost:5432/demo username: demouser enableCaching: false - type: POSTGRESQL name: demo-test-ds + type: POSTGRESQL schema: demo links: self: http://localhost:3000/api/v1/entities/dataSources/demo-test-ds @@ -167,7 +167,7 @@ interactions: to access it. status: 404 title: Not Found - traceId: 38c4619049c8b263 + traceId: 1e77d03b429c40a0 - request: method: POST uri: http://localhost:3000/api/v1/entities/dataSources @@ -265,8 +265,8 @@ interactions: enableCaching: true cachePath: - cache_schema - type: POSTGRESQL name: Test + type: POSTGRESQL schema: demo links: self: http://localhost:3000/api/v1/entities/dataSources/test @@ -352,8 +352,8 @@ interactions: enableCaching: true cachePath: - cache_schema - type: POSTGRESQL name: Test + type: POSTGRESQL schema: demo links: self: http://localhost:3000/api/v1/entities/dataSources/test @@ -439,8 +439,8 @@ interactions: enableCaching: true cachePath: - cache_schema - type: POSTGRESQL name: Test + type: POSTGRESQL schema: demo links: self: http://localhost:3000/api/v1/entities/dataSources/test @@ -537,8 +537,8 @@ interactions: url: jdbc:postgresql://localhost:5432/demo?autosave=false username: demouser enableCaching: false - type: POSTGRESQL name: Test2 + type: POSTGRESQL schema: demo links: self: http://localhost:3000/api/v1/entities/dataSources/test @@ -622,8 +622,8 @@ interactions: url: jdbc:postgresql://localhost:5432/demo username: demouser enableCaching: false - type: POSTGRESQL name: demo-test-ds + type: POSTGRESQL schema: demo links: self: http://localhost:3000/api/v1/entities/dataSources/demo-test-ds @@ -633,8 +633,8 @@ interactions: url: jdbc:postgresql://localhost:5432/demo?autosave=false username: demouser enableCaching: false - type: POSTGRESQL name: Test2 + type: POSTGRESQL schema: demo links: self: http://localhost:3000/api/v1/entities/dataSources/test @@ -788,8 +788,8 @@ interactions: url: jdbc:postgresql://localhost:5432/demo username: demouser enableCaching: false - type: POSTGRESQL name: demo-test-ds + type: POSTGRESQL schema: demo links: self: http://localhost:3000/api/v1/entities/dataSources/demo-test-ds diff --git a/gooddata-sdk/tests/catalog/fixtures/data_sources/vertica.yaml b/gooddata-sdk/tests/catalog/fixtures/data_sources/vertica.yaml index aa923536b..170705461 100644 --- a/gooddata-sdk/tests/catalog/fixtures/data_sources/vertica.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/data_sources/vertica.yaml @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: @@ -79,7 +79,7 @@ interactions: to access it. status: 404 title: Not Found - traceId: 1eb831dec5f28817 + traceId: 70eb0ee268478e7b - request: method: POST uri: http://localhost:3000/api/v1/entities/dataSources @@ -173,8 +173,8 @@ interactions: url: jdbc:vertica://localhost:5433/demo?TLSmode=false username: demouser enableCaching: false - type: VERTICA name: Test2 + type: VERTICA schema: demo links: self: http://localhost:3000/api/v1/entities/dataSources/test @@ -258,8 +258,8 @@ interactions: url: jdbc:vertica://localhost:5433/demo?TLSmode=false username: demouser enableCaching: false - type: VERTICA name: Test2 + type: VERTICA schema: demo links: self: http://localhost:3000/api/v1/entities/dataSources/test diff --git a/gooddata-sdk/tests/catalog/fixtures/organization/create_csp_directive.yaml b/gooddata-sdk/tests/catalog/fixtures/organization/create_csp_directive.yaml index f1aa46268..e4cd9dba9 100644 --- a/gooddata-sdk/tests/catalog/fixtures/organization/create_csp_directive.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/organization/create_csp_directive.yaml @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: diff --git a/gooddata-sdk/tests/catalog/fixtures/organization/create_jwk.yaml b/gooddata-sdk/tests/catalog/fixtures/organization/create_jwk.yaml index f47df1ccc..6dd533ef4 100644 --- a/gooddata-sdk/tests/catalog/fixtures/organization/create_jwk.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/organization/create_jwk.yaml @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: @@ -79,7 +79,7 @@ interactions: to access it. status: 404 title: Not Found - traceId: 4fabcfc27d2e0212 + traceId: f6a72970a24a5e3e - request: method: POST uri: http://localhost:3000/api/v1/entities/jwks diff --git a/gooddata-sdk/tests/catalog/fixtures/organization/create_organization_setting.yaml b/gooddata-sdk/tests/catalog/fixtures/organization/create_organization_setting.yaml index 344723bb5..df64311f9 100644 --- a/gooddata-sdk/tests/catalog/fixtures/organization/create_organization_setting.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/organization/create_organization_setting.yaml @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: diff --git a/gooddata-sdk/tests/catalog/fixtures/organization/delete_csp_directive.yaml b/gooddata-sdk/tests/catalog/fixtures/organization/delete_csp_directive.yaml index a89511305..a376a0591 100644 --- a/gooddata-sdk/tests/catalog/fixtures/organization/delete_csp_directive.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/organization/delete_csp_directive.yaml @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: @@ -235,7 +235,7 @@ interactions: to access it. status: 404 title: Not Found - traceId: b327d1325f1dcf8c + traceId: 362074332110f1fa - request: method: GET uri: http://localhost:3000/api/v1/entities/cspDirectives?page=0&size=500 diff --git a/gooddata-sdk/tests/catalog/fixtures/organization/delete_jwk.yaml b/gooddata-sdk/tests/catalog/fixtures/organization/delete_jwk.yaml index aee6ba0e7..35adfcb7a 100644 --- a/gooddata-sdk/tests/catalog/fixtures/organization/delete_jwk.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/organization/delete_jwk.yaml @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: @@ -79,7 +79,7 @@ interactions: to access it. status: 404 title: Not Found - traceId: c560def7f422edc4 + traceId: 08a80ac49e6dcc54 - request: method: POST uri: http://localhost:3000/api/v1/entities/jwks @@ -329,7 +329,7 @@ interactions: to access it. status: 404 title: Not Found - traceId: d61cc16fdca52746 + traceId: 77beb5adf8898265 - request: method: GET uri: http://localhost:3000/api/v1/entities/jwks?page=0&size=500 diff --git a/gooddata-sdk/tests/catalog/fixtures/organization/delete_organization_setting.yaml b/gooddata-sdk/tests/catalog/fixtures/organization/delete_organization_setting.yaml index 81245f522..f2fe0f5ef 100644 --- a/gooddata-sdk/tests/catalog/fixtures/organization/delete_organization_setting.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/organization/delete_organization_setting.yaml @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: @@ -237,7 +237,7 @@ interactions: to access it. status: 404 title: Not Found - traceId: 4564bb1fe02d2794 + traceId: 6f96115f8c9eb66c - request: method: GET uri: http://localhost:3000/api/v1/entities/organizationSettings?page=0&size=500 diff --git a/gooddata-sdk/tests/catalog/fixtures/organization/list_csp_directives.yaml b/gooddata-sdk/tests/catalog/fixtures/organization/list_csp_directives.yaml index 2b04e2f99..86ca42039 100644 --- a/gooddata-sdk/tests/catalog/fixtures/organization/list_csp_directives.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/organization/list_csp_directives.yaml @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: diff --git a/gooddata-sdk/tests/catalog/fixtures/organization/list_jwk.yaml b/gooddata-sdk/tests/catalog/fixtures/organization/list_jwk.yaml index 7c26c6826..0287cbbf2 100644 --- a/gooddata-sdk/tests/catalog/fixtures/organization/list_jwk.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/organization/list_jwk.yaml @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: @@ -79,7 +79,7 @@ interactions: to access it. status: 404 title: Not Found - traceId: c902d50f30c4d7cb + traceId: 50643ef3a1f787f2 - request: method: POST uri: http://localhost:3000/api/v1/entities/jwks @@ -262,7 +262,7 @@ interactions: to access it. status: 404 title: Not Found - traceId: 0bcd360c104edeb0 + traceId: bdb306e49a1440ce - request: method: POST uri: http://localhost:3000/api/v1/entities/jwks diff --git a/gooddata-sdk/tests/catalog/fixtures/organization/list_organization_settings.yaml b/gooddata-sdk/tests/catalog/fixtures/organization/list_organization_settings.yaml index a329c7659..4bc44f120 100644 --- a/gooddata-sdk/tests/catalog/fixtures/organization/list_organization_settings.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/organization/list_organization_settings.yaml @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: diff --git a/gooddata-sdk/tests/catalog/fixtures/organization/organization.yaml b/gooddata-sdk/tests/catalog/fixtures/organization/organization.yaml index 50c630cb3..9e5af4fd3 100644 --- a/gooddata-sdk/tests/catalog/fixtures/organization/organization.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/organization/organization.yaml @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: @@ -98,7 +98,7 @@ interactions: Connection: - keep-alive Content-Length: - - '255' + - '275' Content-Security-Policy: - 'default-src ''self'' *.wistia.com *.wistia.net; script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' *.wistia.com *.wistia.net *.hsforms.net *.hsforms.com @@ -150,6 +150,7 @@ interactions: attributes: name: Default Organization hostname: localhost - oauthClientId: a69fdb5a-efed-4a5b-a39d-774f4f256757 + allowedOrigins: [] + oauthClientId: 858c5858-c2cf-4e8b-bfde-e3e01086e909 links: self: http://localhost:3000/api/v1/entities/admin/organizations/default diff --git a/gooddata-sdk/tests/catalog/fixtures/organization/update_allowed_origins.yaml b/gooddata-sdk/tests/catalog/fixtures/organization/update_allowed_origins.yaml index 892a4d69e..10b59f026 100644 --- a/gooddata-sdk/tests/catalog/fixtures/organization/update_allowed_origins.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/organization/update_allowed_origins.yaml @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: @@ -98,7 +98,7 @@ interactions: Connection: - keep-alive Content-Length: - - '255' + - '275' Content-Security-Policy: - 'default-src ''self'' *.wistia.com *.wistia.net; script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' *.wistia.com *.wistia.net *.hsforms.net *.hsforms.com @@ -150,7 +150,8 @@ interactions: attributes: name: Default Organization hostname: localhost - oauthClientId: b0242aeb-fd5b-4e11-859c-f3d35f2522ec + allowedOrigins: [] + oauthClientId: 8e31e65d-514f-437f-85d0-ed6aa12a966e links: self: http://localhost:3000/api/v1/entities/admin/organizations/default - request: @@ -165,7 +166,7 @@ interactions: hostname: localhost allowedOrigins: - https://test.com - oauthClientId: b0242aeb-fd5b-4e11-859c-f3d35f2522ec + oauthClientId: 8e31e65d-514f-437f-85d0-ed6aa12a966e headers: Accept: - application/vnd.gooddata.api+json @@ -245,7 +246,7 @@ interactions: hostname: localhost allowedOrigins: - https://test.com - oauthClientId: b0242aeb-fd5b-4e11-859c-f3d35f2522ec + oauthClientId: 8e31e65d-514f-437f-85d0-ed6aa12a966e links: self: http://localhost:3000/api/v1/entities/admin/organizations/default - request: @@ -398,7 +399,7 @@ interactions: hostname: localhost allowedOrigins: - https://test.com - oauthClientId: b0242aeb-fd5b-4e11-859c-f3d35f2522ec + oauthClientId: 8e31e65d-514f-437f-85d0-ed6aa12a966e links: self: http://localhost:3000/api/v1/entities/admin/organizations/default - request: @@ -551,7 +552,7 @@ interactions: hostname: localhost allowedOrigins: - https://test.com - oauthClientId: b0242aeb-fd5b-4e11-859c-f3d35f2522ec + oauthClientId: 8e31e65d-514f-437f-85d0-ed6aa12a966e links: self: http://localhost:3000/api/v1/entities/admin/organizations/default - request: @@ -565,7 +566,7 @@ interactions: name: Default Organization hostname: localhost allowedOrigins: [] - oauthClientId: b0242aeb-fd5b-4e11-859c-f3d35f2522ec + oauthClientId: 8e31e65d-514f-437f-85d0-ed6aa12a966e headers: Accept: - application/vnd.gooddata.api+json @@ -644,7 +645,7 @@ interactions: name: Default Organization hostname: localhost allowedOrigins: [] - oauthClientId: b0242aeb-fd5b-4e11-859c-f3d35f2522ec + oauthClientId: 8e31e65d-514f-437f-85d0-ed6aa12a966e links: self: http://localhost:3000/api/v1/entities/admin/organizations/default - request: @@ -796,6 +797,6 @@ interactions: name: Default Organization hostname: localhost allowedOrigins: [] - oauthClientId: b0242aeb-fd5b-4e11-859c-f3d35f2522ec + oauthClientId: 8e31e65d-514f-437f-85d0-ed6aa12a966e links: self: http://localhost:3000/api/v1/entities/admin/organizations/default diff --git a/gooddata-sdk/tests/catalog/fixtures/organization/update_csp_directive.yaml b/gooddata-sdk/tests/catalog/fixtures/organization/update_csp_directive.yaml index 67a9e7321..6512c1a01 100644 --- a/gooddata-sdk/tests/catalog/fixtures/organization/update_csp_directive.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/organization/update_csp_directive.yaml @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: diff --git a/gooddata-sdk/tests/catalog/fixtures/organization/update_jwk.yaml b/gooddata-sdk/tests/catalog/fixtures/organization/update_jwk.yaml index 4ac22ae3b..9fe23be18 100644 --- a/gooddata-sdk/tests/catalog/fixtures/organization/update_jwk.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/organization/update_jwk.yaml @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: @@ -79,7 +79,7 @@ interactions: to access it. status: 404 title: Not Found - traceId: 6ca686937fa4281a + traceId: be8cfd29c8b0657b - request: method: POST uri: http://localhost:3000/api/v1/entities/jwks diff --git a/gooddata-sdk/tests/catalog/fixtures/organization/update_name.yaml b/gooddata-sdk/tests/catalog/fixtures/organization/update_name.yaml index 35caeda3b..98f7c2ba4 100644 --- a/gooddata-sdk/tests/catalog/fixtures/organization/update_name.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/organization/update_name.yaml @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: @@ -98,7 +98,7 @@ interactions: Connection: - keep-alive Content-Length: - - '255' + - '275' Content-Security-Policy: - 'default-src ''self'' *.wistia.com *.wistia.net; script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' *.wistia.com *.wistia.net *.hsforms.net *.hsforms.com @@ -150,7 +150,8 @@ interactions: attributes: name: Default Organization hostname: localhost - oauthClientId: b0242aeb-fd5b-4e11-859c-f3d35f2522ec + allowedOrigins: [] + oauthClientId: 8e31e65d-514f-437f-85d0-ed6aa12a966e links: self: http://localhost:3000/api/v1/entities/admin/organizations/default - request: @@ -249,7 +250,7 @@ interactions: Connection: - keep-alive Content-Length: - - '255' + - '275' Content-Security-Policy: - 'default-src ''self'' *.wistia.com *.wistia.net; script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' *.wistia.com *.wistia.net *.hsforms.net *.hsforms.com @@ -301,7 +302,8 @@ interactions: attributes: name: Default Organization hostname: localhost - oauthClientId: b0242aeb-fd5b-4e11-859c-f3d35f2522ec + allowedOrigins: [] + oauthClientId: 8e31e65d-514f-437f-85d0-ed6aa12a966e links: self: http://localhost:3000/api/v1/entities/admin/organizations/default - request: @@ -314,7 +316,8 @@ interactions: attributes: name: test_organization hostname: localhost - oauthClientId: b0242aeb-fd5b-4e11-859c-f3d35f2522ec + allowedOrigins: [] + oauthClientId: 8e31e65d-514f-437f-85d0-ed6aa12a966e headers: Accept: - application/vnd.gooddata.api+json @@ -340,7 +343,7 @@ interactions: Connection: - keep-alive Content-Length: - - '252' + - '272' Content-Security-Policy: - 'default-src ''self'' *.wistia.com *.wistia.net; script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' *.wistia.com *.wistia.net *.hsforms.net *.hsforms.com @@ -392,7 +395,8 @@ interactions: attributes: name: test_organization hostname: localhost - oauthClientId: b0242aeb-fd5b-4e11-859c-f3d35f2522ec + allowedOrigins: [] + oauthClientId: 8e31e65d-514f-437f-85d0-ed6aa12a966e links: self: http://localhost:3000/api/v1/entities/admin/organizations/default - request: @@ -491,7 +495,7 @@ interactions: Connection: - keep-alive Content-Length: - - '252' + - '272' Content-Security-Policy: - 'default-src ''self'' *.wistia.com *.wistia.net; script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' *.wistia.com *.wistia.net *.hsforms.net *.hsforms.com @@ -543,7 +547,8 @@ interactions: attributes: name: test_organization hostname: localhost - oauthClientId: b0242aeb-fd5b-4e11-859c-f3d35f2522ec + allowedOrigins: [] + oauthClientId: 8e31e65d-514f-437f-85d0-ed6aa12a966e links: self: http://localhost:3000/api/v1/entities/admin/organizations/default - request: @@ -642,7 +647,7 @@ interactions: Connection: - keep-alive Content-Length: - - '252' + - '272' Content-Security-Policy: - 'default-src ''self'' *.wistia.com *.wistia.net; script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' *.wistia.com *.wistia.net *.hsforms.net *.hsforms.com @@ -694,7 +699,8 @@ interactions: attributes: name: test_organization hostname: localhost - oauthClientId: b0242aeb-fd5b-4e11-859c-f3d35f2522ec + allowedOrigins: [] + oauthClientId: 8e31e65d-514f-437f-85d0-ed6aa12a966e links: self: http://localhost:3000/api/v1/entities/admin/organizations/default - request: @@ -707,7 +713,8 @@ interactions: attributes: name: Default Organization hostname: localhost - oauthClientId: b0242aeb-fd5b-4e11-859c-f3d35f2522ec + allowedOrigins: [] + oauthClientId: 8e31e65d-514f-437f-85d0-ed6aa12a966e headers: Accept: - application/vnd.gooddata.api+json @@ -733,7 +740,7 @@ interactions: Connection: - keep-alive Content-Length: - - '255' + - '275' Content-Security-Policy: - 'default-src ''self'' *.wistia.com *.wistia.net; script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' *.wistia.com *.wistia.net *.hsforms.net *.hsforms.com @@ -785,7 +792,8 @@ interactions: attributes: name: Default Organization hostname: localhost - oauthClientId: b0242aeb-fd5b-4e11-859c-f3d35f2522ec + allowedOrigins: [] + oauthClientId: 8e31e65d-514f-437f-85d0-ed6aa12a966e links: self: http://localhost:3000/api/v1/entities/admin/organizations/default - request: @@ -884,7 +892,7 @@ interactions: Connection: - keep-alive Content-Length: - - '255' + - '275' Content-Security-Policy: - 'default-src ''self'' *.wistia.com *.wistia.net; script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' *.wistia.com *.wistia.net *.hsforms.net *.hsforms.com @@ -936,6 +944,7 @@ interactions: attributes: name: Default Organization hostname: localhost - oauthClientId: b0242aeb-fd5b-4e11-859c-f3d35f2522ec + allowedOrigins: [] + oauthClientId: 8e31e65d-514f-437f-85d0-ed6aa12a966e 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 5610f6a09..72d963690 100644 --- a/gooddata-sdk/tests/catalog/fixtures/organization/update_oidc_settings.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/organization/update_oidc_settings.yaml @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: @@ -98,7 +98,7 @@ interactions: Connection: - keep-alive Content-Length: - - '255' + - '275' Content-Security-Policy: - 'default-src ''self'' *.wistia.com *.wistia.net; script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' *.wistia.com *.wistia.net *.hsforms.net *.hsforms.com @@ -150,7 +150,8 @@ interactions: attributes: name: Default Organization hostname: localhost - oauthClientId: a69fdb5a-efed-4a5b-a39d-774f4f256757 + allowedOrigins: [] + oauthClientId: 858c5858-c2cf-4e8b-bfde-e3e01086e909 links: self: http://localhost:3000/api/v1/entities/admin/organizations/default - request: @@ -249,7 +250,7 @@ interactions: Connection: - keep-alive Content-Length: - - '255' + - '275' Content-Security-Policy: - 'default-src ''self'' *.wistia.com *.wistia.net; script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' *.wistia.com *.wistia.net *.hsforms.net *.hsforms.com @@ -301,7 +302,8 @@ interactions: attributes: name: Default Organization hostname: localhost - oauthClientId: a69fdb5a-efed-4a5b-a39d-774f4f256757 + allowedOrigins: [] + oauthClientId: 858c5858-c2cf-4e8b-bfde-e3e01086e909 links: self: http://localhost:3000/api/v1/entities/admin/organizations/default - request: @@ -314,6 +316,7 @@ interactions: attributes: name: Default Organization hostname: localhost + allowedOrigins: [] oauthIssuerLocation: test.com oauthClientId: '123456' oauthClientSecret: password @@ -342,7 +345,7 @@ interactions: Connection: - keep-alive Content-Length: - - '258' + - '278' Content-Security-Policy: - 'default-src ''self'' *.wistia.com *.wistia.net; script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' *.wistia.com *.wistia.net *.hsforms.net *.hsforms.com @@ -394,6 +397,7 @@ interactions: attributes: name: Default Organization hostname: localhost + allowedOrigins: [] oauthIssuerLocation: test.com oauthClientId: '123456' links: @@ -494,7 +498,7 @@ interactions: Connection: - keep-alive Content-Length: - - '258' + - '278' Content-Security-Policy: - 'default-src ''self'' *.wistia.com *.wistia.net; script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' *.wistia.com *.wistia.net *.hsforms.net *.hsforms.com @@ -546,6 +550,7 @@ interactions: attributes: name: Default Organization hostname: localhost + allowedOrigins: [] oauthIssuerLocation: test.com oauthClientId: '123456' links: @@ -646,7 +651,7 @@ interactions: Connection: - keep-alive Content-Length: - - '258' + - '278' Content-Security-Policy: - 'default-src ''self'' *.wistia.com *.wistia.net; script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' *.wistia.com *.wistia.net *.hsforms.net *.hsforms.com @@ -698,6 +703,7 @@ interactions: attributes: name: Default Organization hostname: localhost + allowedOrigins: [] oauthIssuerLocation: test.com oauthClientId: '123456' links: @@ -712,6 +718,7 @@ interactions: attributes: name: Default Organization hostname: localhost + allowedOrigins: [] headers: Accept: - application/vnd.gooddata.api+json @@ -737,7 +744,7 @@ interactions: Connection: - keep-alive Content-Length: - - '255' + - '275' Content-Security-Policy: - 'default-src ''self'' *.wistia.com *.wistia.net; script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' *.wistia.com *.wistia.net *.hsforms.net *.hsforms.com @@ -789,7 +796,8 @@ interactions: attributes: name: Default Organization hostname: localhost - oauthClientId: b0242aeb-fd5b-4e11-859c-f3d35f2522ec + allowedOrigins: [] + oauthClientId: 8e31e65d-514f-437f-85d0-ed6aa12a966e links: self: http://localhost:3000/api/v1/entities/admin/organizations/default - request: @@ -888,7 +896,7 @@ interactions: Connection: - keep-alive Content-Length: - - '255' + - '275' Content-Security-Policy: - 'default-src ''self'' *.wistia.com *.wistia.net; script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' *.wistia.com *.wistia.net *.hsforms.net *.hsforms.com @@ -940,6 +948,7 @@ interactions: attributes: name: Default Organization hostname: localhost - oauthClientId: b0242aeb-fd5b-4e11-859c-f3d35f2522ec + allowedOrigins: [] + oauthClientId: 8e31e65d-514f-437f-85d0-ed6aa12a966e links: self: http://localhost:3000/api/v1/entities/admin/organizations/default diff --git a/gooddata-sdk/tests/catalog/fixtures/organization/update_organization_setting.yaml b/gooddata-sdk/tests/catalog/fixtures/organization/update_organization_setting.yaml index 9b94ec9a8..805180e6b 100644 --- a/gooddata-sdk/tests/catalog/fixtures/organization/update_organization_setting.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/organization/update_organization_setting.yaml @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: diff --git a/gooddata-sdk/tests/catalog/fixtures/permissions/get_declarative_permissions.yaml b/gooddata-sdk/tests/catalog/fixtures/permissions/get_declarative_permissions.yaml index 4fdb18bd5..31fd7877e 100644 --- a/gooddata-sdk/tests/catalog/fixtures/permissions/get_declarative_permissions.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/permissions/get_declarative_permissions.yaml @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: diff --git a/gooddata-sdk/tests/catalog/fixtures/permissions/list_available_assignees.yaml b/gooddata-sdk/tests/catalog/fixtures/permissions/list_available_assignees.yaml index cb86fd441..50f2e5ee2 100644 --- a/gooddata-sdk/tests/catalog/fixtures/permissions/list_available_assignees.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/permissions/list_available_assignees.yaml @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: @@ -78,8 +78,8 @@ interactions: body: string: userGroups: - - id: demoGroup - name: demo group - id: visitorsGroup name: visitors + - id: demoGroup + name: demo group users: [] diff --git a/gooddata-sdk/tests/catalog/fixtures/permissions/list_dashboard_permissions.yaml b/gooddata-sdk/tests/catalog/fixtures/permissions/list_dashboard_permissions.yaml index 38ae0d754..94d06cd64 100644 --- a/gooddata-sdk/tests/catalog/fixtures/permissions/list_dashboard_permissions.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/permissions/list_dashboard_permissions.yaml @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: diff --git a/gooddata-sdk/tests/catalog/fixtures/permissions/manage_dashboard_permissions_declarative_workspace.yaml b/gooddata-sdk/tests/catalog/fixtures/permissions/manage_dashboard_permissions_declarative_workspace.yaml index c71feb10e..b8e1b48db 100644 --- a/gooddata-sdk/tests/catalog/fixtures/permissions/manage_dashboard_permissions_declarative_workspace.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/permissions/manage_dashboard_permissions_declarative_workspace.yaml @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: @@ -239,7 +239,7 @@ interactions: X-XSS-Protection: - 1 ; mode=block content-length: - - '37029' + - '37194' body: string: analytics: @@ -292,7 +292,7 @@ interactions: drills: [] properties: {} version: '2' - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 11:34 createdBy: id: admin type: user @@ -339,7 +339,7 @@ interactions: type: dashboardPlugin version: '2' version: '2' - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 11:34 createdBy: id: admin type: user @@ -489,18 +489,19 @@ interactions: drills: [] properties: {} version: '2' - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 11:34 createdBy: id: admin type: user description: '' id: product_and_category title: Product & Category + attributeHierarchies: [] dashboardPlugins: - content: url: https://www.example.com version: '2' - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 11:34 createdBy: id: admin type: user @@ -510,7 +511,7 @@ interactions: - content: url: https://www.example.com version: '2' - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 11:34 createdBy: id: admin type: user @@ -559,7 +560,7 @@ interactions: - content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 11:34 createdBy: id: admin type: user @@ -568,7 +569,7 @@ interactions: - content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 11:34 createdBy: id: admin type: user @@ -578,7 +579,7 @@ interactions: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT {metric/revenue} BY {attribute/customer_id}) > 10000 ' - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 11:34 createdBy: id: admin type: user @@ -588,7 +589,7 @@ interactions: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} IN ("Returned", "Canceled")) - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 11:34 createdBy: id: admin type: user @@ -598,7 +599,7 @@ interactions: - content: format: $#,##0 maql: SELECT SUM({fact/spend}) - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 11:34 createdBy: id: admin type: user @@ -607,7 +608,7 @@ interactions: - content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 11:34 createdBy: id: admin type: user @@ -616,7 +617,7 @@ interactions: - content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 11:34 createdBy: id: admin type: user @@ -626,7 +627,7 @@ interactions: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ \ BY {attribute/customer_id}) > 0)\n /\n {metric/revenue}" - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 11:34 createdBy: id: admin type: user @@ -636,7 +637,7 @@ interactions: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ \ BY {attribute/customer_id}) > 0)\n /\n {metric/revenue}" - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 11:34 createdBy: id: admin type: user @@ -646,7 +647,7 @@ interactions: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ \ BY {attribute/product_id}) > 0)\n /\n {metric/revenue}" - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 11:34 createdBy: id: admin type: user @@ -656,7 +657,7 @@ interactions: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ \ BY {attribute/product_id}) > 0)\n /\n {metric/revenue}" - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 11:34 createdBy: id: admin type: user @@ -666,7 +667,7 @@ interactions: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, ALL OTHER) - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 11:34 createdBy: id: admin type: user @@ -676,7 +677,7 @@ interactions: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL {attribute/product_id}) - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 11:34 createdBy: id: admin type: user @@ -686,7 +687,7 @@ interactions: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} IN ("Returned", "Canceled")) - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 11:34 createdBy: id: admin type: user @@ -697,7 +698,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Clothing") - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 11:34 createdBy: id: admin type: user @@ -707,7 +708,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ( "Electronics") - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 11:34 createdBy: id: admin type: user @@ -717,7 +718,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Home") - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 11:34 createdBy: id: admin type: user @@ -727,7 +728,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Outdoor") - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 11:34 createdBy: id: admin type: user @@ -736,7 +737,7 @@ interactions: - content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 11:34 createdBy: id: admin type: user @@ -745,7 +746,7 @@ interactions: - content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 11:34 createdBy: id: admin type: user @@ -754,7 +755,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 11:34 createdBy: id: admin type: user @@ -763,7 +764,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 11:34 createdBy: id: admin type: user @@ -772,7 +773,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 11:34 createdBy: id: admin type: user @@ -781,7 +782,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 11:34 createdBy: id: admin type: user @@ -846,7 +847,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:treemap - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 11:34 createdBy: id: admin type: user @@ -922,7 +923,7 @@ interactions: rotation: auto version: '2' visualizationUrl: local:combo2 - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 11:34 createdBy: id: admin type: user @@ -1001,7 +1002,7 @@ interactions: direction: asc version: '2' visualizationUrl: local:table - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 11:34 createdBy: id: admin type: user @@ -1060,7 +1061,7 @@ interactions: stackMeasuresToPercent: true version: '2' visualizationUrl: local:area - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 11:34 createdBy: id: admin type: user @@ -1117,7 +1118,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:treemap - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 11:34 createdBy: id: admin type: user @@ -1170,7 +1171,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:donut - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 11:34 createdBy: id: admin type: user @@ -1245,7 +1246,7 @@ interactions: visible: false version: '2' visualizationUrl: local:column - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 11:34 createdBy: id: admin type: user @@ -1302,7 +1303,7 @@ interactions: enabled: true version: '2' visualizationUrl: local:scatter - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 11:34 createdBy: id: admin type: user @@ -1401,7 +1402,7 @@ interactions: direction: asc version: '2' visualizationUrl: local:table - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 11:34 createdBy: id: admin type: user @@ -1457,7 +1458,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:line - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 11:34 createdBy: id: admin type: user @@ -1496,7 +1497,7 @@ interactions: properties: {} version: '2' visualizationUrl: local:bar - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 11:34 createdBy: id: admin type: user @@ -1552,7 +1553,7 @@ interactions: min: '0' version: '2' visualizationUrl: local:scatter - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 11:34 createdBy: id: admin type: user @@ -1620,7 +1621,7 @@ interactions: rotation: auto version: '2' visualizationUrl: local:combo2 - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 11:34 createdBy: id: admin type: user @@ -1677,7 +1678,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:bar - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 11:34 createdBy: id: admin type: user @@ -1734,7 +1735,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:bar - createdAt: 2023-12-14 14:09 + createdAt: 2024-01-11 11:34 createdBy: id: admin type: user @@ -2051,11 +2052,21 @@ interactions: dateInstances: - description: '' granularities: + - 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 granularitiesFormatting: titleBase: '' titlePattern: '%titleBase - %granularityTitle' diff --git a/gooddata-sdk/tests/catalog/fixtures/permissions/manage_organization_permissions.yaml b/gooddata-sdk/tests/catalog/fixtures/permissions/manage_organization_permissions.yaml index 78df39cfd..99904e810 100644 --- a/gooddata-sdk/tests/catalog/fixtures/permissions/manage_organization_permissions.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/permissions/manage_organization_permissions.yaml @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: diff --git a/gooddata-sdk/tests/catalog/fixtures/permissions/put_declarative_organization_permissions.yaml b/gooddata-sdk/tests/catalog/fixtures/permissions/put_declarative_organization_permissions.yaml index da26b8cb6..8c7575895 100644 --- a/gooddata-sdk/tests/catalog/fixtures/permissions/put_declarative_organization_permissions.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/permissions/put_declarative_organization_permissions.yaml @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: diff --git a/gooddata-sdk/tests/catalog/fixtures/permissions/put_declarative_permissions.yaml b/gooddata-sdk/tests/catalog/fixtures/permissions/put_declarative_permissions.yaml index 719d3b86c..da8db8f94 100644 --- a/gooddata-sdk/tests/catalog/fixtures/permissions/put_declarative_permissions.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/permissions/put_declarative_permissions.yaml @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: 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 a848918be..f6c8e6df7 100644 --- a/gooddata-sdk/tests/catalog/fixtures/users/create_delete_user.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/users/create_delete_user.yaml @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: @@ -89,7 +89,7 @@ interactions: - id: demo type: user attributes: - authenticationId: CiRlZjExYjZiNC04ZDMyLTQ4OTItODNhNC1jMDNlNmJmZTE2NTESBWxvY2Fs + authenticationId: CiRiNGU4OTFkYy1iMWVjLTRkNjAtYWUwZC1kNGRhNjFjNDI2MzQSBWxvY2Fs relationships: userGroups: data: @@ -100,7 +100,7 @@ interactions: - id: demo2 type: user attributes: - authenticationId: CiQ1OTA1YjEyNy1mN2M5LTQ0ZjEtYmM5NS1kNmEyZjA3YTAzODgSBWxvY2Fs + authenticationId: CiRmNjdjZjVmZi0yOTMxLTRmZjQtOTVkYS01YmM1YzJmMGNkNjcSBWxvY2Fs relationships: userGroups: data: @@ -200,7 +200,7 @@ interactions: to access it. status: 404 title: Not Found - traceId: 3c857256c62115f7 + traceId: e9f69da527c5ae16 - request: method: POST uri: http://localhost:3000/api/v1/entities/users @@ -468,6 +468,20 @@ interactions: body: string: data: + - id: newUser + type: user + attributes: + authenticationId: newUser_auth_id + firstname: john + lastname: doe + email: john.doe@email.com + relationships: + userGroups: + data: + - id: demoGroup + type: userGroup + links: + self: http://localhost:3000/api/v1/entities/users/newUser - id: admin type: user attributes: {} @@ -481,7 +495,7 @@ interactions: - id: demo type: user attributes: - authenticationId: CiRlZjExYjZiNC04ZDMyLTQ4OTItODNhNC1jMDNlNmJmZTE2NTESBWxvY2Fs + authenticationId: CiRiNGU4OTFkYy1iMWVjLTRkNjAtYWUwZC1kNGRhNjFjNDI2MzQSBWxvY2Fs relationships: userGroups: data: @@ -492,7 +506,7 @@ interactions: - id: demo2 type: user attributes: - authenticationId: CiQ1OTA1YjEyNy1mN2M5LTQ0ZjEtYmM5NS1kNmEyZjA3YTAzODgSBWxvY2Fs + authenticationId: CiRmNjdjZjVmZi0yOTMxLTRmZjQtOTVkYS01YmM1YzJmMGNkNjcSBWxvY2Fs relationships: userGroups: data: @@ -500,20 +514,6 @@ interactions: type: userGroup links: self: http://localhost:3000/api/v1/entities/users/demo2 - - id: newUser - type: user - attributes: - authenticationId: newUser_auth_id - firstname: john - lastname: doe - email: john.doe@email.com - relationships: - userGroups: - data: - - id: demoGroup - type: userGroup - links: - self: http://localhost:3000/api/v1/entities/users/newUser included: - id: adminGroup type: userGroup @@ -683,7 +683,7 @@ interactions: - id: demo type: user attributes: - authenticationId: CiRlZjExYjZiNC04ZDMyLTQ4OTItODNhNC1jMDNlNmJmZTE2NTESBWxvY2Fs + authenticationId: CiRiNGU4OTFkYy1iMWVjLTRkNjAtYWUwZC1kNGRhNjFjNDI2MzQSBWxvY2Fs relationships: userGroups: data: @@ -694,7 +694,7 @@ interactions: - id: demo2 type: user attributes: - authenticationId: CiQ1OTA1YjEyNy1mN2M5LTQ0ZjEtYmM5NS1kNmEyZjA3YTAzODgSBWxvY2Fs + authenticationId: CiRmNjdjZjVmZi0yOTMxLTRmZjQtOTVkYS01YmM1YzJmMGNkNjcSBWxvY2Fs relationships: userGroups: data: 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 98cd14f78..0ea0b0835 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 @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: @@ -200,7 +200,7 @@ interactions: to access it. status: 404 title: Not Found - traceId: 3c75f1a6bf7d4952 + traceId: ccfe80c33cd4794a - request: method: POST uri: http://localhost:3000/api/v1/entities/userGroups @@ -459,6 +459,17 @@ interactions: body: string: data: + - id: newUserGroup + type: userGroup + attributes: + name: NEWUSERGROUP + relationships: + parents: + data: + - id: demoGroup + type: userGroup + links: + self: http://localhost:3000/api/v1/entities/userGroups/newUserGroup - id: adminGroup type: userGroup attributes: {} @@ -480,17 +491,6 @@ interactions: name: demo group links: self: http://localhost:3000/api/v1/entities/userGroups/demoGroup - - id: newUserGroup - type: userGroup - attributes: - name: NEWUSERGROUP - relationships: - parents: - data: - - id: demoGroup - type: userGroup - links: - self: http://localhost:3000/api/v1/entities/userGroups/newUserGroup - id: visitorsGroup type: userGroup attributes: diff --git a/gooddata-sdk/tests/catalog/fixtures/users/get_declarative_user_groups.yaml b/gooddata-sdk/tests/catalog/fixtures/users/get_declarative_user_groups.yaml index 9357d0f98..c5a9e29ed 100644 --- a/gooddata-sdk/tests/catalog/fixtures/users/get_declarative_user_groups.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/users/get_declarative_user_groups.yaml @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: diff --git a/gooddata-sdk/tests/catalog/fixtures/users/get_declarative_users.yaml b/gooddata-sdk/tests/catalog/fixtures/users/get_declarative_users.yaml index facf325e7..e7fe36d30 100644 --- a/gooddata-sdk/tests/catalog/fixtures/users/get_declarative_users.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/users/get_declarative_users.yaml @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: @@ -84,14 +84,14 @@ interactions: userGroups: - id: adminGroup type: userGroup - - authId: CiRlZjExYjZiNC04ZDMyLTQ4OTItODNhNC1jMDNlNmJmZTE2NTESBWxvY2Fs + - authId: CiRiNGU4OTFkYy1iMWVjLTRkNjAtYWUwZC1kNGRhNjFjNDI2MzQSBWxvY2Fs id: demo permissions: [] settings: [] userGroups: - id: adminGroup type: userGroup - - authId: CiQ1OTA1YjEyNy1mN2M5LTQ0ZjEtYmM5NS1kNmEyZjA3YTAzODgSBWxvY2Fs + - authId: CiRmNjdjZjVmZi0yOTMxLTRmZjQtOTVkYS01YmM1YzJmMGNkNjcSBWxvY2Fs id: demo2 permissions: [] settings: [] @@ -180,14 +180,14 @@ interactions: userGroups: - id: adminGroup type: userGroup - - authId: CiRlZjExYjZiNC04ZDMyLTQ4OTItODNhNC1jMDNlNmJmZTE2NTESBWxvY2Fs + - authId: CiRiNGU4OTFkYy1iMWVjLTRkNjAtYWUwZC1kNGRhNjFjNDI2MzQSBWxvY2Fs id: demo permissions: [] settings: [] userGroups: - id: adminGroup type: userGroup - - authId: CiQ1OTA1YjEyNy1mN2M5LTQ0ZjEtYmM5NS1kNmEyZjA3YTAzODgSBWxvY2Fs + - authId: CiRmNjdjZjVmZi0yOTMxLTRmZjQtOTVkYS01YmM1YzJmMGNkNjcSBWxvY2Fs id: demo2 permissions: [] settings: [] diff --git a/gooddata-sdk/tests/catalog/fixtures/users/get_declarative_users_user_groups.yaml b/gooddata-sdk/tests/catalog/fixtures/users/get_declarative_users_user_groups.yaml index 4303f8bd0..89704e732 100644 --- a/gooddata-sdk/tests/catalog/fixtures/users/get_declarative_users_user_groups.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/users/get_declarative_users_user_groups.yaml @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: @@ -101,14 +101,14 @@ interactions: userGroups: - id: adminGroup type: userGroup - - authId: CiRlZjExYjZiNC04ZDMyLTQ4OTItODNhNC1jMDNlNmJmZTE2NTESBWxvY2Fs + - authId: CiRiNGU4OTFkYy1iMWVjLTRkNjAtYWUwZC1kNGRhNjFjNDI2MzQSBWxvY2Fs id: demo permissions: [] settings: [] userGroups: - id: adminGroup type: userGroup - - authId: CiQ1OTA1YjEyNy1mN2M5LTQ0ZjEtYmM5NS1kNmEyZjA3YTAzODgSBWxvY2Fs + - authId: CiRmNjdjZjVmZi0yOTMxLTRmZjQtOTVkYS01YmM1YzJmMGNkNjcSBWxvY2Fs id: demo2 permissions: [] settings: [] @@ -214,14 +214,14 @@ interactions: userGroups: - id: adminGroup type: userGroup - - authId: CiRlZjExYjZiNC04ZDMyLTQ4OTItODNhNC1jMDNlNmJmZTE2NTESBWxvY2Fs + - authId: CiRiNGU4OTFkYy1iMWVjLTRkNjAtYWUwZC1kNGRhNjFjNDI2MzQSBWxvY2Fs id: demo permissions: [] settings: [] userGroups: - id: adminGroup type: userGroup - - authId: CiQ1OTA1YjEyNy1mN2M5LTQ0ZjEtYmM5NS1kNmEyZjA3YTAzODgSBWxvY2Fs + - authId: CiRmNjdjZjVmZi0yOTMxLTRmZjQtOTVkYS01YmM1YzJmMGNkNjcSBWxvY2Fs id: demo2 permissions: [] settings: [] diff --git a/gooddata-sdk/tests/catalog/fixtures/users/get_user.yaml b/gooddata-sdk/tests/catalog/fixtures/users/get_user.yaml index 8b78643c3..d53887f46 100644 --- a/gooddata-sdk/tests/catalog/fixtures/users/get_user.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/users/get_user.yaml @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: @@ -79,7 +79,7 @@ interactions: id: demo2 type: user attributes: - authenticationId: CiQ1OTA1YjEyNy1mN2M5LTQ0ZjEtYmM5NS1kNmEyZjA3YTAzODgSBWxvY2Fs + authenticationId: CiRmNjdjZjVmZi0yOTMxLTRmZjQtOTVkYS01YmM1YzJmMGNkNjcSBWxvY2Fs relationships: userGroups: data: diff --git a/gooddata-sdk/tests/catalog/fixtures/users/get_user_group.yaml b/gooddata-sdk/tests/catalog/fixtures/users/get_user_group.yaml index a66d48573..cfcfa088a 100644 --- a/gooddata-sdk/tests/catalog/fixtures/users/get_user_group.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/users/get_user_group.yaml @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: diff --git a/gooddata-sdk/tests/catalog/fixtures/users/list_user_groups.yaml b/gooddata-sdk/tests/catalog/fixtures/users/list_user_groups.yaml index 1fe35dad8..3829a42fa 100644 --- a/gooddata-sdk/tests/catalog/fixtures/users/list_user_groups.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/users/list_user_groups.yaml @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: diff --git a/gooddata-sdk/tests/catalog/fixtures/users/list_users.yaml b/gooddata-sdk/tests/catalog/fixtures/users/list_users.yaml index 666be5a63..cc6aa2349 100644 --- a/gooddata-sdk/tests/catalog/fixtures/users/list_users.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/users/list_users.yaml @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: @@ -89,7 +89,7 @@ interactions: - id: demo type: user attributes: - authenticationId: CiRlZjExYjZiNC04ZDMyLTQ4OTItODNhNC1jMDNlNmJmZTE2NTESBWxvY2Fs + authenticationId: CiRiNGU4OTFkYy1iMWVjLTRkNjAtYWUwZC1kNGRhNjFjNDI2MzQSBWxvY2Fs relationships: userGroups: data: @@ -100,7 +100,7 @@ interactions: - id: demo2 type: user attributes: - authenticationId: CiQ1OTA1YjEyNy1mN2M5LTQ0ZjEtYmM5NS1kNmEyZjA3YTAzODgSBWxvY2Fs + authenticationId: CiRmNjdjZjVmZi0yOTMxLTRmZjQtOTVkYS01YmM1YzJmMGNkNjcSBWxvY2Fs relationships: userGroups: data: 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 557d6213e..506175499 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 @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: @@ -84,14 +84,14 @@ interactions: userGroups: - id: adminGroup type: userGroup - - authId: CiRlZjExYjZiNC04ZDMyLTQ4OTItODNhNC1jMDNlNmJmZTE2NTESBWxvY2Fs + - authId: CiRiNGU4OTFkYy1iMWVjLTRkNjAtYWUwZC1kNGRhNjFjNDI2MzQSBWxvY2Fs id: demo permissions: [] settings: [] userGroups: - id: adminGroup type: userGroup - - authId: CiQ1OTA1YjEyNy1mN2M5LTQ0ZjEtYmM5NS1kNmEyZjA3YTAzODgSBWxvY2Fs + - authId: CiRmNjdjZjVmZi0yOTMxLTRmZjQtOTVkYS01YmM1YzJmMGNkNjcSBWxvY2Fs id: demo2 permissions: [] settings: [] @@ -264,38 +264,38 @@ interactions: body: string: data: - - id: admin + - id: demo2 type: user - attributes: {} + attributes: + authenticationId: CiRmNjdjZjVmZi0yOTMxLTRmZjQtOTVkYS01YmM1YzJmMGNkNjcSBWxvY2Fs relationships: userGroups: data: - - id: adminGroup + - id: demoGroup type: userGroup links: - self: http://localhost:3000/api/v1/entities/users/admin - - id: demo + self: http://localhost:3000/api/v1/entities/users/demo2 + - id: admin type: user - attributes: - authenticationId: CiRlZjExYjZiNC04ZDMyLTQ4OTItODNhNC1jMDNlNmJmZTE2NTESBWxvY2Fs + attributes: {} relationships: userGroups: data: - id: adminGroup type: userGroup links: - self: http://localhost:3000/api/v1/entities/users/demo - - id: demo2 + self: http://localhost:3000/api/v1/entities/users/admin + - id: demo type: user attributes: - authenticationId: CiQ1OTA1YjEyNy1mN2M5LTQ0ZjEtYmM5NS1kNmEyZjA3YTAzODgSBWxvY2Fs + authenticationId: CiRiNGU4OTFkYy1iMWVjLTRkNjAtYWUwZC1kNGRhNjFjNDI2MzQSBWxvY2Fs relationships: userGroups: data: - - id: demoGroup + - id: adminGroup type: userGroup links: - self: http://localhost:3000/api/v1/entities/users/demo2 + self: http://localhost:3000/api/v1/entities/users/demo included: - id: adminGroup type: userGroup @@ -599,7 +599,7 @@ interactions: name: Default Organization hostname: localhost allowedOrigins: [] - oauthClientId: b0242aeb-fd5b-4e11-859c-f3d35f2522ec + oauthClientId: 8e31e65d-514f-437f-85d0-ed6aa12a966e links: self: http://localhost:3000/api/v1/entities/admin/organizations/default - request: @@ -878,14 +878,14 @@ interactions: settings: [] permissions: [] - id: demo - authId: CiRlZjExYjZiNC04ZDMyLTQ4OTItODNhNC1jMDNlNmJmZTE2NTESBWxvY2Fs + authId: CiRiNGU4OTFkYy1iMWVjLTRkNjAtYWUwZC1kNGRhNjFjNDI2MzQSBWxvY2Fs userGroups: - id: adminGroup type: userGroup settings: [] permissions: [] - id: demo2 - authId: CiQ1OTA1YjEyNy1mN2M5LTQ0ZjEtYmM5NS1kNmEyZjA3YTAzODgSBWxvY2Fs + authId: CiRmNjdjZjVmZi0yOTMxLTRmZjQtOTVkYS01YmM1YzJmMGNkNjcSBWxvY2Fs userGroups: - id: demoGroup type: userGroup 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 14ef31422..08a2ed90d 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 @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: @@ -84,14 +84,14 @@ interactions: userGroups: - id: adminGroup type: userGroup - - authId: CiRlZjExYjZiNC04ZDMyLTQ4OTItODNhNC1jMDNlNmJmZTE2NTESBWxvY2Fs + - authId: CiRiNGU4OTFkYy1iMWVjLTRkNjAtYWUwZC1kNGRhNjFjNDI2MzQSBWxvY2Fs id: demo permissions: [] settings: [] userGroups: - id: adminGroup type: userGroup - - authId: CiQ1OTA1YjEyNy1mN2M5LTQ0ZjEtYmM5NS1kNmEyZjA3YTAzODgSBWxvY2Fs + - authId: CiRmNjdjZjVmZi0yOTMxLTRmZjQtOTVkYS01YmM1YzJmMGNkNjcSBWxvY2Fs id: demo2 permissions: [] settings: [] @@ -185,7 +185,7 @@ interactions: - id: demo type: user attributes: - authenticationId: CiRlZjExYjZiNC04ZDMyLTQ4OTItODNhNC1jMDNlNmJmZTE2NTESBWxvY2Fs + authenticationId: CiRiNGU4OTFkYy1iMWVjLTRkNjAtYWUwZC1kNGRhNjFjNDI2MzQSBWxvY2Fs relationships: userGroups: data: @@ -196,7 +196,7 @@ interactions: - id: demo2 type: user attributes: - authenticationId: CiQ1OTA1YjEyNy1mN2M5LTQ0ZjEtYmM5NS1kNmEyZjA3YTAzODgSBWxvY2Fs + authenticationId: CiRmNjdjZjVmZi0yOTMxLTRmZjQtOTVkYS01YmM1YzJmMGNkNjcSBWxvY2Fs relationships: userGroups: data: @@ -435,7 +435,7 @@ interactions: name: Default Organization hostname: localhost allowedOrigins: [] - oauthClientId: b0242aeb-fd5b-4e11-859c-f3d35f2522ec + oauthClientId: 8e31e65d-514f-437f-85d0-ed6aa12a966e links: self: http://localhost:3000/api/v1/entities/admin/organizations/default - request: @@ -636,14 +636,14 @@ interactions: settings: [] permissions: [] - id: demo - authId: CiRlZjExYjZiNC04ZDMyLTQ4OTItODNhNC1jMDNlNmJmZTE2NTESBWxvY2Fs + authId: CiRiNGU4OTFkYy1iMWVjLTRkNjAtYWUwZC1kNGRhNjFjNDI2MzQSBWxvY2Fs userGroups: - id: adminGroup type: userGroup settings: [] permissions: [] - id: demo2 - authId: CiQ1OTA1YjEyNy1mN2M5LTQ0ZjEtYmM5NS1kNmEyZjA3YTAzODgSBWxvY2Fs + authId: CiRmNjdjZjVmZi0yOTMxLTRmZjQtOTVkYS01YmM1YzJmMGNkNjcSBWxvY2Fs userGroups: - id: demoGroup type: userGroup 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 7a2d18665..d6fc95d8f 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 @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: @@ -101,14 +101,14 @@ interactions: userGroups: - id: adminGroup type: userGroup - - authId: CiRlZjExYjZiNC04ZDMyLTQ4OTItODNhNC1jMDNlNmJmZTE2NTESBWxvY2Fs + - authId: CiRiNGU4OTFkYy1iMWVjLTRkNjAtYWUwZC1kNGRhNjFjNDI2MzQSBWxvY2Fs id: demo permissions: [] settings: [] userGroups: - id: adminGroup type: userGroup - - authId: CiQ1OTA1YjEyNy1mN2M5LTQ0ZjEtYmM5NS1kNmEyZjA3YTAzODgSBWxvY2Fs + - authId: CiRmNjdjZjVmZi0yOTMxLTRmZjQtOTVkYS01YmM1YzJmMGNkNjcSBWxvY2Fs id: demo2 permissions: [] settings: [] @@ -202,7 +202,7 @@ interactions: - id: demo type: user attributes: - authenticationId: CiRlZjExYjZiNC04ZDMyLTQ4OTItODNhNC1jMDNlNmJmZTE2NTESBWxvY2Fs + authenticationId: CiRiNGU4OTFkYy1iMWVjLTRkNjAtYWUwZC1kNGRhNjFjNDI2MzQSBWxvY2Fs relationships: userGroups: data: @@ -213,7 +213,7 @@ interactions: - id: demo2 type: user attributes: - authenticationId: CiQ1OTA1YjEyNy1mN2M5LTQ0ZjEtYmM5NS1kNmEyZjA3YTAzODgSBWxvY2Fs + authenticationId: CiRmNjdjZjVmZi0yOTMxLTRmZjQtOTVkYS01YmM1YzJmMGNkNjcSBWxvY2Fs relationships: userGroups: data: @@ -524,7 +524,7 @@ interactions: name: Default Organization hostname: localhost allowedOrigins: [] - oauthClientId: b0242aeb-fd5b-4e11-859c-f3d35f2522ec + oauthClientId: 8e31e65d-514f-437f-85d0-ed6aa12a966e links: self: http://localhost:3000/api/v1/entities/admin/organizations/default - request: @@ -776,14 +776,14 @@ interactions: settings: [] permissions: [] - id: demo - authId: CiRlZjExYjZiNC04ZDMyLTQ4OTItODNhNC1jMDNlNmJmZTE2NTESBWxvY2Fs + authId: CiRiNGU4OTFkYy1iMWVjLTRkNjAtYWUwZC1kNGRhNjFjNDI2MzQSBWxvY2Fs userGroups: - id: adminGroup type: userGroup settings: [] permissions: [] - id: demo2 - authId: CiQ1OTA1YjEyNy1mN2M5LTQ0ZjEtYmM5NS1kNmEyZjA3YTAzODgSBWxvY2Fs + authId: CiRmNjdjZjVmZi0yOTMxLTRmZjQtOTVkYS01YmM1YzJmMGNkNjcSBWxvY2Fs userGroups: - id: demoGroup type: userGroup diff --git a/gooddata-sdk/tests/catalog/fixtures/users/put_declarative_user_groups.yaml b/gooddata-sdk/tests/catalog/fixtures/users/put_declarative_user_groups.yaml index ea05b3d40..8e23ecae0 100644 --- a/gooddata-sdk/tests/catalog/fixtures/users/put_declarative_user_groups.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/users/put_declarative_user_groups.yaml @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: @@ -176,14 +176,14 @@ interactions: userGroups: - id: adminGroup type: userGroup - - authId: CiRlZjExYjZiNC04ZDMyLTQ4OTItODNhNC1jMDNlNmJmZTE2NTESBWxvY2Fs + - authId: CiRiNGU4OTFkYy1iMWVjLTRkNjAtYWUwZC1kNGRhNjFjNDI2MzQSBWxvY2Fs id: demo permissions: [] settings: [] userGroups: - id: adminGroup type: userGroup - - authId: CiQ1OTA1YjEyNy1mN2M5LTQ0ZjEtYmM5NS1kNmEyZjA3YTAzODgSBWxvY2Fs + - authId: CiRmNjdjZjVmZi0yOTMxLTRmZjQtOTVkYS01YmM1YzJmMGNkNjcSBWxvY2Fs id: demo2 permissions: [] settings: [] @@ -277,7 +277,7 @@ interactions: - id: demo type: user attributes: - authenticationId: CiRlZjExYjZiNC04ZDMyLTQ4OTItODNhNC1jMDNlNmJmZTE2NTESBWxvY2Fs + authenticationId: CiRiNGU4OTFkYy1iMWVjLTRkNjAtYWUwZC1kNGRhNjFjNDI2MzQSBWxvY2Fs relationships: userGroups: data: @@ -288,7 +288,7 @@ interactions: - id: demo2 type: user attributes: - authenticationId: CiQ1OTA1YjEyNy1mN2M5LTQ0ZjEtYmM5NS1kNmEyZjA3YTAzODgSBWxvY2Fs + authenticationId: CiRmNjdjZjVmZi0yOTMxLTRmZjQtOTVkYS01YmM1YzJmMGNkNjcSBWxvY2Fs relationships: userGroups: data: @@ -726,14 +726,14 @@ interactions: settings: [] permissions: [] - id: demo - authId: CiRlZjExYjZiNC04ZDMyLTQ4OTItODNhNC1jMDNlNmJmZTE2NTESBWxvY2Fs + authId: CiRiNGU4OTFkYy1iMWVjLTRkNjAtYWUwZC1kNGRhNjFjNDI2MzQSBWxvY2Fs userGroups: - id: adminGroup type: userGroup settings: [] permissions: [] - id: demo2 - authId: CiQ1OTA1YjEyNy1mN2M5LTQ0ZjEtYmM5NS1kNmEyZjA3YTAzODgSBWxvY2Fs + authId: CiRmNjdjZjVmZi0yOTMxLTRmZjQtOTVkYS01YmM1YzJmMGNkNjcSBWxvY2Fs userGroups: - id: demoGroup type: userGroup 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 334ad92d5..0b720f41b 100644 --- a/gooddata-sdk/tests/catalog/fixtures/users/put_declarative_users.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/users/put_declarative_users.yaml @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: @@ -84,14 +84,14 @@ interactions: userGroups: - id: adminGroup type: userGroup - - authId: CiRlZjExYjZiNC04ZDMyLTQ4OTItODNhNC1jMDNlNmJmZTE2NTESBWxvY2Fs + - authId: CiRiNGU4OTFkYy1iMWVjLTRkNjAtYWUwZC1kNGRhNjFjNDI2MzQSBWxvY2Fs id: demo permissions: [] settings: [] userGroups: - id: adminGroup type: userGroup - - authId: CiQ1OTA1YjEyNy1mN2M5LTQ0ZjEtYmM5NS1kNmEyZjA3YTAzODgSBWxvY2Fs + - authId: CiRmNjdjZjVmZi0yOTMxLTRmZjQtOTVkYS01YmM1YzJmMGNkNjcSBWxvY2Fs id: demo2 permissions: [] settings: [] @@ -172,38 +172,38 @@ interactions: body: string: data: - - id: admin + - id: demo2 type: user - attributes: {} + attributes: + authenticationId: CiRmNjdjZjVmZi0yOTMxLTRmZjQtOTVkYS01YmM1YzJmMGNkNjcSBWxvY2Fs relationships: userGroups: data: - - id: adminGroup + - id: demoGroup type: userGroup links: - self: http://localhost:3000/api/v1/entities/users/admin - - id: demo + self: http://localhost:3000/api/v1/entities/users/demo2 + - id: admin type: user - attributes: - authenticationId: CiRlZjExYjZiNC04ZDMyLTQ4OTItODNhNC1jMDNlNmJmZTE2NTESBWxvY2Fs + attributes: {} relationships: userGroups: data: - id: adminGroup type: userGroup links: - self: http://localhost:3000/api/v1/entities/users/demo - - id: demo2 + self: http://localhost:3000/api/v1/entities/users/admin + - id: demo type: user attributes: - authenticationId: CiQ1OTA1YjEyNy1mN2M5LTQ0ZjEtYmM5NS1kNmEyZjA3YTAzODgSBWxvY2Fs + authenticationId: CiRiNGU4OTFkYy1iMWVjLTRkNjAtYWUwZC1kNGRhNjFjNDI2MzQSBWxvY2Fs relationships: userGroups: data: - - id: demoGroup + - id: adminGroup type: userGroup links: - self: http://localhost:3000/api/v1/entities/users/demo2 + self: http://localhost:3000/api/v1/entities/users/demo included: - id: adminGroup type: userGroup @@ -298,14 +298,14 @@ interactions: settings: [] permissions: [] - id: demo - authId: CiRlZjExYjZiNC04ZDMyLTQ4OTItODNhNC1jMDNlNmJmZTE2NTESBWxvY2Fs + authId: CiRiNGU4OTFkYy1iMWVjLTRkNjAtYWUwZC1kNGRhNjFjNDI2MzQSBWxvY2Fs userGroups: - id: adminGroup type: userGroup settings: [] permissions: [] - id: demo2 - authId: CiQ1OTA1YjEyNy1mN2M5LTQ0ZjEtYmM5NS1kNmEyZjA3YTAzODgSBWxvY2Fs + authId: CiRmNjdjZjVmZi0yOTMxLTRmZjQtOTVkYS01YmM1YzJmMGNkNjcSBWxvY2Fs userGroups: - id: demoGroup type: userGroup @@ -458,14 +458,14 @@ interactions: userGroups: - id: adminGroup type: userGroup - - authId: CiRlZjExYjZiNC04ZDMyLTQ4OTItODNhNC1jMDNlNmJmZTE2NTESBWxvY2Fs + - authId: CiRiNGU4OTFkYy1iMWVjLTRkNjAtYWUwZC1kNGRhNjFjNDI2MzQSBWxvY2Fs id: demo permissions: [] settings: [] userGroups: - id: adminGroup type: userGroup - - authId: CiQ1OTA1YjEyNy1mN2M5LTQ0ZjEtYmM5NS1kNmEyZjA3YTAzODgSBWxvY2Fs + - authId: CiRmNjdjZjVmZi0yOTMxLTRmZjQtOTVkYS01YmM1YzJmMGNkNjcSBWxvY2Fs id: demo2 permissions: [] settings: [] @@ -484,14 +484,14 @@ interactions: settings: [] permissions: [] - id: demo - authId: CiRlZjExYjZiNC04ZDMyLTQ4OTItODNhNC1jMDNlNmJmZTE2NTESBWxvY2Fs + authId: CiRiNGU4OTFkYy1iMWVjLTRkNjAtYWUwZC1kNGRhNjFjNDI2MzQSBWxvY2Fs userGroups: - id: adminGroup type: userGroup settings: [] permissions: [] - id: demo2 - authId: CiQ1OTA1YjEyNy1mN2M5LTQ0ZjEtYmM5NS1kNmEyZjA3YTAzODgSBWxvY2Fs + authId: CiRmNjdjZjVmZi0yOTMxLTRmZjQtOTVkYS01YmM1YzJmMGNkNjcSBWxvY2Fs userGroups: - id: demoGroup type: userGroup diff --git a/gooddata-sdk/tests/catalog/fixtures/users/put_declarative_users_user_groups.yaml b/gooddata-sdk/tests/catalog/fixtures/users/put_declarative_users_user_groups.yaml index 49d957f75..00e775bed 100644 --- a/gooddata-sdk/tests/catalog/fixtures/users/put_declarative_users_user_groups.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/users/put_declarative_users_user_groups.yaml @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: @@ -101,14 +101,14 @@ interactions: userGroups: - id: adminGroup type: userGroup - - authId: CiRlZjExYjZiNC04ZDMyLTQ4OTItODNhNC1jMDNlNmJmZTE2NTESBWxvY2Fs + - authId: CiRiNGU4OTFkYy1iMWVjLTRkNjAtYWUwZC1kNGRhNjFjNDI2MzQSBWxvY2Fs id: demo permissions: [] settings: [] userGroups: - id: adminGroup type: userGroup - - authId: CiQ1OTA1YjEyNy1mN2M5LTQ0ZjEtYmM5NS1kNmEyZjA3YTAzODgSBWxvY2Fs + - authId: CiRmNjdjZjVmZi0yOTMxLTRmZjQtOTVkYS01YmM1YzJmMGNkNjcSBWxvY2Fs id: demo2 permissions: [] settings: [] @@ -189,38 +189,38 @@ interactions: body: string: data: - - id: admin + - id: demo2 type: user - attributes: {} + attributes: + authenticationId: CiRmNjdjZjVmZi0yOTMxLTRmZjQtOTVkYS01YmM1YzJmMGNkNjcSBWxvY2Fs relationships: userGroups: data: - - id: adminGroup + - id: demoGroup type: userGroup links: - self: http://localhost:3000/api/v1/entities/users/admin - - id: demo + self: http://localhost:3000/api/v1/entities/users/demo2 + - id: admin type: user - attributes: - authenticationId: CiRlZjExYjZiNC04ZDMyLTQ4OTItODNhNC1jMDNlNmJmZTE2NTESBWxvY2Fs + attributes: {} relationships: userGroups: data: - id: adminGroup type: userGroup links: - self: http://localhost:3000/api/v1/entities/users/demo - - id: demo2 + self: http://localhost:3000/api/v1/entities/users/admin + - id: demo type: user attributes: - authenticationId: CiQ1OTA1YjEyNy1mN2M5LTQ0ZjEtYmM5NS1kNmEyZjA3YTAzODgSBWxvY2Fs + authenticationId: CiRiNGU4OTFkYy1iMWVjLTRkNjAtYWUwZC1kNGRhNjFjNDI2MzQSBWxvY2Fs relationships: userGroups: data: - - id: demoGroup + - id: adminGroup type: userGroup links: - self: http://localhost:3000/api/v1/entities/users/demo2 + self: http://localhost:3000/api/v1/entities/users/demo included: - id: adminGroup type: userGroup @@ -404,14 +404,14 @@ interactions: settings: [] permissions: [] - id: demo - authId: CiRlZjExYjZiNC04ZDMyLTQ4OTItODNhNC1jMDNlNmJmZTE2NTESBWxvY2Fs + authId: CiRiNGU4OTFkYy1iMWVjLTRkNjAtYWUwZC1kNGRhNjFjNDI2MzQSBWxvY2Fs userGroups: - id: adminGroup type: userGroup settings: [] permissions: [] - id: demo2 - authId: CiQ1OTA1YjEyNy1mN2M5LTQ0ZjEtYmM5NS1kNmEyZjA3YTAzODgSBWxvY2Fs + authId: CiRmNjdjZjVmZi0yOTMxLTRmZjQtOTVkYS01YmM1YzJmMGNkNjcSBWxvY2Fs userGroups: - id: demoGroup type: userGroup @@ -581,14 +581,14 @@ interactions: userGroups: - id: adminGroup type: userGroup - - authId: CiRlZjExYjZiNC04ZDMyLTQ4OTItODNhNC1jMDNlNmJmZTE2NTESBWxvY2Fs + - authId: CiRiNGU4OTFkYy1iMWVjLTRkNjAtYWUwZC1kNGRhNjFjNDI2MzQSBWxvY2Fs id: demo permissions: [] settings: [] userGroups: - id: adminGroup type: userGroup - - authId: CiQ1OTA1YjEyNy1mN2M5LTQ0ZjEtYmM5NS1kNmEyZjA3YTAzODgSBWxvY2Fs + - authId: CiRmNjdjZjVmZi0yOTMxLTRmZjQtOTVkYS01YmM1YzJmMGNkNjcSBWxvY2Fs id: demo2 permissions: [] settings: [] @@ -624,14 +624,14 @@ interactions: settings: [] permissions: [] - id: demo - authId: CiRlZjExYjZiNC04ZDMyLTQ4OTItODNhNC1jMDNlNmJmZTE2NTESBWxvY2Fs + authId: CiRiNGU4OTFkYy1iMWVjLTRkNjAtYWUwZC1kNGRhNjFjNDI2MzQSBWxvY2Fs userGroups: - id: adminGroup type: userGroup settings: [] permissions: [] - id: demo2 - authId: CiQ1OTA1YjEyNy1mN2M5LTQ0ZjEtYmM5NS1kNmEyZjA3YTAzODgSBWxvY2Fs + authId: CiRmNjdjZjVmZi0yOTMxLTRmZjQtOTVkYS01YmM1YzJmMGNkNjcSBWxvY2Fs userGroups: - id: demoGroup 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 7bb56faa2..25373dabb 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 @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: @@ -335,7 +335,7 @@ interactions: name: Default Organization hostname: localhost allowedOrigins: [] - oauthClientId: b0242aeb-fd5b-4e11-859c-f3d35f2522ec + oauthClientId: 8e31e65d-514f-437f-85d0-ed6aa12a966e links: self: http://localhost:3000/api/v1/entities/admin/organizations/default - request: @@ -487,6 +487,6 @@ interactions: name: Default Organization hostname: localhost allowedOrigins: [] - oauthClientId: b0242aeb-fd5b-4e11-859c-f3d35f2522ec + oauthClientId: 8e31e65d-514f-437f-85d0-ed6aa12a966e 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 01feffbf1..e6226492b 100644 --- a/gooddata-sdk/tests/catalog/fixtures/users/store_declarative_users.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/users/store_declarative_users.yaml @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: @@ -84,14 +84,14 @@ interactions: userGroups: - id: adminGroup type: userGroup - - authId: CiRlZjExYjZiNC04ZDMyLTQ4OTItODNhNC1jMDNlNmJmZTE2NTESBWxvY2Fs + - authId: CiRiNGU4OTFkYy1iMWVjLTRkNjAtYWUwZC1kNGRhNjFjNDI2MzQSBWxvY2Fs id: demo permissions: [] settings: [] userGroups: - id: adminGroup type: userGroup - - authId: CiQ1OTA1YjEyNy1mN2M5LTQ0ZjEtYmM5NS1kNmEyZjA3YTAzODgSBWxvY2Fs + - authId: CiRmNjdjZjVmZi0yOTMxLTRmZjQtOTVkYS01YmM1YzJmMGNkNjcSBWxvY2Fs id: demo2 permissions: [] settings: [] @@ -180,14 +180,14 @@ interactions: userGroups: - id: adminGroup type: userGroup - - authId: CiRlZjExYjZiNC04ZDMyLTQ4OTItODNhNC1jMDNlNmJmZTE2NTESBWxvY2Fs + - authId: CiRiNGU4OTFkYy1iMWVjLTRkNjAtYWUwZC1kNGRhNjFjNDI2MzQSBWxvY2Fs id: demo permissions: [] settings: [] userGroups: - id: adminGroup type: userGroup - - authId: CiQ1OTA1YjEyNy1mN2M5LTQ0ZjEtYmM5NS1kNmEyZjA3YTAzODgSBWxvY2Fs + - authId: CiRmNjdjZjVmZi0yOTMxLTRmZjQtOTVkYS01YmM1YzJmMGNkNjcSBWxvY2Fs id: demo2 permissions: [] settings: [] @@ -343,7 +343,7 @@ interactions: name: Default Organization hostname: localhost allowedOrigins: [] - oauthClientId: b0242aeb-fd5b-4e11-859c-f3d35f2522ec + oauthClientId: 8e31e65d-514f-437f-85d0-ed6aa12a966e links: self: http://localhost:3000/api/v1/entities/admin/organizations/default - request: @@ -495,6 +495,6 @@ interactions: name: Default Organization hostname: localhost allowedOrigins: [] - oauthClientId: b0242aeb-fd5b-4e11-859c-f3d35f2522ec + oauthClientId: 8e31e65d-514f-437f-85d0-ed6aa12a966e 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 1d7253509..bf3ba223c 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 @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: @@ -101,14 +101,14 @@ interactions: userGroups: - id: adminGroup type: userGroup - - authId: CiRlZjExYjZiNC04ZDMyLTQ4OTItODNhNC1jMDNlNmJmZTE2NTESBWxvY2Fs + - authId: CiRiNGU4OTFkYy1iMWVjLTRkNjAtYWUwZC1kNGRhNjFjNDI2MzQSBWxvY2Fs id: demo permissions: [] settings: [] userGroups: - id: adminGroup type: userGroup - - authId: CiQ1OTA1YjEyNy1mN2M5LTQ0ZjEtYmM5NS1kNmEyZjA3YTAzODgSBWxvY2Fs + - authId: CiRmNjdjZjVmZi0yOTMxLTRmZjQtOTVkYS01YmM1YzJmMGNkNjcSBWxvY2Fs id: demo2 permissions: [] settings: [] @@ -214,14 +214,14 @@ interactions: userGroups: - id: adminGroup type: userGroup - - authId: CiRlZjExYjZiNC04ZDMyLTQ4OTItODNhNC1jMDNlNmJmZTE2NTESBWxvY2Fs + - authId: CiRiNGU4OTFkYy1iMWVjLTRkNjAtYWUwZC1kNGRhNjFjNDI2MzQSBWxvY2Fs id: demo permissions: [] settings: [] userGroups: - id: adminGroup type: userGroup - - authId: CiQ1OTA1YjEyNy1mN2M5LTQ0ZjEtYmM5NS1kNmEyZjA3YTAzODgSBWxvY2Fs + - authId: CiRmNjdjZjVmZi0yOTMxLTRmZjQtOTVkYS01YmM1YzJmMGNkNjcSBWxvY2Fs id: demo2 permissions: [] settings: [] @@ -377,7 +377,7 @@ interactions: name: Default Organization hostname: localhost allowedOrigins: [] - oauthClientId: b0242aeb-fd5b-4e11-859c-f3d35f2522ec + oauthClientId: 8e31e65d-514f-437f-85d0-ed6aa12a966e links: self: http://localhost:3000/api/v1/entities/admin/organizations/default - request: @@ -529,6 +529,6 @@ interactions: name: Default Organization hostname: localhost allowedOrigins: [] - oauthClientId: b0242aeb-fd5b-4e11-859c-f3d35f2522ec + oauthClientId: 8e31e65d-514f-437f-85d0-ed6aa12a966e links: self: http://localhost:3000/api/v1/entities/admin/organizations/default diff --git a/gooddata-sdk/tests/catalog/fixtures/users/test_user_add_user_group.yaml b/gooddata-sdk/tests/catalog/fixtures/users/test_user_add_user_group.yaml index 8b78643c3..d53887f46 100644 --- a/gooddata-sdk/tests/catalog/fixtures/users/test_user_add_user_group.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/users/test_user_add_user_group.yaml @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: @@ -79,7 +79,7 @@ interactions: id: demo2 type: user attributes: - authenticationId: CiQ1OTA1YjEyNy1mN2M5LTQ0ZjEtYmM5NS1kNmEyZjA3YTAzODgSBWxvY2Fs + authenticationId: CiRmNjdjZjVmZi0yOTMxLTRmZjQtOTVkYS01YmM1YzJmMGNkNjcSBWxvY2Fs relationships: userGroups: data: diff --git a/gooddata-sdk/tests/catalog/fixtures/users/test_user_add_user_groups.yaml b/gooddata-sdk/tests/catalog/fixtures/users/test_user_add_user_groups.yaml index 8b78643c3..d53887f46 100644 --- a/gooddata-sdk/tests/catalog/fixtures/users/test_user_add_user_groups.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/users/test_user_add_user_groups.yaml @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: @@ -79,7 +79,7 @@ interactions: id: demo2 type: user attributes: - authenticationId: CiQ1OTA1YjEyNy1mN2M5LTQ0ZjEtYmM5NS1kNmEyZjA3YTAzODgSBWxvY2Fs + authenticationId: CiRmNjdjZjVmZi0yOTMxLTRmZjQtOTVkYS01YmM1YzJmMGNkNjcSBWxvY2Fs relationships: userGroups: data: diff --git a/gooddata-sdk/tests/catalog/fixtures/users/test_user_remove_user_groups.yaml b/gooddata-sdk/tests/catalog/fixtures/users/test_user_remove_user_groups.yaml index 8b78643c3..d53887f46 100644 --- a/gooddata-sdk/tests/catalog/fixtures/users/test_user_remove_user_groups.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/users/test_user_remove_user_groups.yaml @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: @@ -79,7 +79,7 @@ interactions: id: demo2 type: user attributes: - authenticationId: CiQ1OTA1YjEyNy1mN2M5LTQ0ZjEtYmM5NS1kNmEyZjA3YTAzODgSBWxvY2Fs + authenticationId: CiRmNjdjZjVmZi0yOTMxLTRmZjQtOTVkYS01YmM1YzJmMGNkNjcSBWxvY2Fs relationships: userGroups: data: diff --git a/gooddata-sdk/tests/catalog/fixtures/users/test_user_replace_user_groups.yaml b/gooddata-sdk/tests/catalog/fixtures/users/test_user_replace_user_groups.yaml index 8b78643c3..d53887f46 100644 --- a/gooddata-sdk/tests/catalog/fixtures/users/test_user_replace_user_groups.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/users/test_user_replace_user_groups.yaml @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: @@ -79,7 +79,7 @@ interactions: id: demo2 type: user attributes: - authenticationId: CiQ1OTA1YjEyNy1mN2M5LTQ0ZjEtYmM5NS1kNmEyZjA3YTAzODgSBWxvY2Fs + authenticationId: CiRmNjdjZjVmZi0yOTMxLTRmZjQtOTVkYS01YmM1YzJmMGNkNjcSBWxvY2Fs relationships: userGroups: data: diff --git a/gooddata-sdk/tests/catalog/fixtures/users/update_user.yaml b/gooddata-sdk/tests/catalog/fixtures/users/update_user.yaml index e12e80eee..2ec681c9e 100644 --- a/gooddata-sdk/tests/catalog/fixtures/users/update_user.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/users/update_user.yaml @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: @@ -79,7 +79,7 @@ interactions: id: demo2 type: user attributes: - authenticationId: CiQ1OTA1YjEyNy1mN2M5LTQ0ZjEtYmM5NS1kNmEyZjA3YTAzODgSBWxvY2Fs + authenticationId: CiRmNjdjZjVmZi0yOTMxLTRmZjQtOTVkYS01YmM1YzJmMGNkNjcSBWxvY2Fs relationships: userGroups: data: @@ -171,7 +171,7 @@ interactions: id: demo2 type: user attributes: - authenticationId: CiQ1OTA1YjEyNy1mN2M5LTQ0ZjEtYmM5NS1kNmEyZjA3YTAzODgSBWxvY2Fs + authenticationId: CiRmNjdjZjVmZi0yOTMxLTRmZjQtOTVkYS01YmM1YzJmMGNkNjcSBWxvY2Fs relationships: userGroups: data: @@ -533,7 +533,7 @@ interactions: to access it. status: 404 title: Not Found - traceId: 75067937bf683f52 + traceId: 111495cd830c9af3 - request: method: POST uri: http://localhost:3000/api/v1/entities/users @@ -542,7 +542,7 @@ interactions: id: demo2 type: user attributes: - authenticationId: CiQ1OTA1YjEyNy1mN2M5LTQ0ZjEtYmM5NS1kNmEyZjA3YTAzODgSBWxvY2Fs + authenticationId: CiRmNjdjZjVmZi0yOTMxLTRmZjQtOTVkYS01YmM1YzJmMGNkNjcSBWxvY2Fs relationships: userGroups: data: @@ -623,7 +623,7 @@ interactions: id: demo2 type: user attributes: - authenticationId: CiQ1OTA1YjEyNy1mN2M5LTQ0ZjEtYmM5NS1kNmEyZjA3YTAzODgSBWxvY2Fs + authenticationId: CiRmNjdjZjVmZi0yOTMxLTRmZjQtOTVkYS01YmM1YzJmMGNkNjcSBWxvY2Fs links: self: http://localhost:3000/api/v1/entities/users/demo2 - request: @@ -700,38 +700,38 @@ interactions: body: string: data: - - id: admin + - id: demo2 type: user - attributes: {} + attributes: + authenticationId: CiRmNjdjZjVmZi0yOTMxLTRmZjQtOTVkYS01YmM1YzJmMGNkNjcSBWxvY2Fs relationships: userGroups: data: - - id: adminGroup + - id: demoGroup type: userGroup links: - self: http://localhost:3000/api/v1/entities/users/admin - - id: demo + self: http://localhost:3000/api/v1/entities/users/demo2 + - id: admin type: user - attributes: - authenticationId: CiRlZjExYjZiNC04ZDMyLTQ4OTItODNhNC1jMDNlNmJmZTE2NTESBWxvY2Fs + attributes: {} relationships: userGroups: data: - id: adminGroup type: userGroup links: - self: http://localhost:3000/api/v1/entities/users/demo - - id: demo2 + self: http://localhost:3000/api/v1/entities/users/admin + - id: demo type: user attributes: - authenticationId: CiQ1OTA1YjEyNy1mN2M5LTQ0ZjEtYmM5NS1kNmEyZjA3YTAzODgSBWxvY2Fs + authenticationId: CiRiNGU4OTFkYy1iMWVjLTRkNjAtYWUwZC1kNGRhNjFjNDI2MzQSBWxvY2Fs relationships: userGroups: data: - - id: demoGroup + - id: adminGroup type: userGroup links: - self: http://localhost:3000/api/v1/entities/users/demo2 + self: http://localhost:3000/api/v1/entities/users/demo included: - id: adminGroup type: userGroup diff --git a/gooddata-sdk/tests/catalog/fixtures/users/update_user_group.yaml b/gooddata-sdk/tests/catalog/fixtures/users/update_user_group.yaml index c2a768e8b..84b7aba16 100644 --- a/gooddata-sdk/tests/catalog/fixtures/users/update_user_group.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/users/update_user_group.yaml @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: @@ -694,6 +694,12 @@ interactions: body: string: data: + - id: demoGroup + type: userGroup + attributes: + name: demo group + links: + self: http://localhost:3000/api/v1/entities/userGroups/demoGroup - id: adminGroup type: userGroup attributes: {} @@ -709,12 +715,6 @@ interactions: type: userGroup links: self: http://localhost:3000/api/v1/entities/userGroups/adminQA1Group - - id: demoGroup - type: userGroup - attributes: - name: demo group - links: - self: http://localhost:3000/api/v1/entities/userGroups/demoGroup - id: visitorsGroup type: userGroup attributes: diff --git a/gooddata-sdk/tests/catalog/fixtures/workspace_content/analytics_store_load.yaml b/gooddata-sdk/tests/catalog/fixtures/workspace_content/analytics_store_load.yaml index 4ae0494b6..f670b20ca 100644 --- a/gooddata-sdk/tests/catalog/fixtures/workspace_content/analytics_store_load.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/workspace_content/analytics_store_load.yaml @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: @@ -74,7 +74,7 @@ interactions: X-XSS-Protection: - 1 ; mode=block content-length: - - '30873' + - '30899' body: string: analytics: @@ -127,7 +127,7 @@ interactions: drills: [] properties: {} version: '2' - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:32 createdBy: id: admin type: user @@ -170,7 +170,7 @@ interactions: type: dashboardPlugin version: '2' version: '2' - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:32 createdBy: id: admin type: user @@ -320,18 +320,19 @@ interactions: drills: [] properties: {} version: '2' - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:32 createdBy: id: admin type: user description: '' id: product_and_category title: Product & Category + attributeHierarchies: [] dashboardPlugins: - content: url: https://www.example.com version: '2' - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:32 createdBy: id: admin type: user @@ -341,7 +342,7 @@ interactions: - content: url: https://www.example.com version: '2' - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:32 createdBy: id: admin type: user @@ -390,7 +391,7 @@ interactions: - content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:32 createdBy: id: admin type: user @@ -399,7 +400,7 @@ interactions: - content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:32 createdBy: id: admin type: user @@ -409,7 +410,7 @@ interactions: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT {metric/revenue} BY {attribute/customer_id}) > 10000 ' - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:32 createdBy: id: admin type: user @@ -419,7 +420,7 @@ interactions: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} IN ("Returned", "Canceled")) - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:32 createdBy: id: admin type: user @@ -429,7 +430,7 @@ interactions: - content: format: $#,##0 maql: SELECT SUM({fact/spend}) - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:32 createdBy: id: admin type: user @@ -438,7 +439,7 @@ interactions: - content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:32 createdBy: id: admin type: user @@ -447,7 +448,7 @@ interactions: - content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:32 createdBy: id: admin type: user @@ -457,7 +458,7 @@ interactions: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ \ BY {attribute/customer_id}) > 0)\n /\n {metric/revenue}" - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:32 createdBy: id: admin type: user @@ -467,7 +468,7 @@ interactions: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ \ BY {attribute/customer_id}) > 0)\n /\n {metric/revenue}" - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:32 createdBy: id: admin type: user @@ -477,7 +478,7 @@ interactions: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ \ BY {attribute/product_id}) > 0)\n /\n {metric/revenue}" - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:32 createdBy: id: admin type: user @@ -487,7 +488,7 @@ interactions: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ \ BY {attribute/product_id}) > 0)\n /\n {metric/revenue}" - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:32 createdBy: id: admin type: user @@ -497,7 +498,7 @@ interactions: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, ALL OTHER) - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:32 createdBy: id: admin type: user @@ -507,7 +508,7 @@ interactions: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL {attribute/product_id}) - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:32 createdBy: id: admin type: user @@ -517,7 +518,7 @@ interactions: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} IN ("Returned", "Canceled")) - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:32 createdBy: id: admin type: user @@ -528,7 +529,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Clothing") - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:32 createdBy: id: admin type: user @@ -538,7 +539,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ( "Electronics") - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:32 createdBy: id: admin type: user @@ -548,7 +549,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Home") - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:32 createdBy: id: admin type: user @@ -558,7 +559,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Outdoor") - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:32 createdBy: id: admin type: user @@ -567,7 +568,7 @@ interactions: - content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:32 createdBy: id: admin type: user @@ -576,7 +577,7 @@ interactions: - content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:32 createdBy: id: admin type: user @@ -585,7 +586,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:32 createdBy: id: admin type: user @@ -594,7 +595,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:32 createdBy: id: admin type: user @@ -603,7 +604,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:32 createdBy: id: admin type: user @@ -612,7 +613,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:32 createdBy: id: admin type: user @@ -677,7 +678,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:treemap - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:32 createdBy: id: admin type: user @@ -753,7 +754,7 @@ interactions: rotation: auto version: '2' visualizationUrl: local:combo2 - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:32 createdBy: id: admin type: user @@ -832,7 +833,7 @@ interactions: direction: asc version: '2' visualizationUrl: local:table - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:32 createdBy: id: admin type: user @@ -891,7 +892,7 @@ interactions: stackMeasuresToPercent: true version: '2' visualizationUrl: local:area - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:32 createdBy: id: admin type: user @@ -948,7 +949,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:treemap - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:32 createdBy: id: admin type: user @@ -1001,7 +1002,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:donut - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:32 createdBy: id: admin type: user @@ -1076,7 +1077,7 @@ interactions: visible: false version: '2' visualizationUrl: local:column - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:32 createdBy: id: admin type: user @@ -1133,7 +1134,7 @@ interactions: enabled: true version: '2' visualizationUrl: local:scatter - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:32 createdBy: id: admin type: user @@ -1232,7 +1233,7 @@ interactions: direction: asc version: '2' visualizationUrl: local:table - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:32 createdBy: id: admin type: user @@ -1288,7 +1289,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:line - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:32 createdBy: id: admin type: user @@ -1327,7 +1328,7 @@ interactions: properties: {} version: '2' visualizationUrl: local:bar - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:32 createdBy: id: admin type: user @@ -1383,7 +1384,7 @@ interactions: min: '0' version: '2' visualizationUrl: local:scatter - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:32 createdBy: id: admin type: user @@ -1451,7 +1452,7 @@ interactions: rotation: auto version: '2' visualizationUrl: local:combo2 - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:32 createdBy: id: admin type: user @@ -1508,7 +1509,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:bar - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:32 createdBy: id: admin type: user @@ -1565,7 +1566,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:bar - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:32 createdBy: id: admin type: user @@ -1643,7 +1644,7 @@ interactions: X-XSS-Protection: - 1 ; mode=block content-length: - - '30873' + - '30899' body: string: analytics: @@ -1696,7 +1697,7 @@ interactions: drills: [] properties: {} version: '2' - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:32 createdBy: id: admin type: user @@ -1739,7 +1740,7 @@ interactions: type: dashboardPlugin version: '2' version: '2' - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:32 createdBy: id: admin type: user @@ -1889,18 +1890,19 @@ interactions: drills: [] properties: {} version: '2' - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:32 createdBy: id: admin type: user description: '' id: product_and_category title: Product & Category + attributeHierarchies: [] dashboardPlugins: - content: url: https://www.example.com version: '2' - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:32 createdBy: id: admin type: user @@ -1910,7 +1912,7 @@ interactions: - content: url: https://www.example.com version: '2' - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:32 createdBy: id: admin type: user @@ -1959,7 +1961,7 @@ interactions: - content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:32 createdBy: id: admin type: user @@ -1968,7 +1970,7 @@ interactions: - content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:32 createdBy: id: admin type: user @@ -1978,7 +1980,7 @@ interactions: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT {metric/revenue} BY {attribute/customer_id}) > 10000 ' - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:32 createdBy: id: admin type: user @@ -1988,7 +1990,7 @@ interactions: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} IN ("Returned", "Canceled")) - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:32 createdBy: id: admin type: user @@ -1998,7 +2000,7 @@ interactions: - content: format: $#,##0 maql: SELECT SUM({fact/spend}) - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:32 createdBy: id: admin type: user @@ -2007,7 +2009,7 @@ interactions: - content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:32 createdBy: id: admin type: user @@ -2016,7 +2018,7 @@ interactions: - content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:32 createdBy: id: admin type: user @@ -2026,7 +2028,7 @@ interactions: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ \ BY {attribute/customer_id}) > 0)\n /\n {metric/revenue}" - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:32 createdBy: id: admin type: user @@ -2036,7 +2038,7 @@ interactions: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ \ BY {attribute/customer_id}) > 0)\n /\n {metric/revenue}" - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:32 createdBy: id: admin type: user @@ -2046,7 +2048,7 @@ interactions: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ \ BY {attribute/product_id}) > 0)\n /\n {metric/revenue}" - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:32 createdBy: id: admin type: user @@ -2056,7 +2058,7 @@ interactions: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ \ BY {attribute/product_id}) > 0)\n /\n {metric/revenue}" - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:32 createdBy: id: admin type: user @@ -2066,7 +2068,7 @@ interactions: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, ALL OTHER) - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:32 createdBy: id: admin type: user @@ -2076,7 +2078,7 @@ interactions: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL {attribute/product_id}) - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:32 createdBy: id: admin type: user @@ -2086,7 +2088,7 @@ interactions: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} IN ("Returned", "Canceled")) - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:32 createdBy: id: admin type: user @@ -2097,7 +2099,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Clothing") - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:32 createdBy: id: admin type: user @@ -2107,7 +2109,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ( "Electronics") - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:32 createdBy: id: admin type: user @@ -2117,7 +2119,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Home") - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:32 createdBy: id: admin type: user @@ -2127,7 +2129,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Outdoor") - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:32 createdBy: id: admin type: user @@ -2136,7 +2138,7 @@ interactions: - content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:32 createdBy: id: admin type: user @@ -2145,7 +2147,7 @@ interactions: - content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:32 createdBy: id: admin type: user @@ -2154,7 +2156,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:32 createdBy: id: admin type: user @@ -2163,7 +2165,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:32 createdBy: id: admin type: user @@ -2172,7 +2174,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:32 createdBy: id: admin type: user @@ -2181,7 +2183,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:32 createdBy: id: admin type: user @@ -2246,7 +2248,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:treemap - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:32 createdBy: id: admin type: user @@ -2322,7 +2324,7 @@ interactions: rotation: auto version: '2' visualizationUrl: local:combo2 - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:32 createdBy: id: admin type: user @@ -2401,7 +2403,7 @@ interactions: direction: asc version: '2' visualizationUrl: local:table - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:32 createdBy: id: admin type: user @@ -2460,7 +2462,7 @@ interactions: stackMeasuresToPercent: true version: '2' visualizationUrl: local:area - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:32 createdBy: id: admin type: user @@ -2517,7 +2519,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:treemap - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:32 createdBy: id: admin type: user @@ -2570,7 +2572,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:donut - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:32 createdBy: id: admin type: user @@ -2645,7 +2647,7 @@ interactions: visible: false version: '2' visualizationUrl: local:column - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:32 createdBy: id: admin type: user @@ -2702,7 +2704,7 @@ interactions: enabled: true version: '2' visualizationUrl: local:scatter - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:32 createdBy: id: admin type: user @@ -2801,7 +2803,7 @@ interactions: direction: asc version: '2' visualizationUrl: local:table - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:32 createdBy: id: admin type: user @@ -2857,7 +2859,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:line - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:32 createdBy: id: admin type: user @@ -2896,7 +2898,7 @@ interactions: properties: {} version: '2' visualizationUrl: local:bar - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:32 createdBy: id: admin type: user @@ -2952,7 +2954,7 @@ interactions: min: '0' version: '2' visualizationUrl: local:scatter - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:32 createdBy: id: admin type: user @@ -3020,7 +3022,7 @@ interactions: rotation: auto version: '2' visualizationUrl: local:combo2 - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:32 createdBy: id: admin type: user @@ -3077,7 +3079,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:bar - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:32 createdBy: id: admin type: user @@ -3134,7 +3136,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:bar - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:32 createdBy: id: admin type: user 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 a16dc10d0..f11fbf2d0 100644 --- a/gooddata-sdk/tests/catalog/fixtures/workspace_content/demo_catalog.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/workspace_content/demo_catalog.yaml @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: @@ -126,6 +126,31 @@ interactions: origin: originType: NATIVE originId: demo + - id: type + type: attribute + attributes: + title: Type + description: Type + tags: + - Campaign channels + areRelationsValid: true + sourceColumn: type + sourceColumnDataType: STRING + relationships: + dataset: + data: + id: campaign_channels + type: dataset + labels: + data: + - id: type + type: label + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/type + meta: + origin: + originType: NATIVE + originId: demo - id: campaign_id type: attribute attributes: @@ -226,182 +251,189 @@ interactions: origin: originType: NATIVE originId: demo - - id: date.day + - id: region type: attribute attributes: - title: Date - Date - description: Date + title: Region + description: Region tags: - - Date - granularity: DAY + - Customers areRelationsValid: true + sourceColumn: region + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: customers type: dataset labels: data: - - id: date.day + - id: region type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.day + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/region meta: origin: originType: NATIVE originId: demo - - id: date.dayOfMonth + - id: order_id type: attribute attributes: - title: Date - Day of Month - description: Generic Day of the Month (D1-D31) + title: Order id + description: Order id tags: - - Date - granularity: DAY_OF_MONTH + - Order lines areRelationsValid: true + sourceColumn: order_id + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: order_lines type: dataset labels: data: - - id: date.dayOfMonth + - id: order_id type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfMonth + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_id meta: origin: originType: NATIVE originId: demo - - id: date.dayOfWeek + - id: order_line_id type: attribute attributes: - title: Date - Day of Week - description: Generic Day of the Week (D1-D7) + title: Order line id + description: Order line id tags: - - Date - granularity: DAY_OF_WEEK + - Order lines areRelationsValid: true + sourceColumn: order_line_id + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: order_lines type: dataset labels: data: - - id: date.dayOfWeek + - id: order_line_id type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfWeek + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_line_id meta: origin: originType: NATIVE originId: demo - - id: date.dayOfYear + - id: order_status type: attribute attributes: - title: Date - Day of Year - description: Generic Day of the Year (D1-D366) + title: Order status + description: Order status tags: - - Date - granularity: DAY_OF_YEAR + - Order lines areRelationsValid: true + sourceColumn: order_status + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: order_lines type: dataset labels: data: - - id: date.dayOfYear + - id: order_status type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_status meta: origin: originType: NATIVE originId: demo - - id: date.hour + - id: product_id type: attribute attributes: - title: Date - Hour - description: Hour + title: Product id + description: Product id tags: - - Date - granularity: HOUR + - Products areRelationsValid: true + sourceColumn: product_id + sourceColumnDataType: INT relationships: dataset: data: - id: date + id: products type: dataset labels: data: - - id: date.hour + - id: product_id type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hour + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_id meta: origin: originType: NATIVE originId: demo - - id: date.hourOfDay + - id: product_name type: attribute attributes: - title: Date - Hour of Day - description: Generic Hour of the Day(H1-H24) + title: Product name + description: Product name tags: - - Date - granularity: HOUR_OF_DAY + - Products areRelationsValid: true + sourceColumn: product_name + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: products type: dataset labels: data: - - id: date.hourOfDay + - id: product_name type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hourOfDay + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_name meta: origin: originType: NATIVE originId: demo - - id: date.minute + - id: products.category type: attribute attributes: - title: Date - Minute - description: Minute + title: Category + description: Category tags: - - Date - granularity: MINUTE + - Products areRelationsValid: true + sourceColumn: category + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: products type: dataset labels: data: - - id: date.minute + - id: products.category type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minute + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/products.category meta: origin: originType: NATIVE originId: demo - - id: date.minuteOfHour + - id: date.minute type: attribute attributes: - title: Date - Minute of Hour - description: Generic Minute of the Hour(MI1-MI60) + title: Date - Minute + description: Minute tags: - Date - granularity: MINUTE_OF_HOUR + granularity: MINUTE areRelationsValid: true relationships: dataset: @@ -410,22 +442,22 @@ interactions: type: dataset labels: data: - - id: date.minuteOfHour + - id: date.minute type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minuteOfHour + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minute meta: origin: originType: NATIVE originId: demo - - id: date.month + - id: date.hour type: attribute attributes: - title: Date - Month/Year - description: Month and Year (12/2020) + title: Date - Hour + description: Hour tags: - Date - granularity: MONTH + granularity: HOUR areRelationsValid: true relationships: dataset: @@ -434,22 +466,22 @@ interactions: type: dataset labels: data: - - id: date.month + - id: date.hour type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.month + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hour meta: origin: originType: NATIVE originId: demo - - id: date.monthOfYear + - id: date.day type: attribute attributes: - title: Date - Month of Year - description: Generic Month (M1-M12) + title: Date - Date + description: Date tags: - Date - granularity: MONTH_OF_YEAR + granularity: DAY areRelationsValid: true relationships: dataset: @@ -458,22 +490,22 @@ interactions: type: dataset labels: data: - - id: date.monthOfYear + - id: date.day type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.monthOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.day meta: origin: originType: NATIVE originId: demo - - id: date.quarter + - id: date.week type: attribute attributes: - title: Date - Quarter/Year - description: Quarter and Year (Q1/2020) + title: Date - Week/Year + description: Week and Year (W52/2020) tags: - Date - granularity: QUARTER + granularity: WEEK areRelationsValid: true relationships: dataset: @@ -482,22 +514,22 @@ interactions: type: dataset labels: data: - - id: date.quarter + - id: date.week type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarter + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week meta: origin: originType: NATIVE originId: demo - - id: date.quarterOfYear + - id: date.month type: attribute attributes: - title: Date - Quarter of Year - description: Generic Quarter (Q1-Q4) + title: Date - Month/Year + description: Month and Year (12/2020) tags: - Date - granularity: QUARTER_OF_YEAR + granularity: MONTH areRelationsValid: true relationships: dataset: @@ -506,22 +538,22 @@ interactions: type: dataset labels: data: - - id: date.quarterOfYear + - id: date.month type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarterOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.month meta: origin: originType: NATIVE originId: demo - - id: date.week + - id: date.quarter type: attribute attributes: - title: Date - Week/Year - description: Week and Year (W52/2020) + title: Date - Quarter/Year + description: Quarter and Year (Q1/2020) tags: - Date - granularity: WEEK + granularity: QUARTER areRelationsValid: true relationships: dataset: @@ -530,22 +562,22 @@ interactions: type: dataset labels: data: - - id: date.week + - id: date.quarter type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarter meta: origin: originType: NATIVE originId: demo - - id: date.weekOfYear + - id: date.year type: attribute attributes: - title: Date - Week of Year - description: Generic Week (W1-W53) + title: Date - Year + description: Year tags: - Date - granularity: WEEK_OF_YEAR + granularity: YEAR areRelationsValid: true relationships: dataset: @@ -554,22 +586,22 @@ interactions: type: dataset labels: data: - - id: date.weekOfYear + - id: date.year type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.weekOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.year meta: origin: originType: NATIVE originId: demo - - id: date.year + - id: date.minuteOfHour type: attribute attributes: - title: Date - Year - description: Year + title: Date - Minute of Hour + description: Generic Minute of the Hour(MI1-MI60) tags: - Date - granularity: YEAR + granularity: MINUTE_OF_HOUR areRelationsValid: true relationships: dataset: @@ -578,185 +610,178 @@ interactions: type: dataset labels: data: - - id: date.year + - id: date.minuteOfHour type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.year + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minuteOfHour meta: origin: originType: NATIVE originId: demo - - id: order_id + - id: date.hourOfDay type: attribute attributes: - title: Order id - description: Order id + title: Date - Hour of Day + description: Generic Hour of the Day(H1-H24) tags: - - Order lines + - Date + granularity: HOUR_OF_DAY areRelationsValid: true - sourceColumn: order_id - sourceColumnDataType: STRING relationships: dataset: data: - id: order_lines + id: date type: dataset labels: data: - - id: order_id + - id: date.hourOfDay type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_id + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hourOfDay meta: origin: originType: NATIVE originId: demo - - id: order_line_id + - id: date.dayOfWeek type: attribute attributes: - title: Order line id - description: Order line id + title: Date - Day of Week + description: Generic Day of the Week (D1-D7) tags: - - Order lines + - Date + granularity: DAY_OF_WEEK areRelationsValid: true - sourceColumn: order_line_id - sourceColumnDataType: STRING relationships: dataset: data: - id: order_lines + id: date type: dataset labels: data: - - id: order_line_id + - id: date.dayOfWeek type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_line_id + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfWeek meta: origin: originType: NATIVE originId: demo - - id: order_status + - id: date.dayOfMonth type: attribute attributes: - title: Order status - description: Order status + title: Date - Day of Month + description: Generic Day of the Month (D1-D31) tags: - - Order lines + - Date + granularity: DAY_OF_MONTH areRelationsValid: true - sourceColumn: order_status - sourceColumnDataType: STRING relationships: dataset: data: - id: order_lines + id: date type: dataset labels: data: - - id: order_status + - id: date.dayOfMonth type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_status + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfMonth meta: origin: originType: NATIVE originId: demo - - id: product_id + - id: date.dayOfYear type: attribute attributes: - title: Product id - description: Product id + title: Date - Day of Year + description: Generic Day of the Year (D1-D366) tags: - - Products + - Date + granularity: DAY_OF_YEAR areRelationsValid: true - sourceColumn: product_id - sourceColumnDataType: INT relationships: dataset: data: - id: products + id: date type: dataset labels: data: - - id: product_id + - id: date.dayOfYear type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_id + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfYear meta: origin: originType: NATIVE originId: demo - - id: product_name + - id: date.weekOfYear type: attribute attributes: - title: Product name - description: Product name + title: Date - Week of Year + description: Generic Week (W1-W53) tags: - - Products + - Date + granularity: WEEK_OF_YEAR areRelationsValid: true - sourceColumn: product_name - sourceColumnDataType: STRING relationships: dataset: data: - id: products + id: date type: dataset labels: data: - - id: product_name + - id: date.weekOfYear type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_name + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.weekOfYear meta: origin: originType: NATIVE originId: demo - - id: products.category + - id: date.monthOfYear type: attribute attributes: - title: Category - description: Category + title: Date - Month of Year + description: Generic Month (M1-M12) tags: - - Products + - Date + granularity: MONTH_OF_YEAR areRelationsValid: true - sourceColumn: category - sourceColumnDataType: STRING relationships: dataset: data: - id: products + id: date type: dataset labels: data: - - id: products.category + - id: date.monthOfYear type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/products.category + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.monthOfYear meta: origin: originType: NATIVE originId: demo - - id: region + - id: date.quarterOfYear type: attribute attributes: - title: Region - description: Region + title: Date - Quarter of Year + description: Generic Quarter (Q1-Q4) tags: - - Customers + - Date + granularity: QUARTER_OF_YEAR areRelationsValid: true - sourceColumn: region - sourceColumnDataType: STRING relationships: dataset: data: - id: customers + id: date type: dataset labels: data: - - id: region + - id: date.quarterOfYear type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/region + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarterOfYear meta: origin: originType: NATIVE @@ -782,37 +807,12 @@ interactions: type: dataset labels: data: - - id: geo__state__location - type: label - id: state type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state - meta: - origin: - originType: NATIVE - originId: demo - - id: type - type: attribute - attributes: - title: Type - description: Type - tags: - - Campaign channels - areRelationsValid: true - sourceColumn: type - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: campaign_channels - type: dataset - labels: - data: - - id: type + - id: geo__state__location type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/type + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state meta: origin: originType: NATIVE @@ -878,50 +878,50 @@ interactions: type: attribute referenceProperties: - identifier: - id: campaigns + id: customers type: dataset multivalue: false sources: - - column: campaign_id + - column: customer_id dataType: INT target: - id: campaign_id + id: customer_id type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: - id: date + id: products type: dataset multivalue: false sources: - - column: date - dataType: DATE + - column: product_id + dataType: INT target: - id: date - type: date + id: product_id + type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: - id: customers + id: date type: dataset multivalue: false sources: - - column: customer_id - dataType: INT + - column: date + dataType: DATE target: - id: customer_id - type: attribute + id: date + type: date sourceColumns: null sourceColumnDataTypes: null - identifier: - id: products + id: campaigns type: dataset multivalue: false sources: - - column: product_id + - column: campaign_id dataType: INT target: - id: product_id + id: campaign_id type: attribute sourceColumns: null sourceColumnDataTypes: null @@ -1472,12 +1472,12 @@ interactions: relationships: attributes: data: - - id: type - type: attribute - id: campaign_channel_id type: attribute - id: campaign_channels.category type: attribute + - id: type + type: attribute facts: data: - id: spend @@ -1509,10 +1509,10 @@ interactions: relationships: attributes: data: - - id: campaign_id - type: attribute - id: campaign_name type: attribute + - id: campaign_id + type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaigns meta: @@ -1538,64 +1538,16 @@ interactions: relationships: attributes: data: - - id: customer_name - type: attribute - - id: region - type: attribute - id: customer_id type: attribute - - id: state - type: attribute - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/customers - meta: - origin: - originType: NATIVE - originId: demo - - id: date - type: dataset - attributes: - title: Date - description: '' - tags: - - Date - areRelationsValid: true - type: DATE - relationships: - attributes: - data: - - id: date.quarterOfYear - type: attribute - - id: date.week - type: attribute - - id: date.quarter - type: attribute - - id: date.monthOfYear - type: attribute - - id: date.day - type: attribute - - id: date.minuteOfHour - type: attribute - - id: date.hour - type: attribute - - id: date.hourOfDay - type: attribute - - id: date.dayOfMonth - type: attribute - - id: date.weekOfYear - type: attribute - - id: date.year - type: attribute - - id: date.dayOfWeek - type: attribute - - id: date.dayOfYear + - id: customer_name type: attribute - - id: date.minute + - id: state type: attribute - - id: date.month + - id: region type: attribute links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date + self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/customers meta: origin: originType: NATIVE @@ -1612,14 +1564,26 @@ interactions: type: attribute referenceProperties: - identifier: - id: campaigns + id: customers + type: dataset + multivalue: false + sources: + - column: customer_id + dataType: INT + target: + id: customer_id + type: attribute + sourceColumns: null + sourceColumnDataTypes: null + - identifier: + id: products type: dataset multivalue: false sources: - - column: campaign_id + - column: product_id dataType: INT target: - id: campaign_id + id: product_id type: attribute sourceColumns: null sourceColumnDataTypes: null @@ -1636,26 +1600,14 @@ interactions: sourceColumns: null sourceColumnDataTypes: null - identifier: - id: customers - type: dataset - multivalue: false - sources: - - column: customer_id - dataType: INT - target: - id: customer_id - type: attribute - sourceColumns: null - sourceColumnDataTypes: null - - identifier: - id: products + id: campaigns type: dataset multivalue: false sources: - - column: product_id + - column: campaign_id dataType: INT target: - id: product_id + id: campaign_id type: attribute sourceColumns: null sourceColumnDataTypes: null @@ -1665,20 +1617,20 @@ interactions: - order_lines areRelationsValid: true workspaceDataFilterColumns: - - name: wdf__region - dataType: STRING - name: wdf__state dataType: STRING + - name: wdf__region + dataType: STRING workspaceDataFilterReferences: - filterId: - id: wdf__state + id: wdf__region type: workspaceDataFilter - filterColumn: wdf__state + filterColumn: wdf__region filterColumnDataType: STRING - filterId: - id: wdf__region + id: wdf__state type: workspaceDataFilter - filterColumn: wdf__region + filterColumn: wdf__state filterColumnDataType: STRING type: NORMAL relationships: @@ -1733,6 +1685,54 @@ interactions: origin: originType: NATIVE originId: demo + - id: date + type: dataset + attributes: + title: Date + description: '' + tags: + - Date + areRelationsValid: true + type: DATE + relationships: + attributes: + data: + - id: date.monthOfYear + type: attribute + - id: date.hourOfDay + type: attribute + - id: date.quarter + type: attribute + - id: date.month + type: attribute + - id: date.minuteOfHour + type: attribute + - id: date.dayOfWeek + type: attribute + - id: date.day + type: attribute + - id: date.quarterOfYear + type: attribute + - id: date.year + type: attribute + - id: date.dayOfMonth + type: attribute + - id: date.hour + type: attribute + - id: date.dayOfYear + type: attribute + - id: date.weekOfYear + type: attribute + - id: date.minute + type: attribute + - id: date.week + type: attribute + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date + meta: + origin: + originType: NATIVE + originId: demo included: - id: product_id type: attribute @@ -2170,17 +2170,51 @@ interactions: body: string: data: - - id: amount_of_active_customers + - id: revenue type: metric attributes: - title: '# of Active Customers' + title: Revenue + description: '' areRelationsValid: true - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:32 content: - format: '#,##0' - maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) + 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/amount_of_active_customers + self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/revenue + meta: + origin: + originType: NATIVE + originId: demo + - id: revenue-clothing + type: metric + attributes: + title: Revenue (Clothing) + areRelationsValid: true + createdAt: 2024-01-11 13:32 + 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 + meta: + origin: + originType: NATIVE + originId: demo + - id: revenue-electronic + type: metric + attributes: + title: Revenue (Electronic) + areRelationsValid: true + createdAt: 2024-01-11 13:32 + 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 meta: origin: originType: NATIVE @@ -2190,7 +2224,7 @@ interactions: attributes: title: '# of Orders' areRelationsValid: true - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:32 content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) @@ -2205,7 +2239,7 @@ interactions: attributes: title: '# of Top Customers' areRelationsValid: true - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:32 content: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT @@ -2222,7 +2256,7 @@ interactions: title: '# of Valid Orders' description: '' areRelationsValid: true - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:32 content: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} @@ -2238,7 +2272,7 @@ interactions: attributes: title: Campaign Spend areRelationsValid: true - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:32 content: format: $#,##0 maql: SELECT SUM({fact/spend}) @@ -2253,7 +2287,7 @@ interactions: attributes: title: Order Amount areRelationsValid: true - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:32 content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) @@ -2268,7 +2302,7 @@ interactions: attributes: title: '% Revenue' areRelationsValid: true - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:32 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} @@ -2283,7 +2317,7 @@ interactions: attributes: title: '% Revenue from Top 10 Customers' areRelationsValid: true - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:32 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2299,7 +2333,7 @@ interactions: attributes: title: '% Revenue from Top 10% Customers' areRelationsValid: true - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:32 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2315,7 +2349,7 @@ interactions: attributes: title: '% Revenue from Top 10% Products' areRelationsValid: true - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:32 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2326,99 +2360,17 @@ interactions: origin: originType: NATIVE originId: demo - - id: percent_revenue_from_top_10_products - type: metric - attributes: - title: '% Revenue from Top 10 Products' - areRelationsValid: true - createdAt: 2023-12-14 14:18 - content: - format: '#,##0.0%' - maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ - \ BY {attribute/product_id}) > 0)\n /\n {metric/revenue}" - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/percent_revenue_from_top_10_products - meta: - origin: - originType: NATIVE - originId: demo - - id: percent_revenue_in_category - type: metric - attributes: - title: '% Revenue in Category' - areRelationsValid: true - createdAt: 2023-12-14 14:18 - content: - format: '#,##0.0%' - maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, - ALL OTHER) - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/percent_revenue_in_category - meta: - origin: - originType: NATIVE - originId: demo - - id: percent_revenue_per_product - type: metric - attributes: - title: '% Revenue per Product' - areRelationsValid: true - createdAt: 2023-12-14 14:18 - 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 - meta: - origin: - originType: NATIVE - originId: demo - - id: revenue - type: metric - attributes: - title: Revenue - description: '' - areRelationsValid: true - createdAt: 2023-12-14 14:18 - 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 - meta: - origin: - originType: NATIVE - originId: demo - - id: revenue-clothing - type: metric - attributes: - title: Revenue (Clothing) - areRelationsValid: true - createdAt: 2023-12-14 14:18 - 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 - meta: - origin: - originType: NATIVE - originId: demo - - id: revenue-electronic + - id: amount_of_active_customers type: metric attributes: - title: Revenue (Electronic) + title: '# of Active Customers' areRelationsValid: true - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:32 content: - format: $#,##0 - maql: SELECT {metric/revenue} WHERE {label/products.category} IN - ( "Electronics") + format: '#,##0' + maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/revenue-electronic + self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/amount_of_active_customers meta: origin: originType: NATIVE @@ -2428,7 +2380,7 @@ interactions: attributes: title: Revenue (Home) areRelationsValid: true - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:32 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2444,7 +2396,7 @@ interactions: attributes: title: Revenue (Outdoor) areRelationsValid: true - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:32 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2460,7 +2412,7 @@ interactions: attributes: title: Revenue per Customer areRelationsValid: true - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:32 content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) @@ -2475,7 +2427,7 @@ interactions: attributes: title: Revenue per Dollar Spent areRelationsValid: true - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:32 content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} @@ -2490,7 +2442,7 @@ interactions: attributes: title: Revenue / Top 10 areRelationsValid: true - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:32 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) @@ -2505,7 +2457,7 @@ interactions: attributes: title: Revenue / Top 10% areRelationsValid: true - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:32 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) @@ -2520,7 +2472,7 @@ interactions: attributes: title: Total Revenue areRelationsValid: true - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:32 content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER @@ -2535,7 +2487,7 @@ interactions: attributes: title: Total Revenue (No Filters) areRelationsValid: true - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:32 content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER @@ -2545,6 +2497,54 @@ interactions: origin: originType: NATIVE originId: demo + - id: percent_revenue_from_top_10_products + type: metric + attributes: + title: '% Revenue from Top 10 Products' + areRelationsValid: true + createdAt: 2024-01-11 13:32 + content: + format: '#,##0.0%' + maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ + \ BY {attribute/product_id}) > 0)\n /\n {metric/revenue}" + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/percent_revenue_from_top_10_products + meta: + origin: + originType: NATIVE + originId: demo + - id: percent_revenue_in_category + type: metric + attributes: + title: '% Revenue in Category' + areRelationsValid: true + createdAt: 2024-01-11 13:32 + content: + format: '#,##0.0%' + maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, + ALL OTHER) + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/percent_revenue_in_category + meta: + origin: + originType: NATIVE + originId: demo + - id: percent_revenue_per_product + type: metric + attributes: + title: '% Revenue per Product' + areRelationsValid: true + createdAt: 2024-01-11 13:32 + 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 + meta: + origin: + originType: NATIVE + originId: demo 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 578f0d3bf..382ca035e 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 @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: @@ -126,6 +126,31 @@ interactions: origin: originType: NATIVE originId: demo + - id: type + type: attribute + attributes: + title: Type + description: Type + tags: + - Campaign channels + areRelationsValid: true + sourceColumn: type + sourceColumnDataType: STRING + relationships: + dataset: + data: + id: campaign_channels + type: dataset + labels: + data: + - id: type + type: label + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/type + meta: + origin: + originType: NATIVE + originId: demo - id: campaign_id type: attribute attributes: @@ -226,182 +251,189 @@ interactions: origin: originType: NATIVE originId: demo - - id: date.day + - id: region type: attribute attributes: - title: Date - Date - description: Date + title: Region + description: Region tags: - - Date - granularity: DAY + - Customers areRelationsValid: true + sourceColumn: region + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: customers type: dataset labels: data: - - id: date.day + - id: region type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.day + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/region meta: origin: originType: NATIVE originId: demo - - id: date.dayOfMonth + - id: order_id type: attribute attributes: - title: Date - Day of Month - description: Generic Day of the Month (D1-D31) + title: Order id + description: Order id tags: - - Date - granularity: DAY_OF_MONTH + - Order lines areRelationsValid: true + sourceColumn: order_id + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: order_lines type: dataset labels: data: - - id: date.dayOfMonth + - id: order_id type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfMonth + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_id meta: origin: originType: NATIVE originId: demo - - id: date.dayOfWeek + - id: order_line_id type: attribute attributes: - title: Date - Day of Week - description: Generic Day of the Week (D1-D7) + title: Order line id + description: Order line id tags: - - Date - granularity: DAY_OF_WEEK + - Order lines areRelationsValid: true + sourceColumn: order_line_id + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: order_lines type: dataset labels: data: - - id: date.dayOfWeek + - id: order_line_id type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfWeek + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_line_id meta: origin: originType: NATIVE originId: demo - - id: date.dayOfYear + - id: order_status type: attribute attributes: - title: Date - Day of Year - description: Generic Day of the Year (D1-D366) + title: Order status + description: Order status tags: - - Date - granularity: DAY_OF_YEAR + - Order lines areRelationsValid: true + sourceColumn: order_status + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: order_lines type: dataset labels: data: - - id: date.dayOfYear + - id: order_status type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_status meta: origin: originType: NATIVE originId: demo - - id: date.hour + - id: product_id type: attribute attributes: - title: Date - Hour - description: Hour + title: Product id + description: Product id tags: - - Date - granularity: HOUR + - Products areRelationsValid: true + sourceColumn: product_id + sourceColumnDataType: INT relationships: dataset: data: - id: date + id: products type: dataset labels: data: - - id: date.hour + - id: product_id type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hour + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_id meta: origin: originType: NATIVE originId: demo - - id: date.hourOfDay + - id: product_name type: attribute attributes: - title: Date - Hour of Day - description: Generic Hour of the Day(H1-H24) + title: Product name + description: Product name tags: - - Date - granularity: HOUR_OF_DAY + - Products areRelationsValid: true + sourceColumn: product_name + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: products type: dataset labels: data: - - id: date.hourOfDay + - id: product_name type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hourOfDay + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_name meta: origin: originType: NATIVE originId: demo - - id: date.minute + - id: products.category type: attribute attributes: - title: Date - Minute - description: Minute + title: Category + description: Category tags: - - Date - granularity: MINUTE + - Products areRelationsValid: true + sourceColumn: category + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: products type: dataset labels: data: - - id: date.minute + - id: products.category type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minute + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/products.category meta: origin: originType: NATIVE originId: demo - - id: date.minuteOfHour + - id: date.minute type: attribute attributes: - title: Date - Minute of Hour - description: Generic Minute of the Hour(MI1-MI60) + title: Date - Minute + description: Minute tags: - Date - granularity: MINUTE_OF_HOUR + granularity: MINUTE areRelationsValid: true relationships: dataset: @@ -410,22 +442,22 @@ interactions: type: dataset labels: data: - - id: date.minuteOfHour + - id: date.minute type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minuteOfHour + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minute meta: origin: originType: NATIVE originId: demo - - id: date.month + - id: date.hour type: attribute attributes: - title: Date - Month/Year - description: Month and Year (12/2020) + title: Date - Hour + description: Hour tags: - Date - granularity: MONTH + granularity: HOUR areRelationsValid: true relationships: dataset: @@ -434,22 +466,22 @@ interactions: type: dataset labels: data: - - id: date.month + - id: date.hour type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.month + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hour meta: origin: originType: NATIVE originId: demo - - id: date.monthOfYear + - id: date.day type: attribute attributes: - title: Date - Month of Year - description: Generic Month (M1-M12) + title: Date - Date + description: Date tags: - Date - granularity: MONTH_OF_YEAR + granularity: DAY areRelationsValid: true relationships: dataset: @@ -458,22 +490,22 @@ interactions: type: dataset labels: data: - - id: date.monthOfYear + - id: date.day type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.monthOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.day meta: origin: originType: NATIVE originId: demo - - id: date.quarter + - id: date.week type: attribute attributes: - title: Date - Quarter/Year - description: Quarter and Year (Q1/2020) + title: Date - Week/Year + description: Week and Year (W52/2020) tags: - Date - granularity: QUARTER + granularity: WEEK areRelationsValid: true relationships: dataset: @@ -482,22 +514,22 @@ interactions: type: dataset labels: data: - - id: date.quarter + - id: date.week type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarter + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week meta: origin: originType: NATIVE originId: demo - - id: date.quarterOfYear + - id: date.month type: attribute attributes: - title: Date - Quarter of Year - description: Generic Quarter (Q1-Q4) + title: Date - Month/Year + description: Month and Year (12/2020) tags: - Date - granularity: QUARTER_OF_YEAR + granularity: MONTH areRelationsValid: true relationships: dataset: @@ -506,22 +538,22 @@ interactions: type: dataset labels: data: - - id: date.quarterOfYear + - id: date.month type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarterOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.month meta: origin: originType: NATIVE originId: demo - - id: date.week + - id: date.quarter type: attribute attributes: - title: Date - Week/Year - description: Week and Year (W52/2020) + title: Date - Quarter/Year + description: Quarter and Year (Q1/2020) tags: - Date - granularity: WEEK + granularity: QUARTER areRelationsValid: true relationships: dataset: @@ -530,22 +562,22 @@ interactions: type: dataset labels: data: - - id: date.week + - id: date.quarter type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarter meta: origin: originType: NATIVE originId: demo - - id: date.weekOfYear + - id: date.year type: attribute attributes: - title: Date - Week of Year - description: Generic Week (W1-W53) + title: Date - Year + description: Year tags: - Date - granularity: WEEK_OF_YEAR + granularity: YEAR areRelationsValid: true relationships: dataset: @@ -554,22 +586,22 @@ interactions: type: dataset labels: data: - - id: date.weekOfYear + - id: date.year type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.weekOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.year meta: origin: originType: NATIVE originId: demo - - id: date.year + - id: date.minuteOfHour type: attribute attributes: - title: Date - Year - description: Year + title: Date - Minute of Hour + description: Generic Minute of the Hour(MI1-MI60) tags: - Date - granularity: YEAR + granularity: MINUTE_OF_HOUR areRelationsValid: true relationships: dataset: @@ -578,185 +610,178 @@ interactions: type: dataset labels: data: - - id: date.year + - id: date.minuteOfHour type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.year + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minuteOfHour meta: origin: originType: NATIVE originId: demo - - id: order_id + - id: date.hourOfDay type: attribute attributes: - title: Order id - description: Order id + title: Date - Hour of Day + description: Generic Hour of the Day(H1-H24) tags: - - Order lines + - Date + granularity: HOUR_OF_DAY areRelationsValid: true - sourceColumn: order_id - sourceColumnDataType: STRING relationships: dataset: data: - id: order_lines + id: date type: dataset labels: data: - - id: order_id + - id: date.hourOfDay type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_id + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hourOfDay meta: origin: originType: NATIVE originId: demo - - id: order_line_id + - id: date.dayOfWeek type: attribute attributes: - title: Order line id - description: Order line id + title: Date - Day of Week + description: Generic Day of the Week (D1-D7) tags: - - Order lines + - Date + granularity: DAY_OF_WEEK areRelationsValid: true - sourceColumn: order_line_id - sourceColumnDataType: STRING relationships: dataset: data: - id: order_lines + id: date type: dataset labels: data: - - id: order_line_id + - id: date.dayOfWeek type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_line_id + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfWeek meta: origin: originType: NATIVE originId: demo - - id: order_status + - id: date.dayOfMonth type: attribute attributes: - title: Order status - description: Order status + title: Date - Day of Month + description: Generic Day of the Month (D1-D31) tags: - - Order lines + - Date + granularity: DAY_OF_MONTH areRelationsValid: true - sourceColumn: order_status - sourceColumnDataType: STRING relationships: dataset: data: - id: order_lines + id: date type: dataset labels: data: - - id: order_status + - id: date.dayOfMonth type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_status + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfMonth meta: origin: originType: NATIVE originId: demo - - id: product_id + - id: date.dayOfYear type: attribute attributes: - title: Product id - description: Product id + title: Date - Day of Year + description: Generic Day of the Year (D1-D366) tags: - - Products + - Date + granularity: DAY_OF_YEAR areRelationsValid: true - sourceColumn: product_id - sourceColumnDataType: INT relationships: dataset: data: - id: products + id: date type: dataset labels: data: - - id: product_id + - id: date.dayOfYear type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_id + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfYear meta: origin: originType: NATIVE originId: demo - - id: product_name + - id: date.weekOfYear type: attribute attributes: - title: Product name - description: Product name + title: Date - Week of Year + description: Generic Week (W1-W53) tags: - - Products + - Date + granularity: WEEK_OF_YEAR areRelationsValid: true - sourceColumn: product_name - sourceColumnDataType: STRING relationships: dataset: data: - id: products + id: date type: dataset labels: data: - - id: product_name + - id: date.weekOfYear type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_name + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.weekOfYear meta: origin: originType: NATIVE originId: demo - - id: products.category + - id: date.monthOfYear type: attribute attributes: - title: Category - description: Category + title: Date - Month of Year + description: Generic Month (M1-M12) tags: - - Products + - Date + granularity: MONTH_OF_YEAR areRelationsValid: true - sourceColumn: category - sourceColumnDataType: STRING relationships: dataset: data: - id: products + id: date type: dataset labels: data: - - id: products.category + - id: date.monthOfYear type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/products.category + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.monthOfYear meta: origin: originType: NATIVE originId: demo - - id: region + - id: date.quarterOfYear type: attribute attributes: - title: Region - description: Region + title: Date - Quarter of Year + description: Generic Quarter (Q1-Q4) tags: - - Customers + - Date + granularity: QUARTER_OF_YEAR areRelationsValid: true - sourceColumn: region - sourceColumnDataType: STRING relationships: dataset: data: - id: customers + id: date type: dataset labels: data: - - id: region + - id: date.quarterOfYear type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/region + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarterOfYear meta: origin: originType: NATIVE @@ -782,37 +807,12 @@ interactions: type: dataset labels: data: - - id: geo__state__location - type: label - id: state type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state - meta: - origin: - originType: NATIVE - originId: demo - - id: type - type: attribute - attributes: - title: Type - description: Type - tags: - - Campaign channels - areRelationsValid: true - sourceColumn: type - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: campaign_channels - type: dataset - labels: - data: - - id: type + - id: geo__state__location type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/type + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state meta: origin: originType: NATIVE @@ -878,50 +878,50 @@ interactions: type: attribute referenceProperties: - identifier: - id: campaigns + id: customers type: dataset multivalue: false sources: - - column: campaign_id + - column: customer_id dataType: INT target: - id: campaign_id + id: customer_id type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: - id: date + id: products type: dataset multivalue: false sources: - - column: date - dataType: DATE + - column: product_id + dataType: INT target: - id: date - type: date + id: product_id + type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: - id: customers + id: date type: dataset multivalue: false sources: - - column: customer_id - dataType: INT + - column: date + dataType: DATE target: - id: customer_id - type: attribute + id: date + type: date sourceColumns: null sourceColumnDataTypes: null - identifier: - id: products + id: campaigns type: dataset multivalue: false sources: - - column: product_id + - column: campaign_id dataType: INT target: - id: product_id + id: campaign_id type: attribute sourceColumns: null sourceColumnDataTypes: null @@ -1472,12 +1472,12 @@ interactions: relationships: attributes: data: - - id: type - type: attribute - id: campaign_channel_id type: attribute - id: campaign_channels.category type: attribute + - id: type + type: attribute facts: data: - id: spend @@ -1509,10 +1509,10 @@ interactions: relationships: attributes: data: - - id: campaign_id - type: attribute - id: campaign_name type: attribute + - id: campaign_id + type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaigns meta: @@ -1538,64 +1538,16 @@ interactions: relationships: attributes: data: - - id: customer_name - type: attribute - - id: region - type: attribute - id: customer_id type: attribute - - id: state - type: attribute - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/customers - meta: - origin: - originType: NATIVE - originId: demo - - id: date - type: dataset - attributes: - title: Date - description: '' - tags: - - Date - areRelationsValid: true - type: DATE - relationships: - attributes: - data: - - id: date.quarterOfYear - type: attribute - - id: date.week - type: attribute - - id: date.quarter - type: attribute - - id: date.monthOfYear - type: attribute - - id: date.day - type: attribute - - id: date.minuteOfHour - type: attribute - - id: date.hour - type: attribute - - id: date.hourOfDay - type: attribute - - id: date.dayOfMonth - type: attribute - - id: date.weekOfYear - type: attribute - - id: date.year - type: attribute - - id: date.dayOfWeek - type: attribute - - id: date.dayOfYear + - id: customer_name type: attribute - - id: date.minute + - id: state type: attribute - - id: date.month + - id: region type: attribute links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date + self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/customers meta: origin: originType: NATIVE @@ -1612,14 +1564,26 @@ interactions: type: attribute referenceProperties: - identifier: - id: campaigns + id: customers + type: dataset + multivalue: false + sources: + - column: customer_id + dataType: INT + target: + id: customer_id + type: attribute + sourceColumns: null + sourceColumnDataTypes: null + - identifier: + id: products type: dataset multivalue: false sources: - - column: campaign_id + - column: product_id dataType: INT target: - id: campaign_id + id: product_id type: attribute sourceColumns: null sourceColumnDataTypes: null @@ -1636,26 +1600,14 @@ interactions: sourceColumns: null sourceColumnDataTypes: null - identifier: - id: customers - type: dataset - multivalue: false - sources: - - column: customer_id - dataType: INT - target: - id: customer_id - type: attribute - sourceColumns: null - sourceColumnDataTypes: null - - identifier: - id: products + id: campaigns type: dataset multivalue: false sources: - - column: product_id + - column: campaign_id dataType: INT target: - id: product_id + id: campaign_id type: attribute sourceColumns: null sourceColumnDataTypes: null @@ -1665,20 +1617,20 @@ interactions: - order_lines areRelationsValid: true workspaceDataFilterColumns: - - name: wdf__region - dataType: STRING - name: wdf__state dataType: STRING + - name: wdf__region + dataType: STRING workspaceDataFilterReferences: - filterId: - id: wdf__state + id: wdf__region type: workspaceDataFilter - filterColumn: wdf__state + filterColumn: wdf__region filterColumnDataType: STRING - filterId: - id: wdf__region + id: wdf__state type: workspaceDataFilter - filterColumn: wdf__region + filterColumn: wdf__state filterColumnDataType: STRING type: NORMAL relationships: @@ -1733,6 +1685,54 @@ interactions: origin: originType: NATIVE originId: demo + - id: date + type: dataset + attributes: + title: Date + description: '' + tags: + - Date + areRelationsValid: true + type: DATE + relationships: + attributes: + data: + - id: date.monthOfYear + type: attribute + - id: date.hourOfDay + type: attribute + - id: date.quarter + type: attribute + - id: date.month + type: attribute + - id: date.minuteOfHour + type: attribute + - id: date.dayOfWeek + type: attribute + - id: date.day + type: attribute + - id: date.quarterOfYear + type: attribute + - id: date.year + type: attribute + - id: date.dayOfMonth + type: attribute + - id: date.hour + type: attribute + - id: date.dayOfYear + type: attribute + - id: date.weekOfYear + type: attribute + - id: date.minute + type: attribute + - id: date.week + type: attribute + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date + meta: + origin: + originType: NATIVE + originId: demo included: - id: product_id type: attribute @@ -2170,17 +2170,51 @@ interactions: body: string: data: - - id: amount_of_active_customers + - id: revenue type: metric attributes: - title: '# of Active Customers' + title: Revenue + description: '' areRelationsValid: true - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:32 content: - format: '#,##0' - maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) + 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/amount_of_active_customers + self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/revenue + meta: + origin: + originType: NATIVE + originId: demo + - id: revenue-clothing + type: metric + attributes: + title: Revenue (Clothing) + areRelationsValid: true + createdAt: 2024-01-11 13:32 + 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 + meta: + origin: + originType: NATIVE + originId: demo + - id: revenue-electronic + type: metric + attributes: + title: Revenue (Electronic) + areRelationsValid: true + createdAt: 2024-01-11 13:32 + 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 meta: origin: originType: NATIVE @@ -2190,7 +2224,7 @@ interactions: attributes: title: '# of Orders' areRelationsValid: true - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:32 content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) @@ -2205,7 +2239,7 @@ interactions: attributes: title: '# of Top Customers' areRelationsValid: true - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:32 content: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT @@ -2222,7 +2256,7 @@ interactions: title: '# of Valid Orders' description: '' areRelationsValid: true - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:32 content: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} @@ -2238,7 +2272,7 @@ interactions: attributes: title: Campaign Spend areRelationsValid: true - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:32 content: format: $#,##0 maql: SELECT SUM({fact/spend}) @@ -2253,7 +2287,7 @@ interactions: attributes: title: Order Amount areRelationsValid: true - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:32 content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) @@ -2268,7 +2302,7 @@ interactions: attributes: title: '% Revenue' areRelationsValid: true - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:32 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} @@ -2283,7 +2317,7 @@ interactions: attributes: title: '% Revenue from Top 10 Customers' areRelationsValid: true - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:32 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2299,7 +2333,7 @@ interactions: attributes: title: '% Revenue from Top 10% Customers' areRelationsValid: true - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:32 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2315,7 +2349,7 @@ interactions: attributes: title: '% Revenue from Top 10% Products' areRelationsValid: true - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:32 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2326,99 +2360,17 @@ interactions: origin: originType: NATIVE originId: demo - - id: percent_revenue_from_top_10_products - type: metric - attributes: - title: '% Revenue from Top 10 Products' - areRelationsValid: true - createdAt: 2023-12-14 14:18 - content: - format: '#,##0.0%' - maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ - \ BY {attribute/product_id}) > 0)\n /\n {metric/revenue}" - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/percent_revenue_from_top_10_products - meta: - origin: - originType: NATIVE - originId: demo - - id: percent_revenue_in_category - type: metric - attributes: - title: '% Revenue in Category' - areRelationsValid: true - createdAt: 2023-12-14 14:18 - content: - format: '#,##0.0%' - maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, - ALL OTHER) - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/percent_revenue_in_category - meta: - origin: - originType: NATIVE - originId: demo - - id: percent_revenue_per_product - type: metric - attributes: - title: '% Revenue per Product' - areRelationsValid: true - createdAt: 2023-12-14 14:18 - 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 - meta: - origin: - originType: NATIVE - originId: demo - - id: revenue - type: metric - attributes: - title: Revenue - description: '' - areRelationsValid: true - createdAt: 2023-12-14 14:18 - 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 - meta: - origin: - originType: NATIVE - originId: demo - - id: revenue-clothing - type: metric - attributes: - title: Revenue (Clothing) - areRelationsValid: true - createdAt: 2023-12-14 14:18 - 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 - meta: - origin: - originType: NATIVE - originId: demo - - id: revenue-electronic + - id: amount_of_active_customers type: metric attributes: - title: Revenue (Electronic) + title: '# of Active Customers' areRelationsValid: true - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:32 content: - format: $#,##0 - maql: SELECT {metric/revenue} WHERE {label/products.category} IN - ( "Electronics") + format: '#,##0' + maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/revenue-electronic + self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/amount_of_active_customers meta: origin: originType: NATIVE @@ -2428,7 +2380,7 @@ interactions: attributes: title: Revenue (Home) areRelationsValid: true - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:32 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2444,7 +2396,7 @@ interactions: attributes: title: Revenue (Outdoor) areRelationsValid: true - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:32 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2460,7 +2412,7 @@ interactions: attributes: title: Revenue per Customer areRelationsValid: true - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:32 content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) @@ -2475,7 +2427,7 @@ interactions: attributes: title: Revenue per Dollar Spent areRelationsValid: true - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:32 content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} @@ -2490,7 +2442,7 @@ interactions: attributes: title: Revenue / Top 10 areRelationsValid: true - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:32 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) @@ -2505,7 +2457,7 @@ interactions: attributes: title: Revenue / Top 10% areRelationsValid: true - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:32 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) @@ -2520,7 +2472,7 @@ interactions: attributes: title: Total Revenue areRelationsValid: true - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:32 content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER @@ -2535,7 +2487,7 @@ interactions: attributes: title: Total Revenue (No Filters) areRelationsValid: true - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:32 content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER @@ -2545,6 +2497,54 @@ interactions: origin: originType: NATIVE originId: demo + - id: percent_revenue_from_top_10_products + type: metric + attributes: + title: '% Revenue from Top 10 Products' + areRelationsValid: true + createdAt: 2024-01-11 13:32 + content: + format: '#,##0.0%' + maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ + \ BY {attribute/product_id}) > 0)\n /\n {metric/revenue}" + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/percent_revenue_from_top_10_products + meta: + origin: + originType: NATIVE + originId: demo + - id: percent_revenue_in_category + type: metric + attributes: + title: '% Revenue in Category' + areRelationsValid: true + createdAt: 2024-01-11 13:32 + content: + format: '#,##0.0%' + maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, + ALL OTHER) + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/percent_revenue_in_category + meta: + origin: + originType: NATIVE + originId: demo + - id: percent_revenue_per_product + type: metric + attributes: + title: '% Revenue per Product' + areRelationsValid: true + createdAt: 2024-01-11 13:32 + 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 + meta: + origin: + originType: NATIVE + originId: demo 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_attributes.yaml b/gooddata-sdk/tests/catalog/fixtures/workspace_content/demo_catalog_list_attributes.yaml index 23d3aeeed..a2a5b3965 100644 --- a/gooddata-sdk/tests/catalog/fixtures/workspace_content/demo_catalog_list_attributes.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/workspace_content/demo_catalog_list_attributes.yaml @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: @@ -118,6 +118,27 @@ interactions: origin: originType: NATIVE originId: demo + - id: type + type: attribute + attributes: + title: Type + description: Type + tags: + - Campaign channels + areRelationsValid: true + sourceColumn: type + sourceColumnDataType: STRING + relationships: + labels: + data: + - id: type + type: label + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/type + meta: + origin: + originType: NATIVE + originId: demo - id: campaign_id type: attribute attributes: @@ -202,242 +223,232 @@ interactions: origin: originType: NATIVE originId: demo - - id: date.day + - id: region type: attribute attributes: - title: Date - Date - description: Date + title: Region + description: Region tags: - - Date - granularity: DAY + - Customers areRelationsValid: true + sourceColumn: region + sourceColumnDataType: STRING relationships: labels: data: - - id: date.day + - id: region type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.day + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/region meta: origin: originType: NATIVE originId: demo - - id: date.dayOfMonth + - id: state type: attribute attributes: - title: Date - Day of Month - description: Generic Day of the Month (D1-D31) + title: State + description: State tags: - - Date - granularity: DAY_OF_MONTH + - Customers areRelationsValid: true + sourceColumn: state + sourceColumnDataType: STRING relationships: labels: data: - - id: date.dayOfMonth + - id: state type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfMonth - meta: - origin: - originType: NATIVE - originId: demo - - id: date.dayOfWeek - type: attribute - attributes: - title: Date - Day of Week - description: Generic Day of the Week (D1-D7) - tags: - - Date - granularity: DAY_OF_WEEK - areRelationsValid: true - relationships: - labels: - data: - - id: date.dayOfWeek + - id: geo__state__location type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfWeek + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state meta: origin: originType: NATIVE originId: demo - - id: date.dayOfYear + - id: order_id type: attribute attributes: - title: Date - Day of Year - description: Generic Day of the Year (D1-D366) + title: Order id + description: Order id tags: - - Date - granularity: DAY_OF_YEAR + - Order lines areRelationsValid: true + sourceColumn: order_id + sourceColumnDataType: STRING relationships: labels: data: - - id: date.dayOfYear + - id: order_id type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_id meta: origin: originType: NATIVE originId: demo - - id: date.hour + - id: order_line_id type: attribute attributes: - title: Date - Hour - description: Hour + title: Order line id + description: Order line id tags: - - Date - granularity: HOUR + - Order lines areRelationsValid: true + sourceColumn: order_line_id + sourceColumnDataType: STRING relationships: labels: data: - - id: date.hour + - id: order_line_id type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hour + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_line_id meta: origin: originType: NATIVE originId: demo - - id: date.hourOfDay + - id: order_status type: attribute attributes: - title: Date - Hour of Day - description: Generic Hour of the Day(H1-H24) + title: Order status + description: Order status tags: - - Date - granularity: HOUR_OF_DAY + - Order lines areRelationsValid: true + sourceColumn: order_status + sourceColumnDataType: STRING relationships: labels: data: - - id: date.hourOfDay + - id: order_status type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hourOfDay + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_status meta: origin: originType: NATIVE originId: demo - - id: date.minute + - id: product_id type: attribute attributes: - title: Date - Minute - description: Minute + title: Product id + description: Product id tags: - - Date - granularity: MINUTE + - Products areRelationsValid: true + sourceColumn: product_id + sourceColumnDataType: INT relationships: labels: data: - - id: date.minute + - id: product_id type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minute + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_id meta: origin: originType: NATIVE originId: demo - - id: date.minuteOfHour + - id: product_name type: attribute attributes: - title: Date - Minute of Hour - description: Generic Minute of the Hour(MI1-MI60) + title: Product name + description: Product name tags: - - Date - granularity: MINUTE_OF_HOUR + - Products areRelationsValid: true + sourceColumn: product_name + sourceColumnDataType: STRING relationships: labels: data: - - id: date.minuteOfHour + - id: product_name type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minuteOfHour + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_name meta: origin: originType: NATIVE originId: demo - - id: date.month + - id: products.category type: attribute attributes: - title: Date - Month/Year - description: Month and Year (12/2020) + title: Category + description: Category tags: - - Date - granularity: MONTH + - Products areRelationsValid: true + sourceColumn: category + sourceColumnDataType: STRING relationships: labels: data: - - id: date.month + - id: products.category type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.month + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/products.category meta: origin: originType: NATIVE originId: demo - - id: date.monthOfYear + - id: date.minute type: attribute attributes: - title: Date - Month of Year - description: Generic Month (M1-M12) + title: Date - Minute + description: Minute tags: - Date - granularity: MONTH_OF_YEAR + granularity: MINUTE areRelationsValid: true relationships: labels: data: - - id: date.monthOfYear + - id: date.minute type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.monthOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minute meta: origin: originType: NATIVE originId: demo - - id: date.quarter + - id: date.hour type: attribute attributes: - title: Date - Quarter/Year - description: Quarter and Year (Q1/2020) + title: Date - Hour + description: Hour tags: - Date - granularity: QUARTER + granularity: HOUR areRelationsValid: true relationships: labels: data: - - id: date.quarter + - id: date.hour type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarter + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hour meta: origin: originType: NATIVE originId: demo - - id: date.quarterOfYear + - id: date.day type: attribute attributes: - title: Date - Quarter of Year - description: Generic Quarter (Q1-Q4) + title: Date - Date + description: Date tags: - Date - granularity: QUARTER_OF_YEAR + granularity: DAY areRelationsValid: true relationships: labels: data: - - id: date.quarterOfYear + - id: date.day type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarterOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.day meta: origin: originType: NATIVE @@ -462,233 +473,222 @@ interactions: origin: originType: NATIVE originId: demo - - id: date.weekOfYear + - id: date.month type: attribute attributes: - title: Date - Week of Year - description: Generic Week (W1-W53) + title: Date - Month/Year + description: Month and Year (12/2020) tags: - Date - granularity: WEEK_OF_YEAR + granularity: MONTH areRelationsValid: true relationships: labels: data: - - id: date.weekOfYear + - id: date.month type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.weekOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.month meta: origin: originType: NATIVE originId: demo - - id: date.year + - id: date.quarter type: attribute attributes: - title: Date - Year - description: Year + title: Date - Quarter/Year + description: Quarter and Year (Q1/2020) tags: - Date - granularity: YEAR + granularity: QUARTER areRelationsValid: true relationships: labels: data: - - id: date.year + - id: date.quarter type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.year + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarter meta: origin: originType: NATIVE originId: demo - - id: order_id + - id: date.year type: attribute attributes: - title: Order id - description: Order id + title: Date - Year + description: Year tags: - - Order lines + - Date + granularity: YEAR areRelationsValid: true - sourceColumn: order_id - sourceColumnDataType: STRING relationships: labels: data: - - id: order_id + - id: date.year type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_id + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.year meta: origin: originType: NATIVE originId: demo - - id: order_line_id + - id: date.minuteOfHour type: attribute attributes: - title: Order line id - description: Order line id + title: Date - Minute of Hour + description: Generic Minute of the Hour(MI1-MI60) tags: - - Order lines + - Date + granularity: MINUTE_OF_HOUR areRelationsValid: true - sourceColumn: order_line_id - sourceColumnDataType: STRING relationships: labels: data: - - id: order_line_id + - id: date.minuteOfHour type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_line_id + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minuteOfHour meta: origin: originType: NATIVE originId: demo - - id: order_status + - id: date.hourOfDay type: attribute attributes: - title: Order status - description: Order status + title: Date - Hour of Day + description: Generic Hour of the Day(H1-H24) tags: - - Order lines + - Date + granularity: HOUR_OF_DAY areRelationsValid: true - sourceColumn: order_status - sourceColumnDataType: STRING relationships: labels: data: - - id: order_status + - id: date.hourOfDay type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_status + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hourOfDay meta: origin: originType: NATIVE originId: demo - - id: product_id + - id: date.dayOfWeek type: attribute attributes: - title: Product id - description: Product id + title: Date - Day of Week + description: Generic Day of the Week (D1-D7) tags: - - Products + - Date + granularity: DAY_OF_WEEK areRelationsValid: true - sourceColumn: product_id - sourceColumnDataType: INT relationships: labels: data: - - id: product_id + - id: date.dayOfWeek type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_id + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfWeek meta: origin: originType: NATIVE originId: demo - - id: product_name + - id: date.dayOfMonth type: attribute attributes: - title: Product name - description: Product name + title: Date - Day of Month + description: Generic Day of the Month (D1-D31) tags: - - Products + - Date + granularity: DAY_OF_MONTH areRelationsValid: true - sourceColumn: product_name - sourceColumnDataType: STRING relationships: labels: data: - - id: product_name + - id: date.dayOfMonth type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_name + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfMonth meta: origin: originType: NATIVE originId: demo - - id: products.category + - id: date.dayOfYear type: attribute attributes: - title: Category - description: Category + title: Date - Day of Year + description: Generic Day of the Year (D1-D366) tags: - - Products + - Date + granularity: DAY_OF_YEAR areRelationsValid: true - sourceColumn: category - sourceColumnDataType: STRING relationships: labels: data: - - id: products.category + - id: date.dayOfYear type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/products.category + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfYear meta: origin: originType: NATIVE originId: demo - - id: region + - id: date.weekOfYear type: attribute attributes: - title: Region - description: Region + title: Date - Week of Year + description: Generic Week (W1-W53) tags: - - Customers + - Date + granularity: WEEK_OF_YEAR areRelationsValid: true - sourceColumn: region - sourceColumnDataType: STRING relationships: labels: data: - - id: region + - id: date.weekOfYear type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/region + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.weekOfYear meta: origin: originType: NATIVE originId: demo - - id: state + - id: date.monthOfYear type: attribute attributes: - title: State - description: State + title: Date - Month of Year + description: Generic Month (M1-M12) tags: - - Customers + - Date + granularity: MONTH_OF_YEAR areRelationsValid: true - sourceColumn: state - sourceColumnDataType: STRING relationships: labels: data: - - id: geo__state__location - type: label - - id: state + - id: date.monthOfYear type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.monthOfYear meta: origin: originType: NATIVE originId: demo - - id: type + - id: date.quarterOfYear type: attribute attributes: - title: Type - description: Type + title: Date - Quarter of Year + description: Generic Quarter (Q1-Q4) tags: - - Campaign channels + - Date + granularity: QUARTER_OF_YEAR areRelationsValid: true - sourceColumn: type - sourceColumnDataType: STRING relationships: labels: data: - - id: type + - id: date.quarterOfYear type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/type + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarterOfYear meta: origin: originType: NATIVE diff --git a/gooddata-sdk/tests/catalog/fixtures/workspace_content/demo_catalog_list_facts.yaml b/gooddata-sdk/tests/catalog/fixtures/workspace_content/demo_catalog_list_facts.yaml index 01d7007c3..00e2359c5 100644 --- a/gooddata-sdk/tests/catalog/fixtures/workspace_content/demo_catalog_list_facts.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/workspace_content/demo_catalog_list_facts.yaml @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: @@ -92,6 +92,22 @@ interactions: origin: originType: NATIVE originId: demo + - id: spend + type: fact + attributes: + title: Spend + description: Spend + tags: + - Campaign channels + sourceColumn: spend + sourceColumnDataType: NUMERIC + areRelationsValid: true + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/facts/spend + meta: + origin: + originType: NATIVE + originId: demo - id: price type: fact attributes: @@ -124,22 +140,6 @@ interactions: origin: originType: NATIVE originId: demo - - id: spend - type: fact - attributes: - title: Spend - description: Spend - tags: - - Campaign channels - sourceColumn: spend - sourceColumnDataType: NUMERIC - areRelationsValid: true - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/facts/spend - meta: - origin: - originType: NATIVE - originId: demo links: self: http://localhost:3000/api/v1/entities/workspaces/demo/facts?page=0&size=500 next: http://localhost:3000/api/v1/entities/workspaces/demo/facts?page=1&size=500 diff --git a/gooddata-sdk/tests/catalog/fixtures/workspace_content/demo_catalog_list_labels.yaml b/gooddata-sdk/tests/catalog/fixtures/workspace_content/demo_catalog_list_labels.yaml index f79a16481..faa1c7b3c 100644 --- a/gooddata-sdk/tests/catalog/fixtures/workspace_content/demo_catalog_list_labels.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/workspace_content/demo_catalog_list_labels.yaml @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: @@ -112,6 +112,24 @@ interactions: origin: originType: NATIVE originId: demo + - id: type + type: label + attributes: + title: Type + description: Type + tags: + - Campaign channels + primary: true + sourceColumn: type + sourceColumnDataType: STRING + valueType: TEXT + areRelationsValid: true + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/type + meta: + origin: + originType: NATIVE + originId: demo - id: campaign_id type: label attributes: @@ -184,194 +202,211 @@ interactions: origin: originType: NATIVE originId: demo - - id: date.day + - id: region type: label attributes: - title: Date - Date - description: Date + title: Region + description: Region tags: - - Date + - Customers primary: true - sourceColumn: '' + sourceColumn: region + sourceColumnDataType: STRING + valueType: TEXT areRelationsValid: true links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.day + self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/region meta: origin: originType: NATIVE originId: demo - - id: date.dayOfMonth + - id: state type: label attributes: - title: Date - Day of Month - description: Generic Day of the Month (D1-D31) + title: State + description: State tags: - - Date + - Customers primary: true - sourceColumn: '' + sourceColumn: state + sourceColumnDataType: STRING + valueType: TEXT areRelationsValid: true links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfMonth + self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/state meta: origin: originType: NATIVE originId: demo - - id: date.dayOfWeek + - id: geo__state__location type: label attributes: - title: Date - Day of Week - description: Generic Day of the Week (D1-D7) + title: Location + description: Location tags: - - Date - primary: true - sourceColumn: '' + - Customers + primary: false + sourceColumn: geo__state__location + sourceColumnDataType: STRING areRelationsValid: true links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfWeek + self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/geo__state__location meta: origin: originType: NATIVE originId: demo - - id: date.dayOfYear + - id: order_id type: label attributes: - title: Date - Day of Year - description: Generic Day of the Year (D1-D366) + title: Order id + description: Order id tags: - - Date + - Order lines primary: true - sourceColumn: '' + sourceColumn: order_id + sourceColumnDataType: STRING + valueType: TEXT areRelationsValid: true links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/order_id meta: origin: originType: NATIVE originId: demo - - id: date.hour + - id: order_line_id type: label attributes: - title: Date - Hour - description: Hour + title: Order line id + description: Order line id tags: - - Date + - Order lines primary: true - sourceColumn: '' + sourceColumn: order_line_id + sourceColumnDataType: STRING + valueType: TEXT areRelationsValid: true links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.hour + self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/order_line_id meta: origin: originType: NATIVE originId: demo - - id: date.hourOfDay + - id: order_status type: label attributes: - title: Date - Hour of Day - description: Generic Hour of the Day(H1-H24) + title: Order status + description: Order status tags: - - Date + - Order lines primary: true - sourceColumn: '' + sourceColumn: order_status + sourceColumnDataType: STRING + valueType: TEXT areRelationsValid: true links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.hourOfDay + self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/order_status meta: origin: originType: NATIVE originId: demo - - id: date.minute + - id: product_id type: label attributes: - title: Date - Minute - description: Minute + title: Product id + description: Product id tags: - - Date + - Products primary: true - sourceColumn: '' + sourceColumn: product_id + sourceColumnDataType: INT + valueType: TEXT areRelationsValid: true links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.minute + self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/product_id meta: origin: originType: NATIVE originId: demo - - id: date.minuteOfHour + - id: product_name type: label attributes: - title: Date - Minute of Hour - description: Generic Minute of the Hour(MI1-MI60) + title: Product name + description: Product name tags: - - Date + - Products primary: true - sourceColumn: '' + sourceColumn: product_name + sourceColumnDataType: STRING + valueType: TEXT areRelationsValid: true links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.minuteOfHour + self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/product_name meta: origin: originType: NATIVE originId: demo - - id: date.month + - id: products.category type: label attributes: - title: Date - Month/Year - description: Month and Year (12/2020) + title: Category + description: Category tags: - - Date + - Products primary: true - sourceColumn: '' + sourceColumn: category + sourceColumnDataType: STRING + valueType: TEXT areRelationsValid: true links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.month + self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/products.category meta: origin: originType: NATIVE originId: demo - - id: date.monthOfYear + - id: date.minute type: label attributes: - title: Date - Month of Year - description: Generic Month (M1-M12) + title: Date - Minute + description: Minute tags: - Date primary: true sourceColumn: '' areRelationsValid: true links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.monthOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.minute meta: origin: originType: NATIVE originId: demo - - id: date.quarter + - id: date.hour type: label attributes: - title: Date - Quarter/Year - description: Quarter and Year (Q1/2020) + title: Date - Hour + description: Hour tags: - Date primary: true sourceColumn: '' areRelationsValid: true links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.quarter + self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.hour meta: origin: originType: NATIVE originId: demo - - id: date.quarterOfYear + - id: date.day type: label attributes: - title: Date - Quarter of Year - description: Generic Quarter (Q1-Q4) + title: Date - Date + description: Date tags: - Date primary: true sourceColumn: '' areRelationsValid: true links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.quarterOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.day meta: origin: originType: NATIVE @@ -392,213 +427,178 @@ interactions: origin: originType: NATIVE originId: demo - - id: date.weekOfYear + - id: date.month type: label attributes: - title: Date - Week of Year - description: Generic Week (W1-W53) + title: Date - Month/Year + description: Month and Year (12/2020) tags: - Date primary: true sourceColumn: '' areRelationsValid: true links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.weekOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.month meta: origin: originType: NATIVE originId: demo - - id: date.year + - id: date.quarter type: label attributes: - title: Date - Year - description: Year + title: Date - Quarter/Year + description: Quarter and Year (Q1/2020) tags: - Date primary: true sourceColumn: '' areRelationsValid: true links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.year - meta: - origin: - originType: NATIVE - originId: demo - - id: geo__state__location - type: label - attributes: - title: Location - description: Location - tags: - - Customers - primary: false - sourceColumn: geo__state__location - sourceColumnDataType: STRING - areRelationsValid: true - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/geo__state__location + self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.quarter meta: origin: originType: NATIVE originId: demo - - id: order_id + - id: date.year type: label attributes: - title: Order id - description: Order id + title: Date - Year + description: Year tags: - - Order lines + - Date primary: true - sourceColumn: order_id - sourceColumnDataType: STRING - valueType: TEXT + sourceColumn: '' areRelationsValid: true links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/order_id + self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.year meta: origin: originType: NATIVE originId: demo - - id: order_line_id + - id: date.minuteOfHour type: label attributes: - title: Order line id - description: Order line id + title: Date - Minute of Hour + description: Generic Minute of the Hour(MI1-MI60) tags: - - Order lines + - Date primary: true - sourceColumn: order_line_id - sourceColumnDataType: STRING - valueType: TEXT + sourceColumn: '' areRelationsValid: true links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/order_line_id + self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.minuteOfHour meta: origin: originType: NATIVE originId: demo - - id: order_status + - id: date.hourOfDay type: label attributes: - title: Order status - description: Order status + title: Date - Hour of Day + description: Generic Hour of the Day(H1-H24) tags: - - Order lines + - Date primary: true - sourceColumn: order_status - sourceColumnDataType: STRING - valueType: TEXT + sourceColumn: '' areRelationsValid: true links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/order_status + self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.hourOfDay meta: origin: originType: NATIVE originId: demo - - id: product_id + - id: date.dayOfWeek type: label attributes: - title: Product id - description: Product id + title: Date - Day of Week + description: Generic Day of the Week (D1-D7) tags: - - Products + - Date primary: true - sourceColumn: product_id - sourceColumnDataType: INT - valueType: TEXT + sourceColumn: '' areRelationsValid: true links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/product_id + self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfWeek meta: origin: originType: NATIVE originId: demo - - id: product_name + - id: date.dayOfMonth type: label attributes: - title: Product name - description: Product name + title: Date - Day of Month + description: Generic Day of the Month (D1-D31) tags: - - Products + - Date primary: true - sourceColumn: product_name - sourceColumnDataType: STRING - valueType: TEXT + sourceColumn: '' areRelationsValid: true links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/product_name + self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfMonth meta: origin: originType: NATIVE originId: demo - - id: products.category + - id: date.dayOfYear type: label attributes: - title: Category - description: Category + title: Date - Day of Year + description: Generic Day of the Year (D1-D366) tags: - - Products + - Date primary: true - sourceColumn: category - sourceColumnDataType: STRING - valueType: TEXT + sourceColumn: '' areRelationsValid: true links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/products.category + self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfYear meta: origin: originType: NATIVE originId: demo - - id: region + - id: date.weekOfYear type: label attributes: - title: Region - description: Region + title: Date - Week of Year + description: Generic Week (W1-W53) tags: - - Customers + - Date primary: true - sourceColumn: region - sourceColumnDataType: STRING - valueType: TEXT + sourceColumn: '' areRelationsValid: true links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/region + self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.weekOfYear meta: origin: originType: NATIVE originId: demo - - id: state + - id: date.monthOfYear type: label attributes: - title: State - description: State + title: Date - Month of Year + description: Generic Month (M1-M12) tags: - - Customers + - Date primary: true - sourceColumn: state - sourceColumnDataType: STRING - valueType: TEXT + sourceColumn: '' areRelationsValid: true links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/state + self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.monthOfYear meta: origin: originType: NATIVE originId: demo - - id: type + - id: date.quarterOfYear type: label attributes: - title: Type - description: Type + title: Date - Quarter of Year + description: Generic Quarter (Q1-Q4) tags: - - Campaign channels + - Date primary: true - sourceColumn: type - sourceColumnDataType: STRING - valueType: TEXT + sourceColumn: '' areRelationsValid: true links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/type + self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.quarterOfYear meta: origin: originType: NATIVE 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 f335cc46e..fbdf82093 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 @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: @@ -81,7 +81,7 @@ interactions: attributes: title: '# of Active Customers' areRelationsValid: true - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) @@ -96,7 +96,7 @@ interactions: attributes: title: '# of Orders' areRelationsValid: true - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) @@ -111,7 +111,7 @@ interactions: attributes: title: '# of Top Customers' areRelationsValid: true - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 content: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT @@ -128,7 +128,7 @@ interactions: title: '# of Valid Orders' description: '' areRelationsValid: true - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 content: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} @@ -144,7 +144,7 @@ interactions: attributes: title: Campaign Spend areRelationsValid: true - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 content: format: $#,##0 maql: SELECT SUM({fact/spend}) @@ -159,7 +159,7 @@ interactions: attributes: title: Order Amount areRelationsValid: true - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) @@ -174,7 +174,7 @@ interactions: attributes: title: '% Revenue' areRelationsValid: true - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} @@ -189,7 +189,7 @@ interactions: attributes: title: '% Revenue from Top 10 Customers' areRelationsValid: true - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -205,7 +205,7 @@ interactions: attributes: title: '% Revenue from Top 10% Customers' areRelationsValid: true - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -221,7 +221,7 @@ interactions: attributes: title: '% Revenue from Top 10% Products' areRelationsValid: true - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -237,7 +237,7 @@ interactions: attributes: title: '% Revenue from Top 10 Products' areRelationsValid: true - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -253,7 +253,7 @@ interactions: attributes: title: '% Revenue in Category' areRelationsValid: true - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, @@ -269,7 +269,7 @@ interactions: attributes: title: '% Revenue per Product' areRelationsValid: true - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL @@ -286,7 +286,7 @@ interactions: title: Revenue description: '' areRelationsValid: true - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 content: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} @@ -302,7 +302,7 @@ interactions: attributes: title: Revenue (Clothing) areRelationsValid: true - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -318,7 +318,7 @@ interactions: attributes: title: Revenue (Electronic) areRelationsValid: true - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -334,7 +334,7 @@ interactions: attributes: title: Revenue (Home) areRelationsValid: true - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -350,7 +350,7 @@ interactions: attributes: title: Revenue (Outdoor) areRelationsValid: true - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -366,7 +366,7 @@ interactions: attributes: title: Revenue per Customer areRelationsValid: true - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) @@ -381,7 +381,7 @@ interactions: attributes: title: Revenue per Dollar Spent areRelationsValid: true - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} @@ -396,7 +396,7 @@ interactions: attributes: title: Revenue / Top 10 areRelationsValid: true - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) @@ -411,7 +411,7 @@ interactions: attributes: title: Revenue / Top 10% areRelationsValid: true - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) @@ -426,7 +426,7 @@ interactions: attributes: title: Total Revenue areRelationsValid: true - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER @@ -441,7 +441,7 @@ interactions: attributes: title: Total Revenue (No Filters) areRelationsValid: true - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER diff --git a/gooddata-sdk/tests/catalog/fixtures/workspace_content/demo_get_declarative_analytics_model.yaml b/gooddata-sdk/tests/catalog/fixtures/workspace_content/demo_get_declarative_analytics_model.yaml index e1e691914..aaaec3cdb 100644 --- a/gooddata-sdk/tests/catalog/fixtures/workspace_content/demo_get_declarative_analytics_model.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/workspace_content/demo_get_declarative_analytics_model.yaml @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: @@ -74,7 +74,7 @@ interactions: X-XSS-Protection: - 1 ; mode=block content-length: - - '27705' + - '27731' body: string: analytics: @@ -315,6 +315,7 @@ interactions: description: '' id: product_and_category title: Product & Category + attributeHierarchies: [] dashboardPlugins: - content: url: https://www.example.com diff --git a/gooddata-sdk/tests/catalog/fixtures/workspace_content/demo_get_declarative_analytics_model_child.yaml b/gooddata-sdk/tests/catalog/fixtures/workspace_content/demo_get_declarative_analytics_model_child.yaml index 9613eb071..5afc6d87d 100644 --- a/gooddata-sdk/tests/catalog/fixtures/workspace_content/demo_get_declarative_analytics_model_child.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/workspace_content/demo_get_declarative_analytics_model_child.yaml @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: @@ -74,7 +74,7 @@ interactions: X-XSS-Protection: - 1 ; mode=block content-length: - - '250' + - '276' body: string: analytics: @@ -85,6 +85,7 @@ interactions: type: allWorkspaceUsers name: VIEW analyticalDashboards: [] + attributeHierarchies: [] dashboardPlugins: [] filterContexts: [] metrics: [] diff --git a/gooddata-sdk/tests/catalog/fixtures/workspace_content/demo_get_declarative_ldm.yaml b/gooddata-sdk/tests/catalog/fixtures/workspace_content/demo_get_declarative_ldm.yaml index 4ae7e8a91..d94f151e0 100644 --- a/gooddata-sdk/tests/catalog/fixtures/workspace_content/demo_get_declarative_ldm.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/workspace_content/demo_get_declarative_ldm.yaml @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: 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 80a1f2273..7a8795b97 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 @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: @@ -95,21 +95,17 @@ interactions: type: attribute - id: campaigns type: dataset - - - id: customer_id - type: attribute - - id: customers - type: dataset - - id: customer_id type: attribute - id: amount_of_top_customers type: metric - - id: customer_id type: attribute - - id: amount_of_active_customers + - id: revenue_per_customer type: metric - - id: customer_id type: attribute - - id: percent_revenue_from_top_10_percent_customers + - id: amount_of_active_customers type: metric - - id: customer_id type: attribute @@ -117,8 +113,12 @@ interactions: type: metric - - id: customer_id type: attribute - - id: revenue_per_customer + - id: percent_revenue_from_top_10_percent_customers type: metric + - - id: customer_id + type: attribute + - id: customers + type: dataset - - id: customer_name type: attribute - id: customers @@ -179,19 +179,23 @@ interactions: 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: date.year + - - id: order_id type: attribute - - id: product_revenue_comparison-over_previous_period - type: visualizationObject + - id: order_lines + type: dataset - - id: order_id type: attribute - id: amount_of_orders type: metric - - - id: order_id + - - id: order_line_id type: attribute - id: order_lines type: dataset @@ -199,14 +203,14 @@ interactions: type: attribute - id: amount_of_active_customers type: metric - - - id: order_line_id - type: attribute - - id: order_lines - type: dataset - - id: order_status type: attribute - id: order_lines type: dataset + - - id: product_id + type: attribute + - id: percent_revenue_per_product + type: metric - - id: product_id type: attribute - id: percent_revenue_from_top_10_percent_products @@ -219,10 +223,6 @@ interactions: type: attribute - id: percent_revenue_from_top_10_products type: metric - - - id: product_id - type: attribute - - id: percent_revenue_per_product - type: metric - - id: product_name type: attribute - id: products @@ -253,11 +253,11 @@ interactions: type: analyticalDashboard - - id: campaigns type: dataset - - id: campaign_channels + - id: order_lines type: dataset - - id: campaigns type: dataset - - id: order_lines + - id: campaign_channels type: dataset - - id: customers type: dataset @@ -265,11 +265,7 @@ interactions: type: dataset - - id: date type: dataset - - id: product_and_category - type: analyticalDashboard - - - id: date - type: dataset - - id: revenue_trend + - id: product_revenue_comparison-over_previous_period type: visualizationObject - - id: date type: dataset @@ -277,20 +273,24 @@ interactions: type: visualizationObject - - id: date type: dataset - - id: product_revenue_comparison-over_previous_period - type: visualizationObject + - id: order_lines + type: dataset - - id: date type: dataset - id: revenue_by_category_trend type: visualizationObject - - id: date type: dataset - - id: order_lines - type: dataset + - id: percentage_of_customers_by_region + type: visualizationObject - - id: date type: dataset - - id: percentage_of_customers_by_region + - id: revenue_trend type: visualizationObject + - - id: date + type: dataset + - id: product_and_category + type: analyticalDashboard - - id: products type: dataset - id: order_lines @@ -299,26 +299,26 @@ interactions: type: fact - id: campaign_channels type: dataset - - - id: price - type: fact - - id: order_amount - type: metric - - id: price 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: price + type: fact + - id: revenue_and_quantity_by_product_and_category + type: visualizationObject - - id: quantity type: fact - id: order_lines type: dataset + - - id: quantity + type: fact + - id: order_amount + type: metric - - id: quantity type: fact - id: revenue_and_quantity_by_product_and_category @@ -349,19 +349,19 @@ interactions: type: attribute - - id: campaign_name type: label - - id: campaign_name - type: attribute + - id: campaign_name_filter + type: filterContext - - id: campaign_name type: label - - id: revenue_per_usd_vs_spend_by_campaign + - id: campaign_spend type: visualizationObject - - id: campaign_name type: label - - id: campaign_name_filter - type: filterContext + - id: campaign_name + type: attribute - - id: campaign_name type: label - - id: campaign_spend + - id: revenue_per_usd_vs_spend_by_campaign type: visualizationObject - - id: customer_id type: label @@ -369,7 +369,7 @@ interactions: type: attribute - - id: customer_name type: label - - id: top_10_customers + - id: percent_revenue_per_product_by_customer_and_category type: visualizationObject - - id: customer_name type: label @@ -377,11 +377,11 @@ interactions: type: attribute - - id: customer_name type: label - - id: percent_revenue_per_product_by_customer_and_category + - id: revenue_and_quantity_by_product_and_category type: visualizationObject - - id: customer_name type: label - - id: revenue_and_quantity_by_product_and_category + - id: top_10_customers type: visualizationObject - - id: date.day type: label @@ -417,15 +417,15 @@ interactions: type: attribute - - id: date.month type: label - - id: customers_trend + - id: percentage_of_customers_by_region type: visualizationObject - - id: date.month type: label - - id: revenue_by_category_trend + - id: revenue_trend type: visualizationObject - - id: date.month type: label - - id: percentage_of_customers_by_region + - id: customers_trend type: visualizationObject - - id: date.month type: label @@ -433,7 +433,7 @@ interactions: type: attribute - - id: date.month type: label - - id: revenue_trend + - id: revenue_by_category_trend type: visualizationObject - - id: date.monthOfYear type: label @@ -471,10 +471,6 @@ interactions: type: label - id: order_line_id type: attribute - - - id: order_status - type: label - - id: revenue - type: metric - - id: order_status type: label - id: order_status @@ -483,33 +479,41 @@ interactions: type: label - id: amount_of_valid_orders type: metric + - - id: order_status + type: label + - id: revenue + type: metric - - id: product_id type: label - id: product_id type: attribute - - id: product_name type: label - - id: product_name - type: attribute + - id: percent_revenue_per_product_by_customer_and_category + type: visualizationObject - - id: product_name type: label - id: product_categories_pie_chart type: visualizationObject - - id: product_name type: label - - id: product_saleability + - id: product_breakdown type: visualizationObject - - id: product_name type: label - - id: product_breakdown + - id: product_saleability type: visualizationObject - - id: product_name type: label - - id: percent_revenue_per_product_by_customer_and_category + - id: revenue_and_quantity_by_product_and_category type: visualizationObject - - id: product_name type: label - - id: revenue_and_quantity_by_product_and_category + - id: product_name + type: attribute + - - id: product_name + type: label + - id: product_revenue_comparison-over_previous_period type: visualizationObject - - id: product_name type: label @@ -519,9 +523,13 @@ interactions: type: label - id: top_10_products type: visualizationObject - - - id: product_name + - - id: products.category type: label - - id: product_revenue_comparison-over_previous_period + - id: revenue-home + type: metric + - - id: products.category + type: label + - id: percent_revenue_per_product_by_customer_and_category type: visualizationObject - - id: products.category type: label @@ -529,8 +537,12 @@ interactions: type: visualizationObject - - id: products.category type: label - - id: revenue-home + - id: revenue-outdoor type: metric + - - id: products.category + type: label + - id: products.category + type: attribute - - id: products.category type: label - id: product_breakdown @@ -541,44 +553,32 @@ interactions: type: visualizationObject - - id: products.category type: label - - id: percent_revenue_per_product_by_customer_and_category + - id: revenue_and_quantity_by_product_and_category type: visualizationObject - - id: products.category type: label - - id: revenue-electronic + - id: revenue-clothing type: metric - - id: products.category type: label - - id: revenue-outdoor + - id: revenue-electronic type: metric - - id: products.category type: label - - id: revenue_and_quantity_by_product_and_category + - id: product_revenue_comparison-over_previous_period type: visualizationObject - - id: products.category type: label - id: top_10_products type: visualizationObject - - - id: products.category - type: label - - id: revenue-clothing - type: metric - - - id: products.category + - - id: region type: label - - id: product_revenue_comparison-over_previous_period + - id: percentage_of_customers_by_region type: visualizationObject - - - id: products.category - type: label - - id: products.category - type: attribute - - id: region type: label - id: region type: attribute - - - id: region - type: label - - id: percentage_of_customers_by_region - type: visualizationObject - - id: region type: label - id: region_filter @@ -601,7 +601,7 @@ interactions: type: visualizationObject - - id: amount_of_active_customers type: metric - - id: customers_trend + - id: percentage_of_customers_by_region type: visualizationObject - - id: amount_of_active_customers type: metric @@ -609,12 +609,8 @@ interactions: type: metric - - id: amount_of_active_customers type: metric - - id: percentage_of_customers_by_region + - id: customers_trend type: visualizationObject - - - id: amount_of_orders - type: metric - - id: amount_of_valid_orders - type: metric - - id: amount_of_orders type: metric - id: product_saleability @@ -623,9 +619,13 @@ interactions: type: metric - id: revenue_trend type: visualizationObject + - - id: amount_of_orders + type: metric + - id: amount_of_valid_orders + type: metric - - id: campaign_spend type: metric - - id: revenue_per_usd_vs_spend_by_campaign + - id: campaign_spend type: visualizationObject - - id: campaign_spend type: metric @@ -633,7 +633,7 @@ interactions: type: metric - - id: campaign_spend type: metric - - id: campaign_spend + - id: revenue_per_usd_vs_spend_by_campaign type: visualizationObject - - id: order_amount type: metric @@ -649,27 +649,23 @@ interactions: type: visualizationObject - - id: revenue type: metric - - id: percent_revenue_per_product + - id: revenue-home type: metric - - id: revenue type: metric - - id: amount_of_top_customers - type: metric + - id: percent_revenue_per_product_by_customer_and_category + type: visualizationObject - - id: revenue type: metric - - id: percent_revenue + - id: percent_revenue_from_top_10_percent_products type: metric - - id: revenue type: metric - - id: revenue_top_10_percent - type: metric - - - id: revenue + - id: revenue-outdoor type: metric - - id: percent_revenue_per_product_by_customer_and_category - type: visualizationObject - - id: revenue type: metric - - id: revenue_per_customer + - id: revenue_per_dollar_spent type: metric - - id: revenue type: metric @@ -677,11 +673,11 @@ interactions: type: visualizationObject - - id: revenue type: metric - - id: revenue_by_product - type: visualizationObject + - id: revenue-electronic + type: metric - - id: revenue type: metric - - id: revenue_trend + - id: product_revenue_comparison-over_previous_period type: visualizationObject - - id: revenue type: metric @@ -689,11 +685,7 @@ interactions: type: metric - - id: revenue type: metric - - id: product_revenue_comparison-over_previous_period - type: visualizationObject - - - id: revenue - type: metric - - id: percent_revenue_from_top_10_percent_products + - id: percent_revenue_per_product type: metric - - id: revenue type: metric @@ -701,15 +693,15 @@ interactions: type: visualizationObject - - id: revenue type: metric - - id: product_saleability - type: visualizationObject + - id: amount_of_top_customers + type: metric - - id: revenue type: metric - - id: percent_revenue_from_top_10_products + - id: revenue_per_customer type: metric - - id: revenue type: metric - - id: revenue-home + - id: revenue_top_10_percent type: metric - - id: revenue type: metric @@ -717,15 +709,19 @@ interactions: type: visualizationObject - - id: revenue type: metric - - id: revenue_by_category_trend - type: visualizationObject + - id: percent_revenue_from_top_10_customers + type: metric - - id: revenue type: metric - - id: revenue-electronic + - id: product_saleability + type: visualizationObject + - - id: revenue type: metric + - id: revenue_by_category_trend + type: visualizationObject - - id: revenue type: metric - - id: revenue-outdoor + - id: percent_revenue type: metric - - id: revenue type: metric @@ -733,23 +729,27 @@ interactions: type: metric - - id: revenue type: metric - - id: revenue_top_10 - type: metric + - id: revenue_trend + type: visualizationObject - - id: revenue type: metric - - id: percent_revenue_in_category + - id: revenue-clothing type: metric - - id: revenue type: metric - - id: percent_revenue_from_top_10_customers + - id: revenue_by_product + type: visualizationObject + - - id: revenue + type: metric + - id: revenue_top_10 type: metric - - id: revenue type: metric - - id: revenue-clothing + - id: percent_revenue_from_top_10_products type: metric - - id: revenue type: metric - - id: revenue_per_dollar_spent + - id: percent_revenue_in_category type: metric - - id: revenue_per_customer type: metric @@ -763,6 +763,10 @@ interactions: type: metric - id: top_10_customers type: visualizationObject + - - id: revenue_top_10 + type: metric + - id: percent_revenue_from_top_10_customers + type: metric - - id: revenue_top_10 type: metric - id: percent_revenue_from_top_10_products @@ -771,10 +775,6 @@ interactions: type: metric - 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 @@ -785,11 +785,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 @@ -825,11 +825,11 @@ interactions: type: analyticalDashboard - - id: top_10_products type: visualizationObject - - id: product_and_category + - id: dashboard_plugin type: analyticalDashboard - - id: top_10_products type: visualizationObject - - id: dashboard_plugin + - id: product_and_category type: analyticalDashboard - - id: campaign_name_filter type: filterContext diff --git a/gooddata-sdk/tests/catalog/fixtures/workspace_content/demo_get_dependent_entities_graph_from_entry_points.yaml b/gooddata-sdk/tests/catalog/fixtures/workspace_content/demo_get_dependent_entities_graph_from_entry_points.yaml index 379006470..59ce507bb 100644 --- a/gooddata-sdk/tests/catalog/fixtures/workspace_content/demo_get_dependent_entities_graph_from_entry_points.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/workspace_content/demo_get_dependent_entities_graph_from_entry_points.yaml @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: 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 8a9cd8953..036b6a7a4 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 @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: @@ -79,7 +79,7 @@ interactions: to access it. status: 404 title: Not Found - traceId: 855650b8ba771261 + traceId: 9858e6b9c7b4d5d6 - request: method: POST uri: http://localhost:3000/api/v1/entities/workspaces @@ -655,8 +655,8 @@ interactions: url: jdbc:postgresql://localhost:5432/demo username: demouser enableCaching: false - type: POSTGRESQL name: demo-test-ds + type: POSTGRESQL schema: demo links: self: http://localhost:3000/api/v1/entities/dataSources/demo-test-ds @@ -1139,8 +1139,8 @@ interactions: url: jdbc:postgresql://localhost:5432/demo username: demouser enableCaching: false - type: POSTGRESQL name: demo-test-ds + type: POSTGRESQL schema: demo links: self: http://localhost:3000/api/v1/entities/dataSources/demo-test-ds @@ -2230,6 +2230,7 @@ interactions: id: product_and_category title: Product & Category description: '' + attributeHierarchies: [] dashboardPlugins: - content: url: https://www.example.com @@ -3667,6 +3668,7 @@ interactions: type: allWorkspaceUsers name: VIEW analyticalDashboards: [] + attributeHierarchies: [] dashboardPlugins: [] filterContexts: [] metrics: [] @@ -3696,6 +3698,7 @@ interactions: analytics: analyticalDashboardExtensions: [] analyticalDashboards: [] + attributeHierarchies: [] dashboardPlugins: [] filterContexts: [] metrics: [] 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 433b7d055..c528151f8 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 @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: @@ -79,7 +79,7 @@ interactions: to access it. status: 404 title: Not Found - traceId: ad8402c4c7ce0e26 + traceId: 8c75c9d2c4ba0664 - request: method: POST uri: http://localhost:3000/api/v1/entities/workspaces @@ -1043,7 +1043,7 @@ interactions: X-XSS-Protection: - 1 ; mode=block content-length: - - '27705' + - '27731' body: string: analytics: @@ -1284,6 +1284,7 @@ interactions: description: '' id: product_and_category title: Product & Category + attributeHierarchies: [] dashboardPlugins: - content: url: https://www.example.com @@ -2513,7 +2514,7 @@ interactions: name: Default Organization hostname: localhost allowedOrigins: [] - oauthClientId: b0242aeb-fd5b-4e11-859c-f3d35f2522ec + oauthClientId: 8e31e65d-514f-437f-85d0-ed6aa12a966e links: self: http://localhost:3000/api/v1/entities/admin/organizations/default - request: @@ -2758,6 +2759,7 @@ interactions: title: Product & Category description: '' analyticalDashboardExtensions: [] + attributeHierarchies: [] dashboardPlugins: - content: url: https://www.example.com @@ -3971,7 +3973,7 @@ interactions: X-XSS-Protection: - 1 ; mode=block content-length: - - '27705' + - '27731' body: string: analytics: @@ -4212,6 +4214,7 @@ interactions: description: '' id: product_and_category title: Product & Category + attributeHierarchies: [] dashboardPlugins: - content: url: https://www.example.com @@ -5577,6 +5580,7 @@ interactions: id: product_and_category title: Product & Category description: '' + attributeHierarchies: [] dashboardPlugins: - content: url: https://www.example.com @@ -7014,6 +7018,7 @@ interactions: type: allWorkspaceUsers name: VIEW analyticalDashboards: [] + attributeHierarchies: [] dashboardPlugins: [] filterContexts: [] metrics: [] @@ -7043,6 +7048,7 @@ interactions: analytics: analyticalDashboardExtensions: [] analyticalDashboards: [] + attributeHierarchies: [] dashboardPlugins: [] filterContexts: [] metrics: [] 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 759d2c66d..1c8fd1f7a 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 @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: @@ -79,7 +79,7 @@ interactions: to access it. status: 404 title: Not Found - traceId: 1cd4a0620d4f0ce9 + traceId: 10da489f15813771 - request: method: POST uri: http://localhost:3000/api/v1/entities/workspaces @@ -724,7 +724,7 @@ interactions: name: Default Organization hostname: localhost allowedOrigins: [] - oauthClientId: b0242aeb-fd5b-4e11-859c-f3d35f2522ec + oauthClientId: 8e31e65d-514f-437f-85d0-ed6aa12a966e links: self: http://localhost:3000/api/v1/entities/admin/organizations/default - request: @@ -1800,6 +1800,7 @@ interactions: id: product_and_category title: Product & Category description: '' + attributeHierarchies: [] dashboardPlugins: - content: url: https://www.example.com @@ -3237,6 +3238,7 @@ interactions: type: allWorkspaceUsers name: VIEW analyticalDashboards: [] + attributeHierarchies: [] dashboardPlugins: [] filterContexts: [] metrics: [] @@ -3266,6 +3268,7 @@ interactions: analytics: analyticalDashboardExtensions: [] analyticalDashboards: [] + attributeHierarchies: [] dashboardPlugins: [] filterContexts: [] metrics: [] diff --git a/gooddata-sdk/tests/catalog/fixtures/workspace_content/demo_load_ldm_and_modify_tables_columns_case.yaml b/gooddata-sdk/tests/catalog/fixtures/workspace_content/demo_load_ldm_and_modify_tables_columns_case.yaml index 4ae7e8a91..d94f151e0 100644 --- a/gooddata-sdk/tests/catalog/fixtures/workspace_content/demo_load_ldm_and_modify_tables_columns_case.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/workspace_content/demo_load_ldm_and_modify_tables_columns_case.yaml @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - 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 e3aa8463b..c9cbd506c 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 @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: @@ -79,7 +79,7 @@ interactions: to access it. status: 404 title: Not Found - traceId: 327cc6059986baaf + traceId: 847b443abc3b1ca0 - request: method: POST uri: http://localhost:3000/api/v1/entities/workspaces @@ -1043,12 +1043,13 @@ interactions: X-XSS-Protection: - 1 ; mode=block content-length: - - '157' + - '183' body: string: analytics: analyticalDashboardExtensions: [] analyticalDashboards: [] + attributeHierarchies: [] dashboardPlugins: [] filterContexts: [] metrics: [] @@ -1060,6 +1061,7 @@ interactions: analytics: analyticalDashboards: [] analyticalDashboardExtensions: [] + attributeHierarchies: [] dashboardPlugins: [] filterContexts: [] metrics: [] @@ -1201,12 +1203,13 @@ interactions: X-XSS-Protection: - 1 ; mode=block content-length: - - '157' + - '183' body: string: analytics: analyticalDashboardExtensions: [] analyticalDashboards: [] + attributeHierarchies: [] dashboardPlugins: [] filterContexts: [] metrics: [] @@ -1496,6 +1499,7 @@ interactions: id: product_and_category title: Product & Category description: '' + attributeHierarchies: [] dashboardPlugins: - content: url: https://www.example.com @@ -2933,6 +2937,7 @@ interactions: type: allWorkspaceUsers name: VIEW analyticalDashboards: [] + attributeHierarchies: [] dashboardPlugins: [] filterContexts: [] metrics: [] @@ -2962,6 +2967,7 @@ interactions: analytics: analyticalDashboardExtensions: [] analyticalDashboards: [] + attributeHierarchies: [] dashboardPlugins: [] filterContexts: [] metrics: [] 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 376e83ef7..b806362eb 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 @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: @@ -79,7 +79,7 @@ interactions: to access it. status: 404 title: Not Found - traceId: a68594c03f4270a7 + traceId: 671f18cbbd4899dc - request: method: POST uri: http://localhost:3000/api/v1/entities/workspaces @@ -1658,6 +1658,7 @@ interactions: id: product_and_category title: Product & Category description: '' + attributeHierarchies: [] dashboardPlugins: - content: url: https://www.example.com @@ -3095,6 +3096,7 @@ interactions: type: allWorkspaceUsers name: VIEW analyticalDashboards: [] + attributeHierarchies: [] dashboardPlugins: [] filterContexts: [] metrics: [] @@ -3124,6 +3126,7 @@ interactions: analytics: analyticalDashboardExtensions: [] analyticalDashboards: [] + attributeHierarchies: [] dashboardPlugins: [] filterContexts: [] metrics: [] 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 42eff361f..f46709f38 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 @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: @@ -74,7 +74,7 @@ interactions: X-XSS-Protection: - 1 ; mode=block content-length: - - '30873' + - '30899' body: string: analytics: @@ -127,7 +127,7 @@ interactions: drills: [] properties: {} version: '2' - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -170,7 +170,7 @@ interactions: type: dashboardPlugin version: '2' version: '2' - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -320,18 +320,19 @@ interactions: drills: [] properties: {} version: '2' - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user description: '' id: product_and_category title: Product & Category + attributeHierarchies: [] dashboardPlugins: - content: url: https://www.example.com version: '2' - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -341,7 +342,7 @@ interactions: - content: url: https://www.example.com version: '2' - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -390,7 +391,7 @@ interactions: - content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -399,7 +400,7 @@ interactions: - content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -409,7 +410,7 @@ interactions: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT {metric/revenue} BY {attribute/customer_id}) > 10000 ' - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -419,7 +420,7 @@ interactions: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} IN ("Returned", "Canceled")) - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -429,7 +430,7 @@ interactions: - content: format: $#,##0 maql: SELECT SUM({fact/spend}) - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -438,7 +439,7 @@ interactions: - content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -447,7 +448,7 @@ interactions: - content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -457,7 +458,7 @@ interactions: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ \ BY {attribute/customer_id}) > 0)\n /\n {metric/revenue}" - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -467,7 +468,7 @@ interactions: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ \ BY {attribute/customer_id}) > 0)\n /\n {metric/revenue}" - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -477,7 +478,7 @@ interactions: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ \ BY {attribute/product_id}) > 0)\n /\n {metric/revenue}" - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -487,7 +488,7 @@ interactions: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ \ BY {attribute/product_id}) > 0)\n /\n {metric/revenue}" - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -497,7 +498,7 @@ interactions: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, ALL OTHER) - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -507,7 +508,7 @@ interactions: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL {attribute/product_id}) - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -517,7 +518,7 @@ interactions: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} IN ("Returned", "Canceled")) - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -528,7 +529,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Clothing") - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -538,7 +539,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ( "Electronics") - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -548,7 +549,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Home") - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -558,7 +559,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Outdoor") - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -567,7 +568,7 @@ interactions: - content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -576,7 +577,7 @@ interactions: - content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -585,7 +586,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -594,7 +595,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -603,7 +604,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -612,7 +613,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -677,7 +678,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:treemap - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -753,7 +754,7 @@ interactions: rotation: auto version: '2' visualizationUrl: local:combo2 - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -832,7 +833,7 @@ interactions: direction: asc version: '2' visualizationUrl: local:table - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -891,7 +892,7 @@ interactions: stackMeasuresToPercent: true version: '2' visualizationUrl: local:area - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -948,7 +949,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:treemap - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -1001,7 +1002,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:donut - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -1076,7 +1077,7 @@ interactions: visible: false version: '2' visualizationUrl: local:column - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -1133,7 +1134,7 @@ interactions: enabled: true version: '2' visualizationUrl: local:scatter - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -1232,7 +1233,7 @@ interactions: direction: asc version: '2' visualizationUrl: local:table - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -1288,7 +1289,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:line - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -1327,7 +1328,7 @@ interactions: properties: {} version: '2' visualizationUrl: local:bar - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -1383,7 +1384,7 @@ interactions: min: '0' version: '2' visualizationUrl: local:scatter - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -1451,7 +1452,7 @@ interactions: rotation: auto version: '2' visualizationUrl: local:combo2 - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -1508,7 +1509,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:bar - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -1565,7 +1566,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:bar - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -1720,7 +1721,7 @@ interactions: name: Default Organization hostname: localhost allowedOrigins: [] - oauthClientId: b0242aeb-fd5b-4e11-859c-f3d35f2522ec + oauthClientId: 8e31e65d-514f-437f-85d0-ed6aa12a966e links: self: http://localhost:3000/api/v1/entities/admin/organizations/default - request: @@ -1795,7 +1796,7 @@ interactions: X-XSS-Protection: - 1 ; mode=block content-length: - - '30873' + - '30899' body: string: analytics: @@ -1848,7 +1849,7 @@ interactions: drills: [] properties: {} version: '2' - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -1891,7 +1892,7 @@ interactions: type: dashboardPlugin version: '2' version: '2' - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -2041,18 +2042,19 @@ interactions: drills: [] properties: {} version: '2' - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user description: '' id: product_and_category title: Product & Category + attributeHierarchies: [] dashboardPlugins: - content: url: https://www.example.com version: '2' - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -2062,7 +2064,7 @@ interactions: - content: url: https://www.example.com version: '2' - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -2111,7 +2113,7 @@ interactions: - content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -2120,7 +2122,7 @@ interactions: - content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -2130,7 +2132,7 @@ interactions: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT {metric/revenue} BY {attribute/customer_id}) > 10000 ' - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -2140,7 +2142,7 @@ interactions: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} IN ("Returned", "Canceled")) - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -2150,7 +2152,7 @@ interactions: - content: format: $#,##0 maql: SELECT SUM({fact/spend}) - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -2159,7 +2161,7 @@ interactions: - content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -2168,7 +2170,7 @@ interactions: - content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -2178,7 +2180,7 @@ interactions: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ \ BY {attribute/customer_id}) > 0)\n /\n {metric/revenue}" - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -2188,7 +2190,7 @@ interactions: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ \ BY {attribute/customer_id}) > 0)\n /\n {metric/revenue}" - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -2198,7 +2200,7 @@ interactions: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ \ BY {attribute/product_id}) > 0)\n /\n {metric/revenue}" - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -2208,7 +2210,7 @@ interactions: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ \ BY {attribute/product_id}) > 0)\n /\n {metric/revenue}" - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -2218,7 +2220,7 @@ interactions: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, ALL OTHER) - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -2228,7 +2230,7 @@ interactions: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL {attribute/product_id}) - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -2238,7 +2240,7 @@ interactions: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} IN ("Returned", "Canceled")) - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -2249,7 +2251,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Clothing") - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -2259,7 +2261,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ( "Electronics") - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -2269,7 +2271,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Home") - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -2279,7 +2281,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Outdoor") - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -2288,7 +2290,7 @@ interactions: - content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -2297,7 +2299,7 @@ interactions: - content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -2306,7 +2308,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -2315,7 +2317,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -2324,7 +2326,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -2333,7 +2335,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -2398,7 +2400,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:treemap - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -2474,7 +2476,7 @@ interactions: rotation: auto version: '2' visualizationUrl: local:combo2 - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -2553,7 +2555,7 @@ interactions: direction: asc version: '2' visualizationUrl: local:table - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -2612,7 +2614,7 @@ interactions: stackMeasuresToPercent: true version: '2' visualizationUrl: local:area - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -2669,7 +2671,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:treemap - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -2722,7 +2724,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:donut - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -2797,7 +2799,7 @@ interactions: visible: false version: '2' visualizationUrl: local:column - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -2854,7 +2856,7 @@ interactions: enabled: true version: '2' visualizationUrl: local:scatter - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -2953,7 +2955,7 @@ interactions: direction: asc version: '2' visualizationUrl: local:table - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -3009,7 +3011,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:line - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -3048,7 +3050,7 @@ interactions: properties: {} version: '2' visualizationUrl: local:bar - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -3104,7 +3106,7 @@ interactions: min: '0' version: '2' visualizationUrl: local:scatter - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -3172,7 +3174,7 @@ interactions: rotation: auto version: '2' visualizationUrl: local:combo2 - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -3229,7 +3231,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:bar - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -3286,7 +3288,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:bar - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -3441,6 +3443,6 @@ interactions: name: Default Organization hostname: localhost allowedOrigins: [] - oauthClientId: b0242aeb-fd5b-4e11-859c-f3d35f2522ec + oauthClientId: 8e31e65d-514f-437f-85d0-ed6aa12a966e 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 d685837ea..3107aa189 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 @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: @@ -559,7 +559,7 @@ interactions: name: Default Organization hostname: localhost allowedOrigins: [] - oauthClientId: b0242aeb-fd5b-4e11-859c-f3d35f2522ec + oauthClientId: 8e31e65d-514f-437f-85d0-ed6aa12a966e links: self: http://localhost:3000/api/v1/entities/admin/organizations/default - request: @@ -1119,6 +1119,6 @@ interactions: name: Default Organization hostname: localhost allowedOrigins: [] - oauthClientId: b0242aeb-fd5b-4e11-859c-f3d35f2522ec + oauthClientId: 8e31e65d-514f-437f-85d0-ed6aa12a966e links: self: http://localhost:3000/api/v1/entities/admin/organizations/default diff --git a/gooddata-sdk/tests/catalog/fixtures/workspace_content/explicit_workspace_data_filter.yaml b/gooddata-sdk/tests/catalog/fixtures/workspace_content/explicit_workspace_data_filter.yaml index 8d3ee45ba..e4d3af5f5 100644 --- a/gooddata-sdk/tests/catalog/fixtures/workspace_content/explicit_workspace_data_filter.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/workspace_content/explicit_workspace_data_filter.yaml @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: @@ -1356,6 +1356,31 @@ interactions: origin: originType: NATIVE originId: demo + - id: type + type: attribute + attributes: + title: Type + description: Type + tags: + - Campaign channels + areRelationsValid: true + sourceColumn: type + sourceColumnDataType: STRING + relationships: + dataset: + data: + id: campaign_channels + type: dataset + labels: + data: + - id: type + type: label + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/type + meta: + origin: + originType: NATIVE + originId: demo - id: campaign_id type: attribute attributes: @@ -1456,182 +1481,189 @@ interactions: origin: originType: NATIVE originId: demo - - id: date.day + - id: region type: attribute attributes: - title: Date - Date - description: Date + title: Region + description: Region tags: - - Date - granularity: DAY + - Customers areRelationsValid: true + sourceColumn: region + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: customers type: dataset labels: data: - - id: date.day + - id: region type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.day + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/region meta: origin: originType: NATIVE originId: demo - - id: date.dayOfMonth + - id: order_id type: attribute attributes: - title: Date - Day of Month - description: Generic Day of the Month (D1-D31) + title: Order id + description: Order id tags: - - Date - granularity: DAY_OF_MONTH + - Order lines areRelationsValid: true + sourceColumn: order_id + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: order_lines type: dataset labels: data: - - id: date.dayOfMonth + - id: order_id type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfMonth + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_id meta: origin: originType: NATIVE originId: demo - - id: date.dayOfWeek + - id: order_line_id type: attribute attributes: - title: Date - Day of Week - description: Generic Day of the Week (D1-D7) + title: Order line id + description: Order line id tags: - - Date - granularity: DAY_OF_WEEK + - Order lines areRelationsValid: true + sourceColumn: order_line_id + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: order_lines type: dataset labels: data: - - id: date.dayOfWeek + - id: order_line_id type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfWeek + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_line_id meta: origin: originType: NATIVE originId: demo - - id: date.dayOfYear + - id: order_status type: attribute attributes: - title: Date - Day of Year - description: Generic Day of the Year (D1-D366) + title: Order status + description: Order status tags: - - Date - granularity: DAY_OF_YEAR + - Order lines areRelationsValid: true + sourceColumn: order_status + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: order_lines type: dataset labels: data: - - id: date.dayOfYear + - id: order_status type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_status meta: origin: originType: NATIVE originId: demo - - id: date.hour + - id: product_id type: attribute attributes: - title: Date - Hour - description: Hour + title: Product id + description: Product id tags: - - Date - granularity: HOUR + - Products areRelationsValid: true + sourceColumn: product_id + sourceColumnDataType: INT relationships: dataset: data: - id: date + id: products type: dataset labels: data: - - id: date.hour + - id: product_id type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hour + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_id meta: origin: originType: NATIVE originId: demo - - id: date.hourOfDay + - id: product_name type: attribute attributes: - title: Date - Hour of Day - description: Generic Hour of the Day(H1-H24) + title: Product name + description: Product name tags: - - Date - granularity: HOUR_OF_DAY + - Products areRelationsValid: true + sourceColumn: product_name + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: products type: dataset labels: data: - - id: date.hourOfDay + - id: product_name type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hourOfDay + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_name meta: origin: originType: NATIVE originId: demo - - id: date.minute + - id: products.category type: attribute attributes: - title: Date - Minute - description: Minute + title: Category + description: Category tags: - - Date - granularity: MINUTE + - Products areRelationsValid: true + sourceColumn: category + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: products type: dataset labels: data: - - id: date.minute + - id: products.category type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minute + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/products.category meta: origin: originType: NATIVE originId: demo - - id: date.minuteOfHour + - id: date.minute type: attribute attributes: - title: Date - Minute of Hour - description: Generic Minute of the Hour(MI1-MI60) + title: Date - Minute + description: Minute tags: - Date - granularity: MINUTE_OF_HOUR + granularity: MINUTE areRelationsValid: true relationships: dataset: @@ -1640,22 +1672,22 @@ interactions: type: dataset labels: data: - - id: date.minuteOfHour + - id: date.minute type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minuteOfHour + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minute meta: origin: originType: NATIVE originId: demo - - id: date.month + - id: date.hour type: attribute attributes: - title: Date - Month/Year - description: Month and Year (12/2020) + title: Date - Hour + description: Hour tags: - Date - granularity: MONTH + granularity: HOUR areRelationsValid: true relationships: dataset: @@ -1664,22 +1696,22 @@ interactions: type: dataset labels: data: - - id: date.month + - id: date.hour type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.month + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hour meta: origin: originType: NATIVE originId: demo - - id: date.monthOfYear + - id: date.day type: attribute attributes: - title: Date - Month of Year - description: Generic Month (M1-M12) + title: Date - Date + description: Date tags: - Date - granularity: MONTH_OF_YEAR + granularity: DAY areRelationsValid: true relationships: dataset: @@ -1688,22 +1720,22 @@ interactions: type: dataset labels: data: - - id: date.monthOfYear + - id: date.day type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.monthOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.day meta: origin: originType: NATIVE originId: demo - - id: date.quarter + - id: date.week type: attribute attributes: - title: Date - Quarter/Year - description: Quarter and Year (Q1/2020) + title: Date - Week/Year + description: Week and Year (W52/2020) tags: - Date - granularity: QUARTER + granularity: WEEK areRelationsValid: true relationships: dataset: @@ -1712,22 +1744,22 @@ interactions: type: dataset labels: data: - - id: date.quarter + - id: date.week type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarter + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week meta: origin: originType: NATIVE originId: demo - - id: date.quarterOfYear + - id: date.month type: attribute attributes: - title: Date - Quarter of Year - description: Generic Quarter (Q1-Q4) + title: Date - Month/Year + description: Month and Year (12/2020) tags: - Date - granularity: QUARTER_OF_YEAR + granularity: MONTH areRelationsValid: true relationships: dataset: @@ -1736,22 +1768,22 @@ interactions: type: dataset labels: data: - - id: date.quarterOfYear + - id: date.month type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarterOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.month meta: origin: originType: NATIVE originId: demo - - id: date.week + - id: date.quarter type: attribute attributes: - title: Date - Week/Year - description: Week and Year (W52/2020) + title: Date - Quarter/Year + description: Quarter and Year (Q1/2020) tags: - Date - granularity: WEEK + granularity: QUARTER areRelationsValid: true relationships: dataset: @@ -1760,22 +1792,22 @@ interactions: type: dataset labels: data: - - id: date.week + - id: date.quarter type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarter meta: origin: originType: NATIVE originId: demo - - id: date.weekOfYear + - id: date.year type: attribute attributes: - title: Date - Week of Year - description: Generic Week (W1-W53) + title: Date - Year + description: Year tags: - Date - granularity: WEEK_OF_YEAR + granularity: YEAR areRelationsValid: true relationships: dataset: @@ -1784,22 +1816,22 @@ interactions: type: dataset labels: data: - - id: date.weekOfYear + - id: date.year type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.weekOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.year meta: origin: originType: NATIVE originId: demo - - id: date.year + - id: date.minuteOfHour type: attribute attributes: - title: Date - Year - description: Year + title: Date - Minute of Hour + description: Generic Minute of the Hour(MI1-MI60) tags: - Date - granularity: YEAR + granularity: MINUTE_OF_HOUR areRelationsValid: true relationships: dataset: @@ -1808,185 +1840,178 @@ interactions: type: dataset labels: data: - - id: date.year + - id: date.minuteOfHour type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.year + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minuteOfHour meta: origin: originType: NATIVE originId: demo - - id: order_id + - id: date.hourOfDay type: attribute attributes: - title: Order id - description: Order id + title: Date - Hour of Day + description: Generic Hour of the Day(H1-H24) tags: - - Order lines + - Date + granularity: HOUR_OF_DAY areRelationsValid: true - sourceColumn: order_id - sourceColumnDataType: STRING relationships: dataset: data: - id: order_lines + id: date type: dataset labels: data: - - id: order_id + - id: date.hourOfDay type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_id + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hourOfDay meta: origin: originType: NATIVE originId: demo - - id: order_line_id + - id: date.dayOfWeek type: attribute attributes: - title: Order line id - description: Order line id + title: Date - Day of Week + description: Generic Day of the Week (D1-D7) tags: - - Order lines + - Date + granularity: DAY_OF_WEEK areRelationsValid: true - sourceColumn: order_line_id - sourceColumnDataType: STRING relationships: dataset: data: - id: order_lines + id: date type: dataset labels: data: - - id: order_line_id + - id: date.dayOfWeek type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_line_id + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfWeek meta: origin: originType: NATIVE originId: demo - - id: order_status + - id: date.dayOfMonth type: attribute attributes: - title: Order status - description: Order status + title: Date - Day of Month + description: Generic Day of the Month (D1-D31) tags: - - Order lines + - Date + granularity: DAY_OF_MONTH areRelationsValid: true - sourceColumn: order_status - sourceColumnDataType: STRING relationships: dataset: data: - id: order_lines + id: date type: dataset labels: data: - - id: order_status + - id: date.dayOfMonth type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_status + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfMonth meta: origin: originType: NATIVE originId: demo - - id: product_id + - id: date.dayOfYear type: attribute attributes: - title: Product id - description: Product id + title: Date - Day of Year + description: Generic Day of the Year (D1-D366) tags: - - Products + - Date + granularity: DAY_OF_YEAR areRelationsValid: true - sourceColumn: product_id - sourceColumnDataType: INT relationships: dataset: data: - id: products + id: date type: dataset labels: data: - - id: product_id + - id: date.dayOfYear type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_id + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfYear meta: origin: originType: NATIVE originId: demo - - id: product_name + - id: date.weekOfYear type: attribute attributes: - title: Product name - description: Product name + title: Date - Week of Year + description: Generic Week (W1-W53) tags: - - Products + - Date + granularity: WEEK_OF_YEAR areRelationsValid: true - sourceColumn: product_name - sourceColumnDataType: STRING relationships: dataset: data: - id: products + id: date type: dataset labels: data: - - id: product_name + - id: date.weekOfYear type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_name + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.weekOfYear meta: origin: originType: NATIVE originId: demo - - id: products.category + - id: date.monthOfYear type: attribute attributes: - title: Category - description: Category + title: Date - Month of Year + description: Generic Month (M1-M12) tags: - - Products + - Date + granularity: MONTH_OF_YEAR areRelationsValid: true - sourceColumn: category - sourceColumnDataType: STRING relationships: dataset: data: - id: products + id: date type: dataset labels: data: - - id: products.category + - id: date.monthOfYear type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/products.category + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.monthOfYear meta: origin: originType: NATIVE originId: demo - - id: region + - id: date.quarterOfYear type: attribute attributes: - title: Region - description: Region + title: Date - Quarter of Year + description: Generic Quarter (Q1-Q4) tags: - - Customers + - Date + granularity: QUARTER_OF_YEAR areRelationsValid: true - sourceColumn: region - sourceColumnDataType: STRING relationships: dataset: data: - id: customers + id: date type: dataset labels: data: - - id: region + - id: date.quarterOfYear type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/region + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarterOfYear meta: origin: originType: NATIVE @@ -2012,37 +2037,12 @@ interactions: type: dataset labels: data: - - id: geo__state__location - type: label - id: state type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state - meta: - origin: - originType: NATIVE - originId: demo - - id: type - type: attribute - attributes: - title: Type - description: Type - tags: - - Campaign channels - areRelationsValid: true - sourceColumn: type - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: campaign_channels - type: dataset - labels: - data: - - id: type + - id: geo__state__location type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/type + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state meta: origin: originType: NATIVE @@ -2108,50 +2108,50 @@ interactions: type: attribute referenceProperties: - identifier: - id: campaigns + id: customers type: dataset multivalue: false sources: - - column: campaign_id + - column: customer_id dataType: INT target: - id: campaign_id + id: customer_id type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: - id: date + id: products type: dataset multivalue: false sources: - - column: date - dataType: DATE + - column: product_id + dataType: INT target: - id: date - type: date + id: product_id + type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: - id: customers + id: date type: dataset multivalue: false sources: - - column: customer_id - dataType: INT + - column: date + dataType: DATE target: - id: customer_id - type: attribute + id: date + type: date sourceColumns: null sourceColumnDataTypes: null - identifier: - id: products + id: campaigns type: dataset multivalue: false sources: - - column: product_id + - column: campaign_id dataType: INT target: - id: product_id + id: campaign_id type: attribute sourceColumns: null sourceColumnDataTypes: null @@ -2708,12 +2708,12 @@ interactions: relationships: attributes: data: - - id: type - type: attribute - id: campaign_channel_id type: attribute - id: campaign_channels.category type: attribute + - id: type + type: attribute facts: data: - id: spend @@ -2745,10 +2745,10 @@ interactions: relationships: attributes: data: - - id: campaign_id - type: attribute - id: campaign_name type: attribute + - id: campaign_id + type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaigns meta: @@ -2780,64 +2780,16 @@ interactions: relationships: attributes: data: - - id: customer_name - type: attribute - - id: region - type: attribute - id: customer_id type: attribute - - id: state - type: attribute - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/customers - meta: - origin: - originType: NATIVE - originId: demo - - id: date - type: dataset - attributes: - title: Date - description: '' - tags: - - Date - areRelationsValid: true - type: DATE - relationships: - attributes: - data: - - id: date.quarterOfYear - type: attribute - - id: date.week - type: attribute - - id: date.quarter - type: attribute - - id: date.monthOfYear - type: attribute - - id: date.day - type: attribute - - id: date.minuteOfHour - type: attribute - - id: date.hour - type: attribute - - id: date.hourOfDay - type: attribute - - id: date.dayOfMonth - type: attribute - - id: date.weekOfYear - type: attribute - - id: date.year - type: attribute - - id: date.dayOfWeek - type: attribute - - id: date.dayOfYear + - id: customer_name type: attribute - - id: date.minute + - id: state type: attribute - - id: date.month + - id: region type: attribute links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date + self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/customers meta: origin: originType: NATIVE @@ -2854,14 +2806,26 @@ interactions: type: attribute referenceProperties: - identifier: - id: campaigns + id: customers + type: dataset + multivalue: false + sources: + - column: customer_id + dataType: INT + target: + id: customer_id + type: attribute + sourceColumns: null + sourceColumnDataTypes: null + - identifier: + id: products type: dataset multivalue: false sources: - - column: campaign_id + - column: product_id dataType: INT target: - id: campaign_id + id: product_id type: attribute sourceColumns: null sourceColumnDataTypes: null @@ -2878,26 +2842,14 @@ interactions: sourceColumns: null sourceColumnDataTypes: null - identifier: - id: customers - type: dataset - multivalue: false - sources: - - column: customer_id - dataType: INT - target: - id: customer_id - type: attribute - sourceColumns: null - sourceColumnDataTypes: null - - identifier: - id: products + id: campaigns type: dataset multivalue: false sources: - - column: product_id + - column: campaign_id dataType: INT target: - id: product_id + id: campaign_id type: attribute sourceColumns: null sourceColumnDataTypes: null @@ -2907,20 +2859,20 @@ interactions: - order_lines areRelationsValid: true workspaceDataFilterColumns: - - name: wdf__region - dataType: STRING - name: wdf__state dataType: STRING + - name: wdf__region + dataType: STRING workspaceDataFilterReferences: - filterId: - id: wdf__region + id: wdf__state type: workspaceDataFilter - filterColumn: wdf__region + filterColumn: wdf__state filterColumnDataType: STRING - filterId: - id: wdf__state + id: wdf__region type: workspaceDataFilter - filterColumn: wdf__state + filterColumn: wdf__region filterColumnDataType: STRING type: NORMAL relationships: @@ -2975,6 +2927,54 @@ interactions: origin: originType: NATIVE originId: demo + - id: date + type: dataset + attributes: + title: Date + description: '' + tags: + - Date + areRelationsValid: true + type: DATE + relationships: + attributes: + data: + - id: date.monthOfYear + type: attribute + - id: date.hourOfDay + type: attribute + - id: date.quarter + type: attribute + - id: date.month + type: attribute + - id: date.minuteOfHour + type: attribute + - id: date.dayOfWeek + type: attribute + - id: date.day + type: attribute + - id: date.quarterOfYear + type: attribute + - id: date.year + type: attribute + - id: date.dayOfMonth + type: attribute + - id: date.hour + type: attribute + - id: date.dayOfYear + type: attribute + - id: date.weekOfYear + type: attribute + - id: date.minute + type: attribute + - id: date.week + type: attribute + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date + meta: + origin: + originType: NATIVE + originId: demo included: - id: product_id type: attribute @@ -3412,17 +3412,51 @@ interactions: body: string: data: - - id: amount_of_active_customers + - id: revenue type: metric attributes: - title: '# of Active Customers' + title: Revenue + description: '' areRelationsValid: true - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:32 content: - format: '#,##0' - maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) + 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/amount_of_active_customers + self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/revenue + meta: + origin: + originType: NATIVE + originId: demo + - id: revenue-clothing + type: metric + attributes: + title: Revenue (Clothing) + areRelationsValid: true + createdAt: 2024-01-11 13:32 + 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 + meta: + origin: + originType: NATIVE + originId: demo + - id: revenue-electronic + type: metric + attributes: + title: Revenue (Electronic) + areRelationsValid: true + createdAt: 2024-01-11 13:32 + 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 meta: origin: originType: NATIVE @@ -3432,7 +3466,7 @@ interactions: attributes: title: '# of Orders' areRelationsValid: true - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:32 content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) @@ -3447,7 +3481,7 @@ interactions: attributes: title: '# of Top Customers' areRelationsValid: true - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:32 content: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT @@ -3464,7 +3498,7 @@ interactions: title: '# of Valid Orders' description: '' areRelationsValid: true - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:32 content: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} @@ -3480,7 +3514,7 @@ interactions: attributes: title: Campaign Spend areRelationsValid: true - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:32 content: format: $#,##0 maql: SELECT SUM({fact/spend}) @@ -3495,7 +3529,7 @@ interactions: attributes: title: Order Amount areRelationsValid: true - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:32 content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) @@ -3510,7 +3544,7 @@ interactions: attributes: title: '% Revenue' areRelationsValid: true - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:32 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} @@ -3525,7 +3559,7 @@ interactions: attributes: title: '% Revenue from Top 10 Customers' areRelationsValid: true - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:32 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -3541,7 +3575,7 @@ interactions: attributes: title: '% Revenue from Top 10% Customers' areRelationsValid: true - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:32 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -3557,7 +3591,7 @@ interactions: attributes: title: '% Revenue from Top 10% Products' areRelationsValid: true - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:32 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -3568,99 +3602,17 @@ interactions: origin: originType: NATIVE originId: demo - - id: percent_revenue_from_top_10_products - type: metric - attributes: - title: '% Revenue from Top 10 Products' - areRelationsValid: true - createdAt: 2023-12-14 14:18 - content: - format: '#,##0.0%' - maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ - \ BY {attribute/product_id}) > 0)\n /\n {metric/revenue}" - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/percent_revenue_from_top_10_products - meta: - origin: - originType: NATIVE - originId: demo - - id: percent_revenue_in_category - type: metric - attributes: - title: '% Revenue in Category' - areRelationsValid: true - createdAt: 2023-12-14 14:18 - content: - format: '#,##0.0%' - maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, - ALL OTHER) - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/percent_revenue_in_category - meta: - origin: - originType: NATIVE - originId: demo - - id: percent_revenue_per_product - type: metric - attributes: - title: '% Revenue per Product' - areRelationsValid: true - createdAt: 2023-12-14 14:18 - 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 - meta: - origin: - originType: NATIVE - originId: demo - - id: revenue - type: metric - attributes: - title: Revenue - description: '' - areRelationsValid: true - createdAt: 2023-12-14 14:18 - 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 - meta: - origin: - originType: NATIVE - originId: demo - - id: revenue-clothing - type: metric - attributes: - title: Revenue (Clothing) - areRelationsValid: true - createdAt: 2023-12-14 14:18 - 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 - meta: - origin: - originType: NATIVE - originId: demo - - id: revenue-electronic + - id: amount_of_active_customers type: metric attributes: - title: Revenue (Electronic) + title: '# of Active Customers' areRelationsValid: true - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:32 content: - format: $#,##0 - maql: SELECT {metric/revenue} WHERE {label/products.category} IN - ( "Electronics") + format: '#,##0' + maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/revenue-electronic + self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/amount_of_active_customers meta: origin: originType: NATIVE @@ -3670,7 +3622,7 @@ interactions: attributes: title: Revenue (Home) areRelationsValid: true - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:32 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -3686,7 +3638,7 @@ interactions: attributes: title: Revenue (Outdoor) areRelationsValid: true - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:32 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -3702,7 +3654,7 @@ interactions: attributes: title: Revenue per Customer areRelationsValid: true - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:32 content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) @@ -3717,7 +3669,7 @@ interactions: attributes: title: Revenue per Dollar Spent areRelationsValid: true - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:32 content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} @@ -3732,7 +3684,7 @@ interactions: attributes: title: Revenue / Top 10 areRelationsValid: true - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:32 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) @@ -3747,7 +3699,7 @@ interactions: attributes: title: Revenue / Top 10% areRelationsValid: true - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:32 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) @@ -3762,7 +3714,7 @@ interactions: attributes: title: Total Revenue areRelationsValid: true - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:32 content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER @@ -3777,7 +3729,7 @@ interactions: attributes: title: Total Revenue (No Filters) areRelationsValid: true - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:32 content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER @@ -3787,6 +3739,54 @@ interactions: origin: originType: NATIVE originId: demo + - id: percent_revenue_from_top_10_products + type: metric + attributes: + title: '% Revenue from Top 10 Products' + areRelationsValid: true + createdAt: 2024-01-11 13:32 + content: + format: '#,##0.0%' + maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ + \ BY {attribute/product_id}) > 0)\n /\n {metric/revenue}" + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/percent_revenue_from_top_10_products + meta: + origin: + originType: NATIVE + originId: demo + - id: percent_revenue_in_category + type: metric + attributes: + title: '% Revenue in Category' + areRelationsValid: true + createdAt: 2024-01-11 13:32 + content: + format: '#,##0.0%' + maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, + ALL OTHER) + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/percent_revenue_in_category + meta: + origin: + originType: NATIVE + originId: demo + - id: percent_revenue_per_product + type: metric + attributes: + title: '% Revenue per Product' + areRelationsValid: true + createdAt: 2024-01-11 13:32 + 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 + meta: + origin: + originType: NATIVE + originId: demo 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 @@ -4075,6 +4075,7 @@ interactions: id: product_and_category title: Product & Category description: '' + attributeHierarchies: [] dashboardPlugins: - content: url: https://www.example.com @@ -5512,6 +5513,7 @@ interactions: type: allWorkspaceUsers name: VIEW analyticalDashboards: [] + attributeHierarchies: [] dashboardPlugins: [] filterContexts: [] metrics: [] @@ -5541,6 +5543,7 @@ interactions: analytics: analyticalDashboardExtensions: [] analyticalDashboards: [] + attributeHierarchies: [] dashboardPlugins: [] filterContexts: [] metrics: [] diff --git a/gooddata-sdk/tests/catalog/fixtures/workspace_content/label_elements.yaml b/gooddata-sdk/tests/catalog/fixtures/workspace_content/label_elements.yaml index 5ade5acf3..d1526c502 100644 --- a/gooddata-sdk/tests/catalog/fixtures/workspace_content/label_elements.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/workspace_content/label_elements.yaml @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: diff --git a/gooddata-sdk/tests/catalog/fixtures/workspace_content/ldm_store_load.yaml b/gooddata-sdk/tests/catalog/fixtures/workspace_content/ldm_store_load.yaml index 2201eff81..1b8c1cf33 100644 --- a/gooddata-sdk/tests/catalog/fixtures/workspace_content/ldm_store_load.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/workspace_content/ldm_store_load.yaml @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: diff --git a/gooddata-sdk/tests/catalog/fixtures/workspaces/create_workspace_setting.yaml b/gooddata-sdk/tests/catalog/fixtures/workspaces/create_workspace_setting.yaml index f363a3f7a..0b039f12a 100644 --- a/gooddata-sdk/tests/catalog/fixtures/workspaces/create_workspace_setting.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/workspaces/create_workspace_setting.yaml @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: @@ -79,7 +79,7 @@ interactions: to access it. status: 404 title: Not Found - traceId: bfd596f99b5a08cb + traceId: d1559951689770f5 - request: method: POST uri: http://localhost:3000/api/v1/entities/workspaces/demo/workspaceSettings diff --git a/gooddata-sdk/tests/catalog/fixtures/workspaces/delete_workspace_setting.yaml b/gooddata-sdk/tests/catalog/fixtures/workspaces/delete_workspace_setting.yaml index b25b33cfb..945e1d859 100644 --- a/gooddata-sdk/tests/catalog/fixtures/workspaces/delete_workspace_setting.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/workspaces/delete_workspace_setting.yaml @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: @@ -79,7 +79,7 @@ interactions: to access it. status: 404 title: Not Found - traceId: 186ae0da0c6424ae + traceId: c6abd6f4ddbbe1c8 - request: method: POST uri: http://localhost:3000/api/v1/entities/workspaces/demo/workspaceSettings diff --git a/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_clone_workspace.yaml b/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_clone_workspace.yaml index 758d9e959..e48afc956 100644 --- a/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_clone_workspace.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_clone_workspace.yaml @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: @@ -79,7 +79,7 @@ interactions: to access it. status: 404 title: Not Found - traceId: 8c001452ff41c38c + traceId: 86ca79d2ca21851e - request: method: POST uri: http://localhost:3000/api/v1/entities/dataSources @@ -173,8 +173,8 @@ interactions: url: jdbc:postgresql://localhost:5432/demo?autosave=false username: demouser enableCaching: false - type: POSTGRESQL name: Test2 + type: POSTGRESQL schema: demo links: self: http://localhost:3000/api/v1/entities/dataSources/demo-bigquery-ds @@ -250,7 +250,7 @@ interactions: X-XSS-Protection: - 1 ; mode=block content-length: - - '37099' + - '37125' body: string: analytics: @@ -303,7 +303,7 @@ interactions: drills: [] properties: {} version: '2' - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -346,7 +346,7 @@ interactions: type: dashboardPlugin version: '2' version: '2' - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -496,18 +496,19 @@ interactions: drills: [] properties: {} version: '2' - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user description: '' id: product_and_category title: Product & Category + attributeHierarchies: [] dashboardPlugins: - content: url: https://www.example.com version: '2' - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -517,7 +518,7 @@ interactions: - content: url: https://www.example.com version: '2' - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -566,7 +567,7 @@ interactions: - content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -575,7 +576,7 @@ interactions: - content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -585,7 +586,7 @@ interactions: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT {metric/revenue} BY {attribute/customer_id}) > 10000 ' - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -595,7 +596,7 @@ interactions: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} IN ("Returned", "Canceled")) - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -605,7 +606,7 @@ interactions: - content: format: $#,##0 maql: SELECT SUM({fact/spend}) - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -614,7 +615,7 @@ interactions: - content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -623,7 +624,7 @@ interactions: - content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -633,7 +634,7 @@ interactions: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ \ BY {attribute/customer_id}) > 0)\n /\n {metric/revenue}" - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -643,7 +644,7 @@ interactions: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ \ BY {attribute/customer_id}) > 0)\n /\n {metric/revenue}" - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -653,7 +654,7 @@ interactions: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ \ BY {attribute/product_id}) > 0)\n /\n {metric/revenue}" - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -663,7 +664,7 @@ interactions: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ \ BY {attribute/product_id}) > 0)\n /\n {metric/revenue}" - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -673,7 +674,7 @@ interactions: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, ALL OTHER) - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -683,7 +684,7 @@ interactions: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL {attribute/product_id}) - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -693,7 +694,7 @@ interactions: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} IN ("Returned", "Canceled")) - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -704,7 +705,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Clothing") - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -714,7 +715,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ( "Electronics") - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -724,7 +725,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Home") - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -734,7 +735,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Outdoor") - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -743,7 +744,7 @@ interactions: - content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -752,7 +753,7 @@ interactions: - content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -761,7 +762,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -770,7 +771,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -779,7 +780,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -788,7 +789,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -853,7 +854,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:treemap - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -929,7 +930,7 @@ interactions: rotation: auto version: '2' visualizationUrl: local:combo2 - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -1008,7 +1009,7 @@ interactions: direction: asc version: '2' visualizationUrl: local:table - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -1067,7 +1068,7 @@ interactions: stackMeasuresToPercent: true version: '2' visualizationUrl: local:area - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -1124,7 +1125,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:treemap - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -1177,7 +1178,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:donut - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -1252,7 +1253,7 @@ interactions: visible: false version: '2' visualizationUrl: local:column - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -1309,7 +1310,7 @@ interactions: enabled: true version: '2' visualizationUrl: local:scatter - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -1408,7 +1409,7 @@ interactions: direction: asc version: '2' visualizationUrl: local:table - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -1464,7 +1465,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:line - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -1503,7 +1504,7 @@ interactions: properties: {} version: '2' visualizationUrl: local:bar - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -1559,7 +1560,7 @@ interactions: min: '0' version: '2' visualizationUrl: local:scatter - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -1627,7 +1628,7 @@ interactions: rotation: auto version: '2' visualizationUrl: local:combo2 - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -1684,7 +1685,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:bar - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -1741,7 +1742,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:bar - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -2237,7 +2238,7 @@ interactions: to access it. status: 404 title: Not Found - traceId: a1b870b73a89a4ce + traceId: 79b5685d7db2980c - request: method: GET uri: http://localhost:3000/api/v1/entities/workspaces/demo_clone?include=workspaces @@ -2315,7 +2316,7 @@ interactions: to access it. status: 404 title: Not Found - traceId: 8c8a8b6b61d73cbc + traceId: b27e58525ca7dbcb - request: method: POST uri: http://localhost:3000/api/v1/entities/workspaces @@ -3001,7 +3002,7 @@ interactions: id: campaign title: Campaign description: '' - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -3043,7 +3044,7 @@ interactions: version: '2' id: dashboard_plugin title: Dashboard plugin - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -3194,11 +3195,12 @@ interactions: id: product_and_category title: Product & Category description: '' - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user analyticalDashboardExtensions: [] + attributeHierarchies: [] dashboardPlugins: - content: url: https://www.example.com @@ -3206,7 +3208,7 @@ interactions: id: dashboard_plugin_1 title: dashboard_plugin_1 description: Testing record dashboard_plugin_1 - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -3216,7 +3218,7 @@ interactions: id: dashboard_plugin_2 title: dashboard_plugin_2 description: Testing record dashboard_plugin_2 - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -3264,7 +3266,7 @@ interactions: maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) id: amount_of_active_customers title: '# of Active Customers' - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -3273,7 +3275,7 @@ interactions: maql: SELECT COUNT({attribute/order_id}) id: amount_of_orders title: '# of Orders' - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -3283,7 +3285,7 @@ interactions: BY {attribute/customer_id}) > 10000 ' id: amount_of_top_customers title: '# of Top Customers' - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -3294,7 +3296,7 @@ interactions: id: amount_of_valid_orders title: '# of Valid Orders' description: '' - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -3303,7 +3305,7 @@ interactions: maql: SELECT SUM({fact/spend}) id: campaign_spend title: Campaign Spend - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -3312,7 +3314,7 @@ interactions: maql: SELECT SUM({fact/price}*{fact/quantity}) id: order_amount title: Order Amount - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -3321,7 +3323,7 @@ interactions: maql: SELECT {metric/revenue} / {metric/total_revenue} id: percent_revenue title: '% Revenue' - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -3331,7 +3333,7 @@ interactions: \ BY {attribute/customer_id}) > 0)\n /\n {metric/revenue}" id: percent_revenue_from_top_10_customers title: '% Revenue from Top 10 Customers' - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -3341,7 +3343,7 @@ interactions: \ BY {attribute/customer_id}) > 0)\n /\n {metric/revenue}" id: percent_revenue_from_top_10_percent_customers title: '% Revenue from Top 10% Customers' - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -3351,7 +3353,7 @@ interactions: \ BY {attribute/product_id}) > 0)\n /\n {metric/revenue}" id: percent_revenue_from_top_10_percent_products title: '% Revenue from Top 10% Products' - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -3361,7 +3363,7 @@ interactions: \ BY {attribute/product_id}) > 0)\n /\n {metric/revenue}" id: percent_revenue_from_top_10_products title: '% Revenue from Top 10 Products' - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -3371,7 +3373,7 @@ interactions: ALL OTHER) id: percent_revenue_in_category title: '% Revenue in Category' - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -3380,7 +3382,7 @@ interactions: maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL {attribute/product_id}) id: percent_revenue_per_product title: '% Revenue per Product' - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -3391,7 +3393,7 @@ interactions: id: revenue title: Revenue description: '' - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -3400,7 +3402,7 @@ interactions: maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Clothing") id: revenue-clothing title: Revenue (Clothing) - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -3410,7 +3412,7 @@ interactions: "Electronics") id: revenue-electronic title: Revenue (Electronic) - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -3419,7 +3421,7 @@ interactions: maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Home") id: revenue-home title: Revenue (Home) - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -3428,7 +3430,7 @@ interactions: maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Outdoor") id: revenue-outdoor title: Revenue (Outdoor) - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -3437,7 +3439,7 @@ interactions: maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) id: revenue_per_customer title: Revenue per Customer - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -3446,7 +3448,7 @@ interactions: maql: SELECT {metric/revenue} / {metric/campaign_spend} id: revenue_per_dollar_spent title: Revenue per Dollar Spent - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -3455,7 +3457,7 @@ interactions: maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) id: revenue_top_10 title: Revenue / Top 10 - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -3464,7 +3466,7 @@ interactions: maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) id: revenue_top_10_percent title: Revenue / Top 10% - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -3473,7 +3475,7 @@ interactions: maql: SELECT {metric/revenue} BY ALL OTHER id: total_revenue title: Total Revenue - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -3482,7 +3484,7 @@ interactions: maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER id: total_revenue-no_filters title: Total Revenue (No Filters) - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -3547,7 +3549,7 @@ interactions: visualizationUrl: local:treemap id: campaign_spend title: Campaign Spend - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -3623,7 +3625,7 @@ interactions: visualizationUrl: local:combo2 id: customers_trend title: Customers Trend - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -3702,7 +3704,7 @@ interactions: visualizationUrl: local:table id: percent_revenue_per_product_by_customer_and_category title: '% Revenue per Product by Customer and Category' - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -3761,7 +3763,7 @@ interactions: visualizationUrl: local:area id: percentage_of_customers_by_region title: Percentage of Customers by Region - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -3818,7 +3820,7 @@ interactions: visualizationUrl: local:treemap id: product_breakdown title: Product Breakdown - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -3871,7 +3873,7 @@ interactions: visualizationUrl: local:donut id: product_categories_pie_chart title: Product Categories Pie Chart - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -3946,7 +3948,7 @@ interactions: visualizationUrl: local:column id: product_revenue_comparison-over_previous_period title: Product Revenue Comparison (over previous period) - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -4003,7 +4005,7 @@ interactions: visualizationUrl: local:scatter id: product_saleability title: Product Saleability - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -4102,7 +4104,7 @@ interactions: visualizationUrl: local:table id: revenue_and_quantity_by_product_and_category title: Revenue and Quantity by Product and Category - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -4158,7 +4160,7 @@ interactions: visualizationUrl: local:line id: revenue_by_category_trend title: Revenue by Category Trend - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -4197,7 +4199,7 @@ interactions: visualizationUrl: local:bar id: revenue_by_product title: Revenue by Product - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -4253,7 +4255,7 @@ interactions: visualizationUrl: local:scatter id: revenue_per_usd_vs_spend_by_campaign title: Revenue per $ vs Spend by Campaign - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -4321,7 +4323,7 @@ interactions: visualizationUrl: local:combo2 id: revenue_trend title: Revenue Trend - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -4378,7 +4380,7 @@ interactions: visualizationUrl: local:bar id: top_10_customers title: Top 10 Customers - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -4435,7 +4437,7 @@ interactions: visualizationUrl: local:bar id: top_10_products title: Top 10 Products - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -4836,7 +4838,7 @@ interactions: X-XSS-Protection: - 1 ; mode=block content-length: - - '37130' + - '37156' body: string: analytics: @@ -4889,7 +4891,7 @@ interactions: drills: [] properties: {} version: '2' - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -4932,7 +4934,7 @@ interactions: type: dashboardPlugin version: '2' version: '2' - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -5082,18 +5084,19 @@ interactions: drills: [] properties: {} version: '2' - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user description: '' id: product_and_category title: Product & Category + attributeHierarchies: [] dashboardPlugins: - content: url: https://www.example.com version: '2' - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -5103,7 +5106,7 @@ interactions: - content: url: https://www.example.com version: '2' - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -5152,7 +5155,7 @@ interactions: - content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -5161,7 +5164,7 @@ interactions: - content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -5171,7 +5174,7 @@ interactions: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT {metric/revenue} BY {attribute/customer_id}) > 10000 ' - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -5181,7 +5184,7 @@ interactions: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} IN ("Returned", "Canceled")) - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -5191,7 +5194,7 @@ interactions: - content: format: $#,##0 maql: SELECT SUM({fact/spend}) - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -5200,7 +5203,7 @@ interactions: - content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -5209,7 +5212,7 @@ interactions: - content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -5219,7 +5222,7 @@ interactions: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ \ BY {attribute/customer_id}) > 0)\n /\n {metric/revenue}" - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -5229,7 +5232,7 @@ interactions: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ \ BY {attribute/customer_id}) > 0)\n /\n {metric/revenue}" - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -5239,7 +5242,7 @@ interactions: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ \ BY {attribute/product_id}) > 0)\n /\n {metric/revenue}" - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -5249,7 +5252,7 @@ interactions: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ \ BY {attribute/product_id}) > 0)\n /\n {metric/revenue}" - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -5259,7 +5262,7 @@ interactions: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, ALL OTHER) - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -5269,7 +5272,7 @@ interactions: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL {attribute/product_id}) - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -5279,7 +5282,7 @@ interactions: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} IN ("Returned", "Canceled")) - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -5290,7 +5293,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Clothing") - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -5300,7 +5303,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ( "Electronics") - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -5310,7 +5313,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Home") - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -5320,7 +5323,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Outdoor") - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -5329,7 +5332,7 @@ interactions: - content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -5338,7 +5341,7 @@ interactions: - content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -5347,7 +5350,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -5356,7 +5359,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -5365,7 +5368,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -5374,7 +5377,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -5439,7 +5442,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:treemap - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -5515,7 +5518,7 @@ interactions: rotation: auto version: '2' visualizationUrl: local:combo2 - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -5594,7 +5597,7 @@ interactions: direction: asc version: '2' visualizationUrl: local:table - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -5653,7 +5656,7 @@ interactions: stackMeasuresToPercent: true version: '2' visualizationUrl: local:area - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -5710,7 +5713,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:treemap - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -5763,7 +5766,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:donut - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -5838,7 +5841,7 @@ interactions: visible: false version: '2' visualizationUrl: local:column - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -5895,7 +5898,7 @@ interactions: enabled: true version: '2' visualizationUrl: local:scatter - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -5994,7 +5997,7 @@ interactions: direction: asc version: '2' visualizationUrl: local:table - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -6050,7 +6053,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:line - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -6089,7 +6092,7 @@ interactions: properties: {} version: '2' visualizationUrl: local:bar - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -6145,7 +6148,7 @@ interactions: min: '0' version: '2' visualizationUrl: local:scatter - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -6213,7 +6216,7 @@ interactions: rotation: auto version: '2' visualizationUrl: local:combo2 - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -6270,7 +6273,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:bar - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -6327,7 +6330,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:bar - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -6738,7 +6741,7 @@ interactions: X-XSS-Protection: - 1 ; mode=block content-length: - - '37099' + - '37125' body: string: analytics: @@ -6791,7 +6794,7 @@ interactions: drills: [] properties: {} version: '2' - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -6834,7 +6837,7 @@ interactions: type: dashboardPlugin version: '2' version: '2' - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -6984,18 +6987,19 @@ interactions: drills: [] properties: {} version: '2' - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user description: '' id: product_and_category title: Product & Category + attributeHierarchies: [] dashboardPlugins: - content: url: https://www.example.com version: '2' - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -7005,7 +7009,7 @@ interactions: - content: url: https://www.example.com version: '2' - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -7054,7 +7058,7 @@ interactions: - content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -7063,7 +7067,7 @@ interactions: - content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -7073,7 +7077,7 @@ interactions: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT {metric/revenue} BY {attribute/customer_id}) > 10000 ' - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -7083,7 +7087,7 @@ interactions: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} IN ("Returned", "Canceled")) - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -7093,7 +7097,7 @@ interactions: - content: format: $#,##0 maql: SELECT SUM({fact/spend}) - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -7102,7 +7106,7 @@ interactions: - content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -7111,7 +7115,7 @@ interactions: - content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -7121,7 +7125,7 @@ interactions: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ \ BY {attribute/customer_id}) > 0)\n /\n {metric/revenue}" - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -7131,7 +7135,7 @@ interactions: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ \ BY {attribute/customer_id}) > 0)\n /\n {metric/revenue}" - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -7141,7 +7145,7 @@ interactions: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ \ BY {attribute/product_id}) > 0)\n /\n {metric/revenue}" - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -7151,7 +7155,7 @@ interactions: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ \ BY {attribute/product_id}) > 0)\n /\n {metric/revenue}" - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -7161,7 +7165,7 @@ interactions: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, ALL OTHER) - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -7171,7 +7175,7 @@ interactions: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL {attribute/product_id}) - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -7181,7 +7185,7 @@ interactions: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} IN ("Returned", "Canceled")) - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -7192,7 +7196,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Clothing") - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -7202,7 +7206,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ( "Electronics") - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -7212,7 +7216,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Home") - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -7222,7 +7226,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Outdoor") - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -7231,7 +7235,7 @@ interactions: - content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -7240,7 +7244,7 @@ interactions: - content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -7249,7 +7253,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -7258,7 +7262,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -7267,7 +7271,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -7276,7 +7280,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -7341,7 +7345,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:treemap - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -7417,7 +7421,7 @@ interactions: rotation: auto version: '2' visualizationUrl: local:combo2 - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -7496,7 +7500,7 @@ interactions: direction: asc version: '2' visualizationUrl: local:table - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -7555,7 +7559,7 @@ interactions: stackMeasuresToPercent: true version: '2' visualizationUrl: local:area - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -7612,7 +7616,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:treemap - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -7665,7 +7669,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:donut - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -7740,7 +7744,7 @@ interactions: visible: false version: '2' visualizationUrl: local:column - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -7797,7 +7801,7 @@ interactions: enabled: true version: '2' visualizationUrl: local:scatter - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -7896,7 +7900,7 @@ interactions: direction: asc version: '2' visualizationUrl: local:table - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -7952,7 +7956,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:line - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -7991,7 +7995,7 @@ interactions: properties: {} version: '2' visualizationUrl: local:bar - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -8047,7 +8051,7 @@ interactions: min: '0' version: '2' visualizationUrl: local:scatter - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -8115,7 +8119,7 @@ interactions: rotation: auto version: '2' visualizationUrl: local:combo2 - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -8172,7 +8176,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:bar - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -8229,7 +8233,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:bar - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -8725,7 +8729,7 @@ interactions: to access it. status: 404 title: Not Found - traceId: 9bfe900e7b3d7633 + traceId: 40288cd6be2519ff - request: method: GET uri: http://localhost:3000/api/v1/entities/workspaces/demo_jacek?include=workspaces @@ -8803,7 +8807,7 @@ interactions: to access it. status: 404 title: Not Found - traceId: d5ecc372a226cfb1 + traceId: 2cd70173a1c2c386 - request: method: POST uri: http://localhost:3000/api/v1/entities/workspaces @@ -9503,7 +9507,7 @@ interactions: id: campaign title: Campaign description: '' - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -9545,7 +9549,7 @@ interactions: version: '2' id: dashboard_plugin title: Dashboard plugin - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -9696,11 +9700,12 @@ interactions: id: product_and_category title: Product & Category description: '' - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user analyticalDashboardExtensions: [] + attributeHierarchies: [] dashboardPlugins: - content: url: https://www.example.com @@ -9708,7 +9713,7 @@ interactions: id: dashboard_plugin_1 title: dashboard_plugin_1 description: Testing record dashboard_plugin_1 - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -9718,7 +9723,7 @@ interactions: id: dashboard_plugin_2 title: dashboard_plugin_2 description: Testing record dashboard_plugin_2 - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -9766,7 +9771,7 @@ interactions: maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) id: amount_of_active_customers title: '# of Active Customers' - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -9775,7 +9780,7 @@ interactions: maql: SELECT COUNT({attribute/order_id}) id: amount_of_orders title: '# of Orders' - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -9785,7 +9790,7 @@ interactions: BY {attribute/customer_id}) > 10000 ' id: amount_of_top_customers title: '# of Top Customers' - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -9796,7 +9801,7 @@ interactions: id: amount_of_valid_orders title: '# of Valid Orders' description: '' - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -9805,7 +9810,7 @@ interactions: maql: SELECT SUM({fact/spend}) id: campaign_spend title: Campaign Spend - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -9814,7 +9819,7 @@ interactions: maql: SELECT SUM({fact/price}*{fact/quantity}) id: order_amount title: Order Amount - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -9823,7 +9828,7 @@ interactions: maql: SELECT {metric/revenue} / {metric/total_revenue} id: percent_revenue title: '% Revenue' - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -9833,7 +9838,7 @@ interactions: \ BY {attribute/customer_id}) > 0)\n /\n {metric/revenue}" id: percent_revenue_from_top_10_customers title: '% Revenue from Top 10 Customers' - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -9843,7 +9848,7 @@ interactions: \ BY {attribute/customer_id}) > 0)\n /\n {metric/revenue}" id: percent_revenue_from_top_10_percent_customers title: '% Revenue from Top 10% Customers' - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -9853,7 +9858,7 @@ interactions: \ BY {attribute/product_id}) > 0)\n /\n {metric/revenue}" id: percent_revenue_from_top_10_percent_products title: '% Revenue from Top 10% Products' - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -9863,7 +9868,7 @@ interactions: \ BY {attribute/product_id}) > 0)\n /\n {metric/revenue}" id: percent_revenue_from_top_10_products title: '% Revenue from Top 10 Products' - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -9873,7 +9878,7 @@ interactions: ALL OTHER) id: percent_revenue_in_category title: '% Revenue in Category' - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -9882,7 +9887,7 @@ interactions: maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL {attribute/product_id}) id: percent_revenue_per_product title: '% Revenue per Product' - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -9893,7 +9898,7 @@ interactions: id: revenue title: Revenue description: '' - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -9902,7 +9907,7 @@ interactions: maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Clothing") id: revenue-clothing title: Revenue (Clothing) - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -9912,7 +9917,7 @@ interactions: "Electronics") id: revenue-electronic title: Revenue (Electronic) - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -9921,7 +9926,7 @@ interactions: maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Home") id: revenue-home title: Revenue (Home) - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -9930,7 +9935,7 @@ interactions: maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Outdoor") id: revenue-outdoor title: Revenue (Outdoor) - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -9939,7 +9944,7 @@ interactions: maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) id: revenue_per_customer title: Revenue per Customer - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -9948,7 +9953,7 @@ interactions: maql: SELECT {metric/revenue} / {metric/campaign_spend} id: revenue_per_dollar_spent title: Revenue per Dollar Spent - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -9957,7 +9962,7 @@ interactions: maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) id: revenue_top_10 title: Revenue / Top 10 - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -9966,7 +9971,7 @@ interactions: maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) id: revenue_top_10_percent title: Revenue / Top 10% - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -9975,7 +9980,7 @@ interactions: maql: SELECT {metric/revenue} BY ALL OTHER id: total_revenue title: Total Revenue - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -9984,7 +9989,7 @@ interactions: maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER id: total_revenue-no_filters title: Total Revenue (No Filters) - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -10049,7 +10054,7 @@ interactions: visualizationUrl: local:treemap id: campaign_spend title: Campaign Spend - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -10125,7 +10130,7 @@ interactions: visualizationUrl: local:combo2 id: customers_trend title: Customers Trend - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -10204,7 +10209,7 @@ interactions: visualizationUrl: local:table id: percent_revenue_per_product_by_customer_and_category title: '% Revenue per Product by Customer and Category' - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -10263,7 +10268,7 @@ interactions: visualizationUrl: local:area id: percentage_of_customers_by_region title: Percentage of Customers by Region - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -10320,7 +10325,7 @@ interactions: visualizationUrl: local:treemap id: product_breakdown title: Product Breakdown - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -10373,7 +10378,7 @@ interactions: visualizationUrl: local:donut id: product_categories_pie_chart title: Product Categories Pie Chart - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -10448,7 +10453,7 @@ interactions: visualizationUrl: local:column id: product_revenue_comparison-over_previous_period title: Product Revenue Comparison (over previous period) - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -10505,7 +10510,7 @@ interactions: visualizationUrl: local:scatter id: product_saleability title: Product Saleability - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -10604,7 +10609,7 @@ interactions: visualizationUrl: local:table id: revenue_and_quantity_by_product_and_category title: Revenue and Quantity by Product and Category - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -10660,7 +10665,7 @@ interactions: visualizationUrl: local:line id: revenue_by_category_trend title: Revenue by Category Trend - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -10699,7 +10704,7 @@ interactions: visualizationUrl: local:bar id: revenue_by_product title: Revenue by Product - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -10755,7 +10760,7 @@ interactions: visualizationUrl: local:scatter id: revenue_per_usd_vs_spend_by_campaign title: Revenue per $ vs Spend by Campaign - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -10823,7 +10828,7 @@ interactions: visualizationUrl: local:combo2 id: revenue_trend title: Revenue Trend - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -10880,7 +10885,7 @@ interactions: visualizationUrl: local:bar id: top_10_customers title: Top 10 Customers - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -10937,7 +10942,7 @@ interactions: visualizationUrl: local:bar id: top_10_products title: Top 10 Products - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -11524,7 +11529,7 @@ interactions: X-XSS-Protection: - 1 ; mode=block content-length: - - '37099' + - '37125' body: string: analytics: @@ -11577,7 +11582,7 @@ interactions: drills: [] properties: {} version: '2' - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -11620,7 +11625,7 @@ interactions: type: dashboardPlugin version: '2' version: '2' - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -11770,18 +11775,19 @@ interactions: drills: [] properties: {} version: '2' - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user description: '' id: product_and_category title: Product & Category + attributeHierarchies: [] dashboardPlugins: - content: url: https://www.example.com version: '2' - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -11791,7 +11797,7 @@ interactions: - content: url: https://www.example.com version: '2' - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -11840,7 +11846,7 @@ interactions: - content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -11849,7 +11855,7 @@ interactions: - content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -11859,7 +11865,7 @@ interactions: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT {metric/revenue} BY {attribute/customer_id}) > 10000 ' - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -11869,7 +11875,7 @@ interactions: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} IN ("Returned", "Canceled")) - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -11879,7 +11885,7 @@ interactions: - content: format: $#,##0 maql: SELECT SUM({fact/spend}) - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -11888,7 +11894,7 @@ interactions: - content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -11897,7 +11903,7 @@ interactions: - content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -11907,7 +11913,7 @@ interactions: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ \ BY {attribute/customer_id}) > 0)\n /\n {metric/revenue}" - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -11917,7 +11923,7 @@ interactions: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ \ BY {attribute/customer_id}) > 0)\n /\n {metric/revenue}" - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -11927,7 +11933,7 @@ interactions: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ \ BY {attribute/product_id}) > 0)\n /\n {metric/revenue}" - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -11937,7 +11943,7 @@ interactions: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ \ BY {attribute/product_id}) > 0)\n /\n {metric/revenue}" - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -11947,7 +11953,7 @@ interactions: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, ALL OTHER) - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -11957,7 +11963,7 @@ interactions: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL {attribute/product_id}) - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -11967,7 +11973,7 @@ interactions: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} IN ("Returned", "Canceled")) - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -11978,7 +11984,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Clothing") - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -11988,7 +11994,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ( "Electronics") - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -11998,7 +12004,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Home") - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -12008,7 +12014,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Outdoor") - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -12017,7 +12023,7 @@ interactions: - content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -12026,7 +12032,7 @@ interactions: - content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -12035,7 +12041,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -12044,7 +12050,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -12053,7 +12059,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -12062,7 +12068,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -12127,7 +12133,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:treemap - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -12203,7 +12209,7 @@ interactions: rotation: auto version: '2' visualizationUrl: local:combo2 - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -12282,7 +12288,7 @@ interactions: direction: asc version: '2' visualizationUrl: local:table - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -12341,7 +12347,7 @@ interactions: stackMeasuresToPercent: true version: '2' visualizationUrl: local:area - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -12398,7 +12404,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:treemap - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -12451,7 +12457,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:donut - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -12526,7 +12532,7 @@ interactions: visible: false version: '2' visualizationUrl: local:column - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -12583,7 +12589,7 @@ interactions: enabled: true version: '2' visualizationUrl: local:scatter - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -12682,7 +12688,7 @@ interactions: direction: asc version: '2' visualizationUrl: local:table - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -12738,7 +12744,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:line - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -12777,7 +12783,7 @@ interactions: properties: {} version: '2' visualizationUrl: local:bar - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -12833,7 +12839,7 @@ interactions: min: '0' version: '2' visualizationUrl: local:scatter - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -12901,7 +12907,7 @@ interactions: rotation: auto version: '2' visualizationUrl: local:combo2 - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -12958,7 +12964,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:bar - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -13015,7 +13021,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:bar - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -13588,24 +13594,23 @@ interactions: body: string: data: - - id: demo - type: workspace - attributes: - name: Demo - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo - - id: demo_clone + - id: demo_west_california type: workspace attributes: - name: Demo (Clone) + name: Demo West California + relationships: + parent: + data: + id: demo_west + type: workspace links: - self: http://localhost:3000/api/v1/entities/workspaces/demo_clone - - id: demo_jacek + self: http://localhost:3000/api/v1/entities/workspaces/demo_west_california + - id: demo type: workspace attributes: - name: Deno Jacek + name: Demo links: - self: http://localhost:3000/api/v1/entities/workspaces/demo_jacek + self: http://localhost:3000/api/v1/entities/workspaces/demo - id: demo_west type: workspace attributes: @@ -13617,17 +13622,18 @@ interactions: type: workspace links: self: http://localhost:3000/api/v1/entities/workspaces/demo_west - - id: demo_west_california + - id: demo_clone type: workspace attributes: - name: Demo West California - relationships: - parent: - data: - id: demo_west - type: workspace + name: Demo (Clone) links: - self: http://localhost:3000/api/v1/entities/workspaces/demo_west_california + self: http://localhost:3000/api/v1/entities/workspaces/demo_clone + - id: demo_jacek + type: workspace + attributes: + name: Deno Jacek + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo_jacek included: - id: demo type: workspace @@ -13788,7 +13794,7 @@ interactions: to access it. status: 404 title: Not Found - traceId: 662e4cccaebb448b + traceId: c6e1258d44e2e27e - request: method: POST uri: http://localhost:3000/api/v1/entities/workspaces @@ -14488,7 +14494,7 @@ interactions: id: campaign title: Campaign description: '' - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -14530,7 +14536,7 @@ interactions: version: '2' id: dashboard_plugin title: Dashboard plugin - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -14681,11 +14687,12 @@ interactions: id: product_and_category title: Product & Category description: '' - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user analyticalDashboardExtensions: [] + attributeHierarchies: [] dashboardPlugins: - content: url: https://www.example.com @@ -14693,7 +14700,7 @@ interactions: id: dashboard_plugin_1 title: dashboard_plugin_1 description: Testing record dashboard_plugin_1 - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -14703,7 +14710,7 @@ interactions: id: dashboard_plugin_2 title: dashboard_plugin_2 description: Testing record dashboard_plugin_2 - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -14751,7 +14758,7 @@ interactions: maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) id: amount_of_active_customers title: '# of Active Customers' - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -14760,7 +14767,7 @@ interactions: maql: SELECT COUNT({attribute/order_id}) id: amount_of_orders title: '# of Orders' - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -14770,7 +14777,7 @@ interactions: BY {attribute/customer_id}) > 10000 ' id: amount_of_top_customers title: '# of Top Customers' - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -14781,7 +14788,7 @@ interactions: id: amount_of_valid_orders title: '# of Valid Orders' description: '' - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -14790,7 +14797,7 @@ interactions: maql: SELECT SUM({fact/spend}) id: campaign_spend title: Campaign Spend - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -14799,7 +14806,7 @@ interactions: maql: SELECT SUM({fact/price}*{fact/quantity}) id: order_amount title: Order Amount - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -14808,7 +14815,7 @@ interactions: maql: SELECT {metric/revenue} / {metric/total_revenue} id: percent_revenue title: '% Revenue' - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -14818,7 +14825,7 @@ interactions: \ BY {attribute/customer_id}) > 0)\n /\n {metric/revenue}" id: percent_revenue_from_top_10_customers title: '% Revenue from Top 10 Customers' - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -14828,7 +14835,7 @@ interactions: \ BY {attribute/customer_id}) > 0)\n /\n {metric/revenue}" id: percent_revenue_from_top_10_percent_customers title: '% Revenue from Top 10% Customers' - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -14838,7 +14845,7 @@ interactions: \ BY {attribute/product_id}) > 0)\n /\n {metric/revenue}" id: percent_revenue_from_top_10_percent_products title: '% Revenue from Top 10% Products' - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -14848,7 +14855,7 @@ interactions: \ BY {attribute/product_id}) > 0)\n /\n {metric/revenue}" id: percent_revenue_from_top_10_products title: '% Revenue from Top 10 Products' - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -14858,7 +14865,7 @@ interactions: ALL OTHER) id: percent_revenue_in_category title: '% Revenue in Category' - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -14867,7 +14874,7 @@ interactions: maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL {attribute/product_id}) id: percent_revenue_per_product title: '% Revenue per Product' - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -14878,7 +14885,7 @@ interactions: id: revenue title: Revenue description: '' - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -14887,7 +14894,7 @@ interactions: maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Clothing") id: revenue-clothing title: Revenue (Clothing) - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -14897,7 +14904,7 @@ interactions: "Electronics") id: revenue-electronic title: Revenue (Electronic) - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -14906,7 +14913,7 @@ interactions: maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Home") id: revenue-home title: Revenue (Home) - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -14915,7 +14922,7 @@ interactions: maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Outdoor") id: revenue-outdoor title: Revenue (Outdoor) - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -14924,7 +14931,7 @@ interactions: maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) id: revenue_per_customer title: Revenue per Customer - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -14933,7 +14940,7 @@ interactions: maql: SELECT {metric/revenue} / {metric/campaign_spend} id: revenue_per_dollar_spent title: Revenue per Dollar Spent - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -14942,7 +14949,7 @@ interactions: maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) id: revenue_top_10 title: Revenue / Top 10 - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -14951,7 +14958,7 @@ interactions: maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) id: revenue_top_10_percent title: Revenue / Top 10% - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -14960,7 +14967,7 @@ interactions: maql: SELECT {metric/revenue} BY ALL OTHER id: total_revenue title: Total Revenue - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -14969,7 +14976,7 @@ interactions: maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER id: total_revenue-no_filters title: Total Revenue (No Filters) - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -15034,7 +15041,7 @@ interactions: visualizationUrl: local:treemap id: campaign_spend title: Campaign Spend - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -15110,7 +15117,7 @@ interactions: visualizationUrl: local:combo2 id: customers_trend title: Customers Trend - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -15189,7 +15196,7 @@ interactions: visualizationUrl: local:table id: percent_revenue_per_product_by_customer_and_category title: '% Revenue per Product by Customer and Category' - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -15248,7 +15255,7 @@ interactions: visualizationUrl: local:area id: percentage_of_customers_by_region title: Percentage of Customers by Region - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -15305,7 +15312,7 @@ interactions: visualizationUrl: local:treemap id: product_breakdown title: Product Breakdown - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -15358,7 +15365,7 @@ interactions: visualizationUrl: local:donut id: product_categories_pie_chart title: Product Categories Pie Chart - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -15433,7 +15440,7 @@ interactions: visualizationUrl: local:column id: product_revenue_comparison-over_previous_period title: Product Revenue Comparison (over previous period) - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -15490,7 +15497,7 @@ interactions: visualizationUrl: local:scatter id: product_saleability title: Product Saleability - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -15589,7 +15596,7 @@ interactions: visualizationUrl: local:table id: revenue_and_quantity_by_product_and_category title: Revenue and Quantity by Product and Category - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -15645,7 +15652,7 @@ interactions: visualizationUrl: local:line id: revenue_by_category_trend title: Revenue by Category Trend - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -15684,7 +15691,7 @@ interactions: visualizationUrl: local:bar id: revenue_by_product title: Revenue by Product - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -15740,7 +15747,7 @@ interactions: visualizationUrl: local:scatter id: revenue_per_usd_vs_spend_by_campaign title: Revenue per $ vs Spend by Campaign - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -15808,7 +15815,7 @@ interactions: visualizationUrl: local:combo2 id: revenue_trend title: Revenue Trend - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -15865,7 +15872,7 @@ interactions: visualizationUrl: local:bar id: top_10_customers title: Top 10 Customers - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -15922,7 +15929,7 @@ interactions: visualizationUrl: local:bar id: top_10_products title: Top 10 Products - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -16456,6 +16463,7 @@ interactions: id: product_and_category title: Product & Category description: '' + attributeHierarchies: [] dashboardPlugins: - content: url: https://www.example.com @@ -17893,6 +17901,7 @@ interactions: type: allWorkspaceUsers name: VIEW analyticalDashboards: [] + attributeHierarchies: [] dashboardPlugins: [] filterContexts: [] metrics: [] @@ -17922,6 +17931,7 @@ interactions: analytics: analyticalDashboardExtensions: [] analyticalDashboards: [] + attributeHierarchies: [] dashboardPlugins: [] filterContexts: [] metrics: [] 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 85c821ac3..43430d382 100644 --- a/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_create_workspace.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_create_workspace.yaml @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: @@ -197,7 +197,7 @@ interactions: to access it. status: 404 title: Not Found - traceId: fd32754265375349 + traceId: 32f6384c1b5180d7 - request: method: POST uri: http://localhost:3000/api/v1/entities/workspaces @@ -796,6 +796,7 @@ interactions: id: product_and_category title: Product & Category description: '' + attributeHierarchies: [] dashboardPlugins: - content: url: https://www.example.com @@ -2233,6 +2234,7 @@ interactions: type: allWorkspaceUsers name: VIEW analyticalDashboards: [] + attributeHierarchies: [] dashboardPlugins: [] filterContexts: [] metrics: [] @@ -2262,6 +2264,7 @@ interactions: analytics: analyticalDashboardExtensions: [] analyticalDashboards: [] + attributeHierarchies: [] dashboardPlugins: [] filterContexts: [] metrics: [] diff --git a/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_declarative_workspaces.yaml b/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_declarative_workspaces.yaml index e11e993c9..32ddf736d 100644 --- a/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_declarative_workspaces.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_declarative_workspaces.yaml @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: @@ -74,7 +74,7 @@ interactions: X-XSS-Protection: - 1 ; mode=block content-length: - - '36054' + - '36132' body: string: workspaceDataFilters: @@ -358,6 +358,7 @@ interactions: description: '' id: product_and_category title: Product & Category + attributeHierarchies: [] dashboardPlugins: - content: url: https://www.example.com @@ -1795,6 +1796,7 @@ interactions: type: allWorkspaceUsers name: VIEW analyticalDashboards: [] + attributeHierarchies: [] dashboardPlugins: [] filterContexts: [] metrics: [] @@ -1824,6 +1826,7 @@ interactions: analytics: analyticalDashboardExtensions: [] analyticalDashboards: [] + attributeHierarchies: [] dashboardPlugins: [] filterContexts: [] metrics: [] @@ -1910,7 +1913,7 @@ interactions: X-XSS-Protection: - 1 ; mode=block content-length: - - '36054' + - '36132' body: string: workspaceDataFilters: @@ -2194,6 +2197,7 @@ interactions: description: '' id: product_and_category title: Product & Category + attributeHierarchies: [] dashboardPlugins: - content: url: https://www.example.com @@ -3631,6 +3635,7 @@ interactions: type: allWorkspaceUsers name: VIEW analyticalDashboards: [] + attributeHierarchies: [] dashboardPlugins: [] filterContexts: [] metrics: [] @@ -3660,6 +3665,7 @@ interactions: analytics: analyticalDashboardExtensions: [] analyticalDashboards: [] + attributeHierarchies: [] dashboardPlugins: [] filterContexts: [] metrics: [] diff --git a/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_delete_non_existing_workspace.yaml b/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_delete_non_existing_workspace.yaml index ddd259adb..8ccfff4f3 100644 --- a/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_delete_non_existing_workspace.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_delete_non_existing_workspace.yaml @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: diff --git a/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_delete_parent_workspace.yaml b/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_delete_parent_workspace.yaml index ddd259adb..8ccfff4f3 100644 --- a/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_delete_parent_workspace.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_delete_parent_workspace.yaml @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: 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 eae302a1f..f311c517e 100644 --- a/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_delete_workspace.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_delete_workspace.yaml @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: @@ -691,6 +691,7 @@ interactions: id: product_and_category title: Product & Category description: '' + attributeHierarchies: [] dashboardPlugins: - content: url: https://www.example.com @@ -2128,6 +2129,7 @@ interactions: type: allWorkspaceUsers name: VIEW analyticalDashboards: [] + attributeHierarchies: [] dashboardPlugins: [] filterContexts: [] metrics: [] @@ -2157,6 +2159,7 @@ interactions: analytics: analyticalDashboardExtensions: [] analyticalDashboards: [] + attributeHierarchies: [] dashboardPlugins: [] filterContexts: [] metrics: [] diff --git a/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_get_declarative_user_data_filters.yaml b/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_get_declarative_user_data_filters.yaml index 22a9ba486..b342d7dfc 100644 --- a/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_get_declarative_user_data_filters.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_get_declarative_user_data_filters.yaml @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: diff --git a/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_get_declarative_workspace.yaml b/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_get_declarative_workspace.yaml index 571ddc931..45d8b7ad3 100644 --- a/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_get_declarative_workspace.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_get_declarative_workspace.yaml @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: @@ -74,7 +74,7 @@ interactions: X-XSS-Protection: - 1 ; mode=block content-length: - - '33931' + - '33957' body: string: analytics: @@ -315,6 +315,7 @@ interactions: description: '' id: product_and_category title: Product & Category + attributeHierarchies: [] dashboardPlugins: - content: url: https://www.example.com @@ -1800,7 +1801,7 @@ interactions: X-XSS-Protection: - 1 ; mode=block content-length: - - '33931' + - '33957' body: string: analytics: @@ -2041,6 +2042,7 @@ interactions: description: '' id: product_and_category title: Product & Category + attributeHierarchies: [] dashboardPlugins: - content: url: https://www.example.com diff --git a/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_get_declarative_workspace_data_filters.yaml b/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_get_declarative_workspace_data_filters.yaml index c60937cae..c01c9f360 100644 --- a/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_get_declarative_workspace_data_filters.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_get_declarative_workspace_data_filters.yaml @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: diff --git a/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_get_declarative_workspaces.yaml b/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_get_declarative_workspaces.yaml index 2402c810b..0427cd325 100644 --- a/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_get_declarative_workspaces.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_get_declarative_workspaces.yaml @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: @@ -74,7 +74,7 @@ interactions: X-XSS-Protection: - 1 ; mode=block content-length: - - '36054' + - '36132' body: string: workspaceDataFilters: @@ -358,6 +358,7 @@ interactions: description: '' id: product_and_category title: Product & Category + attributeHierarchies: [] dashboardPlugins: - content: url: https://www.example.com @@ -1795,6 +1796,7 @@ interactions: type: allWorkspaceUsers name: VIEW analyticalDashboards: [] + attributeHierarchies: [] dashboardPlugins: [] filterContexts: [] metrics: [] @@ -1824,6 +1826,7 @@ interactions: analytics: analyticalDashboardExtensions: [] analyticalDashboards: [] + attributeHierarchies: [] dashboardPlugins: [] filterContexts: [] metrics: [] diff --git a/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_get_declarative_workspaces_snake_case.yaml b/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_get_declarative_workspaces_snake_case.yaml index 2402c810b..0427cd325 100644 --- a/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_get_declarative_workspaces_snake_case.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_get_declarative_workspaces_snake_case.yaml @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: @@ -74,7 +74,7 @@ interactions: X-XSS-Protection: - 1 ; mode=block content-length: - - '36054' + - '36132' body: string: workspaceDataFilters: @@ -358,6 +358,7 @@ interactions: description: '' id: product_and_category title: Product & Category + attributeHierarchies: [] dashboardPlugins: - content: url: https://www.example.com @@ -1795,6 +1796,7 @@ interactions: type: allWorkspaceUsers name: VIEW analyticalDashboards: [] + attributeHierarchies: [] dashboardPlugins: [] filterContexts: [] metrics: [] @@ -1824,6 +1826,7 @@ interactions: analytics: analyticalDashboardExtensions: [] analyticalDashboards: [] + attributeHierarchies: [] dashboardPlugins: [] filterContexts: [] metrics: [] diff --git a/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_get_workspace.yaml b/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_get_workspace.yaml index 9ca6a05fc..a0b458f00 100644 --- a/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_get_workspace.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_get_workspace.yaml @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: diff --git a/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_load_and_put_declarative_user_data_filters.yaml b/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_load_and_put_declarative_user_data_filters.yaml index fff418488..2005773af 100644 --- a/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_load_and_put_declarative_user_data_filters.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_load_and_put_declarative_user_data_filters.yaml @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: @@ -373,7 +373,7 @@ interactions: name: Default Organization hostname: localhost allowedOrigins: [] - oauthClientId: b0242aeb-fd5b-4e11-859c-f3d35f2522ec + oauthClientId: 8e31e65d-514f-437f-85d0-ed6aa12a966e links: self: http://localhost:3000/api/v1/entities/admin/organizations/default - request: @@ -807,6 +807,7 @@ interactions: id: product_and_category title: Product & Category description: '' + attributeHierarchies: [] dashboardPlugins: - content: url: https://www.example.com @@ -2244,6 +2245,7 @@ interactions: type: allWorkspaceUsers name: VIEW analyticalDashboards: [] + attributeHierarchies: [] dashboardPlugins: [] filterContexts: [] metrics: [] @@ -2273,6 +2275,7 @@ interactions: analytics: analyticalDashboardExtensions: [] analyticalDashboards: [] + attributeHierarchies: [] dashboardPlugins: [] filterContexts: [] metrics: [] 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 50c3d0997..8ba0a2904 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 @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: @@ -74,7 +74,7 @@ interactions: X-XSS-Protection: - 1 ; mode=block content-length: - - '33931' + - '33957' body: string: analytics: @@ -315,6 +315,7 @@ interactions: description: '' id: product_and_category title: Product & Category + attributeHierarchies: [] dashboardPlugins: - content: url: https://www.example.com @@ -1869,12 +1870,13 @@ interactions: X-XSS-Protection: - 1 ; mode=block content-length: - - '198' + - '224' body: string: analytics: analyticalDashboardExtensions: [] analyticalDashboards: [] + attributeHierarchies: [] dashboardPlugins: [] filterContexts: [] metrics: [] @@ -2031,7 +2033,7 @@ interactions: name: Default Organization hostname: localhost allowedOrigins: [] - oauthClientId: b0242aeb-fd5b-4e11-859c-f3d35f2522ec + oauthClientId: 8e31e65d-514f-437f-85d0-ed6aa12a966e links: self: http://localhost:3000/api/v1/entities/admin/organizations/default - request: @@ -2599,6 +2601,7 @@ interactions: title: Product & Category description: '' analyticalDashboardExtensions: [] + attributeHierarchies: [] dashboardPlugins: - content: url: https://www.example.com @@ -3812,7 +3815,7 @@ interactions: X-XSS-Protection: - 1 ; mode=block content-length: - - '33931' + - '33957' body: string: analytics: @@ -4053,6 +4056,7 @@ interactions: description: '' id: product_and_category title: Product & Category + attributeHierarchies: [] dashboardPlugins: - content: url: https://www.example.com @@ -5751,6 +5755,7 @@ interactions: id: product_and_category title: Product & Category description: '' + attributeHierarchies: [] dashboardPlugins: - content: url: https://www.example.com @@ -7188,6 +7193,7 @@ interactions: type: allWorkspaceUsers name: VIEW analyticalDashboards: [] + attributeHierarchies: [] dashboardPlugins: [] filterContexts: [] metrics: [] @@ -7217,6 +7223,7 @@ interactions: analytics: analyticalDashboardExtensions: [] analyticalDashboards: [] + attributeHierarchies: [] dashboardPlugins: [] filterContexts: [] metrics: [] 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 da4ff5057..14615726d 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 @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: @@ -401,7 +401,7 @@ interactions: name: Default Organization hostname: localhost allowedOrigins: [] - oauthClientId: b0242aeb-fd5b-4e11-859c-f3d35f2522ec + oauthClientId: 8e31e65d-514f-437f-85d0-ed6aa12a966e links: self: http://localhost:3000/api/v1/entities/admin/organizations/default - request: @@ -891,6 +891,7 @@ interactions: id: product_and_category title: Product & Category description: '' + attributeHierarchies: [] dashboardPlugins: - content: url: https://www.example.com @@ -2328,6 +2329,7 @@ interactions: type: allWorkspaceUsers name: VIEW analyticalDashboards: [] + attributeHierarchies: [] dashboardPlugins: [] filterContexts: [] metrics: [] @@ -2357,6 +2359,7 @@ interactions: analytics: analyticalDashboardExtensions: [] analyticalDashboards: [] + attributeHierarchies: [] dashboardPlugins: [] filterContexts: [] metrics: [] 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 639b63925..70fb59ec9 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 @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: @@ -299,7 +299,7 @@ interactions: name: Default Organization hostname: localhost allowedOrigins: [] - oauthClientId: b0242aeb-fd5b-4e11-859c-f3d35f2522ec + oauthClientId: 8e31e65d-514f-437f-85d0-ed6aa12a966e links: self: http://localhost:3000/api/v1/entities/admin/organizations/default - request: @@ -900,6 +900,7 @@ interactions: title: Product & Category description: '' analyticalDashboardExtensions: [] + attributeHierarchies: [] dashboardPlugins: - content: url: https://www.example.com @@ -2023,6 +2024,7 @@ interactions: - name: VIEW assigneeRule: type: allWorkspaceUsers + attributeHierarchies: [] dashboardPlugins: [] filterContexts: [] metrics: [] @@ -2044,6 +2046,7 @@ interactions: analytics: analyticalDashboards: [] analyticalDashboardExtensions: [] + attributeHierarchies: [] dashboardPlugins: [] filterContexts: [] metrics: [] @@ -2193,7 +2196,7 @@ interactions: X-XSS-Protection: - 1 ; mode=block content-length: - - '36054' + - '36132' body: string: workspaceDataFilters: @@ -2477,6 +2480,7 @@ interactions: description: '' id: product_and_category title: Product & Category + attributeHierarchies: [] dashboardPlugins: - content: url: https://www.example.com @@ -3914,6 +3918,7 @@ interactions: type: allWorkspaceUsers name: VIEW analyticalDashboards: [] + attributeHierarchies: [] dashboardPlugins: [] filterContexts: [] metrics: [] @@ -3943,6 +3948,7 @@ interactions: analytics: analyticalDashboardExtensions: [] analyticalDashboards: [] + attributeHierarchies: [] dashboardPlugins: [] filterContexts: [] metrics: [] @@ -4242,6 +4248,7 @@ interactions: id: product_and_category title: Product & Category description: '' + attributeHierarchies: [] dashboardPlugins: - content: url: https://www.example.com @@ -5679,6 +5686,7 @@ interactions: type: allWorkspaceUsers name: VIEW analyticalDashboards: [] + attributeHierarchies: [] dashboardPlugins: [] filterContexts: [] metrics: [] @@ -5708,6 +5716,7 @@ interactions: analytics: analyticalDashboardExtensions: [] analyticalDashboards: [] + attributeHierarchies: [] dashboardPlugins: [] filterContexts: [] metrics: [] diff --git a/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_put_declarative_user_data_filters.yaml b/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_put_declarative_user_data_filters.yaml index 850dd8670..b67c2097d 100644 --- a/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_put_declarative_user_data_filters.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_put_declarative_user_data_filters.yaml @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: @@ -445,6 +445,7 @@ interactions: id: product_and_category title: Product & Category description: '' + attributeHierarchies: [] dashboardPlugins: - content: url: https://www.example.com @@ -1882,6 +1883,7 @@ interactions: type: allWorkspaceUsers name: VIEW analyticalDashboards: [] + attributeHierarchies: [] dashboardPlugins: [] filterContexts: [] metrics: [] @@ -1911,6 +1913,7 @@ interactions: analytics: analyticalDashboardExtensions: [] analyticalDashboards: [] + attributeHierarchies: [] dashboardPlugins: [] filterContexts: [] metrics: [] 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 c3bb076ab..1a5c55e15 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 @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: @@ -79,7 +79,7 @@ interactions: to access it. status: 404 title: Not Found - traceId: 4509d31802a44ec2 + traceId: de61e66216bd85b3 - request: method: POST uri: http://localhost:3000/api/v1/entities/workspaces @@ -239,7 +239,7 @@ interactions: X-XSS-Protection: - 1 ; mode=block content-length: - - '33931' + - '33957' body: string: analytics: @@ -480,6 +480,7 @@ interactions: description: '' id: product_and_category title: Product & Category + attributeHierarchies: [] dashboardPlugins: - content: url: https://www.example.com @@ -2462,6 +2463,7 @@ interactions: title: Product & Category description: '' analyticalDashboardExtensions: [] + attributeHierarchies: [] dashboardPlugins: - content: url: https://www.example.com @@ -3675,7 +3677,7 @@ interactions: X-XSS-Protection: - 1 ; mode=block content-length: - - '33773' + - '33799' body: string: analytics: @@ -3916,6 +3918,7 @@ interactions: description: '' id: product_and_category title: Product & Category + attributeHierarchies: [] dashboardPlugins: - content: url: https://www.example.com @@ -5608,6 +5611,7 @@ interactions: id: product_and_category title: Product & Category description: '' + attributeHierarchies: [] dashboardPlugins: - content: url: https://www.example.com @@ -7045,6 +7049,7 @@ interactions: type: allWorkspaceUsers name: VIEW analyticalDashboards: [] + attributeHierarchies: [] dashboardPlugins: [] filterContexts: [] metrics: [] @@ -7074,6 +7079,7 @@ interactions: analytics: analyticalDashboardExtensions: [] analyticalDashboards: [] + attributeHierarchies: [] dashboardPlugins: [] filterContexts: [] metrics: [] diff --git a/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_put_declarative_workspace_data_filters.yaml b/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_put_declarative_workspace_data_filters.yaml index 9aacfa9bc..9d10ed268 100644 --- a/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_put_declarative_workspace_data_filters.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_put_declarative_workspace_data_filters.yaml @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: @@ -739,6 +739,7 @@ interactions: id: product_and_category title: Product & Category description: '' + attributeHierarchies: [] dashboardPlugins: - content: url: https://www.example.com @@ -2176,6 +2177,7 @@ interactions: type: allWorkspaceUsers name: VIEW analyticalDashboards: [] + attributeHierarchies: [] dashboardPlugins: [] filterContexts: [] metrics: [] @@ -2205,6 +2207,7 @@ interactions: analytics: analyticalDashboardExtensions: [] analyticalDashboards: [] + attributeHierarchies: [] dashboardPlugins: [] filterContexts: [] metrics: [] diff --git a/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_put_declarative_workspaces.yaml b/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_put_declarative_workspaces.yaml index 8791f9751..107aea5bb 100644 --- a/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_put_declarative_workspaces.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_put_declarative_workspaces.yaml @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: @@ -74,7 +74,7 @@ interactions: X-XSS-Protection: - 1 ; mode=block content-length: - - '36054' + - '36132' body: string: workspaceDataFilters: @@ -358,6 +358,7 @@ interactions: description: '' id: product_and_category title: Product & Category + attributeHierarchies: [] dashboardPlugins: - content: url: https://www.example.com @@ -1795,6 +1796,7 @@ interactions: type: allWorkspaceUsers name: VIEW analyticalDashboards: [] + attributeHierarchies: [] dashboardPlugins: [] filterContexts: [] metrics: [] @@ -1824,6 +1826,7 @@ interactions: analytics: analyticalDashboardExtensions: [] analyticalDashboards: [] + attributeHierarchies: [] dashboardPlugins: [] filterContexts: [] metrics: [] @@ -2594,6 +2597,7 @@ interactions: title: Product & Category description: '' analyticalDashboardExtensions: [] + attributeHierarchies: [] dashboardPlugins: - content: url: https://www.example.com @@ -3717,6 +3721,7 @@ interactions: - name: VIEW assigneeRule: type: allWorkspaceUsers + attributeHierarchies: [] dashboardPlugins: [] filterContexts: [] metrics: [] @@ -3738,6 +3743,7 @@ interactions: analytics: analyticalDashboards: [] analyticalDashboardExtensions: [] + attributeHierarchies: [] dashboardPlugins: [] filterContexts: [] metrics: [] @@ -3887,7 +3893,7 @@ interactions: X-XSS-Protection: - 1 ; mode=block content-length: - - '36054' + - '36132' body: string: workspaceDataFilters: @@ -4171,6 +4177,7 @@ interactions: description: '' id: product_and_category title: Product & Category + attributeHierarchies: [] dashboardPlugins: - content: url: https://www.example.com @@ -5608,6 +5615,7 @@ interactions: type: allWorkspaceUsers name: VIEW analyticalDashboards: [] + attributeHierarchies: [] dashboardPlugins: [] filterContexts: [] metrics: [] @@ -5637,6 +5645,7 @@ interactions: analytics: analyticalDashboardExtensions: [] analyticalDashboards: [] + attributeHierarchies: [] dashboardPlugins: [] filterContexts: [] metrics: [] @@ -5936,6 +5945,7 @@ interactions: id: product_and_category title: Product & Category description: '' + attributeHierarchies: [] dashboardPlugins: - content: url: https://www.example.com @@ -7373,6 +7383,7 @@ interactions: type: allWorkspaceUsers name: VIEW analyticalDashboards: [] + attributeHierarchies: [] dashboardPlugins: [] filterContexts: [] metrics: [] @@ -7402,6 +7413,7 @@ interactions: analytics: analyticalDashboardExtensions: [] analyticalDashboards: [] + attributeHierarchies: [] dashboardPlugins: [] filterContexts: [] metrics: [] diff --git a/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_store_declarative_user_data_filters.yaml b/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_store_declarative_user_data_filters.yaml index 3ec335ec9..1a32381af 100644 --- a/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_store_declarative_user_data_filters.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_store_declarative_user_data_filters.yaml @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: @@ -303,7 +303,7 @@ interactions: name: Default Organization hostname: localhost allowedOrigins: [] - oauthClientId: b0242aeb-fd5b-4e11-859c-f3d35f2522ec + oauthClientId: 8e31e65d-514f-437f-85d0-ed6aa12a966e links: self: http://localhost:3000/api/v1/entities/admin/organizations/default - request: @@ -455,6 +455,6 @@ interactions: name: Default Organization hostname: localhost allowedOrigins: [] - oauthClientId: b0242aeb-fd5b-4e11-859c-f3d35f2522ec + oauthClientId: 8e31e65d-514f-437f-85d0-ed6aa12a966e links: self: http://localhost:3000/api/v1/entities/admin/organizations/default 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 9d56a9707..ed76c8519 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 @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: @@ -74,7 +74,7 @@ interactions: X-XSS-Protection: - 1 ; mode=block content-length: - - '33931' + - '33957' body: string: analytics: @@ -315,6 +315,7 @@ interactions: description: '' id: product_and_category title: Product & Category + attributeHierarchies: [] dashboardPlugins: - content: url: https://www.example.com @@ -1877,7 +1878,7 @@ interactions: name: Default Organization hostname: localhost allowedOrigins: [] - oauthClientId: b0242aeb-fd5b-4e11-859c-f3d35f2522ec + oauthClientId: 8e31e65d-514f-437f-85d0-ed6aa12a966e links: self: http://localhost:3000/api/v1/entities/admin/organizations/default - request: @@ -1952,7 +1953,7 @@ interactions: X-XSS-Protection: - 1 ; mode=block content-length: - - '33931' + - '33957' body: string: analytics: @@ -2193,6 +2194,7 @@ interactions: description: '' id: product_and_category title: Product & Category + attributeHierarchies: [] dashboardPlugins: - content: url: https://www.example.com @@ -3755,6 +3757,6 @@ interactions: name: Default Organization hostname: localhost allowedOrigins: [] - oauthClientId: b0242aeb-fd5b-4e11-859c-f3d35f2522ec + oauthClientId: 8e31e65d-514f-437f-85d0-ed6aa12a966e 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 a4f594d22..5bd85dd4d 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 @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: @@ -359,7 +359,7 @@ interactions: name: Default Organization hostname: localhost allowedOrigins: [] - oauthClientId: b0242aeb-fd5b-4e11-859c-f3d35f2522ec + oauthClientId: 8e31e65d-514f-437f-85d0-ed6aa12a966e links: self: http://localhost:3000/api/v1/entities/admin/organizations/default - request: @@ -511,6 +511,6 @@ interactions: name: Default Organization hostname: localhost allowedOrigins: [] - oauthClientId: b0242aeb-fd5b-4e11-859c-f3d35f2522ec + oauthClientId: 8e31e65d-514f-437f-85d0-ed6aa12a966e 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 fd944f530..a1e26f7dc 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 @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: @@ -74,7 +74,7 @@ interactions: X-XSS-Protection: - 1 ; mode=block content-length: - - '39222' + - '39300' body: string: workspaceDataFilters: @@ -169,7 +169,7 @@ interactions: drills: [] properties: {} version: '2' - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -212,7 +212,7 @@ interactions: type: dashboardPlugin version: '2' version: '2' - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -363,18 +363,19 @@ interactions: drills: [] properties: {} version: '2' - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user description: '' id: product_and_category title: Product & Category + attributeHierarchies: [] dashboardPlugins: - content: url: https://www.example.com version: '2' - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -384,7 +385,7 @@ interactions: - content: url: https://www.example.com version: '2' - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -433,7 +434,7 @@ interactions: - content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -442,7 +443,7 @@ interactions: - content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -452,7 +453,7 @@ interactions: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT {metric/revenue} BY {attribute/customer_id}) > 10000 ' - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -462,7 +463,7 @@ interactions: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} IN ("Returned", "Canceled")) - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -472,7 +473,7 @@ interactions: - content: format: $#,##0 maql: SELECT SUM({fact/spend}) - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -481,7 +482,7 @@ interactions: - content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -490,7 +491,7 @@ interactions: - content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -500,7 +501,7 @@ interactions: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ \ BY {attribute/customer_id}) > 0)\n /\n {metric/revenue}" - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -510,7 +511,7 @@ interactions: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ \ BY {attribute/customer_id}) > 0)\n /\n {metric/revenue}" - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -520,7 +521,7 @@ interactions: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ \ BY {attribute/product_id}) > 0)\n /\n {metric/revenue}" - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -530,7 +531,7 @@ interactions: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ \ BY {attribute/product_id}) > 0)\n /\n {metric/revenue}" - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -540,7 +541,7 @@ interactions: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, ALL OTHER) - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -550,7 +551,7 @@ interactions: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL {attribute/product_id}) - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -560,7 +561,7 @@ interactions: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} IN ("Returned", "Canceled")) - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -571,7 +572,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Clothing") - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -581,7 +582,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ( "Electronics") - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -591,7 +592,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Home") - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -601,7 +602,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Outdoor") - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -610,7 +611,7 @@ interactions: - content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -619,7 +620,7 @@ interactions: - content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -628,7 +629,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -637,7 +638,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -646,7 +647,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -655,7 +656,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -720,7 +721,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:treemap - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -796,7 +797,7 @@ interactions: rotation: auto version: '2' visualizationUrl: local:combo2 - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -875,7 +876,7 @@ interactions: direction: asc version: '2' visualizationUrl: local:table - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -934,7 +935,7 @@ interactions: stackMeasuresToPercent: true version: '2' visualizationUrl: local:area - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -991,7 +992,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:treemap - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -1044,7 +1045,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:donut - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -1119,7 +1120,7 @@ interactions: visible: false version: '2' visualizationUrl: local:column - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -1176,7 +1177,7 @@ interactions: enabled: true version: '2' visualizationUrl: local:scatter - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -1275,7 +1276,7 @@ interactions: direction: asc version: '2' visualizationUrl: local:table - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -1331,7 +1332,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:line - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -1370,7 +1371,7 @@ interactions: properties: {} version: '2' visualizationUrl: local:bar - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -1426,7 +1427,7 @@ interactions: min: '0' version: '2' visualizationUrl: local:scatter - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -1494,7 +1495,7 @@ interactions: rotation: auto version: '2' visualizationUrl: local:combo2 - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -1551,7 +1552,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:bar - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -1608,7 +1609,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:bar - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -1971,6 +1972,7 @@ interactions: type: allWorkspaceUsers name: VIEW analyticalDashboards: [] + attributeHierarchies: [] dashboardPlugins: [] filterContexts: [] metrics: [] @@ -2000,6 +2002,7 @@ interactions: analytics: analyticalDashboardExtensions: [] analyticalDashboards: [] + attributeHierarchies: [] dashboardPlugins: [] filterContexts: [] metrics: [] @@ -2086,7 +2089,7 @@ interactions: X-XSS-Protection: - 1 ; mode=block content-length: - - '39222' + - '39300' body: string: workspaceDataFilters: @@ -2181,7 +2184,7 @@ interactions: drills: [] properties: {} version: '2' - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -2224,7 +2227,7 @@ interactions: type: dashboardPlugin version: '2' version: '2' - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -2375,18 +2378,19 @@ interactions: drills: [] properties: {} version: '2' - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user description: '' id: product_and_category title: Product & Category + attributeHierarchies: [] dashboardPlugins: - content: url: https://www.example.com version: '2' - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -2396,7 +2400,7 @@ interactions: - content: url: https://www.example.com version: '2' - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -2445,7 +2449,7 @@ interactions: - content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -2454,7 +2458,7 @@ interactions: - content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -2464,7 +2468,7 @@ interactions: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT {metric/revenue} BY {attribute/customer_id}) > 10000 ' - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -2474,7 +2478,7 @@ interactions: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} IN ("Returned", "Canceled")) - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -2484,7 +2488,7 @@ interactions: - content: format: $#,##0 maql: SELECT SUM({fact/spend}) - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -2493,7 +2497,7 @@ interactions: - content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -2502,7 +2506,7 @@ interactions: - content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -2512,7 +2516,7 @@ interactions: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ \ BY {attribute/customer_id}) > 0)\n /\n {metric/revenue}" - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -2522,7 +2526,7 @@ interactions: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ \ BY {attribute/customer_id}) > 0)\n /\n {metric/revenue}" - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -2532,7 +2536,7 @@ interactions: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ \ BY {attribute/product_id}) > 0)\n /\n {metric/revenue}" - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -2542,7 +2546,7 @@ interactions: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ \ BY {attribute/product_id}) > 0)\n /\n {metric/revenue}" - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -2552,7 +2556,7 @@ interactions: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, ALL OTHER) - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -2562,7 +2566,7 @@ interactions: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL {attribute/product_id}) - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -2572,7 +2576,7 @@ interactions: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} IN ("Returned", "Canceled")) - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -2583,7 +2587,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Clothing") - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -2593,7 +2597,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ( "Electronics") - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -2603,7 +2607,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Home") - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -2613,7 +2617,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Outdoor") - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -2622,7 +2626,7 @@ interactions: - content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -2631,7 +2635,7 @@ interactions: - content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -2640,7 +2644,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -2649,7 +2653,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -2658,7 +2662,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -2667,7 +2671,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -2732,7 +2736,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:treemap - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -2808,7 +2812,7 @@ interactions: rotation: auto version: '2' visualizationUrl: local:combo2 - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -2887,7 +2891,7 @@ interactions: direction: asc version: '2' visualizationUrl: local:table - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -2946,7 +2950,7 @@ interactions: stackMeasuresToPercent: true version: '2' visualizationUrl: local:area - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -3003,7 +3007,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:treemap - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -3056,7 +3060,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:donut - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -3131,7 +3135,7 @@ interactions: visible: false version: '2' visualizationUrl: local:column - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -3188,7 +3192,7 @@ interactions: enabled: true version: '2' visualizationUrl: local:scatter - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -3287,7 +3291,7 @@ interactions: direction: asc version: '2' visualizationUrl: local:table - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -3343,7 +3347,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:line - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -3382,7 +3386,7 @@ interactions: properties: {} version: '2' visualizationUrl: local:bar - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -3438,7 +3442,7 @@ interactions: min: '0' version: '2' visualizationUrl: local:scatter - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -3506,7 +3510,7 @@ interactions: rotation: auto version: '2' visualizationUrl: local:combo2 - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -3563,7 +3567,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:bar - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -3620,7 +3624,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:bar - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -3983,6 +3987,7 @@ interactions: type: allWorkspaceUsers name: VIEW analyticalDashboards: [] + attributeHierarchies: [] dashboardPlugins: [] filterContexts: [] metrics: [] @@ -4012,6 +4017,7 @@ interactions: analytics: analyticalDashboardExtensions: [] analyticalDashboards: [] + attributeHierarchies: [] dashboardPlugins: [] filterContexts: [] metrics: [] @@ -4175,7 +4181,7 @@ interactions: name: Default Organization hostname: localhost allowedOrigins: [] - oauthClientId: b0242aeb-fd5b-4e11-859c-f3d35f2522ec + oauthClientId: 8e31e65d-514f-437f-85d0-ed6aa12a966e links: self: http://localhost:3000/api/v1/entities/admin/organizations/default - request: @@ -4327,6 +4333,6 @@ interactions: name: Default Organization hostname: localhost allowedOrigins: [] - oauthClientId: b0242aeb-fd5b-4e11-859c-f3d35f2522ec + oauthClientId: 8e31e65d-514f-437f-85d0-ed6aa12a966e links: self: http://localhost:3000/api/v1/entities/admin/organizations/default diff --git a/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_translate_workspace.yaml b/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_translate_workspace.yaml index 7b068599a..fad93f5ac 100644 --- a/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_translate_workspace.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_translate_workspace.yaml @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: @@ -154,7 +154,7 @@ interactions: X-XSS-Protection: - 1 ; mode=block content-length: - - '37099' + - '37125' body: string: analytics: @@ -207,7 +207,7 @@ interactions: drills: [] properties: {} version: '2' - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -250,7 +250,7 @@ interactions: type: dashboardPlugin version: '2' version: '2' - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -400,18 +400,19 @@ interactions: drills: [] properties: {} version: '2' - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user description: '' id: product_and_category title: Product & Category + attributeHierarchies: [] dashboardPlugins: - content: url: https://www.example.com version: '2' - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -421,7 +422,7 @@ interactions: - content: url: https://www.example.com version: '2' - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -470,7 +471,7 @@ interactions: - content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -479,7 +480,7 @@ interactions: - content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -489,7 +490,7 @@ interactions: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT {metric/revenue} BY {attribute/customer_id}) > 10000 ' - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -499,7 +500,7 @@ interactions: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} IN ("Returned", "Canceled")) - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -509,7 +510,7 @@ interactions: - content: format: $#,##0 maql: SELECT SUM({fact/spend}) - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -518,7 +519,7 @@ interactions: - content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -527,7 +528,7 @@ interactions: - content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -537,7 +538,7 @@ interactions: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ \ BY {attribute/customer_id}) > 0)\n /\n {metric/revenue}" - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -547,7 +548,7 @@ interactions: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ \ BY {attribute/customer_id}) > 0)\n /\n {metric/revenue}" - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -557,7 +558,7 @@ interactions: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ \ BY {attribute/product_id}) > 0)\n /\n {metric/revenue}" - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -567,7 +568,7 @@ interactions: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ \ BY {attribute/product_id}) > 0)\n /\n {metric/revenue}" - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -577,7 +578,7 @@ interactions: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, ALL OTHER) - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -587,7 +588,7 @@ interactions: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL {attribute/product_id}) - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -597,7 +598,7 @@ interactions: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} IN ("Returned", "Canceled")) - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -608,7 +609,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Clothing") - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -618,7 +619,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ( "Electronics") - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -628,7 +629,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Home") - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -638,7 +639,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Outdoor") - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -647,7 +648,7 @@ interactions: - content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -656,7 +657,7 @@ interactions: - content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -665,7 +666,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -674,7 +675,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -683,7 +684,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -692,7 +693,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -757,7 +758,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:treemap - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -833,7 +834,7 @@ interactions: rotation: auto version: '2' visualizationUrl: local:combo2 - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -912,7 +913,7 @@ interactions: direction: asc version: '2' visualizationUrl: local:table - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -971,7 +972,7 @@ interactions: stackMeasuresToPercent: true version: '2' visualizationUrl: local:area - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -1028,7 +1029,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:treemap - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -1081,7 +1082,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:donut - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -1156,7 +1157,7 @@ interactions: visible: false version: '2' visualizationUrl: local:column - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -1213,7 +1214,7 @@ interactions: enabled: true version: '2' visualizationUrl: local:scatter - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -1312,7 +1313,7 @@ interactions: direction: asc version: '2' visualizationUrl: local:table - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -1368,7 +1369,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:line - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -1407,7 +1408,7 @@ interactions: properties: {} version: '2' visualizationUrl: local:bar - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -1463,7 +1464,7 @@ interactions: min: '0' version: '2' visualizationUrl: local:scatter - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -1531,7 +1532,7 @@ interactions: rotation: auto version: '2' visualizationUrl: local:combo2 - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -1588,7 +1589,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:bar - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -1645,7 +1646,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:bar - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -2133,7 +2134,7 @@ interactions: name: Default Organization hostname: localhost allowedOrigins: [] - oauthClientId: b0242aeb-fd5b-4e11-859c-f3d35f2522ec + oauthClientId: 8e31e65d-514f-437f-85d0-ed6aa12a966e links: self: http://localhost:3000/api/v1/entities/admin/organizations/default - request: @@ -2288,7 +2289,7 @@ interactions: X-XSS-Protection: - 1 ; mode=block content-length: - - '37099' + - '37125' body: string: analytics: @@ -2341,7 +2342,7 @@ interactions: drills: [] properties: {} version: '2' - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -2384,7 +2385,7 @@ interactions: type: dashboardPlugin version: '2' version: '2' - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -2534,18 +2535,19 @@ interactions: drills: [] properties: {} version: '2' - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user description: '' id: product_and_category title: Product & Category + attributeHierarchies: [] dashboardPlugins: - content: url: https://www.example.com version: '2' - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -2555,7 +2557,7 @@ interactions: - content: url: https://www.example.com version: '2' - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -2604,7 +2606,7 @@ interactions: - content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -2613,7 +2615,7 @@ interactions: - content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -2623,7 +2625,7 @@ interactions: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT {metric/revenue} BY {attribute/customer_id}) > 10000 ' - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -2633,7 +2635,7 @@ interactions: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} IN ("Returned", "Canceled")) - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -2643,7 +2645,7 @@ interactions: - content: format: $#,##0 maql: SELECT SUM({fact/spend}) - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -2652,7 +2654,7 @@ interactions: - content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -2661,7 +2663,7 @@ interactions: - content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -2671,7 +2673,7 @@ interactions: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ \ BY {attribute/customer_id}) > 0)\n /\n {metric/revenue}" - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -2681,7 +2683,7 @@ interactions: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ \ BY {attribute/customer_id}) > 0)\n /\n {metric/revenue}" - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -2691,7 +2693,7 @@ interactions: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ \ BY {attribute/product_id}) > 0)\n /\n {metric/revenue}" - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -2701,7 +2703,7 @@ interactions: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ \ BY {attribute/product_id}) > 0)\n /\n {metric/revenue}" - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -2711,7 +2713,7 @@ interactions: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, ALL OTHER) - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -2721,7 +2723,7 @@ interactions: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL {attribute/product_id}) - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -2731,7 +2733,7 @@ interactions: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} IN ("Returned", "Canceled")) - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -2742,7 +2744,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Clothing") - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -2752,7 +2754,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ( "Electronics") - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -2762,7 +2764,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Home") - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -2772,7 +2774,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Outdoor") - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -2781,7 +2783,7 @@ interactions: - content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -2790,7 +2792,7 @@ interactions: - content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -2799,7 +2801,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -2808,7 +2810,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -2817,7 +2819,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -2826,7 +2828,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -2891,7 +2893,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:treemap - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -2967,7 +2969,7 @@ interactions: rotation: auto version: '2' visualizationUrl: local:combo2 - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -3046,7 +3048,7 @@ interactions: direction: asc version: '2' visualizationUrl: local:table - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -3105,7 +3107,7 @@ interactions: stackMeasuresToPercent: true version: '2' visualizationUrl: local:area - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -3162,7 +3164,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:treemap - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -3215,7 +3217,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:donut - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -3290,7 +3292,7 @@ interactions: visible: false version: '2' visualizationUrl: local:column - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -3347,7 +3349,7 @@ interactions: enabled: true version: '2' visualizationUrl: local:scatter - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -3446,7 +3448,7 @@ interactions: direction: asc version: '2' visualizationUrl: local:table - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -3502,7 +3504,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:line - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -3541,7 +3543,7 @@ interactions: properties: {} version: '2' visualizationUrl: local:bar - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -3597,7 +3599,7 @@ interactions: min: '0' version: '2' visualizationUrl: local:scatter - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -3665,7 +3667,7 @@ interactions: rotation: auto version: '2' visualizationUrl: local:combo2 - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -3722,7 +3724,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:bar - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -3779,7 +3781,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:bar - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -4195,7 +4197,7 @@ interactions: to access it. status: 404 title: Not Found - traceId: 1de4a6ec680a3bac + traceId: b333d9e8725490b8 - request: method: POST uri: http://localhost:3000/api/v1/entities/workspaces @@ -4881,7 +4883,7 @@ interactions: id: campaign title: Campaign description: '' - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -4923,7 +4925,7 @@ interactions: version: '2' id: dashboard_plugin title: Dashboard plugin - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -5074,11 +5076,12 @@ interactions: id: product_and_category title: Product & Category description: '' - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user analyticalDashboardExtensions: [] + attributeHierarchies: [] dashboardPlugins: - content: url: https://www.example.com @@ -5086,7 +5089,7 @@ interactions: id: dashboard_plugin_1 title: dashboard_plugin_1 description: Testing record dashboard_plugin_1 - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -5096,7 +5099,7 @@ interactions: id: dashboard_plugin_2 title: dashboard_plugin_2 description: Testing record dashboard_plugin_2 - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -5144,7 +5147,7 @@ interactions: maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) id: amount_of_active_customers title: '# of Active Customers' - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -5153,7 +5156,7 @@ interactions: maql: SELECT COUNT({attribute/order_id}) id: amount_of_orders title: '# of Orders' - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -5163,7 +5166,7 @@ interactions: BY {attribute/customer_id}) > 10000 ' id: amount_of_top_customers title: '# of Top Customers' - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -5174,7 +5177,7 @@ interactions: id: amount_of_valid_orders title: '# of Valid Orders' description: '' - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -5183,7 +5186,7 @@ interactions: maql: SELECT SUM({fact/spend}) id: campaign_spend title: Campaign Spend - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -5192,7 +5195,7 @@ interactions: maql: SELECT SUM({fact/price}*{fact/quantity}) id: order_amount title: Order Amount - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -5201,7 +5204,7 @@ interactions: maql: SELECT {metric/revenue} / {metric/total_revenue} id: percent_revenue title: '% Revenue' - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -5211,7 +5214,7 @@ interactions: \ BY {attribute/customer_id}) > 0)\n /\n {metric/revenue}" id: percent_revenue_from_top_10_customers title: '% Revenue from Top 10 Customers' - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -5221,7 +5224,7 @@ interactions: \ BY {attribute/customer_id}) > 0)\n /\n {metric/revenue}" id: percent_revenue_from_top_10_percent_customers title: '% Revenue from Top 10% Customers' - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -5231,7 +5234,7 @@ interactions: \ BY {attribute/product_id}) > 0)\n /\n {metric/revenue}" id: percent_revenue_from_top_10_percent_products title: '% Revenue from Top 10% Products' - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -5241,7 +5244,7 @@ interactions: \ BY {attribute/product_id}) > 0)\n /\n {metric/revenue}" id: percent_revenue_from_top_10_products title: '% Revenue from Top 10 Products' - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -5251,7 +5254,7 @@ interactions: ALL OTHER) id: percent_revenue_in_category title: '% Revenue in Category' - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -5260,7 +5263,7 @@ interactions: maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL {attribute/product_id}) id: percent_revenue_per_product title: '% Revenue per Product' - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -5271,7 +5274,7 @@ interactions: id: revenue title: Revenue description: '' - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -5280,7 +5283,7 @@ interactions: maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Clothing") id: revenue-clothing title: Revenue (Clothing) - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -5290,7 +5293,7 @@ interactions: "Electronics") id: revenue-electronic title: Revenue (Electronic) - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -5299,7 +5302,7 @@ interactions: maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Home") id: revenue-home title: Revenue (Home) - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -5308,7 +5311,7 @@ interactions: maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Outdoor") id: revenue-outdoor title: Revenue (Outdoor) - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -5317,7 +5320,7 @@ interactions: maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) id: revenue_per_customer title: Revenue per Customer - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -5326,7 +5329,7 @@ interactions: maql: SELECT {metric/revenue} / {metric/campaign_spend} id: revenue_per_dollar_spent title: Revenue per Dollar Spent - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -5335,7 +5338,7 @@ interactions: maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) id: revenue_top_10 title: Revenue / Top 10 - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -5344,7 +5347,7 @@ interactions: maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) id: revenue_top_10_percent title: Revenue / Top 10% - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -5353,7 +5356,7 @@ interactions: maql: SELECT {metric/revenue} BY ALL OTHER id: total_revenue title: Total Revenue - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -5362,7 +5365,7 @@ interactions: maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER id: total_revenue-no_filters title: Total Revenue (No Filters) - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -5427,7 +5430,7 @@ interactions: visualizationUrl: local:treemap id: campaign_spend title: Campaign Spend - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -5503,7 +5506,7 @@ interactions: visualizationUrl: local:combo2 id: customers_trend title: Customers Trend - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -5582,7 +5585,7 @@ interactions: visualizationUrl: local:table id: percent_revenue_per_product_by_customer_and_category title: '% Revenue per Product by Customer and Category' - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -5641,7 +5644,7 @@ interactions: visualizationUrl: local:area id: percentage_of_customers_by_region title: Percentage of Customers by Region - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -5698,7 +5701,7 @@ interactions: visualizationUrl: local:treemap id: product_breakdown title: Product Breakdown - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -5751,7 +5754,7 @@ interactions: visualizationUrl: local:donut id: product_categories_pie_chart title: Product Categories Pie Chart - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -5826,7 +5829,7 @@ interactions: visualizationUrl: local:column id: product_revenue_comparison-over_previous_period title: Product Revenue Comparison (over previous period) - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -5883,7 +5886,7 @@ interactions: visualizationUrl: local:scatter id: product_saleability title: Product Saleability - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -5982,7 +5985,7 @@ interactions: visualizationUrl: local:table id: revenue_and_quantity_by_product_and_category title: Revenue and Quantity by Product and Category - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -6038,7 +6041,7 @@ interactions: visualizationUrl: local:line id: revenue_by_category_trend title: Revenue by Category Trend - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -6077,7 +6080,7 @@ interactions: visualizationUrl: local:bar id: revenue_by_product title: Revenue by Product - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -6133,7 +6136,7 @@ interactions: visualizationUrl: local:scatter id: revenue_per_usd_vs_spend_by_campaign title: Revenue per $ vs Spend by Campaign - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -6201,7 +6204,7 @@ interactions: visualizationUrl: local:combo2 id: revenue_trend title: Revenue Trend - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -6258,7 +6261,7 @@ interactions: visualizationUrl: local:bar id: top_10_customers title: Top 10 Customers - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -6315,7 +6318,7 @@ interactions: visualizationUrl: local:bar id: top_10_products title: Top 10 Products - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:31 createdBy: id: admin type: user @@ -6595,7 +6598,7 @@ interactions: to access it. status: 404 title: Not Found - traceId: a60346820044bbbd + traceId: 88835ea5e8a45ddd - request: method: POST uri: http://localhost:3000/api/v1/entities/workspaces/demo_cs/workspaceSettings @@ -6768,7 +6771,7 @@ interactions: to access it. status: 404 title: Not Found - traceId: 4910cad701c55ac9 + traceId: 71be2172fde26247 - request: method: POST uri: http://localhost:3000/api/v1/entities/workspaces/demo_cs/workspaceSettings @@ -7149,6 +7152,7 @@ interactions: id: product_and_category title: Product & Category description: '' + attributeHierarchies: [] dashboardPlugins: - content: url: https://www.example.com @@ -8586,6 +8590,7 @@ interactions: type: allWorkspaceUsers name: VIEW analyticalDashboards: [] + attributeHierarchies: [] dashboardPlugins: [] filterContexts: [] metrics: [] @@ -8615,6 +8620,7 @@ interactions: analytics: analyticalDashboardExtensions: [] analyticalDashboards: [] + attributeHierarchies: [] dashboardPlugins: [] filterContexts: [] metrics: [] diff --git a/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_update_workspace_invalid.yaml b/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_update_workspace_invalid.yaml index eb294c743..6dd439865 100644 --- a/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_update_workspace_invalid.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_update_workspace_invalid.yaml @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: diff --git a/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_update_workspace_valid.yaml b/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_update_workspace_valid.yaml index 854dcf539..48cb7ac48 100644 --- a/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_update_workspace_valid.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_update_workspace_valid.yaml @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: @@ -476,28 +476,28 @@ interactions: name: Demo links: self: http://localhost:3000/api/v1/entities/workspaces/demo - - id: demo_west + - id: demo_west_california type: workspace attributes: - name: Test + name: Demo West California relationships: parent: data: - id: demo + id: demo_west type: workspace links: - self: http://localhost:3000/api/v1/entities/workspaces/demo_west - - id: demo_west_california + self: http://localhost:3000/api/v1/entities/workspaces/demo_west_california + - id: demo_west type: workspace attributes: - name: Demo West California + name: Test relationships: parent: data: - id: demo_west + id: demo type: workspace links: - self: http://localhost:3000/api/v1/entities/workspaces/demo_west_california + self: http://localhost:3000/api/v1/entities/workspaces/demo_west included: - id: demo type: workspace @@ -891,6 +891,7 @@ interactions: id: product_and_category title: Product & Category description: '' + attributeHierarchies: [] dashboardPlugins: - content: url: https://www.example.com @@ -2328,6 +2329,7 @@ interactions: type: allWorkspaceUsers name: VIEW analyticalDashboards: [] + attributeHierarchies: [] dashboardPlugins: [] filterContexts: [] metrics: [] @@ -2357,6 +2359,7 @@ interactions: analytics: analyticalDashboardExtensions: [] analyticalDashboards: [] + attributeHierarchies: [] dashboardPlugins: [] filterContexts: [] metrics: [] diff --git a/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_workspace_list.yaml b/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_workspace_list.yaml index f5cb20356..d40458a45 100644 --- a/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_workspace_list.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_workspace_list.yaml @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: diff --git a/gooddata-sdk/tests/catalog/fixtures/workspaces/list_workspace_settings.yaml b/gooddata-sdk/tests/catalog/fixtures/workspaces/list_workspace_settings.yaml index 88658ac8d..c80aa4188 100644 --- a/gooddata-sdk/tests/catalog/fixtures/workspaces/list_workspace_settings.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/workspaces/list_workspace_settings.yaml @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: @@ -79,7 +79,7 @@ interactions: to access it. status: 404 title: Not Found - traceId: 64b97662ee96cd13 + traceId: b78b13d1384e3329 - request: method: POST uri: http://localhost:3000/api/v1/entities/workspaces/demo/workspaceSettings @@ -252,7 +252,7 @@ interactions: to access it. status: 404 title: Not Found - traceId: c4729c8d91c85e11 + traceId: 28f99057a306788d - request: method: POST uri: http://localhost:3000/api/v1/entities/workspaces/demo/workspaceSettings diff --git a/gooddata-sdk/tests/catalog/fixtures/workspaces/update_workspace_setting.yaml b/gooddata-sdk/tests/catalog/fixtures/workspaces/update_workspace_setting.yaml index edce6e7c0..474563b69 100644 --- a/gooddata-sdk/tests/catalog/fixtures/workspaces/update_workspace_setting.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/workspaces/update_workspace_setting.yaml @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: @@ -79,7 +79,7 @@ interactions: to access it. status: 404 title: Not Found - traceId: c112dda78b29e462 + traceId: a0989a0beeab14e4 - request: method: POST uri: http://localhost:3000/api/v1/entities/workspaces/demo/workspaceSettings diff --git a/gooddata-sdk/tests/catalog/fixtures/workspaces/user_data_filters_for_user_group.yaml b/gooddata-sdk/tests/catalog/fixtures/workspaces/user_data_filters_for_user_group.yaml index 81d5bc775..2d0ad4b9f 100644 --- a/gooddata-sdk/tests/catalog/fixtures/workspaces/user_data_filters_for_user_group.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/workspaces/user_data_filters_for_user_group.yaml @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: @@ -70,6 +70,7 @@ interactions: - Access-Control-Request-Headers X-Content-Type-Options: - nosniff + X-GDC-TRACE-ID: *id001 X-XSS-Protection: - 1 ; mode=block body: @@ -155,7 +156,7 @@ interactions: to access it. status: 404 title: Not Found - traceId: 715ac24138286c4b + traceId: 9ba23dc569f39181 - request: method: POST uri: http://localhost:3000/api/v1/entities/workspaces/demo/userDataFilters @@ -916,6 +917,7 @@ interactions: id: product_and_category title: Product & Category description: '' + attributeHierarchies: [] dashboardPlugins: - content: url: https://www.example.com @@ -2353,6 +2355,7 @@ interactions: type: allWorkspaceUsers name: VIEW analyticalDashboards: [] + attributeHierarchies: [] dashboardPlugins: [] filterContexts: [] metrics: [] @@ -2382,6 +2385,7 @@ interactions: analytics: analyticalDashboardExtensions: [] analyticalDashboards: [] + attributeHierarchies: [] dashboardPlugins: [] filterContexts: [] metrics: [] diff --git a/gooddata-sdk/tests/catalog/fixtures/workspaces/user_data_filters_life_cycle.yaml b/gooddata-sdk/tests/catalog/fixtures/workspaces/user_data_filters_life_cycle.yaml index 2b0d0e4cd..00418a590 100644 --- a/gooddata-sdk/tests/catalog/fixtures/workspaces/user_data_filters_life_cycle.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/workspaces/user_data_filters_life_cycle.yaml @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: @@ -156,7 +156,7 @@ interactions: to access it. status: 404 title: Not Found - traceId: a3ecda4dd701dba8 + traceId: faec3269dd9bf95b - request: method: POST uri: http://localhost:3000/api/v1/entities/workspaces/demo/userDataFilters @@ -367,7 +367,7 @@ interactions: - id: demo type: user attributes: - authenticationId: CiRlZjExYjZiNC04ZDMyLTQ4OTItODNhNC1jMDNlNmJmZTE2NTESBWxvY2Fs + authenticationId: CiRiNGU4OTFkYy1iMWVjLTRkNjAtYWUwZC1kNGRhNjFjNDI2MzQSBWxvY2Fs links: self: http://localhost:3000/api/v1/entities/workspaces/demo/users/demo links: @@ -470,7 +470,7 @@ interactions: - id: demo type: user attributes: - authenticationId: CiRlZjExYjZiNC04ZDMyLTQ4OTItODNhNC1jMDNlNmJmZTE2NTESBWxvY2Fs + authenticationId: CiRiNGU4OTFkYy1iMWVjLTRkNjAtYWUwZC1kNGRhNjFjNDI2MzQSBWxvY2Fs links: self: http://localhost:3000/api/v1/entities/workspaces/demo/users/demo - id: order_status @@ -917,6 +917,7 @@ interactions: id: product_and_category title: Product & Category description: '' + attributeHierarchies: [] dashboardPlugins: - content: url: https://www.example.com @@ -2354,6 +2355,7 @@ interactions: type: allWorkspaceUsers name: VIEW analyticalDashboards: [] + attributeHierarchies: [] dashboardPlugins: [] filterContexts: [] metrics: [] @@ -2383,6 +2385,7 @@ interactions: analytics: analyticalDashboardExtensions: [] analyticalDashboards: [] + attributeHierarchies: [] dashboardPlugins: [] filterContexts: [] metrics: [] diff --git a/gooddata-sdk/tests/catalog/test_catalog_data_source.py b/gooddata-sdk/tests/catalog/test_catalog_data_source.py index 2915333f5..64b5453af 100644 --- a/gooddata-sdk/tests/catalog/test_catalog_data_source.py +++ b/gooddata-sdk/tests/catalog/test_catalog_data_source.py @@ -158,6 +158,10 @@ def test_generate_logical_model_with_sql_datasets(test_config: dict): expected_ldm = CatalogDeclarativeModel.from_dict(load_json(expected_json_path)) + # TODO: generateLDM does not sort datasets by id - update fixture to be sorted lexicographically + # and remove sort once fixed + generated_declarative_model.ldm.datasets.sort(key=lambda dataset: dataset.id) + expected_ldm.ldm.datasets.sort(key=lambda dataset: dataset.id) assert expected_ldm.ldm.datasets == generated_declarative_model.ldm.datasets assert len(expected_ldm.ldm.date_instances) == len(generated_declarative_model.ldm.date_instances) @@ -180,6 +184,10 @@ def test_scan_pdm_and_generate_logical_model_with_sql_datasets(test_config: dict expected_ldm = CatalogDeclarativeModel.from_dict(load_json(expected_json_path)) + # TODO: generateLDM does not sort datasets by id - update fixture to be sorted lexicographically + # and remove sort once fixed + generated_declarative_model.ldm.datasets.sort(key=lambda dataset: dataset.id) + expected_ldm.ldm.datasets.sort(key=lambda dataset: dataset.id) assert expected_ldm.ldm.datasets == generated_declarative_model.ldm.datasets assert len(expected_ldm.ldm.date_instances) == len(generated_declarative_model.ldm.date_instances) diff --git a/gooddata-sdk/tests/export/fixtures/test_export_csv.yaml b/gooddata-sdk/tests/export/fixtures/test_export_csv.yaml index da4ce0976..5fb9b12d5 100644 --- a/gooddata-sdk/tests/export/fixtures/test_export_csv.yaml +++ b/gooddata-sdk/tests/export/fixtures/test_export_csv.yaml @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: @@ -161,12 +161,12 @@ interactions: name: Order Amount localIdentifier: dim_1 links: - executionResult: e9c4d609575de7c0072b1ff75cce5c2cdeb64929 + executionResult: 51829711a03f0b356537b9946bc104dec0106bf3 - request: method: POST uri: http://localhost:3000/api/v1/actions/workspaces/demo/export/tabular body: - executionResult: e9c4d609575de7c0072b1ff75cce5c2cdeb64929 + executionResult: 51829711a03f0b356537b9946bc104dec0106bf3 fileName: test_csv format: CSV customOverride: @@ -251,10 +251,10 @@ interactions: - 1 ; mode=block body: string: - exportResult: 02ac014532bf4f09b6ea59d80e5556ce06e7e37f + exportResult: 07a56b1b417b51e7dcf0a215ea33eda460c66be5 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/export/tabular/02ac014532bf4f09b6ea59d80e5556ce06e7e37f + uri: http://localhost:3000/api/v1/actions/workspaces/demo/export/tabular/07a56b1b417b51e7dcf0a215ea33eda460c66be5 body: null headers: Accept: @@ -325,7 +325,78 @@ interactions: string: '' - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/export/tabular/02ac014532bf4f09b6ea59d80e5556ce06e7e37f + uri: http://localhost:3000/api/v1/actions/workspaces/demo/export/tabular/07a56b1b417b51e7dcf0a215ea33eda460c66be5 + body: null + headers: + Accept: + - application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, text/csv + Accept-Encoding: + - br, gzip, deflate + X-GDC-VALIDATE-RELATIONS: + - 'true' + X-Requested-With: + - XMLHttpRequest + response: + status: + code: 202 + message: Accepted + 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: + - '0' + Content-Security-Policy: + - 'default-src ''self'' *.wistia.com *.wistia.net; script-src ''self'' ''unsafe-inline'' + ''unsafe-eval'' *.wistia.com *.wistia.net *.hsforms.net *.hsforms.com + src.litix.io matomo.anywhere.gooddata.com *.jquery.com unpkg.com cdn.jsdelivr.net + cdnjs.cloudflare.com; img-src ''self'' data: blob: *.wistia.com *.wistia.net + *.hsforms.net *.hsforms.com 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'' *.hsforms.net *.hsforms.com; object-src ''none''; worker-src + ''self'' blob:; child-src blob:; connect-src ''self'' *.tiles.mapbox.com + *.mapbox.com *.litix.io *.wistia.com *.hsforms.net *.hsforms.com embedwistia-a.akamaihd.net + matomo.anywhere.gooddata.com; media-src ''self'' blob: data: *.wistia.com + *.wistia.net embedwistia-a.akamaihd.net' + 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: '' + - request: + method: GET + uri: http://localhost:3000/api/v1/actions/workspaces/demo/export/tabular/07a56b1b417b51e7dcf0a215ea33eda460c66be5 body: null headers: Accept: diff --git a/gooddata-sdk/tests/export/fixtures/test_export_csv_by_insight_id.yaml b/gooddata-sdk/tests/export/fixtures/test_export_csv_by_insight_id.yaml index 0ebf173e3..09024dcc3 100644 --- a/gooddata-sdk/tests/export/fixtures/test_export_csv_by_insight_id.yaml +++ b/gooddata-sdk/tests/export/fixtures/test_export_csv_by_insight_id.yaml @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: @@ -70,7 +70,6 @@ interactions: - Access-Control-Request-Headers X-Content-Type-Options: - nosniff - X-GDC-TRACE-ID: *id001 X-XSS-Protection: - 1 ; mode=block body: @@ -151,7 +150,7 @@ interactions: rotation: auto version: '2' visualizationUrl: local:combo2 - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:32 relationships: createdBy: data: @@ -195,7 +194,7 @@ interactions: type: metric attributes: title: '# of Active Customers' - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:32 content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) @@ -205,7 +204,7 @@ interactions: type: metric attributes: title: Revenue per Customer - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:32 content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) @@ -375,10 +374,10 @@ interactions: name: Revenue per Customer localIdentifier: dim_1 links: - executionResult: 7f4db3b690da6facea27a3c1769e4f681e19a450 + executionResult: 0bd8ebe8e8ee75f00e319005c3262c26350f83de - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/7f4db3b690da6facea27a3c1769e4f681e19a450?offset=0%2C0&limit=512%2C256 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/0bd8ebe8e8ee75f00e319005c3262c26350f83de?offset=0%2C0&limit=512%2C256 body: null headers: Accept: @@ -448,40 +447,37 @@ interactions: X-XSS-Protection: - 1 ; mode=block content-length: - - '1422' + - '1394' body: string: data: + - - 57 + - 177.33901960784314 - - 65 - - 174.79036363636362 - - - 61 - - 150.10735849056604 - - - 70 - - 110.63396825396825 - - - 53 - - 164.63276595744682 - - - 54 - - 247.32333333333332 - - - 58 - - 113.54166666666667 - - - 76 - - 213.47925373134328 - - - 95 - - 167.58869047619046 - - - 110 - - 237.2503 - - - 91 - - 154.40761904761905 - - - 59 - - 307.9370909090909 + - 116.33793103448276 + - - 60 + - 112.81109090909091 + - - 48 + - 136.54933333333332 - - 63 - - 252.81866666666667 + - 369.3692156862745 + - - 55 + - 84.3002 + - - 87 + - 249.6326923076923 + - - 87 + - 208.97644736842105 + - - 73 + - 177.2809375 + - - 56 + - 170.1824 + - - 88 + - 178.174875 + - - 65 + - 174.79036363636362 dimensionHeaders: - headerGroups: - headers: - - attributeHeader: - labelValue: 2023-01 - primaryLabelValue: 2023-01 - attributeHeader: labelValue: 2023-02 primaryLabelValue: 2023-02 @@ -515,6 +511,9 @@ interactions: - attributeHeader: labelValue: 2023-12 primaryLabelValue: 2023-12 + - attributeHeader: + labelValue: 2024-01 + primaryLabelValue: 2024-01 - headerGroups: - headers: - measureHeader: @@ -536,7 +535,7 @@ interactions: method: POST uri: http://localhost:3000/api/v1/actions/workspaces/demo/export/tabular body: - executionResult: 7f4db3b690da6facea27a3c1769e4f681e19a450 + executionResult: 0bd8ebe8e8ee75f00e319005c3262c26350f83de fileName: Customers Trend format: CSV customOverride: @@ -621,10 +620,10 @@ interactions: - 1 ; mode=block body: string: - exportResult: d64932885fe4b54f790c79dd8cf2b51374af54e9 + exportResult: c3bd25f152383f73c9a69c25a112431215568bd5 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/export/tabular/d64932885fe4b54f790c79dd8cf2b51374af54e9 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/export/tabular/c3bd25f152383f73c9a69c25a112431215568bd5 body: null headers: Accept: @@ -695,7 +694,7 @@ interactions: string: '' - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/export/tabular/d64932885fe4b54f790c79dd8cf2b51374af54e9 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/export/tabular/c3bd25f152383f73c9a69c25a112431215568bd5 body: null headers: Accept: @@ -724,7 +723,7 @@ interactions: Content-Disposition: - attachment; filename*=UTF-8''Customers%20Trend.csv Content-Length: - - '439' + - '411' Content-Security-Policy: - 'default-src ''self'' *.wistia.com *.wistia.net; script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' *.wistia.com *.wistia.net *.hsforms.net *.hsforms.com @@ -771,28 +770,28 @@ interactions: body: string: '"date.month","amount_of_active_customers","revenue_per_customer" - "2023-01",65,174.79036363636362 + "2023-02",57,177.33901960784314 - "2023-02",61,150.10735849056604 + "2023-03",65,116.33793103448276 - "2023-03",70,110.63396825396825 + "2023-04",60,112.81109090909091 - "2023-04",53,164.63276595744682 + "2023-05",48,136.54933333333332 - "2023-05",54,247.32333333333332 + "2023-06",63,369.3692156862745 - "2023-06",58,113.54166666666667 + "2023-07",55,84.3002 - "2023-07",76,213.47925373134328 + "2023-08",87,249.6326923076923 - "2023-08",95,167.58869047619046 + "2023-09",87,208.97644736842105 - "2023-09",110,237.2503 + "2023-10",73,177.2809375 - "2023-10",91,154.40761904761905 + "2023-11",56,170.1824 - "2023-11",59,307.9370909090909 + "2023-12",88,178.174875 - "2023-12",63,252.81866666666667 + "2024-01",65,174.79036363636362 ' diff --git a/gooddata-sdk/tests/export/fixtures/test_export_excel.yaml b/gooddata-sdk/tests/export/fixtures/test_export_excel.yaml index 676a50fd3..f3df1c615 100644 --- a/gooddata-sdk/tests/export/fixtures/test_export_excel.yaml +++ b/gooddata-sdk/tests/export/fixtures/test_export_excel.yaml @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: @@ -161,12 +161,12 @@ interactions: name: Order Amount localIdentifier: dim_1 links: - executionResult: e9c4d609575de7c0072b1ff75cce5c2cdeb64929 + executionResult: 8078ed8c1d8a7cdf64149efd97a70605d1c7cf8a - request: method: POST uri: http://localhost:3000/api/v1/actions/workspaces/demo/export/tabular body: - executionResult: e9c4d609575de7c0072b1ff75cce5c2cdeb64929 + executionResult: 8078ed8c1d8a7cdf64149efd97a70605d1c7cf8a fileName: test_xlsx format: XLSX customOverride: @@ -251,10 +251,10 @@ interactions: - 1 ; mode=block body: string: - exportResult: d37cdfa445e3c8ef82374bb20e69adf611f4d316 + exportResult: 58c4e08b92233262158fe3b3a4f2247dd92ee2b2 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/export/tabular/d37cdfa445e3c8ef82374bb20e69adf611f4d316 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/export/tabular/58c4e08b92233262158fe3b3a4f2247dd92ee2b2 body: null headers: Accept: @@ -325,7 +325,7 @@ interactions: string: '' - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/export/tabular/d37cdfa445e3c8ef82374bb20e69adf611f4d316 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/export/tabular/58c4e08b92233262158fe3b3a4f2247dd92ee2b2 body: null headers: Accept: @@ -508,13 +508,13 @@ interactions: BzREgkKnU5EgZF+Vdr6GmVPXn68zRmWfmasr0+J3SI4IG2TV28zst1A06yalI3Lc6aDZpuoahv3/ 8OTjrph8zh4PFoLc88wirtb0tUfBxtupcM5Hbd1scd1b+1GbwuEDZV/QuKnw2WK+HfADiD6aT5QI EvFSqyy/+eYQdG5pxmWs/tkxahGC1op4X+TwqTm7scLZZ4t7c2d7Bl97Z7vaXi5RWzvI5KulP574 - 8D7I3oGD0oQpWbxNegBHze7sLwPgYy9It/4GUEsDBBQAAAAIAAAAPwBJY62TJQEAAFACAAARAAAA - ZG9jUHJvcHMvY29yZS54bWydks1qwzAQhO99CqO7LcsxJQjbgbbk1EChKS29CWmTiFo/SGodv30V - J3ES8CnH1cx+O7uoWuxVm/yB89LoGpEsRwloboTU2xp9rJfpHCU+MC1YazTUqAePFs1DxS3lxsGb - MxZckOCTCNKeclujXQiWYuz5DhTzWXToKG6MUyzE0m2xZfyHbQEXef6IFQQmWGD4AEztSEQnpOAj - 0v66dgAIjqEFBTp4TDKCL94ATvnJhkG5cioZeguT1rM4uvdejsau67JuNlhjfoK/Vq/vw6qp1IdT - cUBNJTjlDlgwrqnwdREP1zIfVvHEGwniqY/6xNtpkWMfiCQGoMe4Z+Vz9vyyXqKmyItZSoqUlGtS - UjKn5fz7MPKm/wJUpyF3E8+AY+7bT9D8A1BLAwQUAAAACAAAAD8ABHFFY3sBAAATAwAAEAAAAGRv + 8D7I3oGD0oQpWbxNegBHze7sLwPgYy9It/4GUEsDBBQAAAAIAAAAPwCkMnQrJQEAAFACAAARAAAA + ZG9jUHJvcHMvY29yZS54bWydks1qwzAQhO99CqO7LStJSxC2A23JqYFCXVp6E9ImEbV+kNQ6efvK + duwkkFOPq5n9dnZRsTqoJvkF56XRJSJZjhLQ3AipdyV6r9fpEiU+MC1YYzSU6Ageraq7glvKjYNX + Zyy4IMEnEaQ95bZE+xAsxdjzPSjms+jQUdwap1iIpdthy/g32wGe5fkDVhCYYIHhDpjaiYhOSMEn + pP1xTQ8QHEMDCnTwmGQEn70BnPI3G3rlwqlkOFq4aR3FyX3wcjK2bZu1894a8xP8uXl561dNpe5O + xQFVheCUO2DBuKrAl0U8XMN82MQTbyWIx2PUb7ydFhn6QCQxAB3ijsrH/Om5XqNqls8WaU5SQmoy + p4slvc+/upFX/WegOg35N3EEDLmvP0H1B1BLAwQUAAAACAAAAD8ABHFFY3sBAAATAwAAEAAAAGRv Y1Byb3BzL2FwcC54bWydUsFO4zAQvfMVke/UabVaocoxWpVd9bCISi1wXBln0lh1bMszRClfj5Oq IYU94dObN0/PzzMWt11jsxYiGu8KNp/lLAOnfWncvmCPuz/XNyxDUq5U1jso2BGQ3corsYk+QCQD mCUHhwWricKSc9Q1NApnqe1Sp/KxUZTKuOe+qoyGO69fG3DEF3n+k0NH4Eoor8NoyE6Oy5a+a1p6 @@ -531,6 +531,6 @@ interactions: ACwGAAAUAAAAAAAAAAAAAACAgbwMAAB4bC9zaGFyZWRTdHJpbmdzLnhtbFBLAQIUAxQAAAAIAAAA PwCCg3RkHgMAAIUTAAANAAAAAAAAAAAAAACAgf0OAAB4bC9zdHlsZXMueG1sUEsBAhQDFAAAAAgA AAA/ABj6RlSwBQAAUhsAABMAAAAAAAAAAAAAAICBRhIAAHhsL3RoZW1lL3RoZW1lMS54bWxQSwEC - FAMUAAAACAAAAD8ASWOtkyUBAABQAgAAEQAAAAAAAAAAAAAAgIEnGAAAZG9jUHJvcHMvY29yZS54 + FAMUAAAACAAAAD8ApDJ0KyUBAABQAgAAEQAAAAAAAAAAAAAAgIEnGAAAZG9jUHJvcHMvY29yZS54 bWxQSwECFAMUAAAACAAAAD8ABHFFY3sBAAATAwAAEAAAAAAAAAAAAAAAgIF7GQAAZG9jUHJvcHMv YXBwLnhtbFBLBQYAAAAACgAKAIACAAAkGwAAAAA= diff --git a/gooddata-sdk/tests/export/fixtures/test_export_excel_by_insight_id.yaml b/gooddata-sdk/tests/export/fixtures/test_export_excel_by_insight_id.yaml index 9c6635df4..8e0e12cd1 100644 --- a/gooddata-sdk/tests/export/fixtures/test_export_excel_by_insight_id.yaml +++ b/gooddata-sdk/tests/export/fixtures/test_export_excel_by_insight_id.yaml @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: @@ -151,7 +151,7 @@ interactions: rotation: auto version: '2' visualizationUrl: local:combo2 - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:32 relationships: createdBy: data: @@ -195,7 +195,7 @@ interactions: type: metric attributes: title: '# of Active Customers' - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:32 content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) @@ -205,7 +205,7 @@ interactions: type: metric attributes: title: Revenue per Customer - createdAt: 2023-12-14 14:18 + createdAt: 2024-01-11 13:32 content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) @@ -375,10 +375,10 @@ interactions: name: Revenue per Customer localIdentifier: dim_1 links: - executionResult: 7f4db3b690da6facea27a3c1769e4f681e19a450 + executionResult: 0bd8ebe8e8ee75f00e319005c3262c26350f83de - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/7f4db3b690da6facea27a3c1769e4f681e19a450?offset=0%2C0&limit=512%2C256 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/0bd8ebe8e8ee75f00e319005c3262c26350f83de?offset=0%2C0&limit=512%2C256 body: null headers: Accept: @@ -448,40 +448,37 @@ interactions: X-XSS-Protection: - 1 ; mode=block content-length: - - '1422' + - '1394' body: string: data: + - - 57 + - 177.33901960784314 - - 65 - - 174.79036363636362 - - - 61 - - 150.10735849056604 - - - 70 - - 110.63396825396825 - - - 53 - - 164.63276595744682 - - - 54 - - 247.32333333333332 - - - 58 - - 113.54166666666667 - - - 76 - - 213.47925373134328 - - - 95 - - 167.58869047619046 - - - 110 - - 237.2503 - - - 91 - - 154.40761904761905 - - - 59 - - 307.9370909090909 + - 116.33793103448276 + - - 60 + - 112.81109090909091 + - - 48 + - 136.54933333333332 - - 63 - - 252.81866666666667 + - 369.3692156862745 + - - 55 + - 84.3002 + - - 87 + - 249.6326923076923 + - - 87 + - 208.97644736842105 + - - 73 + - 177.2809375 + - - 56 + - 170.1824 + - - 88 + - 178.174875 + - - 65 + - 174.79036363636362 dimensionHeaders: - headerGroups: - headers: - - attributeHeader: - labelValue: 2023-01 - primaryLabelValue: 2023-01 - attributeHeader: labelValue: 2023-02 primaryLabelValue: 2023-02 @@ -515,6 +512,9 @@ interactions: - attributeHeader: labelValue: 2023-12 primaryLabelValue: 2023-12 + - attributeHeader: + labelValue: 2024-01 + primaryLabelValue: 2024-01 - headerGroups: - headers: - measureHeader: @@ -536,7 +536,7 @@ interactions: method: POST uri: http://localhost:3000/api/v1/actions/workspaces/demo/export/tabular body: - executionResult: 7f4db3b690da6facea27a3c1769e4f681e19a450 + executionResult: 0bd8ebe8e8ee75f00e319005c3262c26350f83de fileName: Customers Trend format: XLSX customOverride: @@ -621,10 +621,10 @@ interactions: - 1 ; mode=block body: string: - exportResult: 4e7dc4c9aea48ac85c7fa9bb4d84e7dc9d2a3240 + exportResult: 06a03a7d2e4ef099b5d1beb5cf1e74ab2ee7fcf1 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/export/tabular/4e7dc4c9aea48ac85c7fa9bb4d84e7dc9d2a3240 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/export/tabular/06a03a7d2e4ef099b5d1beb5cf1e74ab2ee7fcf1 body: null headers: Accept: @@ -695,7 +695,7 @@ interactions: string: '' - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/export/tabular/4e7dc4c9aea48ac85c7fa9bb4d84e7dc9d2a3240 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/export/tabular/06a03a7d2e4ef099b5d1beb5cf1e74ab2ee7fcf1 body: null headers: Accept: @@ -724,7 +724,7 @@ interactions: Content-Disposition: - attachment; filename*=UTF-8''Customers%20Trend.xlsx Content-Length: - - '6151' + - '6146' Content-Security-Policy: - 'default-src ''self'' *.wistia.com *.wistia.net; script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' *.wistia.com *.wistia.net *.hsforms.net *.hsforms.com @@ -786,95 +786,95 @@ interactions: tLZMbElot2n99xEJTR0IoQefxIzYmQe7683P0IsDJuqCV1AVJQj0JtjOtwo+d2+PzyCItbe6Dx4V jEiwqR/W79hrzjPkukgih3hS4Jjji5RkHA6aihDR558mpEFzlqmVUZu9blEuyvJJpmkG1FeZYmsV pK2tQOzGiP/JDk3TGXwN5mtAzzcq5HdIe3KInEN1apEVXCySp6cqcirI2zCLOWE4z+IfyEmezbsM - yzkZiMc+L/QCcdb36lez1jud0H5wytc2pZjavzDy6uLqI1BLAwQUAAAACAAAAD8Ak2dGsusCAABE - CQAAGAAAAHhsL3dvcmtzaGVldHMvc2hlZXQxLnhtbI2WXW+bMBSG7/crEPcDf39ESao2VbVdTJr2 - eU3BSVABR+A227+fMUnrGiMNJAScc3weXpsX1jd/2iZ5Uf1Q626TwgykiepKXdXdYZP+/PHwUaTJ - YIquKhrdqU36Vw3pzfbD+qz7p+GolEnsAN2wSY/GnFZ5PpRH1RZDpk+qs5G97tvC2Mv+kA+nXhWV - K2qbHAHA8raou3QaYdX/zxh6v69Lda/L51Z1ZhqkV01hLP5wrE9Dul1XtY2Nz5P0ar9Jb+FqB3Ga - b9eu9a9anQfvPDHF43fVqNKoygqQJuOTPWr9NAY/21tgLM1ntQ+O6mufVGpfPDfmmz5/UvXhaOwg - dCwpdTO4Y9LWnRu5Lf5MHerKHO0ZzygHGCKaJuXzYHT7+xK4lE+F6FKI3wpZRhDlYqEynzo7yvvC - FNt1r89J71oPp2KcLLjCVqhyvHk73nUxSz7K97JF6/xlHOaScTdlIC8DvM/YTRnYy4CvGbnt/oqA - ogjIlROvHAcIUwZ1MUaD7lOQTX05ybgEmF33OAeOcmA3EPc4SMAxZYiJAwYcU1BOHBRkEHBMBZGA - sgUMEsUgM4zgie+IJwcPJ4P4ckCQMYwlE4i6Y5yDRjnojIMFHNSTgwZztqO+HIxYDsQZlZQTwkSc - g0U52IyDBxzM04MGc7Zjnh6I8Awj/LbFOXiUg884RMDBfT2C4I77ekCcUQLZdeNxDhHlEDMOGXAI - f30Ek7YTvh6Wg3BpFwfHEJMlPWSUQ844YLAW76QniAzfW/lugVg3FIJJQDiD9pWJg0AQ9zAwR4Gh - iwFPFBiS7i7hiyyYZ4iCBTXggpHCOcTMSqEvSGggl+jVQUhGgBPDSbLgqDBuqRDNYUJThb6rUhnC - +LaKAc8k5kBe9wWYuK/CubHC0FnhO2sNvQT63oooygQUiy9P7n36TsVBfSn6Q90NSaP2tj/ILEc/ - fandudEnd2b96lEb+zG9Xh3t74rqxyvbfa+1uV6MH9nXH6DtP1BLAwQUAAAACAAAAD8A7236q08B - AAAvAgAADwAAAHhsL3dvcmtib29rLnhtbI1Ry07DMBC88xWW7zQPJRGtmlSigKiEgENpzybeNFb9 - iGyHtH/POlUK3Dh5Z3Z3NLNerk5Kki+wThhd0mQWUwK6NlzoQ0k/tk+3d5Q4zzRn0mgo6RkcXVU3 - y8HY46cxR4L72pW09b5bRJGrW1DMzUwHGjuNsYp5hPYQuc4C464F8EpGaRwXkWJC04vCwv5HwzSN - qOHB1L0C7S8iFiTz6N61onO0WjZCwu4SiLCue2UKbZ8kJZI5/8iFB17SDKEZ4A9h++6+FzKAPM5p - VF1DvlvCoWG99Fu0NqnjudIsTYswGaZ2Agb3sxQgOe2F5mYoaZrhZc8TSnJKhrHeC+5bJIp4fuWe - QRxaX9J5UcRBPPqlPt5veokew617541CU2RrQXP8sNDcYJAEUy0EFnbDk1Fq2q+ZrDFWeMbBNMuT - OSVNL+UauTf9YtgoEJamSNU3UEsDBBQAAAAIAAAAPwDUNQMq4QAAAB0CAAAUAAAAeGwvc2hhcmVk - U3RyaW5ncy54bWxt0cFqwzAMBuD7nsL43thJ164djnso7Am2czCJ2hhiObOU0L39XAZlFB/96Rey - kDndwiRWSOQjtrKutBSAfRw8Xlv59fmxOUhB7HBwU0Ro5Q+QPNkXQ8QityK1cmSe35WifoTgqIoz - YK5cYgqO8zNdFc0J3EAjAIdJNVrvVXAepejjgpzH7qRY0H8vcH6ANeStYevCnbp46VzPfoWuX4hj - yD82iq1R99RfMsEKuEA3Q3qEnjODY6hCRB6fK41uthtdl7kp87bMr2XelXlf5rcyH8p8LHKty1ze - sv63pcr3tb9QSwMEFAAAAAgAAAA/AB/1sd4DAwAADxEAAA0AAAB4bC9zdHlsZXMueG1szVjRbpsw - FH3fV1ju61ZImmbZBFRbJaRJWzWp3bRXgw2xZmxkTJT062djCNCRhiZZF3jAvtx7zrn2jW3i3awz - BlZEFlRwH04uXQgIjwWmPPXhj4fw3QKCQiGOEROc+HBDCngTvPEKtWHkfkmIAhqBFz5cKpV/dJwi - XpIMFZciJ1y/SYTMkNJdmTpFLgnChQnKmDN13bmTIcph4PEyCzNVgFiUXGkZWxOwjy9YG+czCCzc - rcBaysXbiwsXOoHn1OGBlwjeolxDawi84hGsENMQE+MeCyYkUFomMVTawlFGrMctYjSS1BgTlFG2 - seapMVSZ1X4Z5UJW3Jahz7NoaWQa+TAM3erqc/0kEiOOBrmGYS/dv4Dt1QdenQJ44Zr7lMDDIz4C - s3qY2aWM9WdXGwIvR0oRyUPdAXX7YZNrJq4r1sJUfnu8U4k2k+n1+IBCMIqNivR2eOCi+gXlmKyJ - LmFdwQa9g3gkVzv7r8DlmvulXNVDz10kJNarTDN7C9iYAo+RROlwSdOleSqRGw6hlMh0A1OUCo6Y - IWgiRkSCaoHyoVrS+DdsShCVStQV6Fi//QT7kYxXT0UnhMOdvytHe55ernM2SkZyd0ZvP3fl9jSz - Hb7DST0n5aVj3MBipDc1PF4wP0jvMdWwF/A/6/y3tTK0KhxaB3VDL2kxYeze4P1KeieXddI5tbjm - zMK3Tb0Y1k0LYzsGv4tmsbuw7kG4YJ1sCXZFT3ZET9pogPKcbUJhE7S9z5Vj2//EaMoz0owBarpg - KSR91KFmUzfTB81pU9HY9PXUVLmvk936pq2+aVff9Hl9ZhM6hdpD5V2dh7yrVt5VV97sdeSNmev6 - XG/1znZU4/VTvXdlFhEZVp8DHd3H12i1anSFx9qDyCO0z89T+4gqeX/+VTI7ukpOkMVJamZ2dM28 - QiZOvTF1dr/e3re1AvOF58M7I5h1kolKyhTlA/uexsTrdsur3ioUMdJn0RiYJKhk6mH70odt+xvB - tMw+bL2+05VQtVfb/mrynMwrBe1fGcEfUEsDBBQAAAAIAAAAPwAY+kZUsAUAAFIbAAATAAAAeGwv - dGhlbWUvdGhlbWUxLnhtbO1ZTY/bRBi+8ytGvreOEzvNrpqtNtmkhe22q920qMeJPbGnGXusmclu - c0PtEQkJURAXJG4cEFCplbiUX7NQBEXqX+D1R5LxZrLNtosAtTkknvHzfn/4HefqtQcxQ0dESMqT - tuVcrlmIJD4PaBK2rTuD/qWWhaTCSYAZT0jbmhJpXdv64CreVBGJCQLyRG7ithUplW7atvRhG8vL - PCUJ3BtxEWMFSxHagcDHwDZmdr1Wa9oxpomFEhwD19ujEfUJGmQsra0Z8x6Dr0TJbMNn4tDPJeoU - OTYYO9mPnMouE+gIs7YFcgJ+PCAPlIUYlgputK1a/rHsrav2nIipFbQaXT//lHQlQTCu53QiHM4J - nb67cWVnzr9e8F/G9Xq9bs+Z88sB2PfBUmcJ6/ZbTmfGUwMVl8u8uzWv5lbxGv/GEn6j0+l4GxV8 - Y4F3l/CtWtPdrlfw7gLvLevf2e52mxW8t8A3l/D9KxtNt4rPQRGjyXgJncVzHpk5ZMTZDSO8BfDW - LAEWKFvLroI+UatyLcb3uegDIA8uVjRBapqSEfYB18XxUFCcCcCbBGt3ii1fLm1lspD0BU1V2/oo - xVARC8ir5z+8ev4UvXr+5OThs5OHP588enTy8CcD4Q2chDrhy+8+/+ubT9CfT799+fhLM17q+N9+ - /PTXX74wA5UOfPHVk9+fPXnx9Wd/fP/YAN8WeKjDBzQmEt0ix+iAx2CbQQAZivNRDCJMKxQ4AqQB - 2FNRBXhripkJ1yFV590V0ABMwOuT+xVdDyMxUdQA3I3iCnCPc9bhwmjObiZLN2eShGbhYqLjDjA+ - Msnungptb5JCJlMTy25EKmruM4g2DklCFMru8TEhBrJ7lFb8ukd9wSUfKXSPog6mRpcM6FCZiW7Q - GOIyNSkIoa74Zu8u6nBmYr9DjqpIKAjMTCwJq7jxOp4oHBs1xjHTkTexikxKHk6FX3G4VBDpkDCO - egGR0kRzW0wr6u5i6ETGsO+xaVxFCkXHJuRNzLmO3OHjboTj1KgzTSId+6EcQ4pitM+VUQlerZBs - DXHAycpw36VEna+s79AwMidIdmciyq5d6b8xTc5qxoxCN37fjGfwbXg0mUridAtehfsfNt4dPEn2 - CeT6+777vu++i313VS2v220XDdbW5+KcX7xySB5Rxg7VlJGbMm/NEpQO+rCZL3Ki+UyeRnBZiqvg - QoHzayS4+piq6DDCKYhxcgmhLFmHEqVcwknAWsk7P05SMD7f82ZnQEBjtceDYruhnw3nbPJVKHVB - jYzBusIaV95OmFMA15TmeGZp3pnSbM2bUA0IZwd/p1kvREPGYEaCzO8Fg1lYLjxEMsIBKWPkGA1x - Gmu6rfV6r2nSNhpvJ22dIOni3BXivAuIUm0pSvZyObKkukLHoJVX9yzk47RtjWCSgss4BX4ya0CY - hUnb8lVpymuL+bTB5rR0aisNrohIhVQ7WEYFVX5r9uokWehf99zMDxdjgKEbradFo+X8i1rYp0NL - RiPiqxU7i2V5j08UEYdRcIyGbCIOMOjtFtkVUAnPjPpsIaBC3TLxqpVfVsHpVzRldWCWRrjsSS0t - 9gU8v57rkK809ewVur+hKY0LNMV7d03JMhfG1kaQH6hgDBAYZTnatrhQEYculEbU7wsYHHJZoBeC - sshUQix735zpSo4WfavgUTS5MFIHNESCQqdTkSBkX5V2voaZU9efrzNGZZ+ZqyvT4ndIjggbZNXb - zOy3UDTrJqUjctzpoNmm6hqG/f/w5OOumHzOHg8WgtzzzCKu1vS1R8HG26lwzkdt3Wxx3Vv7UZvC - 4QNlX9C4qfDZYr4d8AOIPppPlAgS8VKrLL/55hB0bmnGZaz+2TFqEYLWinhf5PCpObuxwtlni3tz - Z3sGX3tnu9peLlFbO8jkq6U/nvjwPsjegYPShClZvE16AEfN7uwvA+BjL0i3/gZQSwMEFAAAAAgA - AAA/AOHu/dIlAQAAUAIAABEAAABkb2NQcm9wcy9jb3JlLnhtbJ2SzWrDMBCE730Ko7sty05LELYD - bcmpgUJTWnoT0iYRtX6Q1Dp++yqO4ySQU4+rmf12dlG12Ks2+QXnpdE1IlmOEtDcCKm3NXpfL9M5 - SnxgWrDWaKhRDx4tmruKW8qNg1dnLLggwScRpD3ltka7ECzF2PMdKOaz6NBR3BinWIil22LL+Dfb - Ai7y/AErCEywwPABmNqJiEak4BPS/rh2AAiOoQUFOnhMMoLP3gBO+ZsNg3LhVDL0Fm5aT+Lk3ns5 - Gbuuy7pysMb8BH+uXt6GVVOpD6figJpKcModsGBcU+HLIh6uZT6s4ok3EsRjH/Ubb+Mixz4QSQxA - j3FPykf59LxeoqbIizIlRUpmazKjZE7v86/DyKv+M1CNQ/5NPAGOua8/QfMHUEsDBBQAAAAIAAAA - PwCywDJHfgEAABkDAAAQAAAAZG9jUHJvcHMvYXBwLnhtbJ1SwU7rMBC88xWR79RphdBT5RihAuLA - 06vUAGfjbBoLx7a826h9X4+TqiEFTuQ0OzsaT3ZX3Oxbm3UQ0XhXsPksZxk47SvjtgV7Lh8u/7AM - SblKWe+gYAdAdiMvxDr6AJEMYJYcHBasIQpLzlE30CqcpbZLndrHVlEq45b7ujYa7rzeteCIL/L8 - msOewFVQXYbRkB0dlx391rTyus+HL+UhJD8pbkOwRitKPyn/Gh09+pqy+70GK/i0KZLRBvQuGjrI - XPBpKTZaWVglY1kriyD4JyEeQfUzWysTUYqOlh1o8jFD8z9NbcGyN4XQxylYp6JRjthRdiwGbANS - lK8+vmMDQCj4SA5wqp1icyXngyCBcyEfgyR8HrE0ZAH/1WsV6YfE82niIQObZFztkHybriYrY1rf - t6CnJ788svJtUC5Nko/oybh3fA6lv1MEp7mek2LTqAhVWsU495EQjylgtL1+1Si3heqk+d7or+Dl - eOlyvpjl6RuWf+IE/zxq+QFQSwECFAMUAAAACAAAAD8AYV1JOk8BAACPBAAAEwAAAAAAAAAAAAAA - gIEAAAAAW0NvbnRlbnRfVHlwZXNdLnhtbFBLAQIUAxQAAAAIAAAAPwDyn0na6QAAAEsCAAALAAAA - AAAAAAAAAACAgYABAABfcmVscy8ucmVsc1BLAQIUAxQAAAAIAAAAPwBEdVvw6AAAALkCAAAaAAAA - AAAAAAAAAACAgZICAAB4bC9fcmVscy93b3JrYm9vay54bWwucmVsc1BLAQIUAxQAAAAIAAAAPwCT - Z0ay6wIAAEQJAAAYAAAAAAAAAAAAAACAgbIDAAB4bC93b3Jrc2hlZXRzL3NoZWV0MS54bWxQSwEC - FAMUAAAACAAAAD8A7236q08BAAAvAgAADwAAAAAAAAAAAAAAgIHTBgAAeGwvd29ya2Jvb2sueG1s - UEsBAhQDFAAAAAgAAAA/ANQ1AyrhAAAAHQIAABQAAAAAAAAAAAAAAICBTwgAAHhsL3NoYXJlZFN0 - cmluZ3MueG1sUEsBAhQDFAAAAAgAAAA/AB/1sd4DAwAADxEAAA0AAAAAAAAAAAAAAICBYgkAAHhs - L3N0eWxlcy54bWxQSwECFAMUAAAACAAAAD8AGPpGVLAFAABSGwAAEwAAAAAAAAAAAAAAgIGQDAAA - eGwvdGhlbWUvdGhlbWUxLnhtbFBLAQIUAxQAAAAIAAAAPwDh7v3SJQEAAFACAAARAAAAAAAAAAAA - AACAgXESAABkb2NQcm9wcy9jb3JlLnhtbFBLAQIUAxQAAAAIAAAAPwCywDJHfgEAABkDAAAQAAAA - AAAAAAAAAACAgcUTAABkb2NQcm9wcy9hcHAueG1sUEsFBgAAAAAKAAoAgAIAAHEVAAAAAA== + yzkZiMc+L/QCcdb36lez1jud0H5wytc2pZjavzDy6uLqI1BLAwQUAAAACAAAAD8A/eKaKOUCAAAs + CQAAGAAAAHhsL3dvcmtzaGVldHMvc2hlZXQxLnhtbI2WW2+bMBiG7/crEPcDnw9RkqppVW0Xk6Yd + r11wElTAEbhN9+9nIEld40wLCjJ8p4cX+zPLm9emTl5011emXaUwA2mi28KUVbtbpT9/PHwUadJb + 1ZaqNq1epX90n96sPyyPpnvq91rbxCVo+1W6t/awyPO+2OtG9Zk56NZZtqZrlHWX3S7vD51W5RjU + 1DkCgOWNqtp0yrDo/ieH2W6rQt+b4rnRrZ2SdLpW1uH3++rQp+tlWTnb8DxJp7er9BYu7iBO8/Vy + LP2r0sfeGydWPX7XtS6sLp0AaTI82aMxT4Pxs7sFhtB8FvswUn3tklJv1XNtv5njJ13t9tYloUNI + Yep+PCdN1Y6ZG/U6VahKu3cjnlEOMEQ0TYrn3prm98lwCp8C0SkQvwWyjCDKxZXIfKo8Ut4rq9bL + zhyTbizdH9TwsuACO6GK4ebtcHe0OfJBvpc1WuYvQ5qTx2byQJ4HeO9xN3lgzwNePHJX/YKAogho + DCdeOA4QJg862igPqk9GNtXlPMNYAigZ4ILgKxw4yoHHRNzjIAHH5CFGG6MBx2SUE4d7SRhziSHA + hAgk4hwkykFmHEGpDfH0YOHbIL4eEGUCQiDPR5yDRjnojIMFHNTTg4iAg/p6YJZRIvHlF+dgUQ42 + 4wimwIb5egST5455emAmM/dHkDLBECc0zsGjHHzGETzyhnt60HB+cE8PQTIMAIpXF9HqYlZdBtWF + p4IIV4nwVEBEZgwjpwMGfDjHOWSUQ844YDADN9KTYQYiPRkQEJnkjBCOmSDoymqFIN65wJwEhr0L + eJrwcGacrG+tAwkgMb8yKeCVBgrnGLMWCv2JwUIM6K8UDjIoELnCEO+gEM0Zwh4K/SYqwsUK33dR + kUFOxFUl4v0TzhsoDDso/GcLhe96KCcZlwCz8xHA5N4Wd1A7/UV1u6rtk1pvXX2QOY5u2pHHsTWH + ceTa0qOxbtM8X+3dZ4nuhitXfWuMPV8Mm+nlQ2f9F1BLAwQUAAAACAAAAD8A7236q08BAAAvAgAA + DwAAAHhsL3dvcmtib29rLnhtbI1Ry07DMBC88xWW7zQPJRGtmlSigKiEgENpzybeNFb9iGyHtH/P + OlUK3Dh5Z3Z3NLNerk5Kki+wThhd0mQWUwK6NlzoQ0k/tk+3d5Q4zzRn0mgo6RkcXVU3y8HY46cx + R4L72pW09b5bRJGrW1DMzUwHGjuNsYp5hPYQuc4C464F8EpGaRwXkWJC04vCwv5HwzSNqOHB1L0C + 7S8iFiTz6N61onO0WjZCwu4SiLCue2UKbZ8kJZI5/8iFB17SDKEZ4A9h++6+FzKAPM5pVF1DvlvC + oWG99Fu0NqnjudIsTYswGaZ2Agb3sxQgOe2F5mYoaZrhZc8TSnJKhrHeC+5bJIp4fuWeQRxaX9J5 + UcRBPPqlPt5veokew617541CU2RrQXP8sNDcYJAEUy0EFnbDk1Fq2q+ZrDFWeMbBNMuTOSVNL+Ua + uTf9YtgoEJamSNU3UEsDBBQAAAAIAAAAPwAPLYE44gAAAB0CAAAUAAAAeGwvc2hhcmVkU3RyaW5n + cy54bWxt0c1qxCAQwPF7n0K8J5rsR7fFuIdCn6A9B0lmN0IcU2cS2revS2Epi0d/8xcVzfk7zGKD + RD5iJ5taSwE4xNHjtZOfH+/VSQpih6ObI0Inf4Dk2T4ZIhZ5K1InJ+blVSkaJgiO6rgA5sklpuA4 + L9NV0ZLAjTQBcJhVq/VRBedRiiGuyPnYgxQr+q8V3u5gDXlr2Lpwoz5eejew36AfVuIY8o2NYmvU + rforE2yAK/QLpHv02IyOoQ4ReXqctLrdVbot867M+zIfynws83OZT2V+KXKjy9yUufTKfaX/1Sr/ + r/0FUEsDBBQAAAAIAAAAPwAf9bHeAwMAAA8RAAANAAAAeGwvc3R5bGVzLnhtbM1Y0W6bMBR931dY + 7utWSJpm2QRUWyWkSVs1qd20V4MNsWZsZEyU9OtnYwjQkYYmWRd4wL7ce8659o1t4t2sMwZWRBZU + cB9OLl0ICI8Fpjz14Y+H8N0CgkIhjhETnPhwQwp4E7zxCrVh5H5JiAIagRc+XCqVf3ScIl6SDBWX + Iidcv0mEzJDSXZk6RS4JwoUJypgzdd25kyHKYeDxMgszVYBYlFxpGVsTsI8vWBvnMwgs3K3AWsrF + 24sLFzqB59ThgZcI3qJcQ2sIvOIRrBDTEBPjHgsmJFBaJjFU2sJRRqzHLWI0ktQYE5RRtrHmqTFU + mdV+GeVCVtyWoc+zaGlkGvkwDN3q6nP9JBIjjga5hmEv3b+A7dUHXp0CeOGa+5TAwyM+ArN6mNml + jPVnVxsCL0dKEclD3QF1+2GTayauK9bCVH57vFOJNpPp9fiAQjCKjYr0dnjgovoF5ZisiS5hXcEG + vYN4JFc7+6/A5Zr7pVzVQ89dJCTWq0wzewvYmAKPkUTpcEnTpXkqkRsOoZTIdANTlAqOmCFoIkZE + gmqB8qFa0vg3bEoQlUrUFehYv/0E+5GMV09FJ4TDnb8rR3ueXq5zNkpGcndGbz935fY0sx2+w0k9 + J+WlY9zAYqQ3NTxeMD9I7zHVsBfwP+v8t7UytCocWgd1Qy9pMWHs3uD9Snonl3XSObW45szCt029 + GNZNC2M7Br+LZrG7sO5BuGCdbAl2RU92RE/aaIDynG1CYRO0vc+VY9v/xGjKM9KMAWq6YCkkfdSh + ZlM30wfNaVPR2PT11FS5r5Pd+qatvmlX3/R5fWYTOoXaQ+VdnYe8q1beVVfe7HXkjZnr+lxv9c52 + VOP1U713ZRYRGVafAx3dx9dotWp0hcfag8gjtM/PU/uIKnl//lUyO7pKTpDFSWpmdnTNvEImTr0x + dXa/3t63tQLzhefDOyOYdZKJSsoU5QP7nsbE63bLq94qFDHSZ9EYmCSoZOph+9KHbfsbwbTMPmy9 + vtOVULVX2/5q8pzMKwXtXxnBH1BLAwQUAAAACAAAAD8AGPpGVLAFAABSGwAAEwAAAHhsL3RoZW1l + L3RoZW1lMS54bWztWU2P20QYvvMrRr63jhM7za6arTbZpIXttqvdtKjHiT2xpxl7rJnJbnND7REJ + CVEQFyRuHBBQqZW4lF+zUARF6l/g9UeS8WayzbaLALU5JJ7x835/+B3n6rUHMUNHREjKk7blXK5Z + iCQ+D2gStq07g/6lloWkwkmAGU9I25oSaV3b+uAq3lQRiQkC8kRu4rYVKZVu2rb0YRvLyzwlCdwb + cRFjBUsR2oHAx8A2Zna9VmvaMaaJhRIcA9fboxH1CRpkLK2tGfMeg69EyWzDZ+LQzyXqFDk2GDvZ + j5zKLhPoCLO2BXICfjwgD5SFGJYKbrStWv6x7K2r9pyIqRW0Gl0//5R0JUEwrud0IhzOCZ2+u3Fl + Z86/XvBfxvV6vW7PmfPLAdj3wVJnCev2W05nxlMDFZfLvLs1r+ZW8Rr/xhJ+o9PpeBsVfGOBd5fw + rVrT3a5X8O4C7y3r39nudpsVvLfAN5fw/SsbTbeKz0ERo8l4CZ3Fcx6ZOWTE2Q0jvAXw1iwBFihb + y66CPlGrci3G97noAyAPLlY0QWqakhH2AdfF8VBQnAnAmwRrd4otXy5tZbKQ9AVNVdv6KMVQEQvI + q+c/vHr+FL16/uTk4bOThz+fPHp08vAnA+ENnIQ64cvvPv/rm0/Qn0+/ffn4SzNe6vjffvz011++ + MAOVDnzx1ZPfnz158fVnf3z/2ADfFniowwc0JhLdIsfogMdgm0EAGYrzUQwiTCsUOAKkAdhTUQV4 + a4qZCdchVefdFdAATMDrk/sVXQ8jMVHUANyN4gpwj3PW4cJozm4mSzdnkoRm4WKi4w4wPjLJ7p4K + bW+SQiZTE8tuRCpq7jOINg5JQhTK7vExIQaye5RW/LpHfcElHyl0j6IOpkaXDOhQmYlu0BjiMjUp + CKGu+GbvLupwZmK/Q46qSCgIzEwsCau48TqeKBwbNcYx05E3sYpMSh5OhV9xuFQQ6ZAwjnoBkdJE + c1tMK+ruYuhExrDvsWlcRQpFxybkTcy5jtzh426E49SoM00iHfuhHEOKYrTPlVEJXq2QbA1xwMnK + cN+lRJ2vrO/QMDInSHZnIsquXem/MU3OasaMQjd+34xn8G14NJlK4nQLXoX7HzbeHTxJ9gnk+vu+ + +77vvot9d1Utr9ttFw3W1ufinF+8ckgeUcYO1ZSRmzJvzRKUDvqwmS9yovlMnkZwWYqr4EKB82sk + uPqYqugwwimIcXIJoSxZhxKlXMJJwFrJOz9OUjA+3/NmZ0BAY7XHg2K7oZ8N52zyVSh1QY2MwbrC + GlfeTphTANeU5nhmad6Z0mzNm1ANCGcHf6dZL0RDxmBGgszvBYNZWC48RDLCASlj5BgNcRpruq31 + eq9p0jYabydtnSDp4twV4rwLiFJtKUr2cjmypLpCx6CVV/cs5OO0bY1gkoLLOAV+MmtAmIVJ2/JV + acpri/m0wea0dGorDa6ISIVUO1hGBVV+a/bqJFnoX/fczA8XY4ChG62nRaPl/Ita2KdDS0Yj4qsV + O4tleY9PFBGHUXCMhmwiDjDo7RbZFVAJz4z6bCGgQt0y8aqVX1bB6Vc0ZXVglka47EktLfYFPL+e + 65CvNPXsFbq/oSmNCzTFe3dNyTIXxtZGkB+oYAwQGGU52ra4UBGHLpRG1O8LGBxyWaAXgrLIVEIs + e9+c6UqOFn2r4FE0uTBSBzREgkKnU5EgZF+Vdr6GmVPXn68zRmWfmasr0+J3SI4IG2TV28zst1A0 + 6yalI3Lc6aDZpuoahv3/8OTjrph8zh4PFoLc88wirtb0tUfBxtupcM5Hbd1scd1b+1GbwuEDZV/Q + uKnw2WK+HfADiD6aT5QIEvFSqyy/+eYQdG5pxmWs/tkxahGC1op4X+TwqTm7scLZZ4t7c2d7Bl97 + Z7vaXi5RWzvI5KulP5748D7I3oGD0oQpWbxNegBHze7sLwPgYy9It/4GUEsDBBQAAAAIAAAAPwCG + rUt0JQEAAFACAAARAAAAZG9jUHJvcHMvY29yZS54bWydks1qwzAQhO99CqO7LStJSxC2A23JqYFC + XVp6E9ImEbV+kNQ6efvKduwkkFOPq5n9dnZRsTqoJvkF56XRJSJZjhLQ3AipdyV6r9fpEiU+MC1Y + YzSU6Ageraq7glvKjYNXZyy4IMEnEaQ95bZE+xAsxdjzPSjms+jQUdwap1iIpdthy/g32wGe5fkD + VhCYYIHhDpjaiYhOSMEnpP1xTQ8QHEMDCnTwmGQEn70BnPI3G3rlwqlkOFq4aR3FyX3wcjK2bZu1 + 894a8xP8uXl561dNpe5OxQFVheCUO2DBuKrAl0U8XMN82MQTbyWIx2PUb7ydFhn6QCQxAB3ijsrH + /Om5XqNqls8WaU5SQmoyp4slvSdf3cir/jNQnYb8mzgChtzXn6D6A1BLAwQUAAAACAAAAD8AssAy + R34BAAAZAwAAEAAAAGRvY1Byb3BzL2FwcC54bWydUsFO6zAQvPMVke/UaYXQU+UYoQLiwNOr1ABn + 42waC8e2vNuofV+Pk6ohBU7kNDs7Gk92V9zsW5t1ENF4V7D5LGcZOO0r47YFey4fLv+wDEm5Slnv + oGAHQHYjL8Q6+gCRDGCWHBwWrCEKS85RN9AqnKW2S53ax1ZRKuOW+7o2Gu683rXgiC/y/JrDnsBV + UF2G0ZAdHZcd/da08rrPhy/lISQ/KW5DsEYrSj8p/xodPfqasvu9Biv4tCmS0Qb0Lho6yFzwaSk2 + WllYJWNZK4sg+CchHkH1M1srE1GKjpYdaPIxQ/M/TW3BsjeF0McpWKeiUY7YUXYsBmwDUpSvPr5j + A0Ao+EgOcKqdYnMl54MggXMhH4MkfB6xNGQB/9VrFemHxPNp4iEDm2Rc7ZB8m64mK2Na37egpye/ + PLLybVAuTZKP6Mm4d3wOpb9TBKe5npNi06gIVVrFOPeREI8pYLS9ftUot4XqpPne6K/g5Xjpcr6Y + 5ekbln/iBP88avkBUEsBAhQDFAAAAAgAAAA/AGFdSTpPAQAAjwQAABMAAAAAAAAAAAAAAICBAAAA + AFtDb250ZW50X1R5cGVzXS54bWxQSwECFAMUAAAACAAAAD8A8p9J2ukAAABLAgAACwAAAAAAAAAA + AAAAgIGAAQAAX3JlbHMvLnJlbHNQSwECFAMUAAAACAAAAD8ARHVb8OgAAAC5AgAAGgAAAAAAAAAA + AAAAgIGSAgAAeGwvX3JlbHMvd29ya2Jvb2sueG1sLnJlbHNQSwECFAMUAAAACAAAAD8A/eKaKOUC + AAAsCQAAGAAAAAAAAAAAAAAAgIGyAwAAeGwvd29ya3NoZWV0cy9zaGVldDEueG1sUEsBAhQDFAAA + AAgAAAA/AO9t+qtPAQAALwIAAA8AAAAAAAAAAAAAAICBzQYAAHhsL3dvcmtib29rLnhtbFBLAQIU + AxQAAAAIAAAAPwAPLYE44gAAAB0CAAAUAAAAAAAAAAAAAACAgUkIAAB4bC9zaGFyZWRTdHJpbmdz + LnhtbFBLAQIUAxQAAAAIAAAAPwAf9bHeAwMAAA8RAAANAAAAAAAAAAAAAACAgV0JAAB4bC9zdHls + ZXMueG1sUEsBAhQDFAAAAAgAAAA/ABj6RlSwBQAAUhsAABMAAAAAAAAAAAAAAICBiwwAAHhsL3Ro + ZW1lL3RoZW1lMS54bWxQSwECFAMUAAAACAAAAD8Ahq1LdCUBAABQAgAAEQAAAAAAAAAAAAAAgIFs + EgAAZG9jUHJvcHMvY29yZS54bWxQSwECFAMUAAAACAAAAD8AssAyR34BAAAZAwAAEAAAAAAAAAAA + AAAAgIHAEwAAZG9jUHJvcHMvYXBwLnhtbFBLBQYAAAAACgAKAIACAABsFQAAAAA= diff --git a/gooddata-sdk/tests/support/fixtures/is_available.yaml b/gooddata-sdk/tests/support/fixtures/is_available.yaml index 9c58fd3a9..1bf29822c 100644 --- a/gooddata-sdk/tests/support/fixtures/is_available.yaml +++ b/gooddata-sdk/tests/support/fixtures/is_available.yaml @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: @@ -43,7 +43,7 @@ interactions: *.wistia.net embedwistia-a.akamaihd.net' Content-Type: - application/json - DATE: &id001 + DATE: - PLACEHOLDER Expires: - '0' @@ -70,7 +70,6 @@ interactions: - Access-Control-Request-Headers X-Content-Type-Options: - nosniff - X-GDC-TRACE-ID: *id001 X-XSS-Protection: - 1 ; mode=block content-length: diff --git a/gooddata-sdk/tests/support/fixtures/is_available_no_access.yaml b/gooddata-sdk/tests/support/fixtures/is_available_no_access.yaml index 00c5f0ad1..bdf37705a 100644 --- a/gooddata-sdk/tests/support/fixtures/is_available_no_access.yaml +++ b/gooddata-sdk/tests/support/fixtures/is_available_no_access.yaml @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: diff --git a/gooddata-sdk/tests/support/fixtures/wait_till_available_no_wait.yaml b/gooddata-sdk/tests/support/fixtures/wait_till_available_no_wait.yaml index 9c58fd3a9..0660bbee3 100644 --- a/gooddata-sdk/tests/support/fixtures/wait_till_available_no_wait.yaml +++ b/gooddata-sdk/tests/support/fixtures/wait_till_available_no_wait.yaml @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: 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 7850bc7ca..ca06fa509 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 @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: @@ -130,10 +130,10 @@ interactions: name: Order Amount localIdentifier: dim_1 links: - executionResult: 642fe2037b7fad75439a69cbc27a0a47a559f447 + executionResult: f16ffc4d7c9161ef0b1dbc3e0306d8f40439b7b7 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/642fe2037b7fad75439a69cbc27a0a47a559f447?offset=0%2C0&limit=512%2C256 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/f16ffc4d7c9161ef0b1dbc3e0306d8f40439b7b7?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 a9041ecf9..094c53f67 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 @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: @@ -137,10 +137,10 @@ interactions: name: Order Amount localIdentifier: dim_1 links: - executionResult: 3c93ea9cd03d31d92b3d5dc01aeb7f5c7a9703c0 + executionResult: 8088f6dff3c985128d17bef122da422efd582846 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/3c93ea9cd03d31d92b3d5dc01aeb7f5c7a9703c0?offset=0%2C0&limit=512%2C256 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/8088f6dff3c985128d17bef122da422efd582846?offset=0%2C0&limit=512%2C256 body: null headers: Accept: diff --git a/gooddata-sdk/tests/table/fixtures/table_with_attribute_show_all_values.yaml b/gooddata-sdk/tests/table/fixtures/table_with_attribute_show_all_values.yaml index 9647b2878..ea117ef18 100644 --- a/gooddata-sdk/tests/table/fixtures/table_with_attribute_show_all_values.yaml +++ b/gooddata-sdk/tests/table/fixtures/table_with_attribute_show_all_values.yaml @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: @@ -132,10 +132,10 @@ interactions: - localIdentifier: metric1 localIdentifier: dim_1 links: - executionResult: e3d558e815bd19dd49d095adbbb438174f9d598a + executionResult: 5df08ece988ca1f33c3ec668f9cf16befc6e2a3b - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/e3d558e815bd19dd49d095adbbb438174f9d598a?offset=0%2C0&limit=512%2C256 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/5df08ece988ca1f33c3ec668f9cf16befc6e2a3b?offset=0%2C0&limit=512%2C256 body: null headers: Accept: @@ -209,11 +209,11 @@ interactions: body: string: data: - - - 61.0 - - - 111.0 - - - 131.0 - - - 111.0 - - - 78.0 + - - 66.0 + - - 108.0 + - - 130.0 + - - 114.0 + - - 74.0 - - 99.0 - - 94.0 - - 104.0 @@ -249,56 +249,20 @@ interactions: - - 125.0 - - 228.0 - - 160.0 - - - 141.0 - - - 164.0 - - - 155.0 - - - 156.0 - - - 149.0 - - - 191.0 - - - 238.0 - - - 316.0 - - - 220.0 - - - 170.0 - - - 204.0 + - - 152.0 + - - 153.0 + - - 168.0 + - - 151.0 + - - 147.0 + - - 189.0 + - - 267.0 + - - 294.0 + - - 217.0 + - - 165.0 + - - 201.0 dimensionHeaders: - headerGroups: - headers: - - attributeHeader: - labelValue: 2019-10 - primaryLabelValue: 2019-10 - - attributeHeader: - labelValue: 2019-11 - primaryLabelValue: 2019-11 - - attributeHeader: - labelValue: 2019-12 - primaryLabelValue: 2019-12 - - attributeHeader: - labelValue: 2020-01 - primaryLabelValue: 2020-01 - - attributeHeader: - labelValue: 2020-02 - primaryLabelValue: 2020-02 - - attributeHeader: - labelValue: 2020-03 - primaryLabelValue: 2020-03 - - attributeHeader: - labelValue: 2020-04 - primaryLabelValue: 2020-04 - - attributeHeader: - labelValue: 2020-05 - primaryLabelValue: 2020-05 - - attributeHeader: - labelValue: 2020-06 - primaryLabelValue: 2020-06 - - attributeHeader: - labelValue: 2020-07 - primaryLabelValue: 2020-07 - - attributeHeader: - labelValue: 2020-08 - primaryLabelValue: 2020-08 - - attributeHeader: - labelValue: 2020-09 - primaryLabelValue: 2020-09 - attributeHeader: labelValue: 2020-10 primaryLabelValue: 2020-10 @@ -416,6 +380,42 @@ interactions: - attributeHeader: labelValue: 2023-12 primaryLabelValue: 2023-12 + - attributeHeader: + labelValue: 2024-01 + primaryLabelValue: 2024-01 + - attributeHeader: + labelValue: 2024-02 + primaryLabelValue: 2024-02 + - attributeHeader: + labelValue: 2024-03 + primaryLabelValue: 2024-03 + - attributeHeader: + labelValue: 2024-04 + primaryLabelValue: 2024-04 + - attributeHeader: + labelValue: 2024-05 + primaryLabelValue: 2024-05 + - attributeHeader: + labelValue: 2024-06 + primaryLabelValue: 2024-06 + - attributeHeader: + labelValue: 2024-07 + primaryLabelValue: 2024-07 + - attributeHeader: + labelValue: 2024-08 + primaryLabelValue: 2024-08 + - attributeHeader: + labelValue: 2024-09 + primaryLabelValue: 2024-09 + - attributeHeader: + labelValue: 2024-10 + primaryLabelValue: 2024-10 + - attributeHeader: + labelValue: 2024-11 + primaryLabelValue: 2024-11 + - attributeHeader: + labelValue: 2024-12 + primaryLabelValue: 2024-12 - headerGroups: - headers: - measureHeader: @@ -570,10 +570,10 @@ interactions: - localIdentifier: metric1 localIdentifier: dim_1 links: - executionResult: bf653c7c0960cc34ccf6f3800a4a0d77a6469f05 + executionResult: 654d1ffa9e9d1d9c492a72eb9494f3d3c896957b - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/bf653c7c0960cc34ccf6f3800a4a0d77a6469f05?offset=0%2C0&limit=512%2C256 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/654d1ffa9e9d1d9c492a72eb9494f3d3c896957b?offset=0%2C0&limit=512%2C256 body: null headers: Accept: @@ -692,50 +692,14 @@ interactions: - - null - - 1.0 - - null - - - 3.0 - - - 9.0 - - - 1.0 - - - 9.0 + - - 4.0 + - - 8.0 + - - 6.0 + - - 4.0 - - 5.0 dimensionHeaders: - headerGroups: - headers: - - attributeHeader: - labelValue: 2019-11 - primaryLabelValue: 2019-11 - - attributeHeader: - labelValue: 2019-12 - primaryLabelValue: 2019-12 - - attributeHeader: - labelValue: 2020-01 - primaryLabelValue: 2020-01 - - attributeHeader: - labelValue: 2020-02 - primaryLabelValue: 2020-02 - - attributeHeader: - labelValue: 2020-03 - primaryLabelValue: 2020-03 - - attributeHeader: - labelValue: 2020-04 - primaryLabelValue: 2020-04 - - attributeHeader: - labelValue: 2020-05 - primaryLabelValue: 2020-05 - - attributeHeader: - labelValue: 2020-06 - primaryLabelValue: 2020-06 - - attributeHeader: - labelValue: 2020-07 - primaryLabelValue: 2020-07 - - attributeHeader: - labelValue: 2020-08 - primaryLabelValue: 2020-08 - - attributeHeader: - labelValue: 2020-09 - primaryLabelValue: 2020-09 - - attributeHeader: - labelValue: 2020-10 - primaryLabelValue: 2020-10 - attributeHeader: labelValue: 2020-11 primaryLabelValue: 2020-11 @@ -850,6 +814,42 @@ interactions: - attributeHeader: labelValue: 2023-12 primaryLabelValue: 2023-12 + - attributeHeader: + labelValue: 2024-01 + primaryLabelValue: 2024-01 + - attributeHeader: + labelValue: 2024-02 + primaryLabelValue: 2024-02 + - attributeHeader: + labelValue: 2024-03 + primaryLabelValue: 2024-03 + - attributeHeader: + labelValue: 2024-04 + primaryLabelValue: 2024-04 + - attributeHeader: + labelValue: 2024-05 + primaryLabelValue: 2024-05 + - attributeHeader: + labelValue: 2024-06 + primaryLabelValue: 2024-06 + - attributeHeader: + labelValue: 2024-07 + primaryLabelValue: 2024-07 + - attributeHeader: + labelValue: 2024-08 + primaryLabelValue: 2024-08 + - attributeHeader: + labelValue: 2024-09 + primaryLabelValue: 2024-09 + - attributeHeader: + labelValue: 2024-10 + primaryLabelValue: 2024-10 + - attributeHeader: + labelValue: 2024-11 + primaryLabelValue: 2024-11 + - attributeHeader: + labelValue: 2024-12 + primaryLabelValue: 2024-12 - headerGroups: - headers: - measureHeader: @@ -1004,10 +1004,10 @@ interactions: - localIdentifier: metric1 localIdentifier: dim_1 links: - executionResult: 33fef9b6d4d2cd22d2e3dd79250c2fafa1d34285 + executionResult: 784be3fa913515c503bee8f1a81f43a26694a0ab - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/33fef9b6d4d2cd22d2e3dd79250c2fafa1d34285?offset=0%2C0&limit=512%2C256 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/784be3fa913515c503bee8f1a81f43a26694a0ab?offset=0%2C0&limit=512%2C256 body: null headers: Accept: @@ -1107,89 +1107,65 @@ interactions: - - 10.0 - - 3.0 - - 1.0 - - - 3.0 - - - 9.0 - - - 1.0 - - - 9.0 + - - 4.0 + - - 8.0 + - - 6.0 + - - 4.0 - - 5.0 dimensionHeaders: - headerGroups: - headers: - - attributeHeader: - labelValue: 2019-11 - primaryLabelValue: 2019-11 - - attributeHeader: - labelValue: 2019-12 - primaryLabelValue: 2019-12 - - attributeHeader: - labelValue: 2020-01 - primaryLabelValue: 2020-01 - - attributeHeader: - labelValue: 2020-02 - primaryLabelValue: 2020-02 - - attributeHeader: - labelValue: 2020-04 - primaryLabelValue: 2020-04 - - attributeHeader: - labelValue: 2020-09 - primaryLabelValue: 2020-09 - attributeHeader: labelValue: 2020-11 primaryLabelValue: 2020-11 - attributeHeader: labelValue: 2020-12 primaryLabelValue: 2020-12 + - attributeHeader: + labelValue: 2021-01 + primaryLabelValue: 2021-01 - attributeHeader: labelValue: 2021-02 primaryLabelValue: 2021-02 - - attributeHeader: - labelValue: 2021-03 - primaryLabelValue: 2021-03 - attributeHeader: labelValue: 2021-04 primaryLabelValue: 2021-04 - attributeHeader: - labelValue: 2021-05 - primaryLabelValue: 2021-05 - - attributeHeader: - labelValue: 2021-08 - primaryLabelValue: 2021-08 - - attributeHeader: - labelValue: 2021-10 - primaryLabelValue: 2021-10 + labelValue: 2021-09 + primaryLabelValue: 2021-09 - attributeHeader: labelValue: 2021-11 primaryLabelValue: 2021-11 + - attributeHeader: + labelValue: 2021-12 + primaryLabelValue: 2021-12 - attributeHeader: labelValue: 2022-02 primaryLabelValue: 2022-02 + - attributeHeader: + labelValue: 2022-03 + primaryLabelValue: 2022-03 + - attributeHeader: + labelValue: 2022-04 + primaryLabelValue: 2022-04 - attributeHeader: labelValue: 2022-05 primaryLabelValue: 2022-05 - - attributeHeader: - labelValue: 2022-06 - primaryLabelValue: 2022-06 - attributeHeader: labelValue: 2022-08 primaryLabelValue: 2022-08 - - attributeHeader: - labelValue: 2022-09 - primaryLabelValue: 2022-09 - attributeHeader: labelValue: 2022-10 primaryLabelValue: 2022-10 - attributeHeader: labelValue: 2022-11 primaryLabelValue: 2022-11 - - attributeHeader: - labelValue: 2022-12 - primaryLabelValue: 2022-12 - - attributeHeader: - labelValue: 2023-01 - primaryLabelValue: 2023-01 - attributeHeader: labelValue: 2023-02 primaryLabelValue: 2023-02 + - attributeHeader: + labelValue: 2023-05 + primaryLabelValue: 2023-05 - attributeHeader: labelValue: 2023-06 primaryLabelValue: 2023-06 @@ -1208,6 +1184,30 @@ interactions: - attributeHeader: labelValue: 2023-12 primaryLabelValue: 2023-12 + - attributeHeader: + labelValue: 2024-01 + primaryLabelValue: 2024-01 + - attributeHeader: + labelValue: 2024-02 + primaryLabelValue: 2024-02 + - attributeHeader: + labelValue: 2024-06 + primaryLabelValue: 2024-06 + - attributeHeader: + labelValue: 2024-08 + primaryLabelValue: 2024-08 + - attributeHeader: + labelValue: 2024-09 + primaryLabelValue: 2024-09 + - attributeHeader: + labelValue: 2024-10 + primaryLabelValue: 2024-10 + - attributeHeader: + labelValue: 2024-11 + primaryLabelValue: 2024-11 + - attributeHeader: + labelValue: 2024-12 + primaryLabelValue: 2024-12 - headerGroups: - headers: - measureHeader: 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 9f411acd7..deb0607d8 100644 --- a/gooddata-sdk/tests/table/fixtures/table_with_just_attribute.yaml +++ b/gooddata-sdk/tests/table/fixtures/table_with_just_attribute.yaml @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: @@ -112,10 +112,10 @@ interactions: type: label localIdentifier: dim_0 links: - executionResult: e6e3be393bc7e03d86329337db4e49ecc38d0913 + executionResult: 2d3e1c9bb44c11afb25683305ba01b89c9d5453c - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/e6e3be393bc7e03d86329337db4e49ecc38d0913?offset=0&limit=512 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/2d3e1c9bb44c11afb25683305ba01b89c9d5453c?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 58e80a078..a275009c6 100644 --- a/gooddata-sdk/tests/table/fixtures/table_with_just_metric.yaml +++ b/gooddata-sdk/tests/table/fixtures/table_with_just_metric.yaml @@ -1,4 +1,4 @@ -# (C) 2023 GoodData Corporation +# (C) 2024 GoodData Corporation version: 1 interactions: - request: @@ -106,10 +106,10 @@ interactions: name: Order Amount localIdentifier: dim_0 links: - executionResult: 50ea0dc18eaee0581ef2849ba578b1c3e6fab4f9 + executionResult: 7965c914228fcaed60c004f0c9daef5fb6ae98cd - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/50ea0dc18eaee0581ef2849ba578b1c3e6fab4f9?offset=0&limit=256 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/7965c914228fcaed60c004f0c9daef5fb6ae98cd?offset=0&limit=256 body: null headers: Accept: diff --git a/schemas/gooddata-afm-client.json b/schemas/gooddata-afm-client.json index df08356f7..765dca642 100644 --- a/schemas/gooddata-afm-client.json +++ b/schemas/gooddata-afm-client.json @@ -784,7 +784,7 @@ "type": "boolean" }, "dataSamplingPercentage": { - "default": 100.0, + "default": 100, "deprecated": true, "description": "Specifies percentage of source table data scanned during the computation. This field is deprecated and is no longer used during the elements computation.", "format": "float", @@ -830,6 +830,13 @@ "DESC" ], "type": "string" + }, + "validLabelElements": { + "description": "Return only items, what are computable on metric. This feature is experimental.", + "items": { + "$ref": "#/components/schemas/ValidLabelElementsItem" + }, + "type": "array" } }, "required": [ @@ -921,7 +928,7 @@ "description": "A multi-dimensional array of computed results. The most common one being a 2-dimensional array. The arrays can be composed of Double or null values.", "example": [ [ - 1.0, + 1, 2.5 ], [ @@ -966,7 +973,7 @@ "description": "A multi-dimensional array of computed results. The most common one being a 2-dimensional array. The arrays can be composed of Double or null values.", "example": [ [ - 1.0, + 1, 2.5 ], [ @@ -1970,6 +1977,25 @@ "function" ], "type": "object" + }, + "ValidLabelElementsItem": { + "nullable": true, + "properties": { + "id": { + "description": "Specifies entity used for valid elements computation.", + "type": "string" + }, + "type": { + "description": "Specifies entity type which could be label, attribute, fact, or metric.", + "pattern": "^(label)|(attribute)|(fact)|(metric)$", + "type": "string" + } + }, + "required": [ + "id", + "type" + ], + "type": "object" } } }, diff --git a/schemas/gooddata-api-client.json b/schemas/gooddata-api-client.json index 454d6284b..900e44995 100644 --- a/schemas/gooddata-api-client.json +++ b/schemas/gooddata-api-client.json @@ -720,17 +720,11 @@ "properties": { "message": { "description": "Warning message related to the column.", - "items": { - "type": "string" - }, - "type": "array" + "type": "string" }, "name": { "description": "Column name.", - "items": { - "type": "string" - }, - "type": "array" + "type": "string" } }, "required": [ @@ -1279,6 +1273,13 @@ }, "type": "array" }, + "attributeHierarchies": { + "description": "A list of attribute hierarchies.", + "items": { + "$ref": "#/components/schemas/DeclarativeAttributeHierarchy" + }, + "type": "array" + }, "dashboardPlugins": { "description": "A list of dashboard plugins available in the model.", "items": { @@ -1399,6 +1400,70 @@ ], "type": "object" }, + "DeclarativeAttributeHierarchy": { + "properties": { + "content": { + "$ref": "#/components/schemas/JsonNode" + }, + "createdAt": { + "description": "Time of the entity creation.", + "example": "[\"2023-07-20 12:30\"]", + "nullable": true, + "pattern": "[0-9]{4}-[0-9]{2}-[0-9]{2} [0-9]{2}:[0-9]{2}", + "type": "string" + }, + "createdBy": { + "$ref": "#/components/schemas/DeclarativeUserIdentifier" + }, + "description": { + "description": "Attribute hierarchy object description.", + "example": "Simple number for total goods in current production.", + "maxLength": 10000, + "type": "string" + }, + "id": { + "description": "Attribute hierarchy object ID.", + "example": "hierarchy-1", + "pattern": "^(?!\\.)[.A-Za-z0-9_-]{1,255}$", + "type": "string" + }, + "modifiedAt": { + "description": "Time of the last entity modification.", + "example": "[\"2023-07-20 12:30\"]", + "nullable": true, + "pattern": "[0-9]{4}-[0-9]{2}-[0-9]{2} [0-9]{2}:[0-9]{2}", + "type": "string" + }, + "modifiedBy": { + "$ref": "#/components/schemas/DeclarativeUserIdentifier" + }, + "tags": { + "description": "A list of tags.", + "example": [ + "Revenues" + ], + "items": { + "description": "A list of tags.", + "example": "[\"Revenues\"]", + "type": "string" + }, + "type": "array", + "uniqueItems": true + }, + "title": { + "description": "Attribute hierarchy object title.", + "example": "Count of goods", + "maxLength": 255, + "type": "string" + } + }, + "required": [ + "content", + "id", + "title" + ], + "type": "object" + }, "DeclarativeColorPalette": { "description": "Color palette and its properties.", "properties": { @@ -3574,7 +3639,7 @@ "type": "boolean" }, "dataSamplingPercentage": { - "default": 100.0, + "default": 100, "deprecated": true, "description": "Specifies percentage of source table data scanned during the computation. This field is deprecated and is no longer used during the elements computation.", "format": "float", @@ -3620,6 +3685,13 @@ "DESC" ], "type": "string" + }, + "validLabelElements": { + "description": "Return only items, what are computable on metric. This feature is experimental.", + "items": { + "$ref": "#/components/schemas/ValidLabelElementsItem" + }, + "type": "array" } }, "required": [ @@ -3774,7 +3846,7 @@ "description": "A multi-dimensional array of computed results. The most common one being a 2-dimensional array. The arrays can be composed of Double or null values.", "example": [ [ - 1.0, + 1, 2.5 ], [ @@ -3819,7 +3891,7 @@ "description": "A multi-dimensional array of computed results. The most common one being a 2-dimensional array. The arrays can be composed of Double or null values.", "example": [ [ - 1.0, + 1, 2.5 ], [ @@ -14603,17 +14675,11 @@ }, "message": { "description": "Warning message related to the table.", - "items": { - "type": "string" - }, - "type": "array" + "type": "string" }, "name": { "description": "Table name.", - "items": { - "type": "string" - }, - "type": "array" + "type": "string" } }, "required": [ @@ -15162,6 +15228,25 @@ ], "type": "object" }, + "ValidLabelElementsItem": { + "nullable": true, + "properties": { + "id": { + "description": "Specifies entity used for valid elements computation.", + "type": "string" + }, + "type": { + "description": "Specifies entity type which could be label, attribute, fact, or metric.", + "pattern": "^(label)|(attribute)|(fact)|(metric)$", + "type": "string" + } + }, + "required": [ + "id", + "type" + ], + "type": "object" + }, "WorkspaceIdentifier": { "description": "A workspace identifier.", "example": "{ id: demo, type: workspace }", diff --git a/schemas/gooddata-metadata-client.json b/schemas/gooddata-metadata-client.json index 51418dd6c..fbf4247f7 100644 --- a/schemas/gooddata-metadata-client.json +++ b/schemas/gooddata-metadata-client.json @@ -492,6 +492,13 @@ }, "type": "array" }, + "attributeHierarchies": { + "description": "A list of attribute hierarchies.", + "items": { + "$ref": "#/components/schemas/DeclarativeAttributeHierarchy" + }, + "type": "array" + }, "dashboardPlugins": { "description": "A list of dashboard plugins available in the model.", "items": { @@ -612,6 +619,70 @@ ], "type": "object" }, + "DeclarativeAttributeHierarchy": { + "properties": { + "content": { + "$ref": "#/components/schemas/JsonNode" + }, + "createdAt": { + "description": "Time of the entity creation.", + "example": "[\"2023-07-20 12:30\"]", + "nullable": true, + "pattern": "[0-9]{4}-[0-9]{2}-[0-9]{2} [0-9]{2}:[0-9]{2}", + "type": "string" + }, + "createdBy": { + "$ref": "#/components/schemas/DeclarativeUserIdentifier" + }, + "description": { + "description": "Attribute hierarchy object description.", + "example": "Simple number for total goods in current production.", + "maxLength": 10000, + "type": "string" + }, + "id": { + "description": "Attribute hierarchy object ID.", + "example": "hierarchy-1", + "pattern": "^(?!\\.)[.A-Za-z0-9_-]{1,255}$", + "type": "string" + }, + "modifiedAt": { + "description": "Time of the last entity modification.", + "example": "[\"2023-07-20 12:30\"]", + "nullable": true, + "pattern": "[0-9]{4}-[0-9]{2}-[0-9]{2} [0-9]{2}:[0-9]{2}", + "type": "string" + }, + "modifiedBy": { + "$ref": "#/components/schemas/DeclarativeUserIdentifier" + }, + "tags": { + "description": "A list of tags.", + "example": [ + "Revenues" + ], + "items": { + "description": "A list of tags.", + "example": "[\"Revenues\"]", + "type": "string" + }, + "type": "array", + "uniqueItems": true + }, + "title": { + "description": "Attribute hierarchy object title.", + "example": "Count of goods", + "maxLength": 255, + "type": "string" + } + }, + "required": [ + "content", + "id", + "title" + ], + "type": "object" + }, "DeclarativeColorPalette": { "description": "Color palette and its properties.", "properties": { diff --git a/schemas/gooddata-scan-client.json b/schemas/gooddata-scan-client.json index c78898c18..c02729fc2 100644 --- a/schemas/gooddata-scan-client.json +++ b/schemas/gooddata-scan-client.json @@ -6,17 +6,11 @@ "properties": { "message": { "description": "Warning message related to the column.", - "items": { - "type": "string" - }, - "type": "array" + "type": "string" }, "name": { "description": "Column name.", - "items": { - "type": "string" - }, - "type": "array" + "type": "string" } }, "required": [ @@ -316,17 +310,11 @@ }, "message": { "description": "Warning message related to the table.", - "items": { - "type": "string" - }, - "type": "array" + "type": "string" }, "name": { "description": "Table name.", - "items": { - "type": "string" - }, - "type": "array" + "type": "string" } }, "required": [